Skip to content

/AWS1/CL_SNS=>LISTSUBSCRIPTIONSBYTOPIC()

About ListSubscriptionsByTopic

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 ListSubscriptionsByTopic call to get further results.

This action is throttled at 30 transactions per second (TPS).

Method Signature

IMPORTING

Required arguments:

IV_TOPICARN TYPE /AWS1/SNSTOPICARN /AWS1/SNSTOPICARN

The ARN of the topic for which you wish to find subscriptions.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/SNSNEXTTOKEN /AWS1/SNSNEXTTOKEN

Token returned by the previous ListSubscriptionsByTopic request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SNSLSTSUBSCRIPTIONS03 /AWS1/CL_SNSLSTSUBSCRIPTIONS03