sns:ListEndpointsByPlatformApplication is a List access-level action in the sns service. Grants permission to list the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows sns:ListEndpointsByPlatformApplication. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSnsListEndpointsByPlatformApplication",
"Effect": "Allow",
"Action": "sns:ListEndpointsByPlatformApplication",
"Resource": "*"
}
]
}