aws_sdk_pinpointsmsvoicev2/client/associate_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 [`AssociateProtectConfiguration`](crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`protect_configuration_id(impl Into<String>)`](crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder::protect_configuration_id) / [`set_protect_configuration_id(Option<String>)`](crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder::set_protect_configuration_id):<br>required: **true**<br><p>The unique identifier for the protect configuration.</p><br>
7 /// - [`configuration_set_name(impl Into<String>)`](crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option<String>)`](crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder::set_configuration_set_name):<br>required: **true**<br><p>The name of the ConfigurationSet.</p><br>
8 /// - On success, responds with [`AssociateProtectConfigurationOutput`](crate::operation::associate_protect_configuration::AssociateProtectConfigurationOutput) with field(s):
9 /// - [`configuration_set_arn(String)`](crate::operation::associate_protect_configuration::AssociateProtectConfigurationOutput::configuration_set_arn): <p>The Amazon Resource Name (ARN) of the configuration set.</p>
10 /// - [`configuration_set_name(String)`](crate::operation::associate_protect_configuration::AssociateProtectConfigurationOutput::configuration_set_name): <p>The name of the ConfigurationSet.</p>
11 /// - [`protect_configuration_arn(String)`](crate::operation::associate_protect_configuration::AssociateProtectConfigurationOutput::protect_configuration_arn): <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
12 /// - [`protect_configuration_id(String)`](crate::operation::associate_protect_configuration::AssociateProtectConfigurationOutput::protect_configuration_id): <p>The unique identifier for the protect configuration.</p>
13 /// - On failure, responds with [`SdkError<AssociateProtectConfigurationError>`](crate::operation::associate_protect_configuration::AssociateProtectConfigurationError)
14 pub fn associate_protect_configuration(
15 &self,
16 ) -> crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder {
17 crate::operation::associate_protect_configuration::builders::AssociateProtectConfigurationFluentBuilder::new(self.handle.clone())
18 }
19}