Get Resource Policy
pinpointsmsvoicev2_get_resource_policy | R Documentation |
Retrieves the JSON text of the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource¶
Description¶
Retrieves the JSON text of the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number.
Usage¶
pinpointsmsvoicev2_get_resource_policy(ResourceArn)
Arguments¶
ResourceArn |
[required] The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy. |
Value¶
A list with the following syntax:
list(
ResourceArn = "string",
Policy = "string",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$get_resource_policy(
ResourceArn = "string"
)