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