pub struct DisableEnhancedMonitoring { /* private fields */ }
Expand description
Fluent builder constructing a request to DisableEnhancedMonitoring
.
Disables enhanced monitoring.
When invoking this API, it is recommended you use the StreamARN
input parameter rather than the StreamName
input parameter.
Implementations§
source§impl DisableEnhancedMonitoring
impl DisableEnhancedMonitoring
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisableEnhancedMonitoring, AwsResponseRetryClassifier>, SdkError<DisableEnhancedMonitoringError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisableEnhancedMonitoring, AwsResponseRetryClassifier>, SdkError<DisableEnhancedMonitoringError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DisableEnhancedMonitoringOutput, SdkError<DisableEnhancedMonitoringError>>
pub async fn send(
self
) -> Result<DisableEnhancedMonitoringOutput, SdkError<DisableEnhancedMonitoringError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the Kinesis data stream for which to disable enhanced monitoring.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the Kinesis data stream for which to disable enhanced monitoring.
sourcepub fn shard_level_metrics(self, input: MetricsName) -> Self
pub fn shard_level_metrics(self, input: MetricsName) -> Self
Appends an item to ShardLevelMetrics
.
To override the contents of this collection use set_shard_level_metrics
.
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.
sourcepub fn set_shard_level_metrics(self, input: Option<Vec<MetricsName>>) -> Self
pub fn set_shard_level_metrics(self, input: Option<Vec<MetricsName>>) -> Self
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.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the stream.
Trait Implementations§
source§impl Clone for DisableEnhancedMonitoring
impl Clone for DisableEnhancedMonitoring
source§fn clone(&self) -> DisableEnhancedMonitoring
fn clone(&self) -> DisableEnhancedMonitoring
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more