Module Values.CreateWorkerBlockRequestSource

The CreateWorkerBlock operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers.

Sourcetype nonrec t = {
  1. workerId : CustomerId.t;
    (*

    The ID of the Worker to block.

    *)
  2. reason : String_.t;
    (*

    A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.

    *)
}
Sourceval context_ : string
Sourceval make : workerId:CustomerId.t -> reason:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CustomerId.t ]) 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