Method: Fog::AWS::EMR::Real#terminate_job_flows
- Defined in:
- lib/fog/aws/requests/emr/terminate_job_flows.rb
#terminate_job_flows(options = {}) ⇒ Object
shuts a list of job flows down. 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>
-
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/fog/aws/requests/emr/terminate_job_flows.rb', line 16 def terminate_job_flows(={}) if job_ids = .delete('JobFlowIds') .merge!(Fog::AWS.serialize_keys('JobFlowIds', job_ids)) end request({ 'Action' => 'TerminateJobFlows', :parser => Fog::Parsers::AWS::EMR::TerminateJobFlows.new, }.merge()) end |