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 |
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_nextToken :: Lens' ListHITs (Maybe Text)
- listHITs_maxResults :: Lens' ListHITs (Maybe Natural)
- data ListHITsResponse = ListHITsResponse' {}
- newListHITsResponse :: Int -> ListHITsResponse
- listHITsResponse_nextToken :: Lens' ListHITsResponse (Maybe Text)
- listHITsResponse_numResults :: Lens' ListHITsResponse (Maybe Int)
- listHITsResponse_hITs :: Lens' ListHITsResponse (Maybe [HIT])
- 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:nextToken:ListHITs'
, listHITs_nextToken
- Pagination token
$sel:maxResults:ListHITs'
, listHITs_maxResults
- Undocumented member.
Request Lenses
Destructuring the Response
data ListHITsResponse Source #
See: newListHITsResponse
smart constructor.
Instances
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:nextToken: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:hITs:ListHITsResponse'
, listHITsResponse_hITs
- The list of HIT elements returned by the query.
$sel:httpStatus:ListHITsResponse'
, listHITsResponse_httpStatus
- The response's http status code.
Response Lenses
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_hITs :: Lens' ListHITsResponse (Maybe [HIT]) Source #
The list of HIT elements returned by the query.
listHITsResponse_httpStatus :: Lens' ListHITsResponse Int Source #
The response's http status code.