This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 8, 2026.Change a protect configuration
country rules in AWS End User Messaging SMS
Protect configuration country rules either Allow,
Block, Monitor, or Filter
messages for each destination country. To update protect configuration country rules, you
can use the AWS End User Messaging SMS console or the aws sms-voice
update-protect-configuration-country-rule-set command in the AWS CLI. This section
shows how to update the protect configuration country rules using the AWS End User Messaging SMS console and the
AWS CLI.
You can only change your MMS country rules list through the AWS End User Messaging SMS and voice v2 API or
AWS CLI.
- Edit a protect configuration (Console)
-
To edit a protect configuration using the AWS End User Messaging SMS console, follow these
steps:
Open the AWS End User Messaging SMS console at
https://console.aws.amazon.com/sms-voice/.
-
In the navigation pane, under Protect, choose
Protect configuration.
-
On the Protect configuration page, choose a
protect configuration and then choose Edit.
-
In the protect configuration details table choose the SMS
rules or Voice rules tab.
-
In the SMS/Voice country rules tab check the
countries to change the rules for and then choose
Allow, Block,
Monitor, or Filter. For
more information on country rule modes, see Country rule modes. You can sort
and filter the country list based on Country,
Region and Rule.
-
In the Status change confirmation window review
your changes and then choose Confirm to apply
them.
The new country rule set is now used for the protect configuration.
- Edit a protect configuration (AWS CLI)
-
You can use the update-protect-configuration-country-set command to change a
protect configuration's country rules. You can change up to 300 country rules at
a time.
To edit a protect configuration
-
To edit two country rules at the command line, enter the following
command:
aws pinpoint-sms-voice-v2 update-protect-configuration-country-rule-set --protect-configuration-id ProtectConfigId --number-capability Capability --country-rule-set-updates '{"CountryISO1":{"ProtectStatus": "Rule1"}, "CountryISO2": {"ProtectStatus":"Rule2"}}'
In the preceding command, make the following changes: