Skip to content

SNSClient.list_endpoints_by_platform_application

rboto-sns==0.4.0 · Service index · Types

Model summary (excerpt): 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,...

Install and imports

python -m pip install "rboto[sns]==0.4.0"
from rboto import SNSClient
from rboto_sns.types import (
    ListEndpointsByPlatformApplicationOutput,
)

Signature

async def list_endpoints_by_platform_application(
    *,
    platform_application_arn: str,
    next_token: str | None = None,
) -> ListEndpointsByPlatformApplicationOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
platform_application_arn Yes PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
next_token No NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

Output

ListEndpointsByPlatformApplicationOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
endpoints list[EndpointOutput] | None Always present EndpointOutput
next_token str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ListEndpointsByPlatformApplicationOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_endpoints_by_platform_application(...) accepts the same arguments and returns AsyncIterator[ListEndpointsByPlatformApplicationOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: not exposed.

No output stream.

Errors

Import from rboto_sns.exceptions:

AuthorizationError, InternalError, InvalidParameterError, NotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model