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.ListWorkerBlocks

Description

The ListWorkersBlocks operation retrieves a list of Workers who are blocked from working on your HITs.

This operation returns paginated results.

Synopsis

Creating a Request

data ListWorkerBlocks Source #

See: newListWorkerBlocks smart constructor.

Constructors

ListWorkerBlocks' 

Fields

Instances

Instances details
Eq ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Read ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Show ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Generic ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Associated Types

type Rep ListWorkerBlocks :: Type -> Type #

NFData ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Methods

rnf :: ListWorkerBlocks -> () #

Hashable ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

ToJSON ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

AWSPager ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

AWSRequest ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Associated Types

type AWSResponse ListWorkerBlocks #

ToHeaders ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

ToPath ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

ToQuery ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocks = D1 ('MetaData "ListWorkerBlocks" "Amazonka.MechanicalTurk.ListWorkerBlocks" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ListWorkerBlocks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListWorkerBlocks Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

newListWorkerBlocks :: ListWorkerBlocks Source #

Create a value of ListWorkerBlocks 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:nextToken:ListWorkerBlocks', listWorkerBlocks_nextToken - Pagination token

$sel:maxResults:ListWorkerBlocks', listWorkerBlocks_maxResults - Undocumented member.

Request Lenses

Destructuring the Response

data ListWorkerBlocksResponse Source #

See: newListWorkerBlocksResponse smart constructor.

Constructors

ListWorkerBlocksResponse' 

Fields

Instances

Instances details
Eq ListWorkerBlocksResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Read ListWorkerBlocksResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Show ListWorkerBlocksResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Generic ListWorkerBlocksResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

Associated Types

type Rep ListWorkerBlocksResponse :: Type -> Type #

NFData ListWorkerBlocksResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocksResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocksResponse = D1 ('MetaData "ListWorkerBlocksResponse" "Amazonka.MechanicalTurk.ListWorkerBlocks" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ListWorkerBlocksResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "workerBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [WorkerBlock])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "numResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListWorkerBlocksResponse Source #

Create a value of ListWorkerBlocksResponse 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:workerBlocks:ListWorkerBlocksResponse', listWorkerBlocksResponse_workerBlocks - The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.

$sel:nextToken:ListWorkerBlocks', listWorkerBlocksResponse_nextToken - Undocumented member.

$sel:numResults:ListWorkerBlocksResponse', listWorkerBlocksResponse_numResults - The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.

$sel:httpStatus:ListWorkerBlocksResponse', listWorkerBlocksResponse_httpStatus - The response's http status code.

Response Lenses

listWorkerBlocksResponse_workerBlocks :: Lens' ListWorkerBlocksResponse (Maybe [WorkerBlock]) Source #

The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.

listWorkerBlocksResponse_numResults :: Lens' ListWorkerBlocksResponse (Maybe Int) Source #

The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.