Module Values_2.UpdateTaskTemplateRequestSource

Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.

Sourcetype nonrec t = {
  1. taskTemplateId : Values_0.TaskTemplateId.t;
    (*

    A unique identifier for the task template.

    *)
  2. instanceId : Values_0.InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

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

    The name of the task template.

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

    The description of the task template.

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

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

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

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

    Constraints that are applicable to the fields listed.

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

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

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

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

    Fields that are part of the template.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?description:??? -> ?contactFlowId:??? -> ?selfAssignFlowId:??? -> ?constraints:??? -> ?defaults:??? -> ?status:??? -> ?fields:??? -> taskTemplateId:Values_0.TaskTemplateId.t -> instanceId:Values_0.InstanceId.t -> unit -> 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 | `String of Values_0.TaskTemplateId.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `String of string ]) list ]) list ] list ]) list ]) 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