Struct aws_sdk_kinesis::operation::disable_enhanced_monitoring::builders::DisableEnhancedMonitoringFluentBuilder
source · pub struct DisableEnhancedMonitoringFluentBuilder { /* 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 DisableEnhancedMonitoringFluentBuilder
impl DisableEnhancedMonitoringFluentBuilder
sourcepub fn as_input(&self) -> &DisableEnhancedMonitoringInputBuilder
pub fn as_input(&self) -> &DisableEnhancedMonitoringInputBuilder
Access the DisableEnhancedMonitoring as a reference.
sourcepub async fn send(
self
) -> Result<DisableEnhancedMonitoringOutput, SdkError<DisableEnhancedMonitoringError, HttpResponse>>
pub async fn send( self ) -> Result<DisableEnhancedMonitoringOutput, SdkError<DisableEnhancedMonitoringError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DisableEnhancedMonitoringOutput, DisableEnhancedMonitoringError, Self>
pub fn customize( self ) -> CustomizableOperation<DisableEnhancedMonitoringOutput, DisableEnhancedMonitoringError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
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 get_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
pub fn get_shard_level_metrics(&self) -> &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.
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.
sourcepub fn get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The ARN of the stream.
Trait Implementations§
source§impl Clone for DisableEnhancedMonitoringFluentBuilder
impl Clone for DisableEnhancedMonitoringFluentBuilder
source§fn clone(&self) -> DisableEnhancedMonitoringFluentBuilder
fn clone(&self) -> DisableEnhancedMonitoringFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more