Struct aws_sdk_kinesis::operation::enable_enhanced_monitoring::EnableEnhancedMonitoringInput
source · #[non_exhaustive]pub struct EnableEnhancedMonitoringInput {
pub stream_name: Option<String>,
pub shard_level_metrics: Option<Vec<MetricsName>>,
pub stream_arn: Option<String>,
}Expand description
Represents the input for EnableEnhancedMonitoring.
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.stream_name: Option<String>The name of the stream for which to enable enhanced monitoring.
shard_level_metrics: Option<Vec<MetricsName>>List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "ALL" enables 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.
stream_arn: Option<String>The ARN of the stream.
Implementations§
source§impl EnableEnhancedMonitoringInput
impl EnableEnhancedMonitoringInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream for which to enable enhanced monitoring.
sourcepub fn shard_level_metrics(&self) -> &[MetricsName]
pub fn shard_level_metrics(&self) -> &[MetricsName]
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "ALL" enables 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().
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The ARN of the stream.
source§impl EnableEnhancedMonitoringInput
impl EnableEnhancedMonitoringInput
sourcepub fn builder() -> EnableEnhancedMonitoringInputBuilder
pub fn builder() -> EnableEnhancedMonitoringInputBuilder
Creates a new builder-style object to manufacture EnableEnhancedMonitoringInput.
Trait Implementations§
source§impl Clone for EnableEnhancedMonitoringInput
impl Clone for EnableEnhancedMonitoringInput
source§fn clone(&self) -> EnableEnhancedMonitoringInput
fn clone(&self) -> EnableEnhancedMonitoringInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for EnableEnhancedMonitoringInput
impl PartialEq for EnableEnhancedMonitoringInput
source§fn eq(&self, other: &EnableEnhancedMonitoringInput) -> bool
fn eq(&self, other: &EnableEnhancedMonitoringInput) -> bool
self and other values to be equal, and is used
by ==.