Copyright | (c) 2013-2017 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 |
The ListWorkersBlocks
operation retrieves a list of Workers who are blocked from working on your HITs.
- 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.
Request Lenses
lwbNextToken :: Lens' ListWorkerBlocks (Maybe Text) Source #
Pagination token
lwbMaxResults :: Lens' ListWorkerBlocks (Maybe Natural) Source #
Undocumented member.
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.
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.