#[non_exhaustive]pub struct UpdateChannelInput {
pub channel_name: Option<String>,
pub channel_storage: Option<ChannelStorage>,
pub retention_period: Option<RetentionPeriod>,
}
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.channel_name: Option<String>
The name of the channel to be updated.
channel_storage: Option<ChannelStorage>
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
retention_period: Option<RetentionPeriod>
How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
Implementations§
source§impl UpdateChannelInput
impl UpdateChannelInput
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name of the channel to be updated.
sourcepub fn channel_storage(&self) -> Option<&ChannelStorage>
pub fn channel_storage(&self) -> Option<&ChannelStorage>
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
source§impl UpdateChannelInput
impl UpdateChannelInput
sourcepub fn builder() -> UpdateChannelInputBuilder
pub fn builder() -> UpdateChannelInputBuilder
Creates a new builder-style object to manufacture UpdateChannelInput
.
Trait Implementations§
source§impl Clone for UpdateChannelInput
impl Clone for UpdateChannelInput
source§fn clone(&self) -> UpdateChannelInput
fn clone(&self) -> UpdateChannelInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateChannelInput
impl Debug for UpdateChannelInput
source§impl PartialEq for UpdateChannelInput
impl PartialEq for UpdateChannelInput
source§fn eq(&self, other: &UpdateChannelInput) -> bool
fn eq(&self, other: &UpdateChannelInput) -> bool
self
and other
values to be equal, and is used
by ==
.