| Copyright | (c) 2013-2017 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.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.
- listHITs :: ListHITs
- data ListHITs
- lhitNextToken :: Lens' ListHITs (Maybe Text)
- lhitMaxResults :: Lens' ListHITs (Maybe Natural)
- listHITsResponse :: Int -> ListHITsResponse
- data ListHITsResponse
- lhitrsNextToken :: Lens' ListHITsResponse (Maybe Text)
- lhitrsNumResults :: Lens' ListHITsResponse (Maybe Int)
- lhitrsHITs :: Lens' ListHITsResponse [HIT]
- lhitrsResponseStatus :: Lens' ListHITsResponse Int
Creating a Request
Creates a value of ListHITs with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhitNextToken- Pagination tokenlhitMaxResults- Undocumented member.
See: listHITs smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> ListHITsResponse |
Creates a value of ListHITsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhitrsNextToken- Undocumented member.lhitrsNumResults- The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.lhitrsHITs- The list of HIT elements returned by the query.lhitrsResponseStatus- -- | The response status code.
data ListHITsResponse Source #
See: listHITsResponse smart constructor.
Response Lenses
lhitrsNextToken :: Lens' ListHITsResponse (Maybe Text) Source #
Undocumented member.
lhitrsNumResults :: 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.
lhitrsHITs :: Lens' ListHITsResponse [HIT] Source #
The list of HIT elements returned by the query.
lhitrsResponseStatus :: Lens' ListHITsResponse Int Source #
- - | The response status code.