Struct aws_sdk_iot::model::CloudwatchAlarmAction
source · #[non_exhaustive]pub struct CloudwatchAlarmAction { /* private fields */ }
Expand description
Describes an action that updates a CloudWatch alarm.
Implementations§
source§impl CloudwatchAlarmAction
impl CloudwatchAlarmAction
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The IAM role that allows access to the CloudWatch alarm.
sourcepub fn alarm_name(&self) -> Option<&str>
pub fn alarm_name(&self) -> Option<&str>
The CloudWatch alarm name.
sourcepub fn state_reason(&self) -> Option<&str>
pub fn state_reason(&self) -> Option<&str>
The reason for the alarm change.
sourcepub fn state_value(&self) -> Option<&str>
pub fn state_value(&self) -> Option<&str>
The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
source§impl CloudwatchAlarmAction
impl CloudwatchAlarmAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudwatchAlarmAction
.
Trait Implementations§
source§impl Clone for CloudwatchAlarmAction
impl Clone for CloudwatchAlarmAction
source§fn clone(&self) -> CloudwatchAlarmAction
fn clone(&self) -> CloudwatchAlarmAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CloudwatchAlarmAction
impl Debug for CloudwatchAlarmAction
source§impl PartialEq<CloudwatchAlarmAction> for CloudwatchAlarmAction
impl PartialEq<CloudwatchAlarmAction> for CloudwatchAlarmAction
source§fn eq(&self, other: &CloudwatchAlarmAction) -> bool
fn eq(&self, other: &CloudwatchAlarmAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.