amazonka-sns-0.3.6: Amazon Simple Notification Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.ListSubscriptionsByTopic

Contents

Description

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.

http://docs.aws.amazon.com/sns/latest/api/API_ListSubscriptionsByTopic.html

Synopsis

Request

Request constructor

listSubscriptionsByTopic Source

ListSubscriptionsByTopic constructor.

The fields accessible through corresponding lenses are:

Request lenses

lsbtTopicArn :: Lens' ListSubscriptionsByTopic Text Source

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

Response

Response constructor

Response lenses

lsbtrNextToken :: Lens' ListSubscriptionsByTopicResponse (Maybe Text) Source

Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.