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

Description

Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

Synopsis

Creating a Request

data PutManagedScalingPolicy Source #

See: newPutManagedScalingPolicy smart constructor.

Constructors

PutManagedScalingPolicy' 

Fields

Instances

Instances details
Eq PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Read PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Show PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Generic PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Associated Types

type Rep PutManagedScalingPolicy :: Type -> Type #

NFData PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Methods

rnf :: PutManagedScalingPolicy -> () #

Hashable PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

ToJSON PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

AWSRequest PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

ToHeaders PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

ToPath PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

ToQuery PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

type Rep PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

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

Defined in Amazonka.EMR.PutManagedScalingPolicy

newPutManagedScalingPolicy Source #

Create a value of PutManagedScalingPolicy 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:PutManagedScalingPolicy', putManagedScalingPolicy_clusterId - Specifies the ID of an EMR cluster where the managed scaling policy is attached.

$sel:managedScalingPolicy:PutManagedScalingPolicy', putManagedScalingPolicy_managedScalingPolicy - Specifies the constraints for the managed scaling policy.

Request Lenses

putManagedScalingPolicy_clusterId :: Lens' PutManagedScalingPolicy Text Source #

Specifies the ID of an EMR cluster where the managed scaling policy is attached.

Destructuring the Response

data PutManagedScalingPolicyResponse Source #

See: newPutManagedScalingPolicyResponse smart constructor.

Constructors

PutManagedScalingPolicyResponse' 

Fields

Instances

Instances details
Eq PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Read PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Show PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Generic PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Associated Types

type Rep PutManagedScalingPolicyResponse :: Type -> Type #

NFData PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

type Rep PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

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

newPutManagedScalingPolicyResponse Source #

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

Response Lenses