amazonka-mechanicalturk-1.5.0: Amazon Mechanical Turk SDK.

Copyright(c) 2013-2017 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.

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 # 
Data ListWorkerBlocks Source # 

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 # 
Show ListWorkerBlocks Source # 
Generic ListWorkerBlocks Source # 
Hashable ListWorkerBlocks Source # 
ToJSON ListWorkerBlocks Source # 
NFData ListWorkerBlocks Source # 

Methods

rnf :: ListWorkerBlocks -> () #

AWSRequest ListWorkerBlocks Source # 
ToQuery ListWorkerBlocks Source # 
ToPath ListWorkerBlocks Source # 
ToHeaders ListWorkerBlocks Source # 
type Rep ListWorkerBlocks Source # 
type Rep ListWorkerBlocks = D1 (MetaData "ListWorkerBlocks" "Network.AWS.MechanicalTurk.ListWorkerBlocks" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListWorkerBlocks'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lwbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lwbMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListWorkerBlocks Source # 

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 # 
Data ListWorkerBlocksResponse Source # 

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 # 
Show ListWorkerBlocksResponse Source # 
Generic ListWorkerBlocksResponse Source # 
NFData ListWorkerBlocksResponse Source # 
type Rep ListWorkerBlocksResponse Source # 
type Rep ListWorkerBlocksResponse = D1 (MetaData "ListWorkerBlocksResponse" "Network.AWS.MechanicalTurk.ListWorkerBlocks" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListWorkerBlocksResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lwbrsWorkerBlocks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [WorkerBlock]))) (S1 (MetaSel (Just Symbol "_lwbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lwbrsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_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.