aws_sdk_pinpointsmsvoicev2/client/
delete_protect_configuration.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 [`DeleteProtectConfiguration`](crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`protect_configuration_id(impl Into<String>)`](crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder::protect_configuration_id) / [`set_protect_configuration_id(Option<String>)`](crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder::set_protect_configuration_id):<br>required: **true**<br><p>The unique identifier for the protect configuration.</p><br>
7    /// - On success, responds with [`DeleteProtectConfigurationOutput`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput) with field(s):
8    ///   - [`protect_configuration_arn(String)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::protect_configuration_arn): <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
9    ///   - [`protect_configuration_id(String)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::protect_configuration_id): <p>The unique identifier for the protect configuration.</p>
10    ///   - [`created_timestamp(DateTime)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::created_timestamp): <p>The time when the protect configuration was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
11    ///   - [`account_default(bool)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::account_default): <p>This is true if the protect configuration is set as your account default protect configuration.</p>
12    ///   - [`deletion_protection_enabled(bool)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::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>
13    /// - On failure, responds with [`SdkError<DeleteProtectConfigurationError>`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationError)
14    pub fn delete_protect_configuration(&self) -> crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder {
15        crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder::new(self.handle.clone())
16    }
17}