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

Description

Removes an automatic scaling policy from a specified instance group within an EMR cluster.

Synopsis

Creating a Request

data RemoveAutoScalingPolicy Source #

See: newRemoveAutoScalingPolicy smart constructor.

Constructors

RemoveAutoScalingPolicy' 

Fields

  • clusterId :: Text

    Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

  • instanceGroupId :: Text

    Specifies the ID of the instance group to which the scaling policy is applied.

Instances

Instances details
ToJSON RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

ToHeaders RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

ToPath RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

ToQuery RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

AWSRequest RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Generic RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Associated Types

type Rep RemoveAutoScalingPolicy :: Type -> Type #

Read RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Show RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

NFData RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Methods

rnf :: RemoveAutoScalingPolicy -> () #

Eq RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Hashable RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

type AWSResponse RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

type Rep RemoveAutoScalingPolicy Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

type Rep RemoveAutoScalingPolicy = D1 ('MetaData "RemoveAutoScalingPolicy" "Amazonka.EMR.RemoveAutoScalingPolicy" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "RemoveAutoScalingPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRemoveAutoScalingPolicy Source #

Create a value of RemoveAutoScalingPolicy 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:RemoveAutoScalingPolicy', removeAutoScalingPolicy_clusterId - Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

RemoveAutoScalingPolicy, removeAutoScalingPolicy_instanceGroupId - Specifies the ID of the instance group to which the scaling policy is applied.

Request Lenses

removeAutoScalingPolicy_clusterId :: Lens' RemoveAutoScalingPolicy Text Source #

Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

removeAutoScalingPolicy_instanceGroupId :: Lens' RemoveAutoScalingPolicy Text Source #

Specifies the ID of the instance group to which the scaling policy is applied.

Destructuring the Response

data RemoveAutoScalingPolicyResponse Source #

See: newRemoveAutoScalingPolicyResponse smart constructor.

Constructors

RemoveAutoScalingPolicyResponse' 

Fields

Instances

Instances details
Generic RemoveAutoScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Associated Types

type Rep RemoveAutoScalingPolicyResponse :: Type -> Type #

Read RemoveAutoScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Show RemoveAutoScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

NFData RemoveAutoScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

Eq RemoveAutoScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

type Rep RemoveAutoScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveAutoScalingPolicy

type Rep RemoveAutoScalingPolicyResponse = D1 ('MetaData "RemoveAutoScalingPolicyResponse" "Amazonka.EMR.RemoveAutoScalingPolicy" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "RemoveAutoScalingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRemoveAutoScalingPolicyResponse Source #

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

Response Lenses