class Aws::Connect::Types::CreateTaskTemplateRequest
@see docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateTaskTemplateRequest AWS API Documentation
@return [String]
not need to pass this option.
**A suitable default value is auto-generated.** You should normally
idempotency of the request.
A unique, case-sensitive identifier that you provide to ensure the
@!attribute [rw] client_token
@return [Array<Types::TaskTemplateField>]
Fields that are part of the template.
@!attribute [rw] fields
@return [String]
cannot be created.
is marked as ‘INACTIVE`, then a task that refers to this template
it. Tasks can only be created from `ACTIVE` templates. If a template
Marks a template as `ACTIVE` or `INACTIVE` for a task to refer to
@!attribute [rw] status
@return [Types::TaskTemplateDefaults]
this template.
The default values for fields when a task is created by referencing
@!attribute [rw] defaults
@return [Types::TaskTemplateConstraints]
Constraints that are applicable to the fields listed.
@!attribute [rw] constraints
@return [String]
created by referencing this template.
The identifier of the flow that runs by default when a task is
@!attribute [rw] contact_flow_id
@return [String]
The description of the task template.
@!attribute [rw] description
@return [String]
The name of the task template.
@!attribute [rw] name
@return [String]
instanceId in the ARN of the instance.
The identifier of the Amazon Connect instance. You can find the
@!attribute [rw] instance_id
}
client_token: “ClientToken”,
],
},
single_select_options: [“TaskTemplateSingleSelectOption”],
type: “NAME”, # accepts NAME, DESCRIPTION, SCHEDULED_TIME, QUICK_CONNECT, URL, NUMBER, TEXT, TEXT_AREA, DATE_TIME, BOOLEAN, SINGLE_SELECT, EMAIL
description: “TaskTemplateFieldDescription”,
},
name: “TaskTemplateFieldName”,
id: { # required
{
fields: [ # required
status: “ACTIVE”, # accepts ACTIVE, INACTIVE
},
],
},
default_value: “TaskTemplateFieldValue”,
},
name: “TaskTemplateFieldName”,
id: {
{
default_field_values: [
defaults: {
},
],
},
},
name: “TaskTemplateFieldName”,
id: {
{
invisible_fields: [
],
},
},
name: “TaskTemplateFieldName”,
id: {
{
read_only_fields: [
],
},
},
name: “TaskTemplateFieldName”,
id: {
{
required_fields: [
constraints: {
contact_flow_id: “ContactFlowId”,
description: “TaskTemplateDescription”,
name: “TaskTemplateName”, # required
instance_id: “InstanceId”, # required
{
data as a hash:
@note When making an API call, you may pass CreateTaskTemplateRequest