Struct aws_sdk_kinesis::input::EnableEnhancedMonitoringInput [−][src]
#[non_exhaustive]pub struct EnableEnhancedMonitoringInput {
pub stream_name: Option<String>,
pub shard_level_metrics: Option<Vec<MetricsName>>,
}
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableEnhancedMonitoring, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableEnhancedMonitoring, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<EnableEnhancedMonitoring
>
Creates a new builder-style object to manufacture EnableEnhancedMonitoringInput
The name of the stream for which to enable enhanced monitoring.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for EnableEnhancedMonitoringInput
impl Sync for EnableEnhancedMonitoringInput
impl Unpin for EnableEnhancedMonitoringInput
impl UnwindSafe for EnableEnhancedMonitoringInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more