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

TemplateResponse

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

Provides information about a message template that's associated with your Amazon Pinpoint account.

interface TemplateResponse {
Arn?: string | null;
CreationDate: string;
DefaultSubstitutions?: string | null;
LastModifiedDate: string;
tags?: {
[key: string]: string | null | undefined;
}
| null;
TemplateDescription?: string | null;
TemplateName: string;
TemplateType: TemplateType;
Version?: string | null;
}

§Properties

§
Arn?: string | null
[src]

The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.

§
CreationDate: string
[src]

The date, in ISO 8601 format, when the message template was created.

§
DefaultSubstitutions?: string | null
[src]

The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.

§
LastModifiedDate: string
[src]

The date, in ISO 8601 format, when the message template was last modified.

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

A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.

§
TemplateDescription?: string | null
[src]

The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.

§
TemplateName: string
[src]

The name of the message template.

§
TemplateType: TemplateType
[src]

The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.

§
Version?: string | null
[src]

The unique identifier, as an integer, for the active version of the message template.