| 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.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.
Synopsis
- data ListHITsForQualificationType = ListHITsForQualificationType' {}
- newListHITsForQualificationType :: Text -> ListHITsForQualificationType
- listHITsForQualificationType_maxResults :: Lens' ListHITsForQualificationType (Maybe Natural)
- listHITsForQualificationType_nextToken :: Lens' ListHITsForQualificationType (Maybe Text)
- listHITsForQualificationType_qualificationTypeId :: Lens' ListHITsForQualificationType Text
- data ListHITsForQualificationTypeResponse = ListHITsForQualificationTypeResponse' {}
- newListHITsForQualificationTypeResponse :: Int -> ListHITsForQualificationTypeResponse
- listHITsForQualificationTypeResponse_hITs :: Lens' ListHITsForQualificationTypeResponse (Maybe [HIT])
- listHITsForQualificationTypeResponse_nextToken :: Lens' ListHITsForQualificationTypeResponse (Maybe Text)
- listHITsForQualificationTypeResponse_numResults :: Lens' ListHITsForQualificationTypeResponse (Maybe Int)
- listHITsForQualificationTypeResponse_httpStatus :: Lens' ListHITsForQualificationTypeResponse Int
Creating a Request
data ListHITsForQualificationType Source #
See: newListHITsForQualificationType smart constructor.
Constructors
| ListHITsForQualificationType' | |
Fields
| |
Instances
newListHITsForQualificationType Source #
Arguments
| :: Text | |
| -> ListHITsForQualificationType |
Create a value of ListHITsForQualificationType 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:ListHITsForQualificationType', listHITsForQualificationType_maxResults - Limit the number of results returned.
ListHITsForQualificationType, listHITsForQualificationType_nextToken - Pagination Token
ListHITsForQualificationType, listHITsForQualificationType_qualificationTypeId - The ID of the Qualification type to use when querying HITs.
Request Lenses
listHITsForQualificationType_maxResults :: Lens' ListHITsForQualificationType (Maybe Natural) Source #
Limit the number of results returned.
listHITsForQualificationType_nextToken :: Lens' ListHITsForQualificationType (Maybe Text) Source #
Pagination Token
listHITsForQualificationType_qualificationTypeId :: Lens' ListHITsForQualificationType Text Source #
The ID of the Qualification type to use when querying HITs.
Destructuring the Response
data ListHITsForQualificationTypeResponse Source #
See: newListHITsForQualificationTypeResponse smart constructor.
Constructors
| ListHITsForQualificationTypeResponse' | |
Instances
newListHITsForQualificationTypeResponse Source #
Arguments
| :: Int | |
| -> ListHITsForQualificationTypeResponse |
Create a value of ListHITsForQualificationTypeResponse 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:ListHITsForQualificationTypeResponse', listHITsForQualificationTypeResponse_hITs - The list of HIT elements returned by the query.
ListHITsForQualificationType, listHITsForQualificationTypeResponse_nextToken - Undocumented member.
$sel:numResults:ListHITsForQualificationTypeResponse', listHITsForQualificationTypeResponse_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:ListHITsForQualificationTypeResponse', listHITsForQualificationTypeResponse_httpStatus - The response's http status code.
Response Lenses
listHITsForQualificationTypeResponse_hITs :: Lens' ListHITsForQualificationTypeResponse (Maybe [HIT]) Source #
The list of HIT elements returned by the query.
listHITsForQualificationTypeResponse_nextToken :: Lens' ListHITsForQualificationTypeResponse (Maybe Text) Source #
Undocumented member.
listHITsForQualificationTypeResponse_numResults :: 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.
listHITsForQualificationTypeResponse_httpStatus :: Lens' ListHITsForQualificationTypeResponse Int Source #
The response's http status code.