Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.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.
Synopsis
- data ListReviewableHITs = ListReviewableHITs' {}
- newListReviewableHITs :: ListReviewableHITs
- listReviewableHITs_hITTypeId :: Lens' ListReviewableHITs (Maybe Text)
- listReviewableHITs_maxResults :: Lens' ListReviewableHITs (Maybe Natural)
- listReviewableHITs_nextToken :: Lens' ListReviewableHITs (Maybe Text)
- listReviewableHITs_status :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus)
- data ListReviewableHITsResponse = ListReviewableHITsResponse' {}
- newListReviewableHITsResponse :: Int -> ListReviewableHITsResponse
- listReviewableHITsResponse_hITs :: Lens' ListReviewableHITsResponse (Maybe [HIT])
- listReviewableHITsResponse_nextToken :: Lens' ListReviewableHITsResponse (Maybe Text)
- listReviewableHITsResponse_numResults :: Lens' ListReviewableHITsResponse (Maybe Int)
- listReviewableHITsResponse_httpStatus :: Lens' ListReviewableHITsResponse Int
Creating a Request
data ListReviewableHITs Source #
See: newListReviewableHITs
smart constructor.
Constructors
ListReviewableHITs' | |
Fields
|
Instances
newListReviewableHITs :: ListReviewableHITs Source #
Create a value of ListReviewableHITs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListReviewableHITs
, listReviewableHITs_hITTypeId
- The ID of the HIT type of the HITs to consider for the query. If not
specified, all HITs for the Reviewer are considered
$sel:maxResults:ListReviewableHITs'
, listReviewableHITs_maxResults
- Limit the number of results returned.
ListReviewableHITs
, listReviewableHITs_nextToken
- Pagination Token
ListReviewableHITs
, listReviewableHITs_status
- Can be either Reviewable
or Reviewing
. Reviewable is the default
value.
Request Lenses
listReviewableHITs_hITTypeId :: 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
listReviewableHITs_maxResults :: Lens' ListReviewableHITs (Maybe Natural) Source #
Limit the number of results returned.
listReviewableHITs_nextToken :: Lens' ListReviewableHITs (Maybe Text) Source #
Pagination Token
listReviewableHITs_status :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus) Source #
Can be either Reviewable
or Reviewing
. Reviewable is the default
value.
Destructuring the Response
data ListReviewableHITsResponse Source #
See: newListReviewableHITsResponse
smart constructor.
Constructors
ListReviewableHITsResponse' | |
Instances
newListReviewableHITsResponse Source #
Create a value of ListReviewableHITsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hITs:ListReviewableHITsResponse'
, listReviewableHITsResponse_hITs
- The list of HIT elements returned by the query.
ListReviewableHITs
, listReviewableHITsResponse_nextToken
- Undocumented member.
$sel:numResults:ListReviewableHITsResponse'
, listReviewableHITsResponse_numResults
- The number of HITs on this page in the filtered results list, equivalent
to the number of HITs being returned by this call.
$sel:httpStatus:ListReviewableHITsResponse'
, listReviewableHITsResponse_httpStatus
- The response's http status code.
Response Lenses
listReviewableHITsResponse_hITs :: Lens' ListReviewableHITsResponse (Maybe [HIT]) Source #
The list of HIT elements returned by the query.
listReviewableHITsResponse_nextToken :: Lens' ListReviewableHITsResponse (Maybe Text) Source #
Undocumented member.
listReviewableHITsResponse_numResults :: 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.
listReviewableHITsResponse_httpStatus :: Lens' ListReviewableHITsResponse Int Source #
The response's http status code.