amazonka-sns-1.3.4: 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.ListEndpointsByPlatformApplication

Contents

Description

Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for ListEndpointsByPlatformApplication are paginated and return a limited list of endpoints, 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 ListEndpointsByPlatformApplication again 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 ListEndpointsByPlatformApplication.

This operation returns paginated results.

Synopsis

Creating a Request

listEndpointsByPlatformApplication Source

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

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

Request Lenses

lebpaNextToken :: Lens' ListEndpointsByPlatformApplication (Maybe Text) Source

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

lebpaPlatformApplicationARN :: Lens' ListEndpointsByPlatformApplication Text Source

PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

Destructuring the Response

listEndpointsByPlatformApplicationResponse Source

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

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

Response Lenses

lebparsNextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text) Source

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

lebparsEndpoints :: Lens' ListEndpointsByPlatformApplicationResponse [Endpoint] Source

Endpoints returned for ListEndpointsByPlatformApplication action.