| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.SNS.ListSubscriptionsByTopic
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
- 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
Instances
| Eq ListSubscriptionsByTopic | |
| Ord ListSubscriptionsByTopic | |
| Read ListSubscriptionsByTopic | |
| Show ListSubscriptionsByTopic | |
| AWSRequest ListSubscriptionsByTopic | |
| AWSPager ListSubscriptionsByTopic | |
| ToQuery ListSubscriptionsByTopic | |
| ToPath ListSubscriptionsByTopic | |
| ToHeaders ListSubscriptionsByTopic | |
| type Sv ListSubscriptionsByTopic = SNS | |
| type Rs ListSubscriptionsByTopic = ListSubscriptionsByTopicResponse |
Request constructor
listSubscriptionsByTopic Source
Arguments
| :: Text | |
| -> ListSubscriptionsByTopic |
ListSubscriptionsByTopic constructor.
The fields accessible through corresponding lenses are:
lsbtNextToken::MaybeTextlsbtTopicArn::Text
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:
lsbtrNextToken::MaybeTextlsbtrSubscriptions::[Subscription]
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.