aws sns list-subscriptions
Returns a list of the requester's subscriptions. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To list your SNS subscriptions
The following list-subscriptions example displays a list of the SNS subscriptions in your AWS account.
aws sns list-subscriptionsIdentifyIts output
{
"Subscriptions": [
{
"Owner": "123456789012",
"Endpoint": "my-email@example.com",
"Protocol": "email",
"TopicArn": "arn:aws:sns:us-west-2:123456789012:my-topic",
"SubscriptionArn": "arn:aws:sns:us-west-2:123456789012:my-topic:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}
]
}For more information, see Creating a subscription to an Amazon SNS topic in the Amazon Simple Notification Service Developer Guide.
Options
--next-tokenToken returned by the previous ListSubscriptions request.