aws-sdk-pinpointsmsvoicev2 1.124.0

AWS SDK for Amazon Pinpoint SMS Voice V2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteProtectConfiguration`](crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteProtectConfigurationOutput`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput) with field(s):
    ///   - [`protect_configuration_arn(String)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::protect_configuration_arn): <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
    ///   - [`protect_configuration_id(String)`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationOutput::protect_configuration_id): <p>The unique identifier for the protect configuration.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DeleteProtectConfigurationError>`](crate::operation::delete_protect_configuration::DeleteProtectConfigurationError)
    pub fn delete_protect_configuration(&self) -> crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder {
        crate::operation::delete_protect_configuration::builders::DeleteProtectConfigurationFluentBuilder::new(self.handle.clone())
    }
}