Skip to content

Get Task Template

connect_get_task_template R Documentation

Gets details about a specific task template in the specified Amazon Connect instance

Description

Gets details about a specific task template in the specified Amazon Connect instance.

Usage

connect_get_task_template(InstanceId, TaskTemplateId, SnapshotVersion)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

TaskTemplateId

[required] A unique identifier for the task template.

SnapshotVersion

The system generated version of a task template that is associated with a task, when the task is created.

Value

A list with the following syntax:

list(
  InstanceId = "string",
  Id = "string",
  Arn = "string",
  Name = "string",
  Description = "string",
  ContactFlowId = "string",
  Constraints = list(
    RequiredFields = list(
      list(
        Id = list(
          Name = "string"
        )
      )
    ),
    ReadOnlyFields = list(
      list(
        Id = list(
          Name = "string"
        )
      )
    ),
    InvisibleFields = list(
      list(
        Id = list(
          Name = "string"
        )
      )
    )
  ),
  Defaults = list(
    DefaultFieldValues = list(
      list(
        Id = list(
          Name = "string"
        ),
        DefaultValue = "string"
      )
    )
  ),
  Fields = list(
    list(
      Id = list(
        Name = "string"
      ),
      Description = "string",
      Type = "NAME"|"DESCRIPTION"|"SCHEDULED_TIME"|"QUICK_CONNECT"|"URL"|"NUMBER"|"TEXT"|"TEXT_AREA"|"DATE_TIME"|"BOOLEAN"|"SINGLE_SELECT"|"EMAIL",
      SingleSelectOptions = list(
        "string"
      )
    )
  ),
  Status = "ACTIVE"|"INACTIVE",
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  CreatedTime = as.POSIXct(
    "2015-01-01"
  ),
  Tags = list(
    "string"
  )
)

Request syntax

svc$get_task_template(
  InstanceId = "string",
  TaskTemplateId = "string",
  SnapshotVersion = "string"
)