Skip to main content

endpoints_by_platform_applications

Creates, updates, deletes, gets or lists an endpoints_by_platform_applications resource.

Overview

Nameendpoints_by_platform_applications
TypeResource
Idaws.sns.endpoints_by_platform_applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attributesstringAttributes for endpoint.
endpoint_arnstringThe EndpointArn for mobile app and device.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_endpoints_by_platform_applicationselectPlatformApplicationArn, regionNextTokenLists 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).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
PlatformApplicationArnstringPlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
regionstringAWS region (default: us-east-1)
NextTokenstringNextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

SELECT examples

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).

SELECT
attributes,
endpoint_arn
FROM aws.sns.endpoints_by_platform_applications
WHERE PlatformApplicationArn = '{{ PlatformApplicationArn }}' -- required
AND region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
;