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

Description

Returns the auto-termination policy for an Amazon EMR cluster.

Synopsis

Creating a Request

data GetAutoTerminationPolicy Source #

See: newGetAutoTerminationPolicy smart constructor.

Constructors

GetAutoTerminationPolicy' 

Fields

  • clusterId :: Text

    Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.

Instances

Instances details
Eq GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Read GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Show GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Generic GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Associated Types

type Rep GetAutoTerminationPolicy :: Type -> Type #

NFData GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Hashable GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

ToJSON GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

AWSRequest GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

ToHeaders GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

ToPath GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

ToQuery GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

type Rep GetAutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

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

Defined in Amazonka.EMR.GetAutoTerminationPolicy

newGetAutoTerminationPolicy Source #

Create a value of GetAutoTerminationPolicy 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:clusterId:GetAutoTerminationPolicy', getAutoTerminationPolicy_clusterId - Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.

Request Lenses

getAutoTerminationPolicy_clusterId :: Lens' GetAutoTerminationPolicy Text Source #

Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.

Destructuring the Response

data GetAutoTerminationPolicyResponse Source #

See: newGetAutoTerminationPolicyResponse smart constructor.

Constructors

GetAutoTerminationPolicyResponse' 

Fields

Instances

Instances details
Eq GetAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Read GetAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Show GetAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Generic GetAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

Associated Types

type Rep GetAutoTerminationPolicyResponse :: Type -> Type #

NFData GetAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

type Rep GetAutoTerminationPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetAutoTerminationPolicy

type Rep GetAutoTerminationPolicyResponse = D1 ('MetaData "GetAutoTerminationPolicyResponse" "Amazonka.EMR.GetAutoTerminationPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "GetAutoTerminationPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoTerminationPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoTerminationPolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetAutoTerminationPolicyResponse Source #

Create a value of GetAutoTerminationPolicyResponse 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:GetAutoTerminationPolicyResponse', getAutoTerminationPolicyResponse_autoTerminationPolicy - Specifies the auto-termination policy that is attached to an Amazon EMR cluster.

$sel:httpStatus:GetAutoTerminationPolicyResponse', getAutoTerminationPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getAutoTerminationPolicyResponse_autoTerminationPolicy :: Lens' GetAutoTerminationPolicyResponse (Maybe AutoTerminationPolicy) Source #

Specifies the auto-termination policy that is attached to an Amazon EMR cluster.