v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14109583546.7 KB

Retrieves the JSON text of the resource-based policy document attached to the End User Messaging SMS resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.

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

Headers

X-Amz-Target'PinpointSMSVoiceV2.GetResourcePolicy' required

Request body

ResourceArnstring required

The Amazon Resource Name (ARN) of the End User Messaging SMS resource attached to the resource-based policy.

Response

Success

ResourceArnstring

The Amazon Resource Name (ARN) of the End User Messaging SMS resource attached to the resource-based policy.

Policystring

The JSON formatted string that contains the resource-based policy attached to the End User Messaging SMS resource.

CreatedTimestampstring date-time

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