aws_sdk_pinpointsmsvoicev2/client/set_account_default_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 [`SetAccountDefaultProtectConfiguration`](crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`SetAccountDefaultProtectConfigurationOutput`](crate::operation::set_account_default_protect_configuration::SetAccountDefaultProtectConfigurationOutput) with field(s):
8 /// - [`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>
9 /// - [`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>
10 /// - On failure, responds with [`SdkError<SetAccountDefaultProtectConfigurationError>`](crate::operation::set_account_default_protect_configuration::SetAccountDefaultProtectConfigurationError)
11 pub fn set_account_default_protect_configuration(
12 &self,
13 ) -> crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder {
14 crate::operation::set_account_default_protect_configuration::builders::SetAccountDefaultProtectConfigurationFluentBuilder::new(
15 self.handle.clone(),
16 )
17 }
18}