Sha256: 166c2656b6d67d048d10e14d8d4e40af6916175b4b80881c2182ccb8d11b31f5
Contents?: true
Size: 1008 Bytes
Versions: 2
Compression:
Stored size: 1008 Bytes
Contents
module Fog module AWS class EMR class Real require 'fog/aws/parsers/emr/terminate_job_flows' # shuts a list of job flows down. # http://docs.amazonwebservices.com/ElasticMapReduce/latest/API/API_TerminateJobFlows.html # ==== Parameters # * JobFlowIds <~String list> - list of strings that uniquely identify the job flows to protect # # ==== Returns # * response<~Excon::Response>: # * body<~Hash> def terminate_job_flows(options={}) if job_ids = options.delete('JobFlowIds') options.merge!(Fog::AWS.serialize_keys('JobFlowIds', job_ids)) end request({ 'Action' => 'TerminateJobFlows', :parser => Fog::Parsers::AWS::EMR::TerminateJobFlows.new, }.merge(options)) end end class Mock def terminate_job_flows(db_name, options={}) Fog::Mock.not_implemented end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.22.0 | lib/fog/aws/requests/emr/terminate_job_flows.rb |
fog-1.21.0 | lib/fog/aws/requests/emr/terminate_job_flows.rb |