Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListEndpointsByPlatformApplicationCommand

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

example

Use a bare-bones client and the command you need to make an API call.

import { SNSClient, ListEndpointsByPlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
// const { SNSClient, ListEndpointsByPlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
const client = new SNSClient(config);
const command = new ListEndpointsByPlatformApplicationCommand(input);
const response = await client.send(command);
see

ListEndpointsByPlatformApplicationCommandInput for command's input shape.

see

ListEndpointsByPlatformApplicationCommandOutput for command's response shape.

see

config for SNSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListEndpointsByPlatformApplicationCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions