aws_sdk_chimesdkidentity/client/
get_app_instance_retention_settings.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetAppInstanceRetentionSettings`](crate::operation::get_app_instance_retention_settings::builders::GetAppInstanceRetentionSettingsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_instance_arn(impl Into<String>)`](crate::operation::get_app_instance_retention_settings::builders::GetAppInstanceRetentionSettingsFluentBuilder::app_instance_arn) / [`set_app_instance_arn(Option<String>)`](crate::operation::get_app_instance_retention_settings::builders::GetAppInstanceRetentionSettingsFluentBuilder::set_app_instance_arn):<br>required: **true**<br><p>The ARN of the <code>AppInstance</code>.</p><br>
7    /// - On success, responds with [`GetAppInstanceRetentionSettingsOutput`](crate::operation::get_app_instance_retention_settings::GetAppInstanceRetentionSettingsOutput) with field(s):
8    ///   - [`app_instance_retention_settings(Option<AppInstanceRetentionSettings>)`](crate::operation::get_app_instance_retention_settings::GetAppInstanceRetentionSettingsOutput::app_instance_retention_settings): <p>The retention settings for the <code>AppInstance</code>.</p>
9    ///   - [`initiate_deletion_timestamp(Option<DateTime>)`](crate::operation::get_app_instance_retention_settings::GetAppInstanceRetentionSettingsOutput::initiate_deletion_timestamp): <p>The timestamp representing the time at which the specified items are retained, in Epoch Seconds.</p>
10    /// - On failure, responds with [`SdkError<GetAppInstanceRetentionSettingsError>`](crate::operation::get_app_instance_retention_settings::GetAppInstanceRetentionSettingsError)
11    pub fn get_app_instance_retention_settings(
12        &self,
13    ) -> crate::operation::get_app_instance_retention_settings::builders::GetAppInstanceRetentionSettingsFluentBuilder {
14        crate::operation::get_app_instance_retention_settings::builders::GetAppInstanceRetentionSettingsFluentBuilder::new(self.handle.clone())
15    }
16}