Module Values_0.CreateTaskTemplateRequestSource

Creates a new task template in the specified Amazon Connect instance.

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

    *)
  2. name : TaskTemplateName.t;
    (*

    The name of the task template.

    *)
  3. description : TaskTemplateDescription.t option;
    (*

    The description of the task template.

    *)
  4. contactFlowId : ContactFlowId.t option;
    (*

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

    *)
  5. selfAssignFlowId : ContactFlowId.t option;
    (*

    The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.

    *)
  6. constraints : TaskTemplateConstraints.t option;
    (*

    Constraints that are applicable to the fields listed.

    *)
  7. defaults : TaskTemplateDefaults.t option;
    (*

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

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

    *)
  9. fields : TaskTemplateFields.t;
    (*

    Fields that are part of the template.

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

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?contactFlowId:??? -> ?selfAssignFlowId:??? -> ?constraints:??? -> ?defaults:??? -> ?status:??? -> ?clientToken:??? -> instanceId:InstanceId.t -> name:TaskTemplateName.t -> fields:TaskTemplateFields.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 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 ]
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