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 ==
.impl StructuralPartialEq for EnableEnhancedMonitoringInput
Auto Trait Implementations§
impl Freeze for EnableEnhancedMonitoringInput
impl RefUnwindSafe for EnableEnhancedMonitoringInput
impl Send for EnableEnhancedMonitoringInput
impl Sync for EnableEnhancedMonitoringInput
impl Unpin for EnableEnhancedMonitoringInput
impl UnwindSafe for EnableEnhancedMonitoringInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more