aws-sdk-appconfig 1.103.0

AWS SDK for Amazon AppConfig
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateAccountSettings`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`UpdateAccountSettingsOutput`](crate::operation::update_account_settings::UpdateAccountSettingsOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateAccountSettingsError>`](crate::operation::update_account_settings::UpdateAccountSettingsError)
    pub fn update_account_settings(&self) -> crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder {
        crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::new(self.handle.clone())
    }
}