aws_sdk_appconfig/client/get_account_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 [`GetAccountSettings`](crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder::send) it.
6 /// - On success, responds with [`GetAccountSettingsOutput`](crate::operation::get_account_settings::GetAccountSettingsOutput) with field(s):
7 /// - [`deletion_protection(Option<DeletionProtectionSettings>)`](crate::operation::get_account_settings::GetAccountSettingsOutput::deletion_protection): <p>A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> or for the configuration profile or from the environment during the specified interval. The default interval for <code>ProtectionPeriodInMinutes</code> is 60.</p>
8 /// - On failure, responds with [`SdkError<GetAccountSettingsError>`](crate::operation::get_account_settings::GetAccountSettingsError)
9 pub fn get_account_settings(&self) -> crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder {
10 crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder::new(self.handle.clone())
11 }
12}