Skip to content

Lists all of the templates in a Cases domain

Description

Lists all of the templates in a Cases domain. Each list item is a condensed summary object of the template.

Other template APIs are:

Usage

connectcases_list_templates(domainId, maxResults, nextToken, status)

Arguments

  • domainId

    [required] The unique identifier of the Cases domain.

  • maxResults

    The maximum number of results to return per page.

  • nextToken

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • status

    A list of status values to filter on.

Value

A list with the following syntax:

list(
  templates = list(
    list(
      templateId = "string",
      templateArn = "string",
      name = "string",
      status = "Active"|"Inactive",
      tagPropagationConfigurations = list(
        list(
          resourceType = "Cases",
          tagMap = list(
            "string"
          )
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_templates(
  domainId = "string",
  maxResults = 123,
  nextToken = "string",
  status = list(
    "Active"|"Inactive"
  )
)