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 GetQualificationScore
operation returns the value of a Worker's
Qualification for a given Qualification type.
To get a Worker's Qualification, you must know the Worker's ID. The
Worker's ID is included in the assignment data returned by the
ListAssignmentsForHIT
operation.
Only the owner of a Qualification type can query the value of a Worker's Qualification of that type.
Synopsis
- data GetQualificationScore = GetQualificationScore' {}
- newGetQualificationScore :: Text -> Text -> GetQualificationScore
- getQualificationScore_qualificationTypeId :: Lens' GetQualificationScore Text
- getQualificationScore_workerId :: Lens' GetQualificationScore Text
- data GetQualificationScoreResponse = GetQualificationScoreResponse' {}
- newGetQualificationScoreResponse :: Int -> GetQualificationScoreResponse
- getQualificationScoreResponse_qualification :: Lens' GetQualificationScoreResponse (Maybe Qualification)
- getQualificationScoreResponse_httpStatus :: Lens' GetQualificationScoreResponse Int
Creating a Request
data GetQualificationScore Source #
See: newGetQualificationScore
smart constructor.
GetQualificationScore' | |
|
Instances
newGetQualificationScore Source #
:: Text | |
-> Text | |
-> GetQualificationScore |
Create a value of GetQualificationScore
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:qualificationTypeId:GetQualificationScore'
, getQualificationScore_qualificationTypeId
- The ID of the QualificationType.
$sel:workerId:GetQualificationScore'
, getQualificationScore_workerId
- The ID of the Worker whose Qualification is being updated.
Request Lenses
getQualificationScore_qualificationTypeId :: Lens' GetQualificationScore Text Source #
The ID of the QualificationType.
getQualificationScore_workerId :: Lens' GetQualificationScore Text Source #
The ID of the Worker whose Qualification is being updated.
Destructuring the Response
data GetQualificationScoreResponse Source #
See: newGetQualificationScoreResponse
smart constructor.
GetQualificationScoreResponse' | |
|
Instances
newGetQualificationScoreResponse Source #
Create a value of GetQualificationScoreResponse
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:qualification:GetQualificationScoreResponse'
, getQualificationScoreResponse_qualification
- The Qualification data structure of the Qualification assigned to a
user, including the Qualification type and the value (score).
$sel:httpStatus:GetQualificationScoreResponse'
, getQualificationScoreResponse_httpStatus
- The response's http status code.
Response Lenses
getQualificationScoreResponse_qualification :: Lens' GetQualificationScoreResponse (Maybe Qualification) Source #
The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).
getQualificationScoreResponse_httpStatus :: Lens' GetQualificationScoreResponse Int Source #
The response's http status code.