| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MechanicalTurk.Types.WorkerBlock
Description
Synopsis
Documentation
data WorkerBlock Source #
The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.
See: newWorkerBlock smart constructor.
Constructors
| WorkerBlock' | |
Instances
newWorkerBlock :: WorkerBlock Source #
Create a value of WorkerBlock with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:WorkerBlock', workerBlock_reason - A message explaining the reason the Worker was blocked.
$sel:workerId:WorkerBlock', workerBlock_workerId - The ID of the Worker who accepted the HIT.
workerBlock_reason :: Lens' WorkerBlock (Maybe Text) Source #
A message explaining the reason the Worker was blocked.
workerBlock_workerId :: Lens' WorkerBlock (Maybe Text) Source #
The ID of the Worker who accepted the HIT.