Struct aws_sdk_iot::model::CloudwatchMetricAction
source · #[non_exhaustive]pub struct CloudwatchMetricAction { /* private fields */ }
Expand description
Describes an action that captures a CloudWatch metric.
Implementations§
source§impl CloudwatchMetricAction
impl CloudwatchMetricAction
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The IAM role that allows access to the CloudWatch metric.
sourcepub fn metric_namespace(&self) -> Option<&str>
pub fn metric_namespace(&self) -> Option<&str>
The CloudWatch metric namespace name.
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The CloudWatch metric name.
sourcepub fn metric_value(&self) -> Option<&str>
pub fn metric_value(&self) -> Option<&str>
The CloudWatch metric value.
sourcepub fn metric_unit(&self) -> Option<&str>
pub fn metric_unit(&self) -> Option<&str>
The metric unit supported by CloudWatch.
sourcepub fn metric_timestamp(&self) -> Option<&str>
pub fn metric_timestamp(&self) -> Option<&str>
An optional Unix timestamp.
source§impl CloudwatchMetricAction
impl CloudwatchMetricAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudwatchMetricAction
.
Trait Implementations§
source§impl Clone for CloudwatchMetricAction
impl Clone for CloudwatchMetricAction
source§fn clone(&self) -> CloudwatchMetricAction
fn clone(&self) -> CloudwatchMetricAction
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 CloudwatchMetricAction
impl Debug for CloudwatchMetricAction
source§impl PartialEq<CloudwatchMetricAction> for CloudwatchMetricAction
impl PartialEq<CloudwatchMetricAction> for CloudwatchMetricAction
source§fn eq(&self, other: &CloudwatchMetricAction) -> bool
fn eq(&self, other: &CloudwatchMetricAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.