Copyright | (c) 2013-2021 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 |
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_status :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus)
- listReviewableHITs_hITTypeId :: Lens' ListReviewableHITs (Maybe Text)
- listReviewableHITs_nextToken :: Lens' ListReviewableHITs (Maybe Text)
- listReviewableHITs_maxResults :: Lens' ListReviewableHITs (Maybe Natural)
- data ListReviewableHITsResponse = ListReviewableHITsResponse' {}
- newListReviewableHITsResponse :: Int -> ListReviewableHITsResponse
- listReviewableHITsResponse_nextToken :: Lens' ListReviewableHITsResponse (Maybe Text)
- listReviewableHITsResponse_numResults :: Lens' ListReviewableHITsResponse (Maybe Int)
- listReviewableHITsResponse_hITs :: Lens' ListReviewableHITsResponse (Maybe [HIT])
- 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:
$sel:status:ListReviewableHITs'
, listReviewableHITs_status
- Can be either Reviewable
or Reviewing
. Reviewable is the default
value.
$sel:hITTypeId: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:nextToken:ListReviewableHITs'
, listReviewableHITs_nextToken
- Pagination Token
$sel:maxResults:ListReviewableHITs'
, listReviewableHITs_maxResults
- Limit the number of results returned.
Request Lenses
listReviewableHITs_status :: Lens' ListReviewableHITs (Maybe ReviewableHITStatus) Source #
Can be either Reviewable
or Reviewing
. Reviewable is the default
value.
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_nextToken :: Lens' ListReviewableHITs (Maybe Text) Source #
Pagination Token
listReviewableHITs_maxResults :: Lens' ListReviewableHITs (Maybe Natural) Source #
Limit the number of results returned.
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:nextToken: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:hITs:ListReviewableHITsResponse'
, listReviewableHITsResponse_hITs
- The list of HIT elements returned by the query.
$sel:httpStatus:ListReviewableHITsResponse'
, listReviewableHITsResponse_httpStatus
- The response's http status code.
Response Lenses
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_hITs :: Lens' ListReviewableHITsResponse (Maybe [HIT]) Source #
The list of HIT elements returned by the query.
listReviewableHITsResponse_httpStatus :: Lens' ListReviewableHITsResponse Int Source #
The response's http status code.