Skip to content

Create Email Template

pinpoint_create_email_template R Documentation

Creates a message template for messages that are sent through the email channel

Description

Creates a message template for messages that are sent through the email channel.

Usage

pinpoint_create_email_template(EmailTemplateRequest, TemplateName)

Arguments

EmailTemplateRequest

[required]

TemplateName

[required] The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

Value

A list with the following syntax:

list(
  CreateTemplateMessageBody = list(
    Arn = "string",
    Message = "string",
    RequestID = "string"
  )
)

Request syntax

svc$create_email_template(
  EmailTemplateRequest = list(
    DefaultSubstitutions = "string",
    HtmlPart = "string",
    RecommenderId = "string",
    Subject = "string",
    Headers = list(
      list(
        Name = "string",
        Value = "string"
      )
    ),
    tags = list(
      "string"
    ),
    TemplateDescription = "string",
    TextPart = "string"
  ),
  TemplateName = "string"
)