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

Description

Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.

Synopsis

Creating a Request

data PutAutoTerminationPolicy Source #

See: newPutAutoTerminationPolicy smart constructor.

Constructors

PutAutoTerminationPolicy' 

Fields

Instances

Instances details
Eq PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Read PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Show PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Generic PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Associated Types

type Rep PutAutoTerminationPolicy :: Type -> Type #

NFData PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Hashable PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

ToJSON PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

AWSRequest PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

ToHeaders PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

ToPath PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

ToQuery PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

type Rep PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

type Rep PutAutoTerminationPolicy = D1 ('MetaData "PutAutoTerminationPolicy" "Amazonka.EMR.PutAutoTerminationPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PutAutoTerminationPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoTerminationPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoTerminationPolicy)) :*: S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

newPutAutoTerminationPolicy Source #

Create a value of PutAutoTerminationPolicy 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:autoTerminationPolicy:PutAutoTerminationPolicy', putAutoTerminationPolicy_autoTerminationPolicy - Specifies the auto-termination policy to attach to the cluster.

$sel:clusterId:PutAutoTerminationPolicy', putAutoTerminationPolicy_clusterId - Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.

Request Lenses

putAutoTerminationPolicy_autoTerminationPolicy :: Lens' PutAutoTerminationPolicy (Maybe AutoTerminationPolicy) Source #

Specifies the auto-termination policy to attach to the cluster.

putAutoTerminationPolicy_clusterId :: Lens' PutAutoTerminationPolicy Text Source #

Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.

Destructuring the Response

data PutAutoTerminationPolicyResponse Source #

See: newPutAutoTerminationPolicyResponse smart constructor.

Constructors

PutAutoTerminationPolicyResponse' 

Fields

Instances

Instances details
Eq PutAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Read PutAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Show PutAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Generic PutAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

Associated Types

type Rep PutAutoTerminationPolicyResponse :: Type -> Type #

NFData PutAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

type Rep PutAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutAutoTerminationPolicy

type Rep PutAutoTerminationPolicyResponse = D1 ('MetaData "PutAutoTerminationPolicyResponse" "Amazonka.EMR.PutAutoTerminationPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PutAutoTerminationPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutAutoTerminationPolicyResponse Source #

Create a value of PutAutoTerminationPolicyResponse 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:httpStatus:PutAutoTerminationPolicyResponse', putAutoTerminationPolicyResponse_httpStatus - The response's http status code.

Response Lenses