Struct aws_sdk_iot::model::CloudwatchAlarmAction [−][src]
#[non_exhaustive]pub struct CloudwatchAlarmAction {
pub role_arn: Option<String>,
pub alarm_name: Option<String>,
pub state_reason: Option<String>,
pub state_value: Option<String>,
}
Expand description
Describes an action that updates a CloudWatch alarm.
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.role_arn: Option<String>
The IAM role that allows access to the CloudWatch alarm.
alarm_name: Option<String>
The CloudWatch alarm name.
state_reason: Option<String>
The reason for the alarm change.
state_value: Option<String>
The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
Implementations
The CloudWatch alarm name.
The reason for the alarm change.
The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
Creates a new builder-style object to manufacture CloudwatchAlarmAction
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 RefUnwindSafe for CloudwatchAlarmAction
impl Send for CloudwatchAlarmAction
impl Sync for CloudwatchAlarmAction
impl Unpin for CloudwatchAlarmAction
impl UnwindSafe for CloudwatchAlarmAction
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