Create Task Template
connect_create_task_template | R Documentation |
Creates a new task template in the specified Amazon Connect instance¶
Description¶
Creates a new task template in the specified Amazon Connect instance.
Usage¶
connect_create_task_template(InstanceId, Name, Description,
ContactFlowId, SelfAssignFlowId, Constraints, Defaults, Status, Fields,
ClientToken)
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. |
Name |
[required] The name of the task template. |
Description |
The description of the task template. |
ContactFlowId |
The identifier of the flow that runs by default when a task is created by referencing this template. |
SelfAssignFlowId |
The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task. |
Constraints |
Constraints that are applicable to the fields listed. |
Defaults |
The default values for fields when a task is created by referencing this template. |
Status |
Marks a template as |
Fields |
[required] Fields that are part of the template. |
ClientToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
Value¶
A list with the following syntax:
list(
Id = "string",
Arn = "string"
)
Request syntax¶
svc$create_task_template(
InstanceId = "string",
Name = "string",
Description = "string",
ContactFlowId = "string",
SelfAssignFlowId = "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"
)
)
),
Status = "ACTIVE"|"INACTIVE",
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"|"SELF_ASSIGN"|"EXPIRY_DURATION",
SingleSelectOptions = list(
"string"
)
)
),
ClientToken = "string"
)