v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14109583546.7 KB

Create or update a phone number rule override and associate it with a protect configuration.

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

Headers

X-Amz-Target'PinpointSMSVoiceV2.PutProtectConfigurationRuleSetNumberOverride' required

Request body

ClientTokenstring

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

ProtectConfigurationIdstring required

The unique identifier for the protect configuration.

DestinationPhoneNumberstring required

The destination phone number in E.164 format.

Action'ALLOW' | 'BLOCK' required

The action for the rule to either block or allow messages to the destination phone number.

ExpirationTimestampstring date-time

The time the rule will expire at. If <code>ExpirationTimestamp</code> is not set then the rule does not expire.

Response

Success

ProtectConfigurationArnstring required

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

ProtectConfigurationIdstring required

The unique identifier for the protect configuration.

DestinationPhoneNumberstring required

The destination phone number in E.164 format.

CreatedTimestampstring date-time required

The time when the rule was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.

Action'ALLOW' | 'BLOCK' required

The action for the rule to take.

IsoCountryCodestring

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

ExpirationTimestampstring date-time

The time the rule will expire at.