Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AutoScalingPolicyStateChangeReason = AutoScalingPolicyStateChangeReason' {}
- newAutoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason
- autoScalingPolicyStateChangeReason_code :: Lens' AutoScalingPolicyStateChangeReason (Maybe AutoScalingPolicyStateChangeReasonCode)
- autoScalingPolicyStateChangeReason_message :: Lens' AutoScalingPolicyStateChangeReason (Maybe Text)
Documentation
data AutoScalingPolicyStateChangeReason Source #
The reason for an AutoScalingPolicyStatus change.
See: newAutoScalingPolicyStateChangeReason
smart constructor.
AutoScalingPolicyStateChangeReason' | |
|
Instances
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.