Struct aws_sdk_chime::client::fluent_builders::PutRetentionSettings [−][src]
pub struct PutRetentionSettings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutRetentionSettings
.
Puts retention settings for the specified Amazon Chime Enterprise account. We recommend using AWS CloudTrail to monitor usage of this API for your account. For more information, see Logging Amazon Chime API Calls with AWS CloudTrail in the Amazon Chime Administration Guide.
To turn off existing retention settings, remove the number of days from the corresponding RetentionDays field in the RetentionSettings object. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide.
Implementations
impl<C, M, R> PutRetentionSettings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutRetentionSettings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutRetentionSettingsOutput, SdkError<PutRetentionSettingsError>> where
R::Policy: SmithyRetryPolicy<PutRetentionSettingsInputOperationOutputAlias, PutRetentionSettingsOutput, PutRetentionSettingsError, PutRetentionSettingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutRetentionSettingsOutput, SdkError<PutRetentionSettingsError>> where
R::Policy: SmithyRetryPolicy<PutRetentionSettingsInputOperationOutputAlias, PutRetentionSettingsOutput, PutRetentionSettingsError, PutRetentionSettingsInputOperationRetryAlias>,
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.
The Amazon Chime account ID.
The Amazon Chime account ID.
The retention settings.
The retention settings.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutRetentionSettings<C, M, R>
impl<C, M, R> Send for PutRetentionSettings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutRetentionSettings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutRetentionSettings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutRetentionSettings<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more