Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetEndpointAttributesCommand

Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more information, see Using Amazon SNS Mobile Push Notifications.

example

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

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

SetEndpointAttributesCommandInput for command's input shape.

see

SetEndpointAttributesCommandOutput for command's response shape.

see

config for SNSClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: SetEndpointAttributesCommandInput

Readonly middlewareStack