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

EndpointSendConfiguration

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

Specifies the content, including message variables and attributes, to use in a message that's sent directly to an endpoint.

interface EndpointSendConfiguration {
BodyOverride?: string | null;
Context?: {
[key: string]: string | null | undefined;
}
| null;
RawContent?: string | null;
Substitutions?: {
[key: string]: string[] | null | undefined;
}
| null;
TitleOverride?: string | null;
}

§Properties

§
BodyOverride?: string | null
[src]

The body of the message. If specified, this value overrides the default message body.

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

A map of custom attributes to attach to the message for the address. Attribute names are case sensitive.

For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.

§
RawContent?: string | null
[src]

The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.

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

A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.

§
TitleOverride?: string | null
[src]

The title or subject line of the message. If specified, this value overrides the default message title or subject line.