| Copyright | (c) 2013-2018 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.ListHITsForQualificationType
Description
The ListHITsForQualificationType operation returns the HITs that use the given Qualification type for a Qualification requirement. The operation returns HITs of any status, except for HITs that have been deleted with the DeleteHIT operation or that have been auto-deleted.
This operation returns paginated results.
- listHITsForQualificationType :: Text -> ListHITsForQualificationType
- data ListHITsForQualificationType
- lhitfqtNextToken :: Lens' ListHITsForQualificationType (Maybe Text)
- lhitfqtMaxResults :: Lens' ListHITsForQualificationType (Maybe Natural)
- lhitfqtQualificationTypeId :: Lens' ListHITsForQualificationType Text
- listHITsForQualificationTypeResponse :: Int -> ListHITsForQualificationTypeResponse
- data ListHITsForQualificationTypeResponse
- lhitfqtrsNextToken :: Lens' ListHITsForQualificationTypeResponse (Maybe Text)
- lhitfqtrsNumResults :: Lens' ListHITsForQualificationTypeResponse (Maybe Int)
- lhitfqtrsHITs :: Lens' ListHITsForQualificationTypeResponse [HIT]
- lhitfqtrsResponseStatus :: Lens' ListHITsForQualificationTypeResponse Int
Creating a Request
listHITsForQualificationType Source #
Arguments
| :: Text | |
| -> ListHITsForQualificationType |
Creates a value of ListHITsForQualificationType with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhitfqtNextToken- Pagination TokenlhitfqtMaxResults- Limit the number of results returned.lhitfqtQualificationTypeId- The ID of the Qualification type to use when querying HITs.
data ListHITsForQualificationType Source #
See: listHITsForQualificationType smart constructor.
Instances
Request Lenses
lhitfqtNextToken :: Lens' ListHITsForQualificationType (Maybe Text) Source #
Pagination Token
lhitfqtMaxResults :: Lens' ListHITsForQualificationType (Maybe Natural) Source #
Limit the number of results returned.
lhitfqtQualificationTypeId :: Lens' ListHITsForQualificationType Text Source #
The ID of the Qualification type to use when querying HITs.
Destructuring the Response
listHITsForQualificationTypeResponse Source #
Creates a value of ListHITsForQualificationTypeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lhitfqtrsNextToken- Undocumented member.lhitfqtrsNumResults- The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.lhitfqtrsHITs- The list of HIT elements returned by the query.lhitfqtrsResponseStatus- -- | The response status code.
data ListHITsForQualificationTypeResponse Source #
See: listHITsForQualificationTypeResponse smart constructor.
Instances
Response Lenses
lhitfqtrsNextToken :: Lens' ListHITsForQualificationTypeResponse (Maybe Text) Source #
Undocumented member.
lhitfqtrsNumResults :: Lens' ListHITsForQualificationTypeResponse (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.
lhitfqtrsHITs :: Lens' ListHITsForQualificationTypeResponse [HIT] Source #
The list of HIT elements returned by the query.
lhitfqtrsResponseStatus :: Lens' ListHITsForQualificationTypeResponse Int Source #
- - | The response status code.