amazonka-sns-1.0.0: 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.ListPlatformApplications

Contents

Description

Lists the platform application objects for the supported push notification services, such as APNS and GCM. The results for ListPlatformApplications are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListPlatformApplications using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications.

See: AWS API Reference for ListPlatformApplications.

This operation returns paginated results.

Synopsis

Creating a Request

listPlatformApplications :: ListPlatformApplications Source

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

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

Request Lenses

lpaNextToken :: Lens' ListPlatformApplications (Maybe Text) Source

NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.

Destructuring the Response

listPlatformApplicationsResponse Source

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

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

Response Lenses

lparsPlatformApplications :: Lens' ListPlatformApplicationsResponse [PlatformApplication] Source

Platform applications returned when calling ListPlatformApplications action.

lparsNextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text) Source

NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.