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

AddressConfiguration

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

Specifies address-based configuration settings for a message that's sent directly to an endpoint.

interface AddressConfiguration {
BodyOverride?: string | null;
ChannelType?: ChannelType | 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 message body to use instead of the default message body. This value overrides the default message body.

§
ChannelType?: ChannelType | null
[src]

The channel to use when sending the message.

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

An object that maps custom attributes to attributes for the address and is attached to the message. 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 by properties of the DefaultMessage object. The variables specified in this map take precedence over all other variables.

§
TitleOverride?: string | null
[src]

The message title to use instead of the default message title. This value overrides the default message title.