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.ListReviewableHITs
Description
The ListReviewableHITs
operation retrieves the HITs with Status equal to Reviewable or Status equal to Reviewing that belong to the Requester calling the operation.
This operation returns paginated results.
- listReviewableHITs :: ListReviewableHITs
- data ListReviewableHITs
- lrhitStatus :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus)
- lrhitHITTypeId :: Lens' ListReviewableHITs (Maybe Text)
- lrhitNextToken :: Lens' ListReviewableHITs (Maybe Text)
- lrhitMaxResults :: Lens' ListReviewableHITs (Maybe Natural)
- listReviewableHITsResponse :: Int -> ListReviewableHITsResponse
- data ListReviewableHITsResponse
- lrhitrsNextToken :: Lens' ListReviewableHITsResponse (Maybe Text)
- lrhitrsNumResults :: Lens' ListReviewableHITsResponse (Maybe Int)
- lrhitrsHITs :: Lens' ListReviewableHITsResponse [HIT]
- lrhitrsResponseStatus :: Lens' ListReviewableHITsResponse Int
Creating a Request
listReviewableHITs :: ListReviewableHITs Source #
Creates a value of ListReviewableHITs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrhitStatus
- Can be eitherReviewable
orReviewing
. Reviewable is the default value.lrhitHITTypeId
- The ID of the HIT type of the HITs to consider for the query. If not specified, all HITs for the Reviewer are consideredlrhitNextToken
- Pagination TokenlrhitMaxResults
- Limit the number of results returned.
data ListReviewableHITs Source #
See: listReviewableHITs
smart constructor.
Instances
Request Lenses
lrhitStatus :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus) Source #
Can be either Reviewable
or Reviewing
. Reviewable is the default value.
lrhitHITTypeId :: Lens' ListReviewableHITs (Maybe Text) Source #
The ID of the HIT type of the HITs to consider for the query. If not specified, all HITs for the Reviewer are considered
lrhitNextToken :: Lens' ListReviewableHITs (Maybe Text) Source #
Pagination Token
lrhitMaxResults :: Lens' ListReviewableHITs (Maybe Natural) Source #
Limit the number of results returned.
Destructuring the Response
listReviewableHITsResponse Source #
Arguments
:: Int | |
-> ListReviewableHITsResponse |
Creates a value of ListReviewableHITsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrhitrsNextToken
- Undocumented member.lrhitrsNumResults
- The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.lrhitrsHITs
- The list of HIT elements returned by the query.lrhitrsResponseStatus
- -- | The response status code.
Response Lenses
lrhitrsNextToken :: Lens' ListReviewableHITsResponse (Maybe Text) Source #
Undocumented member.
lrhitrsNumResults :: Lens' ListReviewableHITsResponse (Maybe Int) Source #
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.
lrhitrsHITs :: Lens' ListReviewableHITsResponse [HIT] Source #
The list of HIT elements returned by the query.
lrhitrsResponseStatus :: Lens' ListReviewableHITsResponse Int Source #
- - | The response status code.