Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
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.