Module Values_1.GetTaskTemplateResponseSource

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

Sourcetype nonrec t = {
  1. 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.

    *)
  2. id : Values_0.TaskTemplateId.t option;
    (*

    A unique identifier for the task template.

    *)
  3. arn : Values_0.TaskTemplateArn.t option;
    (*

    The Amazon Resource Name (ARN).

    *)
  4. name : Values_0.TaskTemplateName.t option;
    (*

    The name of the task template.

    *)
  5. description : Values_0.TaskTemplateDescription.t option;
    (*

    The description of the task template.

    *)
  6. contactFlowId : Values_0.ContactFlowId.t option;
    (*

    The identifier of the flow that runs by default when a task is created by referencing this template.

    *)
  7. 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.

    *)
  8. constraints : Values_0.TaskTemplateConstraints.t option;
    (*

    Constraints that are applicable to the fields listed.

    *)
  9. defaults : Values_0.TaskTemplateDefaults.t option;
    (*

    The default values for fields when a task is created by referencing this template.

    *)
  10. fields : Values_0.TaskTemplateFields.t option;
    (*

    Fields that are part of the template.

    *)
  11. 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.

    *)
  12. lastModifiedTime : string option;
    (*

    The timestamp when the task template was last modified.

    *)
  13. createdTime : string option;
    (*

    The timestamp when the task template was created.

    *)
  14. tags : Values_0.TagMap.t option;
    (*

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceException of Values_0.InternalServiceException.t
  2. | `InvalidParameterException of Values_0.InvalidParameterException.t
  3. | `InvalidRequestException of Values_0.InvalidRequestException.t
  4. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?instanceId:??? -> ?id:??? -> ?arn:??? -> ?name:??? -> ?description:??? -> ?contactFlowId:??? -> ?selfAssignFlowId:??? -> ?constraints:??? -> ?defaults:??? -> ?fields:??? -> ?status:??? -> ?lastModifiedTime:??? -> ?createdTime:??? -> ?tags:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t