Returns a list of the subscriptions to a specific topic. Each call
returns a limited list of subscriptions, up to 100. If there are more
subscriptions, a NextToken
is also returned. Use the NextToken
parameter in a new
list_subscriptions_by_topic
call to
get further results.
This action is throttled at 30 transactions per second (TPS).
sns_list_subscriptions_by_topic(TopicArn, NextToken)
[required] The ARN of the topic for which you wish to find subscriptions.
Token returned by the previous
list_subscriptions_by_topic
request.
A list with the following syntax:
list( Subscriptions = list( list( SubscriptionArn = "string", Owner = "string", Protocol = "string", Endpoint = "string", TopicArn = "string" ) ), NextToken = "string" )
svc$list_subscriptions_by_topic( TopicArn = "string", NextToken = "string" )