Copyright | (c) 2013-2021 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 |
Lists the endpoints and endpoint attributes for devices in a supported
push notification service, such as GCM (Firebase Cloud Messaging) 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 action is throttled at 30 transactions per second (TPS).
This operation returns paginated results.
Synopsis
- data ListEndpointsByPlatformApplication = ListEndpointsByPlatformApplication' {}
- newListEndpointsByPlatformApplication :: Text -> ListEndpointsByPlatformApplication
- listEndpointsByPlatformApplication_nextToken :: Lens' ListEndpointsByPlatformApplication (Maybe Text)
- listEndpointsByPlatformApplication_platformApplicationArn :: Lens' ListEndpointsByPlatformApplication Text
- data ListEndpointsByPlatformApplicationResponse = ListEndpointsByPlatformApplicationResponse' {}
- newListEndpointsByPlatformApplicationResponse :: Int -> ListEndpointsByPlatformApplicationResponse
- listEndpointsByPlatformApplicationResponse_nextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text)
- listEndpointsByPlatformApplicationResponse_endpoints :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe [Endpoint])
- listEndpointsByPlatformApplicationResponse_httpStatus :: Lens' ListEndpointsByPlatformApplicationResponse Int
Creating a Request
data ListEndpointsByPlatformApplication Source #
Input for ListEndpointsByPlatformApplication action.
See: newListEndpointsByPlatformApplication
smart constructor.
ListEndpointsByPlatformApplication' | |
|
Instances
newListEndpointsByPlatformApplication Source #
:: Text |
|
-> ListEndpointsByPlatformApplication |
Create a value of ListEndpointsByPlatformApplication
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListEndpointsByPlatformApplication'
, listEndpointsByPlatformApplication_nextToken
- NextToken string is used when calling ListEndpointsByPlatformApplication
action to retrieve additional records that are available after the first
page results.
$sel:platformApplicationArn:ListEndpointsByPlatformApplication'
, listEndpointsByPlatformApplication_platformApplicationArn
- PlatformApplicationArn for ListEndpointsByPlatformApplicationInput
action.
Request Lenses
listEndpointsByPlatformApplication_nextToken :: 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.
listEndpointsByPlatformApplication_platformApplicationArn :: Lens' ListEndpointsByPlatformApplication Text Source #
PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
Destructuring the Response
data ListEndpointsByPlatformApplicationResponse Source #
Response for ListEndpointsByPlatformApplication action.
See: newListEndpointsByPlatformApplicationResponse
smart constructor.
ListEndpointsByPlatformApplicationResponse' | |
|
Instances
newListEndpointsByPlatformApplicationResponse Source #
Create a value of ListEndpointsByPlatformApplicationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListEndpointsByPlatformApplication'
, listEndpointsByPlatformApplicationResponse_nextToken
- NextToken string is returned when calling
ListEndpointsByPlatformApplication action if additional records are
available after the first page results.
$sel:endpoints:ListEndpointsByPlatformApplicationResponse'
, listEndpointsByPlatformApplicationResponse_endpoints
- Endpoints returned for ListEndpointsByPlatformApplication action.
$sel:httpStatus:ListEndpointsByPlatformApplicationResponse'
, listEndpointsByPlatformApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
listEndpointsByPlatformApplicationResponse_nextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text) Source #
NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.
listEndpointsByPlatformApplicationResponse_endpoints :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe [Endpoint]) Source #
Endpoints returned for ListEndpointsByPlatformApplication action.
listEndpointsByPlatformApplicationResponse_httpStatus :: Lens' ListEndpointsByPlatformApplicationResponse Int Source #
The response's http status code.