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 ListWorkersWithQualificationType
operation returns all of the
Workers that have been associated with a given Qualification type.
This operation returns paginated results.
Synopsis
- data ListWorkersWithQualificationType = ListWorkersWithQualificationType' {}
- newListWorkersWithQualificationType :: Text -> ListWorkersWithQualificationType
- listWorkersWithQualificationType_status :: Lens' ListWorkersWithQualificationType (Maybe QualificationStatus)
- listWorkersWithQualificationType_nextToken :: Lens' ListWorkersWithQualificationType (Maybe Text)
- listWorkersWithQualificationType_maxResults :: Lens' ListWorkersWithQualificationType (Maybe Natural)
- listWorkersWithQualificationType_qualificationTypeId :: Lens' ListWorkersWithQualificationType Text
- data ListWorkersWithQualificationTypeResponse = ListWorkersWithQualificationTypeResponse' {
- nextToken :: Maybe Text
- numResults :: Maybe Int
- qualifications :: Maybe [Qualification]
- httpStatus :: Int
- newListWorkersWithQualificationTypeResponse :: Int -> ListWorkersWithQualificationTypeResponse
- listWorkersWithQualificationTypeResponse_nextToken :: Lens' ListWorkersWithQualificationTypeResponse (Maybe Text)
- listWorkersWithQualificationTypeResponse_numResults :: Lens' ListWorkersWithQualificationTypeResponse (Maybe Int)
- listWorkersWithQualificationTypeResponse_qualifications :: Lens' ListWorkersWithQualificationTypeResponse (Maybe [Qualification])
- listWorkersWithQualificationTypeResponse_httpStatus :: Lens' ListWorkersWithQualificationTypeResponse Int
Creating a Request
data ListWorkersWithQualificationType Source #
See: newListWorkersWithQualificationType
smart constructor.
ListWorkersWithQualificationType' | |
|
Instances
newListWorkersWithQualificationType Source #
Create a value of ListWorkersWithQualificationType
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:status:ListWorkersWithQualificationType'
, listWorkersWithQualificationType_status
- The status of the Qualifications to return. Can be Granted | Revoked
.
$sel:nextToken:ListWorkersWithQualificationType'
, listWorkersWithQualificationType_nextToken
- Pagination Token
$sel:maxResults:ListWorkersWithQualificationType'
, listWorkersWithQualificationType_maxResults
- Limit the number of results returned.
$sel:qualificationTypeId:ListWorkersWithQualificationType'
, listWorkersWithQualificationType_qualificationTypeId
- The ID of the Qualification type of the Qualifications to return.
Request Lenses
listWorkersWithQualificationType_status :: Lens' ListWorkersWithQualificationType (Maybe QualificationStatus) Source #
The status of the Qualifications to return. Can be Granted | Revoked
.
listWorkersWithQualificationType_nextToken :: Lens' ListWorkersWithQualificationType (Maybe Text) Source #
Pagination Token
listWorkersWithQualificationType_maxResults :: Lens' ListWorkersWithQualificationType (Maybe Natural) Source #
Limit the number of results returned.
listWorkersWithQualificationType_qualificationTypeId :: Lens' ListWorkersWithQualificationType Text Source #
The ID of the Qualification type of the Qualifications to return.
Destructuring the Response
data ListWorkersWithQualificationTypeResponse Source #
See: newListWorkersWithQualificationTypeResponse
smart constructor.
ListWorkersWithQualificationTypeResponse' | |
|
Instances
newListWorkersWithQualificationTypeResponse Source #
Create a value of ListWorkersWithQualificationTypeResponse
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:ListWorkersWithQualificationType'
, listWorkersWithQualificationTypeResponse_nextToken
- Undocumented member.
$sel:numResults:ListWorkersWithQualificationTypeResponse'
, listWorkersWithQualificationTypeResponse_numResults
- The number of Qualifications on this page in the filtered results list,
equivalent to the number of Qualifications being returned by this call.
$sel:qualifications:ListWorkersWithQualificationTypeResponse'
, listWorkersWithQualificationTypeResponse_qualifications
- The list of Qualification elements returned by this call.
$sel:httpStatus:ListWorkersWithQualificationTypeResponse'
, listWorkersWithQualificationTypeResponse_httpStatus
- The response's http status code.
Response Lenses
listWorkersWithQualificationTypeResponse_nextToken :: Lens' ListWorkersWithQualificationTypeResponse (Maybe Text) Source #
Undocumented member.
listWorkersWithQualificationTypeResponse_numResults :: Lens' ListWorkersWithQualificationTypeResponse (Maybe Int) Source #
The number of Qualifications on this page in the filtered results list, equivalent to the number of Qualifications being returned by this call.
listWorkersWithQualificationTypeResponse_qualifications :: Lens' ListWorkersWithQualificationTypeResponse (Maybe [Qualification]) Source #
The list of Qualification elements returned by this call.
listWorkersWithQualificationTypeResponse_httpStatus :: Lens' ListWorkersWithQualificationTypeResponse Int Source #
The response's http status code.