Struct aws_sdk_iot::types::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() -> CloudwatchAlarmActionBuilder
pub fn builder() -> CloudwatchAlarmActionBuilder
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 ==
.impl StructuralPartialEq for CloudwatchAlarmAction
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more