Skip to content

Update Template Active Version

pinpoint_update_template_active_version R Documentation

Changes the status of a specific version of a message template to active

Description

Changes the status of a specific version of a message template to active.

Usage

pinpoint_update_template_active_version(TemplateActiveVersionRequest,
  TemplateName, TemplateType)

Arguments

TemplateActiveVersionRequest

[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.

TemplateType

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

Value

A list with the following syntax:

list(
  MessageBody = list(
    Message = "string",
    RequestID = "string"
  )
)

Request syntax

svc$update_template_active_version(
  TemplateActiveVersionRequest = list(
    Version = "string"
  ),
  TemplateName = "string",
  TemplateType = "string"
)