Module Values_0.HumanLoopConfigSource

Describes the work to be performed by human workers.

Sourcetype nonrec t = {
  1. workteamArn : WorkteamArn.t;
    (*

    Amazon Resource Name (ARN) of a team of workers. To learn more about the types of workforces and work teams you can create and use with Amazon A2I, see Create and Manage Workforces.

    *)
  2. humanTaskUiArn : HumanTaskUiArn.t;
    (*

    The Amazon Resource Name (ARN) of the human task user interface. You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI. To learn how to create a custom HTML template, see Create Custom Worker Task Template. To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.

    *)
  3. taskTitle : FlowDefinitionTaskTitle.t;
    (*

    A title for the human worker task.

    *)
  4. taskDescription : FlowDefinitionTaskDescription.t;
    (*

    A description for the human worker task.

    *)
  5. taskCount : FlowDefinitionTaskCount.t;
    (*

    The number of distinct workers who will perform the same task on each object. For example, if TaskCount is set to 3 for an image classification labeling job, three workers will classify each input image. Increasing TaskCount can improve label accuracy.

    *)
  6. taskAvailabilityLifetimeInSeconds : FlowDefinitionTaskAvailabilityLifetimeInSeconds.t option;
    (*

    The length of time that a task remains available for review by human workers.

    *)
  7. taskTimeLimitInSeconds : FlowDefinitionTaskTimeLimitInSeconds.t option;
    (*

    The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).

    *)
  8. taskKeywords : FlowDefinitionTaskKeywords.t option;
    (*

    Keywords used to describe the task so that workers can discover the task.

    *)
  9. publicWorkforceTaskPrice : PublicWorkforceTaskPrice.t option;
}
Sourceval context_ : string
Sourceval make : ?taskAvailabilityLifetimeInSeconds:??? -> ?taskTimeLimitInSeconds:??? -> ?taskKeywords:??? -> ?publicWorkforceTaskPrice:??? -> workteamArn:WorkteamArn.t -> humanTaskUiArn:HumanTaskUiArn.t -> taskTitle:FlowDefinitionTaskTitle.t -> taskDescription:FlowDefinitionTaskDescription.t -> taskCount:FlowDefinitionTaskCount.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of FlowDefinitionTaskCount.t | `List of [> `String of FlowDefinitionTaskKeyword.t ] list | `String of WorkteamArn.t | `Structure of (string * [> `Structure of (string * [> `Integer of Dollars.t ]) 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