Struct aws_sdk_emr::model::AutoScalingPolicyStateChangeReason [−][src]
#[non_exhaustive]pub struct AutoScalingPolicyStateChangeReason {
pub code: Option<AutoScalingPolicyStateChangeReasonCode>,
pub message: Option<String>,
}Expand description
The reason for an AutoScalingPolicyStatus change.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: Option<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: Option<String>A friendly, more verbose message that accompanies an automatic scaling policy state change.
Implementations
Creates a new builder-style object to manufacture AutoScalingPolicyStateChangeReason
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for AutoScalingPolicyStateChangeReason
impl Sync for AutoScalingPolicyStateChangeReason
impl Unpin for AutoScalingPolicyStateChangeReason
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more