Struct aws_sdk_kinesis::operation::enable_enhanced_monitoring::EnableEnhancedMonitoringOutput
source · #[non_exhaustive]pub struct EnableEnhancedMonitoringOutput {
pub stream_name: Option<String>,
pub current_shard_level_metrics: Option<Vec<MetricsName>>,
pub desired_shard_level_metrics: Option<Vec<MetricsName>>,
pub stream_arn: Option<String>,
/* private fields */
}
Expand description
Represents the output for EnableEnhancedMonitoring
and 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.
current_shard_level_metrics: Option<Vec<MetricsName>>
Represents the current state of the metrics that are in the enhanced state before the operation.
desired_shard_level_metrics: Option<Vec<MetricsName>>
Represents the list of all the metrics that would be in the enhanced state after the operation.
stream_arn: Option<String>
The ARN of the stream.
Implementations§
source§impl EnableEnhancedMonitoringOutput
impl EnableEnhancedMonitoringOutput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the Kinesis data stream.
sourcepub fn current_shard_level_metrics(&self) -> &[MetricsName]
pub fn current_shard_level_metrics(&self) -> &[MetricsName]
Represents the current state of the metrics that are in the enhanced state before the operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .current_shard_level_metrics.is_none()
.
sourcepub fn desired_shard_level_metrics(&self) -> &[MetricsName]
pub fn desired_shard_level_metrics(&self) -> &[MetricsName]
Represents the list of all the metrics that would be in the enhanced state after the operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .desired_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 EnableEnhancedMonitoringOutput
impl EnableEnhancedMonitoringOutput
sourcepub fn builder() -> EnableEnhancedMonitoringOutputBuilder
pub fn builder() -> EnableEnhancedMonitoringOutputBuilder
Creates a new builder-style object to manufacture EnableEnhancedMonitoringOutput
.
Trait Implementations§
source§impl Clone for EnableEnhancedMonitoringOutput
impl Clone for EnableEnhancedMonitoringOutput
source§fn clone(&self) -> EnableEnhancedMonitoringOutput
fn clone(&self) -> EnableEnhancedMonitoringOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EnableEnhancedMonitoringOutput
impl PartialEq for EnableEnhancedMonitoringOutput
source§fn eq(&self, other: &EnableEnhancedMonitoringOutput) -> bool
fn eq(&self, other: &EnableEnhancedMonitoringOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for EnableEnhancedMonitoringOutput
impl RequestId for EnableEnhancedMonitoringOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for EnableEnhancedMonitoringOutput
Auto Trait Implementations§
impl Freeze for EnableEnhancedMonitoringOutput
impl RefUnwindSafe for EnableEnhancedMonitoringOutput
impl Send for EnableEnhancedMonitoringOutput
impl Sync for EnableEnhancedMonitoringOutput
impl Unpin for EnableEnhancedMonitoringOutput
impl UnwindSafe for EnableEnhancedMonitoringOutput
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