aws_sdk_appconfig/client/
update_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 [`UpdateAccountSettings`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`deletion_protection(DeletionProtectionSettings)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::deletion_protection) / [`set_deletion_protection(Option<DeletionProtectionSettings>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_deletion_protection):<br>required: **false**<br><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><br>
7    /// - On success, responds with [`UpdateAccountSettingsOutput`](crate::operation::update_account_settings::UpdateAccountSettingsOutput) with field(s):
8    ///   - [`deletion_protection(Option<DeletionProtectionSettings>)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::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>
9    /// - On failure, responds with [`SdkError<UpdateAccountSettingsError>`](crate::operation::update_account_settings::UpdateAccountSettingsError)
10    pub fn update_account_settings(&self) -> crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder {
11        crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::new(self.handle.clone())
12    }
13}