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

Amazonka.EMR.TerminateJobFlows

Description

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.

Synopsis

Creating a Request

data TerminateJobFlows Source #

Input to the TerminateJobFlows operation.

See: newTerminateJobFlows smart constructor.

Constructors

TerminateJobFlows' 

Fields

Instances

Instances details
Eq TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Read TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Show TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Generic TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Associated Types

type Rep TerminateJobFlows :: Type -> Type #

NFData TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Methods

rnf :: TerminateJobFlows -> () #

Hashable TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

ToJSON TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

AWSRequest TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Associated Types

type AWSResponse TerminateJobFlows #

ToHeaders TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

ToPath TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

ToQuery TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

type Rep TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

type Rep TerminateJobFlows = D1 ('MetaData "TerminateJobFlows" "Amazonka.EMR.TerminateJobFlows" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "TerminateJobFlows'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobFlowIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse TerminateJobFlows Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

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

Instances details
Eq TerminateJobFlowsResponse Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Read TerminateJobFlowsResponse Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Show TerminateJobFlowsResponse Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Generic TerminateJobFlowsResponse Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

Associated Types

type Rep TerminateJobFlowsResponse :: Type -> Type #

NFData TerminateJobFlowsResponse Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

type Rep TerminateJobFlowsResponse Source # 
Instance details

Defined in Amazonka.EMR.TerminateJobFlows

type Rep TerminateJobFlowsResponse = D1 ('MetaData "TerminateJobFlowsResponse" "Amazonka.EMR.TerminateJobFlows" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "TerminateJobFlowsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTerminateJobFlowsResponse :: TerminateJobFlowsResponse Source #

Create a value of TerminateJobFlowsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.