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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for ListSubscriptions.

This operation returns paginated results.

Synopsis

Creating a Request

listSubscriptions :: ListSubscriptions Source

Creates a value of ListSubscriptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

lsNextToken :: Lens' ListSubscriptions (Maybe Text) Source

Token returned by the previous ListSubscriptions request.

Destructuring the Response

listSubscriptionsResponse Source

Creates a value of ListSubscriptionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

lsrsNextToken :: 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.