Struct aws_sdk_devopsguru::model::CloudWatchMetricsDetail [−][src]
#[non_exhaustive]pub struct CloudWatchMetricsDetail {
pub metric_name: Option<String>,
pub namespace: Option<String>,
pub dimensions: Option<Vec<CloudWatchMetricsDimension>>,
pub stat: Option<CloudWatchMetricsStat>,
pub unit: Option<String>,
pub period: i32,
}
Expand description
Information about an Amazon CloudWatch metric.
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.metric_name: Option<String>
The name of the CloudWatch metric.
namespace: Option<String>
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
dimensions: Option<Vec<CloudWatchMetricsDimension>>
An array of CloudWatch dimensions associated with
stat: Option<CloudWatchMetricsStat>
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
unit: Option<String>
The unit of measure used for the CloudWatch metric. For example, Bytes
, Seconds
,
Count
, and Percent
.
period: i32
The length of time associated with the CloudWatch metric in number of seconds.
Implementations
The name of the CloudWatch metric.
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
An array of CloudWatch dimensions associated with
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
The unit of measure used for the CloudWatch metric. For example, Bytes
, Seconds
,
Count
, and Percent
.
Creates a new builder-style object to manufacture CloudWatchMetricsDetail
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 CloudWatchMetricsDetail
impl Send for CloudWatchMetricsDetail
impl Sync for CloudWatchMetricsDetail
impl Unpin for CloudWatchMetricsDetail
impl UnwindSafe for CloudWatchMetricsDetail
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