Struct aws_sdk_chime::types::StreamingConfiguration
source · #[non_exhaustive]pub struct StreamingConfiguration {
pub data_retention_in_hours: i32,
pub disabled: Option<bool>,
pub streaming_notification_targets: Option<Vec<StreamingNotificationTarget>>,
}Expand description
The streaming configuration associated with an Amazon Chime Voice Connector. Specifies whether media streaming is enabled for sending to Amazon Kinesis, and shows the retention period for the Amazon Kinesis data, in hours.
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.data_retention_in_hours: i32The retention period, in hours, for the Amazon Kinesis data.
disabled: Option<bool>When true, media streaming to Amazon Kinesis is turned off.
streaming_notification_targets: Option<Vec<StreamingNotificationTarget>>The streaming notification targets.
Implementations§
source§impl StreamingConfiguration
impl StreamingConfiguration
sourcepub fn data_retention_in_hours(&self) -> i32
pub fn data_retention_in_hours(&self) -> i32
The retention period, in hours, for the Amazon Kinesis data.
sourcepub fn disabled(&self) -> Option<bool>
pub fn disabled(&self) -> Option<bool>
When true, media streaming to Amazon Kinesis is turned off.
sourcepub fn streaming_notification_targets(&self) -> &[StreamingNotificationTarget]
pub fn streaming_notification_targets(&self) -> &[StreamingNotificationTarget]
The streaming notification targets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .streaming_notification_targets.is_none().
source§impl StreamingConfiguration
impl StreamingConfiguration
sourcepub fn builder() -> StreamingConfigurationBuilder
pub fn builder() -> StreamingConfigurationBuilder
Creates a new builder-style object to manufacture StreamingConfiguration.
Trait Implementations§
source§impl Clone for StreamingConfiguration
impl Clone for StreamingConfiguration
source§fn clone(&self) -> StreamingConfiguration
fn clone(&self) -> StreamingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StreamingConfiguration
impl Debug for StreamingConfiguration
source§impl PartialEq for StreamingConfiguration
impl PartialEq for StreamingConfiguration
impl StructuralPartialEq for StreamingConfiguration
Auto Trait Implementations§
impl Freeze for StreamingConfiguration
impl RefUnwindSafe for StreamingConfiguration
impl Send for StreamingConfiguration
impl Sync for StreamingConfiguration
impl Unpin for StreamingConfiguration
impl UnwindSafe for StreamingConfiguration
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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