Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreatePlatformEndpointInput

import type { CreatePlatformEndpointInput } from "https://aws-api.deno.dev/v0.3/services/sns.ts?docs=full";

Input for CreatePlatformEndpoint action.

interface CreatePlatformEndpointInput {
Attributes?: {
[key: string]: string | null | undefined;
}
| null;
CustomUserData?: string | null;
PlatformApplicationArn: string;
Token: string;
}

§Properties

§
Attributes?: {
[key: string]: string | null | undefined;
}
| null
[src]

For a list of attributes, see SetEndpointAttributes.

§
CustomUserData?: string | null
[src]

Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.

§
PlatformApplicationArn: string
[src]

PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

§
Token: string
[src]

Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.