1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRetentionSettings`](crate::operation::get_retention_settings::builders::GetRetentionSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::get_retention_settings::builders::GetRetentionSettingsFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_retention_settings::builders::GetRetentionSettingsFluentBuilder::set_account_id): <p>The Amazon Chime account ID.</p>
    /// - On success, responds with [`GetRetentionSettingsOutput`](crate::operation::get_retention_settings::GetRetentionSettingsOutput) with field(s):
    ///   - [`retention_settings(Option<RetentionSettings>)`](crate::operation::get_retention_settings::GetRetentionSettingsOutput::retention_settings): <p>The retention settings.</p>
    ///   - [`initiate_deletion_timestamp(Option<DateTime>)`](crate::operation::get_retention_settings::GetRetentionSettingsOutput::initiate_deletion_timestamp): <p>The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.</p>
    /// - On failure, responds with [`SdkError<GetRetentionSettingsError>`](crate::operation::get_retention_settings::GetRetentionSettingsError)
    pub fn get_retention_settings(
        &self,
    ) -> crate::operation::get_retention_settings::builders::GetRetentionSettingsFluentBuilder {
        crate::operation::get_retention_settings::builders::GetRetentionSettingsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}