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

Description

Fetches the attached managed scaling policy for an Amazon EMR cluster.

Synopsis

Creating a Request

data GetManagedScalingPolicy Source #

See: newGetManagedScalingPolicy smart constructor.

Constructors

GetManagedScalingPolicy' 

Fields

  • clusterId :: Text

    Specifies the ID of the cluster for which the managed scaling policy will be fetched.

Instances

Instances details
Eq GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Read GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Show GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Generic GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Associated Types

type Rep GetManagedScalingPolicy :: Type -> Type #

NFData GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Methods

rnf :: GetManagedScalingPolicy -> () #

Hashable GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

ToJSON GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

AWSRequest GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

ToHeaders GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

ToPath GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

ToQuery GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

type Rep GetManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

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

Defined in Amazonka.EMR.GetManagedScalingPolicy

newGetManagedScalingPolicy Source #

Create a value of GetManagedScalingPolicy 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:GetManagedScalingPolicy', getManagedScalingPolicy_clusterId - Specifies the ID of the cluster for which the managed scaling policy will be fetched.

Request Lenses

getManagedScalingPolicy_clusterId :: Lens' GetManagedScalingPolicy Text Source #

Specifies the ID of the cluster for which the managed scaling policy will be fetched.

Destructuring the Response

data GetManagedScalingPolicyResponse Source #

See: newGetManagedScalingPolicyResponse smart constructor.

Constructors

GetManagedScalingPolicyResponse' 

Fields

Instances

Instances details
Eq GetManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Read GetManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Show GetManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Generic GetManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

Associated Types

type Rep GetManagedScalingPolicyResponse :: Type -> Type #

NFData GetManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

type Rep GetManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.GetManagedScalingPolicy

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

newGetManagedScalingPolicyResponse Source #

Create a value of GetManagedScalingPolicyResponse 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:managedScalingPolicy:GetManagedScalingPolicyResponse', getManagedScalingPolicyResponse_managedScalingPolicy - Specifies the managed scaling policy that is attached to an Amazon EMR cluster.

$sel:httpStatus:GetManagedScalingPolicyResponse', getManagedScalingPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getManagedScalingPolicyResponse_managedScalingPolicy :: Lens' GetManagedScalingPolicyResponse (Maybe ManagedScalingPolicy) Source #

Specifies the managed scaling policy that is attached to an Amazon EMR cluster.