| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.MechanicalTurk.ListWorkerBlocks
Description
The ListWorkersBlocks operation retrieves a list of Workers who are blocked from working on your HITs.
This operation returns paginated results.
- listWorkerBlocks :: ListWorkerBlocks
- data ListWorkerBlocks
- lwbNextToken :: Lens' ListWorkerBlocks (Maybe Text)
- lwbMaxResults :: Lens' ListWorkerBlocks (Maybe Natural)
- listWorkerBlocksResponse :: Int -> ListWorkerBlocksResponse
- data ListWorkerBlocksResponse
- lwbrsWorkerBlocks :: Lens' ListWorkerBlocksResponse [WorkerBlock]
- lwbrsNextToken :: Lens' ListWorkerBlocksResponse (Maybe Text)
- lwbrsNumResults :: Lens' ListWorkerBlocksResponse (Maybe Int)
- lwbrsResponseStatus :: Lens' ListWorkerBlocksResponse Int
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:
lwbNextToken- Pagination tokenlwbMaxResults- Undocumented member.
data ListWorkerBlocks Source #
See: listWorkerBlocks smart constructor.
Instances
Request Lenses
lwbNextToken :: Lens' ListWorkerBlocks (Maybe Text) Source #
Pagination token
lwbMaxResults :: Lens' ListWorkerBlocks (Maybe Natural) Source #
Undocumented member.
Destructuring the Response
listWorkerBlocksResponse Source #
Arguments
| :: Int | |
| -> ListWorkerBlocksResponse |
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.
Response Lenses
lwbrsWorkerBlocks :: Lens' ListWorkerBlocksResponse [WorkerBlock] Source #
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
lwbrsNextToken :: Lens' ListWorkerBlocksResponse (Maybe Text) Source #
Undocumented member.
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.
lwbrsResponseStatus :: Lens' ListWorkerBlocksResponse Int Source #
- - | The response status code.