Class: Aws::PinpointSMSVoiceV2::Types::UpdateProtectConfigurationCountryRuleSetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::PinpointSMSVoiceV2::Types::UpdateProtectConfigurationCountryRuleSetRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpointsmsvoicev2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#country_rule_set_updates ⇒ Hash<String,Types::ProtectConfigurationCountryRuleSetInformation>
A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability.
-
#number_capability ⇒ String
The number capability to apply the CountryRuleSetUpdates updates to.
-
#protect_configuration_id ⇒ String
The unique identifier for the protect configuration.
Instance Attribute Details
#country_rule_set_updates ⇒ Hash<String,Types::ProtectConfigurationCountryRuleSetInformation>
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 [Supported countries and regions (SMS channel)] in the AWS End User Messaging SMS User Guide.
For example, to set the United States as allowed and Canada as blocked, the ‘CountryRuleSetUpdates` would be formatted as: `“CountryRuleSetUpdates”: { “US” : { “ProtectStatus”: “ALLOW” } “CA” : { “ProtectStatus”: “BLOCK” } }`
[1]: docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html
7360 7361 7362 7363 7364 7365 7366 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 7360 class UpdateProtectConfigurationCountryRuleSetRequest < Struct.new( :protect_configuration_id, :number_capability, :country_rule_set_updates) SENSITIVE = [] include Aws::Structure end |
#number_capability ⇒ String
The number capability to apply the CountryRuleSetUpdates updates to.
7360 7361 7362 7363 7364 7365 7366 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 7360 class UpdateProtectConfigurationCountryRuleSetRequest < Struct.new( :protect_configuration_id, :number_capability, :country_rule_set_updates) SENSITIVE = [] include Aws::Structure end |
#protect_configuration_id ⇒ String
The unique identifier for the protect configuration.
7360 7361 7362 7363 7364 7365 7366 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 7360 class UpdateProtectConfigurationCountryRuleSetRequest < Struct.new( :protect_configuration_id, :number_capability, :country_rule_set_updates) SENSITIVE = [] include Aws::Structure end |