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

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.

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

Synopsis

Request

Request constructor

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.

Response

Response constructor

Response lenses

lebparEndpoints :: Lens' ListEndpointsByPlatformApplicationResponse [Endpoint] Source

Endpoints returned for ListEndpointsByPlatformApplication action.

lebparNextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text) Source

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