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

SendUsersMessageRequest

import type { SendUsersMessageRequest } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";

Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.

interface SendUsersMessageRequest {
Context?: {
[key: string]: string | null | undefined;
}
| null;
MessageConfiguration: DirectMessageConfiguration;
TemplateConfiguration?: TemplateConfiguration | null;
TraceId?: string | null;
Users: {
[key: string]: EndpointSendConfiguration | null | undefined;
}
;
}

§Properties

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

A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.

§
MessageConfiguration: DirectMessageConfiguration
[src]

The settings and content for the default message and any default messages that you defined for specific channels.

§
TemplateConfiguration?: TemplateConfiguration | null
[src]

The message template to use for the message.

§
TraceId?: string | null
[src]

The unique identifier for tracing the message. This identifier is visible to message recipients.

§
Users: {
[key: string]: EndpointSendConfiguration | null | undefined;
}
[src]

A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.