amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Show PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

NFData PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Methods

rnf :: PutManagedScalingPolicy -> () #

Eq PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Hashable PutManagedScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

type AWSResponse 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "PutManagedScalingPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "managedScalingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ManagedScalingPolicy)))

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
Generic PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Associated Types

type Rep PutManagedScalingPolicyResponse :: Type -> Type #

Read PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Show PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

NFData PutManagedScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.PutManagedScalingPolicy

Eq 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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