Update a country rule set to ALLOW, BLOCK, MONITOR, or FILTER messages to be sent to the specified destination counties
Source:R/pinpointsmsvoicev2_operations.R
pinpointsmsvoicev2_updat_prote_confi_count_rule_set.RdUpdate a country rule set to ALLOW, BLOCK, MONITOR, or FILTER messages to be sent to the specified destination counties. You can update one or multiple countries at a time. The updates are only applied to the specified NumberCapability type.
See https://www.paws-r-sdk.com/docs/pinpointsmsvoicev2_update_protect_configuration_country_rule_set/ for full documentation.
Usage
pinpointsmsvoicev2_update_protect_configuration_country_rule_set(
ProtectConfigurationId,
NumberCapability,
CountryRuleSetUpdates
)Arguments
- ProtectConfigurationId
[required] The unique identifier for the protect configuration.
- NumberCapability
[required] The number capability to apply the CountryRuleSetUpdates updates to.
- CountryRuleSetUpdates
[required] 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 End User Messaging SMS User Guide.
For example, to set the United States as allowed and Canada as blocked, the
CountryRuleSetUpdateswould be formatted as:"CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA" : { "ProtectStatus": "BLOCK" } }