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