libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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' 

Fields

Instances

Instances details
Eq WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Read WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Show WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Generic WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Associated Types

type Rep WorkerBlock :: Type -> Type #

NFData WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Methods

rnf :: WorkerBlock -> () #

Hashable WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

FromJSON WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

type Rep WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

type Rep WorkerBlock = D1 ('MetaData "WorkerBlock" "Amazonka.MechanicalTurk.Types.WorkerBlock" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "WorkerBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.