Module Values_2.UpdateTaskTemplateResponseSource

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. 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;
    (*

    The identifier of the task template resource.

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

    The Amazon Resource Name (ARN) for the task template resource.

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

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceException of Values_0.InternalServiceException.t
  2. | `InvalidParameterException of Values_0.InvalidParameterException.t
  3. | `PropertyValidationException of Values_0.PropertyValidationException.t
  4. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t
  6. | `ThrottlingException of Values_0.ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?instanceId:??? -> ?id:??? -> ?arn:??? -> ?name:??? -> ?description:??? -> ?contactFlowId:??? -> ?selfAssignFlowId:??? -> ?constraints:??? -> ?defaults:??? -> ?fields:??? -> ?status:??? -> ?lastModifiedTime:??? -> ?createdTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `PropertyValidationException of Values_0.PropertyValidationException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.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 | `PropertyValidationException of Values_0.PropertyValidationException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.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 | `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