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
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SetAccountDefaultProtectConfiguration`](crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`protect_configuration_id(impl Into<String>)`](crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder::protect_configuration_id) / [`set_protect_configuration_id(Option<String>)`](crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder::set_protect_configuration_id):<br>required: **true**<br><p>The unique identifier for the protect configuration.</p><br>
    /// - On success, responds with [`SetAccountDefaultProtectConfigurationOutput`](crate::operation::set_account_default_protect_configuration::SetAccountDefaultProtectConfigurationOutput) with field(s):
    ///   - [`default_protect_configuration_arn(String)`](crate::operation::set_account_default_protect_configuration::SetAccountDefaultProtectConfigurationOutput::default_protect_configuration_arn): <p>The Amazon Resource Name (ARN) of the account default protect configuration.</p>
    ///   - [`default_protect_configuration_id(String)`](crate::operation::set_account_default_protect_configuration::SetAccountDefaultProtectConfigurationOutput::default_protect_configuration_id): <p>The unique identifier of the account default protect configuration.</p>
    /// - On failure, responds with [`SdkError<SetAccountDefaultProtectConfigurationError>`](crate::operation::set_account_default_protect_configuration::SetAccountDefaultProtectConfigurationError)
    pub fn set_account_default_protect_configuration(
        &self,
    ) -> crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder {
        crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}