amazonka-mechanicalturk-1.6.1: Amazon Mechanical Turk SDK.

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

Network.AWS.MechanicalTurk.ListWorkerBlocks

Contents

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

listWorkerBlocks :: ListWorkerBlocks Source #

Creates a value of ListWorkerBlocks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListWorkerBlocks Source #

See: listWorkerBlocks smart constructor.

Instances
Eq ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Data ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListWorkerBlocks -> c ListWorkerBlocks #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListWorkerBlocks #

toConstr :: ListWorkerBlocks -> Constr #

dataTypeOf :: ListWorkerBlocks -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListWorkerBlocks) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListWorkerBlocks) #

gmapT :: (forall b. Data b => b -> b) -> ListWorkerBlocks -> ListWorkerBlocks #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListWorkerBlocks -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListWorkerBlocks -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListWorkerBlocks -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListWorkerBlocks -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListWorkerBlocks -> m ListWorkerBlocks #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListWorkerBlocks -> m ListWorkerBlocks #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListWorkerBlocks -> m ListWorkerBlocks #

Read ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Show ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Generic ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Associated Types

type Rep ListWorkerBlocks :: Type -> Type #

Hashable ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

ToJSON ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

AWSPager ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

AWSRequest ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Associated Types

type Rs ListWorkerBlocks :: Type #

ToHeaders ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

ToPath ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

ToQuery ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

NFData ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Methods

rnf :: ListWorkerBlocks -> () #

type Rep ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocks = D1 (MetaData "ListWorkerBlocks" "Network.AWS.MechanicalTurk.ListWorkerBlocks" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListWorkerBlocks'" PrefixI True) (S1 (MetaSel (Just "_lwbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lwbMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListWorkerBlocks Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Request Lenses

Destructuring the Response

listWorkerBlocksResponse Source #

Creates a value of ListWorkerBlocksResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lwbrsWorkerBlocks - The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
  • lwbrsNextToken - Undocumented member.
  • lwbrsNumResults - The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
  • lwbrsResponseStatus - -- | The response status code.

data ListWorkerBlocksResponse Source #

See: listWorkerBlocksResponse smart constructor.

Instances
Eq ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Data ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListWorkerBlocksResponse -> c ListWorkerBlocksResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListWorkerBlocksResponse #

toConstr :: ListWorkerBlocksResponse -> Constr #

dataTypeOf :: ListWorkerBlocksResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListWorkerBlocksResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListWorkerBlocksResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListWorkerBlocksResponse -> ListWorkerBlocksResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListWorkerBlocksResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListWorkerBlocksResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListWorkerBlocksResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListWorkerBlocksResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListWorkerBlocksResponse -> m ListWorkerBlocksResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListWorkerBlocksResponse -> m ListWorkerBlocksResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListWorkerBlocksResponse -> m ListWorkerBlocksResponse #

Read ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Show ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Generic ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

Associated Types

type Rep ListWorkerBlocksResponse :: Type -> Type #

NFData ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocksResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListWorkerBlocks

type Rep ListWorkerBlocksResponse = D1 (MetaData "ListWorkerBlocksResponse" "Network.AWS.MechanicalTurk.ListWorkerBlocks" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListWorkerBlocksResponse'" PrefixI True) ((S1 (MetaSel (Just "_lwbrsWorkerBlocks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [WorkerBlock])) :*: S1 (MetaSel (Just "_lwbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lwbrsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_lwbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lwbrsWorkerBlocks :: Lens' ListWorkerBlocksResponse [WorkerBlock] Source #

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

lwbrsNumResults :: 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.