Values_1.GetTaskTemplateResponseSourceGets details about a specific task template in the specified Amazon Connect instance.
type nonrec t = {instanceId : Values_0.InstanceId.t option;The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
*)id : Values_0.TaskTemplateId.t option;A unique identifier for the task template.
*)arn : Values_0.TaskTemplateArn.t option;The Amazon Resource Name (ARN).
*)name : Values_0.TaskTemplateName.t option;The name of the task template.
*)description : Values_0.TaskTemplateDescription.t option;The description of the task template.
*)contactFlowId : Values_0.ContactFlowId.t option;The identifier of the flow that runs by default when a task is created by referencing this template.
*)selfAssignFlowId : Values_0.ContactFlowId.t option;The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.
*)constraints : Values_0.TaskTemplateConstraints.t option;Constraints that are applicable to the fields listed.
*)defaults : Values_0.TaskTemplateDefaults.t option;The default values for fields when a task is created by referencing this template.
*)fields : Values_0.TaskTemplateFields.t option;Fields that are part of the template.
*)status : Values_0.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.
*)lastModifiedTime : string option;The timestamp when the task template was last modified.
*)createdTime : string option;The timestamp when the task template was created.
*)}type nonrec error = [ | `InternalServiceException of Values_0.InternalServiceException.t| `InvalidParameterException of Values_0.InvalidParameterException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t| `ThrottlingException of Values_0.ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidParameterException of Values_0.InvalidParameterException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidParameterException of Values_0.InvalidParameterException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of string ] list
| `String of string
| `Structure of (string * [> `String of string ]) list ])
list ]
list
| `Map of ([> `String of string ] * [> `String of string ]) list
| `String of Values_0.InstanceId.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of string
| `Structure of
(string * [> `String of string ]) list ])
list ]
list ])
list
| `Timestamp of string ])
list ]