v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14109583546.7 KB

Retrieve the CountryRuleSet for the specified NumberCapability from a protect configuration.

post/#X-Amz-Target=PinpointSMSVoiceV2.GetProtectConfigurationCountryRuleSet

Headers

X-Amz-Target'PinpointSMSVoiceV2.GetProtectConfigurationCountryRuleSet' required

Request body

ProtectConfigurationIdstring required

The unique identifier for the protect configuration.

NumberCapability'SMS' | 'VOICE' | 'MMS' | 'RCS' required

The capability type to return the CountryRuleSet for. Valid values are <code>SMS</code>, <code>VOICE</code>, or <code>MMS</code>.

Response

Success

ProtectConfigurationArnstring required

The Amazon Resource Name (ARN) of the protect configuration.

ProtectConfigurationIdstring required

The unique identifier for the protect configuration.

NumberCapability'SMS' | 'VOICE' | 'MMS' | 'RCS' required

The capability type associated with the returned ProtectConfigurationCountryRuleSetInformation objects.

CountryRuleSetobject 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 <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 End User Messaging SMS User Guide.