Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created.
The maximum number of clusters allowed is 10. The call to TerminateJobFlows
is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances.
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:
tjfJobFlowIds
- A list of job flows to be shutdown.
data TerminateJobFlows Source #
Input to the TerminateJobFlows
operation.
See: terminateJobFlows
smart constructor.
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.
data TerminateJobFlowsResponse Source #
See: terminateJobFlowsResponse
smart constructor.