Values_0.CreateTaskTemplateRequestSourceCreates a new task template in the specified Amazon Connect instance.
type nonrec t = {instanceId : InstanceId.t;The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
*)name : TaskTemplateName.t;The name of the task template.
*)description : TaskTemplateDescription.t option;The description of the task template.
*)contactFlowId : ContactFlowId.t option;The identifier of the flow that runs by default when a task is created by referencing this template.
*)selfAssignFlowId : ContactFlowId.t option;The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.
*)constraints : TaskTemplateConstraints.t option;Constraints that are applicable to the fields listed.
*)defaults : TaskTemplateDefaults.t option;The default values for fields when a task is created by referencing this template.
*)status : TaskTemplateStatus.t option;Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only be created from ACTIVE templates. If a template is marked as INACTIVE, then a task that refers to this template cannot be created.
*)fields : TaskTemplateFields.t;Fields that are part of the template.
*)clientToken : ClientToken.t option;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.
*)}val make :
?description:??? ->
?contactFlowId:??? ->
?selfAssignFlowId:??? ->
?constraints:??? ->
?defaults:??? ->
?status:??? ->
?clientToken:??? ->
instanceId:InstanceId.t ->
name:TaskTemplateName.t ->
fields:TaskTemplateFields.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of TaskTemplateSingleSelectOption.t ] list
| `String of TaskTemplateFieldDescription.t
| `Structure of
(string * [> `String of TaskTemplateFieldName.t ]) list ])
list ]
list
| `String of InstanceId.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of TaskTemplateFieldValue.t
| `Structure of
(string * [> `String of TaskTemplateFieldName.t ])
list ])
list ]
list ])
list ])
list ]