| 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.ListHITs
Description
The ListHITs operation returns all of a Requester's HITs. The
operation returns HITs of any status, except for HITs that have been
deleted of with the DeleteHIT operation or that have been auto-deleted.
This operation returns paginated results.
Synopsis
- data ListHITs = ListHITs' {}
- newListHITs :: ListHITs
- listHITs_maxResults :: Lens' ListHITs (Maybe Natural)
- listHITs_nextToken :: Lens' ListHITs (Maybe Text)
- data ListHITsResponse = ListHITsResponse' {}
- newListHITsResponse :: Int -> ListHITsResponse
- listHITsResponse_hITs :: Lens' ListHITsResponse (Maybe [HIT])
- listHITsResponse_nextToken :: Lens' ListHITsResponse (Maybe Text)
- listHITsResponse_numResults :: Lens' ListHITsResponse (Maybe Int)
- listHITsResponse_httpStatus :: Lens' ListHITsResponse Int
Creating a Request
See: newListHITs smart constructor.
Instances
newListHITs :: ListHITs Source #
Create a value of ListHITs 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:maxResults:ListHITs', listHITs_maxResults - Undocumented member.
ListHITs, listHITs_nextToken - Pagination token
Request Lenses
Destructuring the Response
data ListHITsResponse Source #
See: newListHITsResponse smart constructor.
Constructors
| ListHITsResponse' | |
Instances
Arguments
| :: Int | |
| -> ListHITsResponse |
Create a value of ListHITsResponse 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:ListHITsResponse', listHITsResponse_hITs - The list of HIT elements returned by the query.
ListHITs, listHITsResponse_nextToken - Undocumented member.
$sel:numResults:ListHITsResponse', listHITsResponse_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:ListHITsResponse', listHITsResponse_httpStatus - The response's http status code.
Response Lenses
listHITsResponse_hITs :: Lens' ListHITsResponse (Maybe [HIT]) Source #
The list of HIT elements returned by the query.
listHITsResponse_nextToken :: Lens' ListHITsResponse (Maybe Text) Source #
Undocumented member.
listHITsResponse_numResults :: Lens' ListHITsResponse (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.
listHITsResponse_httpStatus :: Lens' ListHITsResponse Int Source #
The response's http status code.