Skip to content

List Template Versions

pinpoint_list_template_versions R Documentation

Retrieves information about all the versions of a specific message template

Description

Retrieves information about all the versions of a specific message template.

Usage

pinpoint_list_template_versions(NextToken, PageSize, TemplateName,
  TemplateType)

Arguments

NextToken

The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

PageSize

The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

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(
  TemplateVersionsResponse = list(
    Item = list(
      list(
        CreationDate = "string",
        DefaultSubstitutions = "string",
        LastModifiedDate = "string",
        TemplateDescription = "string",
        TemplateName = "string",
        TemplateType = "string",
        Version = "string"
      )
    ),
    Message = "string",
    NextToken = "string",
    RequestID = "string"
  )
)

Request syntax

svc$list_template_versions(
  NextToken = "string",
  PageSize = "string",
  TemplateName = "string",
  TemplateType = "string"
)