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 [`UpdateProtectConfiguration`](crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`protect_configuration_id(impl Into<String>)`](crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder::protect_configuration_id) / [`set_protect_configuration_id(Option<String>)`](crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder::set_protect_configuration_id):<br>required: **true**<br><p>The unique identifier for the protect configuration.</p><br>
    ///   - [`deletion_protection_enabled(bool)`](crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder::deletion_protection_enabled) / [`set_deletion_protection_enabled(Option<bool>)`](crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder::set_deletion_protection_enabled):<br>required: **false**<br><p>When set to true deletion protection is enabled. By default this is set to false.</p><br>
    /// - On success, responds with [`UpdateProtectConfigurationOutput`](crate::operation::update_protect_configuration::UpdateProtectConfigurationOutput) with field(s):
    ///   - [`protect_configuration_arn(String)`](crate::operation::update_protect_configuration::UpdateProtectConfigurationOutput::protect_configuration_arn): <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
    ///   - [`protect_configuration_id(String)`](crate::operation::update_protect_configuration::UpdateProtectConfigurationOutput::protect_configuration_id): <p>The unique identifier for the protect configuration.</p>
    ///   - [`created_timestamp(DateTime)`](crate::operation::update_protect_configuration::UpdateProtectConfigurationOutput::created_timestamp): <p>The time when the protect configuration was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
    ///   - [`account_default(bool)`](crate::operation::update_protect_configuration::UpdateProtectConfigurationOutput::account_default): <p>This is true if the protect configuration is set as your account default protect configuration.</p>
    ///   - [`deletion_protection_enabled(bool)`](crate::operation::update_protect_configuration::UpdateProtectConfigurationOutput::deletion_protection_enabled): <p>The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.</p>
    /// - On failure, responds with [`SdkError<UpdateProtectConfigurationError>`](crate::operation::update_protect_configuration::UpdateProtectConfigurationError)
    pub fn update_protect_configuration(&self) -> crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder {
        crate::operation::update_protect_configuration::builders::UpdateProtectConfigurationFluentBuilder::new(self.handle.clone())
    }
}