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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.ListSubscriptions

Contents

Description

Returns a list of the requester's subscriptions. 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 ListSubscriptions call to get further results.

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

Synopsis

Request

Request constructor

listSubscriptions :: ListSubscriptions Source

ListSubscriptions constructor.

The fields accessible through corresponding lenses are:

Request lenses

lsNextToken :: Lens' ListSubscriptions (Maybe Text) Source

Token returned by the previous ListSubscriptions request.

Response

Response constructor

Response lenses

lsrNextToken :: Lens' ListSubscriptionsResponse (Maybe Text) Source

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