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.Types.AutoScalingPolicyStateChangeReason

Description

 
Synopsis

Documentation

data AutoScalingPolicyStateChangeReason Source #

The reason for an AutoScalingPolicyStatus change.

See: newAutoScalingPolicyStateChangeReason smart constructor.

Constructors

AutoScalingPolicyStateChangeReason' 

Fields

  • code :: Maybe AutoScalingPolicyStateChangeReasonCode

    The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.

  • message :: Maybe Text

    A friendly, more verbose message that accompanies an automatic scaling policy state change.

Instances

Instances details
Eq AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

Read AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

Show AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

Generic AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

Associated Types

type Rep AutoScalingPolicyStateChangeReason :: Type -> Type #

NFData AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

Hashable AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

FromJSON AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

type Rep AutoScalingPolicyStateChangeReason Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason

type Rep AutoScalingPolicyStateChangeReason = D1 ('MetaData "AutoScalingPolicyStateChangeReason" "Amazonka.EMR.Types.AutoScalingPolicyStateChangeReason" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "AutoScalingPolicyStateChangeReason'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingPolicyStateChangeReasonCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAutoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason Source #

Create a value of AutoScalingPolicyStateChangeReason 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:code:AutoScalingPolicyStateChangeReason', autoScalingPolicyStateChangeReason_code - The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.

$sel:message:AutoScalingPolicyStateChangeReason', autoScalingPolicyStateChangeReason_message - A friendly, more verbose message that accompanies an automatic scaling policy state change.

autoScalingPolicyStateChangeReason_code :: Lens' AutoScalingPolicyStateChangeReason (Maybe AutoScalingPolicyStateChangeReasonCode) Source #

The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.

autoScalingPolicyStateChangeReason_message :: Lens' AutoScalingPolicyStateChangeReason (Maybe Text) Source #

A friendly, more verbose message that accompanies an automatic scaling policy state change.