aws_sdk_pinpointsmsvoicev2/client/get_protect_configuration_country_rule_set.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 [`GetProtectConfigurationCountryRuleSet`](crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`protect_configuration_id(impl Into<String>)`](crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder::protect_configuration_id) / [`set_protect_configuration_id(Option<String>)`](crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder::set_protect_configuration_id):<br>required: **true**<br><p>The unique identifier for the protect configuration.</p><br>
7 /// - [`number_capability(NumberCapability)`](crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder::number_capability) / [`set_number_capability(Option<NumberCapability>)`](crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder::set_number_capability):<br>required: **true**<br><p>The capability type to return the CountryRuleSet for. Valid values are <code>SMS</code>, <code>VOICE</code>, or <code>MMS</code>.</p><br>
8 /// - On success, responds with [`GetProtectConfigurationCountryRuleSetOutput`](crate::operation::get_protect_configuration_country_rule_set::GetProtectConfigurationCountryRuleSetOutput) with field(s):
9 /// - [`protect_configuration_arn(String)`](crate::operation::get_protect_configuration_country_rule_set::GetProtectConfigurationCountryRuleSetOutput::protect_configuration_arn): <p>The Amazon Resource Name (ARN) of the protect configuration.</p>
10 /// - [`protect_configuration_id(String)`](crate::operation::get_protect_configuration_country_rule_set::GetProtectConfigurationCountryRuleSetOutput::protect_configuration_id): <p>The unique identifier for the protect configuration.</p>
11 /// - [`number_capability(NumberCapability)`](crate::operation::get_protect_configuration_country_rule_set::GetProtectConfigurationCountryRuleSetOutput::number_capability): <p>The capability type associated with the returned ProtectConfigurationCountryRuleSetInformation objects.</p>
12 /// - [`country_rule_set(HashMap::<String, ProtectConfigurationCountryRuleSetInformation>)`](crate::operation::get_protect_configuration_country_rule_set::GetProtectConfigurationCountryRuleSetOutput::country_rule_set): <p>A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see <a href="https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html">Supported countries and regions (SMS channel)</a> in the AWS End User Messaging SMS User Guide.</p>
13 /// - On failure, responds with [`SdkError<GetProtectConfigurationCountryRuleSetError>`](crate::operation::get_protect_configuration_country_rule_set::GetProtectConfigurationCountryRuleSetError)
14 pub fn get_protect_configuration_country_rule_set(
15 &self,
16 ) -> crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder {
17 crate::operation::get_protect_configuration_country_rule_set::builders::GetProtectConfigurationCountryRuleSetFluentBuilder::new(
18 self.handle.clone(),
19 )
20 }
21}