Copyright | (c) 2013-2021 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 |
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
data TerminateJobFlows Source #
Input to the TerminateJobFlows operation.
See: newTerminateJobFlows
smart constructor.
TerminateJobFlows' | |
|
Instances
newTerminateJobFlows :: TerminateJobFlows Source #
Create a value of TerminateJobFlows
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobFlowIds:TerminateJobFlows'
, terminateJobFlows_jobFlowIds
- A list of job flows to be shut down.
Request Lenses
terminateJobFlows_jobFlowIds :: Lens' TerminateJobFlows [Text] Source #
A list of job flows to be shut down.
Destructuring the Response
data TerminateJobFlowsResponse Source #
See: newTerminateJobFlowsResponse
smart constructor.
Instances
Eq TerminateJobFlowsResponse Source # | |
Defined in Amazonka.EMR.TerminateJobFlows | |
Read TerminateJobFlowsResponse Source # | |
Show TerminateJobFlowsResponse Source # | |
Defined in Amazonka.EMR.TerminateJobFlows showsPrec :: Int -> TerminateJobFlowsResponse -> ShowS # show :: TerminateJobFlowsResponse -> String # showList :: [TerminateJobFlowsResponse] -> ShowS # | |
Generic TerminateJobFlowsResponse Source # | |
Defined in Amazonka.EMR.TerminateJobFlows type Rep TerminateJobFlowsResponse :: Type -> Type # | |
NFData TerminateJobFlowsResponse Source # | |
Defined in Amazonka.EMR.TerminateJobFlows rnf :: TerminateJobFlowsResponse -> () # | |
type Rep TerminateJobFlowsResponse Source # | |
newTerminateJobFlowsResponse :: TerminateJobFlowsResponse Source #
Create a value of TerminateJobFlowsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.