Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for ListEndpointsByPlatformApplication.
This operation returns paginated results.
- 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]
- lebparsStatus :: 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:
data ListEndpointsByPlatformApplication Source
Input for ListEndpointsByPlatformApplication action.
See: listEndpointsByPlatformApplication
smart 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.
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:
data ListEndpointsByPlatformApplicationResponse Source
Response for ListEndpointsByPlatformApplication action.
See: listEndpointsByPlatformApplicationResponse
smart constructor.
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.
lebparsStatus :: Lens' ListEndpointsByPlatformApplicationResponse Int Source
The response status code.