Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
This operation returns paginated results.
Synopsis
- listEndpointsByPlatformApplication :: Text -> ListEndpointsByPlatformApplication
- data ListEndpointsByPlatformApplication
- lebpaNextToken :: Lens' ListEndpointsByPlatformApplication (Maybe Text)
- lebpaPlatformApplicationARN :: Lens' ListEndpointsByPlatformApplication Text
- listEndpointsByPlatformApplicationResponse :: Int -> ListEndpointsByPlatformApplicationResponse
- data ListEndpointsByPlatformApplicationResponse
- lebparsNextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text)
- lebparsEndpoints :: Lens' ListEndpointsByPlatformApplicationResponse [Endpoint]
- lebparsResponseStatus :: Lens' ListEndpointsByPlatformApplicationResponse Int
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:
lebpaNextToken
- NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.lebpaPlatformApplicationARN
- PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
data ListEndpointsByPlatformApplication Source #
Input for ListEndpointsByPlatformApplication action.
See: listEndpointsByPlatformApplication
smart constructor.
Instances
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:
lebparsNextToken
- NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.lebparsEndpoints
- Endpoints returned for ListEndpointsByPlatformApplication action.lebparsResponseStatus
- -- | The response status code.
data ListEndpointsByPlatformApplicationResponse Source #
Response for ListEndpointsByPlatformApplication action.
See: listEndpointsByPlatformApplicationResponse
smart constructor.
Instances
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.
lebparsResponseStatus :: Lens' ListEndpointsByPlatformApplicationResponse Int Source #
- - | The response status code.