Struct aws_sdk_iotanalytics::client::fluent_builders::UpdateChannel
source · pub struct UpdateChannel { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateChannel.
Used to update the settings of a channel.
Implementations§
source§impl UpdateChannel
impl UpdateChannel
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateChannel, AwsResponseRetryClassifier>, SdkError<UpdateChannelError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateChannel, AwsResponseRetryClassifier>, SdkError<UpdateChannelError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateChannelOutput, SdkError<UpdateChannelError>>
pub async fn send(
self
) -> Result<UpdateChannelOutput, SdkError<UpdateChannelError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name of the channel to be updated.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the channel to be updated.
sourcepub fn channel_storage(self, input: ChannelStorage) -> Self
pub fn channel_storage(self, input: ChannelStorage) -> Self
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 set_channel_storage(self, input: Option<ChannelStorage>) -> Self
pub fn set_channel_storage(self, input: Option<ChannelStorage>) -> Self
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, input: RetentionPeriod) -> Self
pub fn retention_period(self, input: RetentionPeriod) -> Self
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.
sourcepub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
pub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
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.
Trait Implementations§
source§impl Clone for UpdateChannel
impl Clone for UpdateChannel
source§fn clone(&self) -> UpdateChannel
fn clone(&self) -> UpdateChannel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more