Struct aws_sdk_kinesis::types::EnhancedMetrics
source · #[non_exhaustive]pub struct EnhancedMetrics {
pub shard_level_metrics: Option<Vec<MetricsName>>,
}Expand description
Represents enhanced metrics types.
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.shard_level_metrics: Option<Vec<MetricsName>>List of shard-level metrics.
The following are the valid shard-level metrics. The value "ALL" enhances every metric.
-
IncomingBytes -
IncomingRecords -
OutgoingBytes -
OutgoingRecords -
WriteProvisionedThroughputExceeded -
ReadProvisionedThroughputExceeded -
IteratorAgeMilliseconds -
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
Implementations§
source§impl EnhancedMetrics
impl EnhancedMetrics
sourcepub fn shard_level_metrics(&self) -> &[MetricsName]
pub fn shard_level_metrics(&self) -> &[MetricsName]
List of shard-level metrics.
The following are the valid shard-level metrics. The value "ALL" enhances every metric.
-
IncomingBytes -
IncomingRecords -
OutgoingBytes -
OutgoingRecords -
WriteProvisionedThroughputExceeded -
ReadProvisionedThroughputExceeded -
IteratorAgeMilliseconds -
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .shard_level_metrics.is_none().
source§impl EnhancedMetrics
impl EnhancedMetrics
sourcepub fn builder() -> EnhancedMetricsBuilder
pub fn builder() -> EnhancedMetricsBuilder
Creates a new builder-style object to manufacture EnhancedMetrics.
Trait Implementations§
source§impl Clone for EnhancedMetrics
impl Clone for EnhancedMetrics
source§fn clone(&self) -> EnhancedMetrics
fn clone(&self) -> EnhancedMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EnhancedMetrics
impl Debug for EnhancedMetrics
source§impl PartialEq for EnhancedMetrics
impl PartialEq for EnhancedMetrics
source§fn eq(&self, other: &EnhancedMetrics) -> bool
fn eq(&self, other: &EnhancedMetrics) -> bool
self and other values to be equal, and is used
by ==.