amazonka-emr-1.3.4: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.TerminateJobFlows

Contents

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 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.

See: AWS API Reference for TerminateJobFlows.

Synopsis

Creating a Request

terminateJobFlows :: TerminateJobFlows Source

Creates a value of TerminateJobFlows with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

tjfJobFlowIds :: Lens' TerminateJobFlows [Text] Source

A list of job flows to be shutdown.

Destructuring the Response

terminateJobFlowsResponse :: TerminateJobFlowsResponse Source

Creates a value of TerminateJobFlowsResponse with the minimum fields required to make a request.