AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
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 maximum number of JobFlows allowed is 10. 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.

Namespace: Amazon.ElasticMapReduce
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract TerminateJobFlowsResponse TerminateJobFlows(
         TerminateJobFlowsRequest request
)

Parameters

request
Type: Amazon.ElasticMapReduce.Model.TerminateJobFlowsRequest

Container for the necessary parameters to execute the TerminateJobFlows service method.

Return Value
Type: Amazon.ElasticMapReduce.Model.TerminateJobFlowsResponse
The response from the TerminateJobFlows service method, as returned by ElasticMapReduce.

Exceptions

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

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5