Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ListSubscriptionsByTopic
- listSubscriptionsByTopic :: Text -> ListSubscriptionsByTopic
- lsbtNextToken :: Lens' ListSubscriptionsByTopic (Maybe Text)
- lsbtTopicArn :: Lens' ListSubscriptionsByTopic Text
- data ListSubscriptionsByTopicResponse
- listSubscriptionsByTopicResponse :: ListSubscriptionsByTopicResponse
- lsbtrNextToken :: Lens' ListSubscriptionsByTopicResponse (Maybe Text)
- lsbtrSubscriptions :: Lens' ListSubscriptionsByTopicResponse [Subscription]
Request
data ListSubscriptionsByTopic Source
Request constructor
listSubscriptionsByTopic Source
ListSubscriptionsByTopic
constructor.
The fields accessible through corresponding lenses are:
Request lenses
lsbtNextToken :: Lens' ListSubscriptionsByTopic (Maybe Text) Source
Token returned by the previous ListSubscriptionsByTopic
request.
lsbtTopicArn :: Lens' ListSubscriptionsByTopic Text Source
The ARN of the topic for which you wish to find subscriptions.
Response
Response constructor
listSubscriptionsByTopicResponse :: ListSubscriptionsByTopicResponse Source
ListSubscriptionsByTopicResponse
constructor.
The fields accessible through corresponding lenses are:
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.
lsbtrSubscriptions :: Lens' ListSubscriptionsByTopicResponse [Subscription] Source
A list of subscriptions.