Amazon Elastic MapReduce
API Reference (API Version 2009-03-31)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

TerminateJobFlows

Description

TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.

The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.

Request Parameters

For information about the common parameters that all actions use, see Common Query Parameters.

Name Description Required
JobFlowIds.member.N

A list of job flows to be shutdown.

Type: String list

Yes

Errors

For information about the common errors that all actions use, see Common Errors.

Error Description HTTP Status Code
InternalServerError

Indicates that an error occurred while processing the request and that the request was not completed.

500

Examples

Sample Request

https://elasticmapreduce.amazonaws.com?Action=TerminateJobFlows
&JobFlowIds.member.1=j-3UN6WX5RRO2AG 
&AuthParams 

Sample Response

<TerminateJobFlowsResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
   <ResponseMetadata> 
      <RequestId> 
         2690d7eb-ed86-11dd-9877-6fad448a8419
      </RequestId> 
   </ResponseMetadata> 
</TerminateJobFlowsResponse>