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 |
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
- getQualificationScore :: Text -> Text -> GetQualificationScore
- data GetQualificationScore
- gqsQualificationTypeId :: Lens' GetQualificationScore Text
- gqsWorkerId :: Lens' GetQualificationScore Text
- getQualificationScoreResponse :: Int -> GetQualificationScoreResponse
- data GetQualificationScoreResponse
- gqsrsQualification :: Lens' GetQualificationScoreResponse (Maybe Qualification)
- gqsrsResponseStatus :: Lens' GetQualificationScoreResponse Int
Creating a Request
getQualificationScore Source #
Creates a value of GetQualificationScore
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gqsQualificationTypeId
- The ID of the QualificationType.gqsWorkerId
- The ID of the Worker whose Qualification is being updated.
data GetQualificationScore Source #
See: getQualificationScore
smart constructor.
Instances
Request Lenses
gqsQualificationTypeId :: Lens' GetQualificationScore Text Source #
The ID of the QualificationType.
gqsWorkerId :: Lens' GetQualificationScore Text Source #
The ID of the Worker whose Qualification is being updated.
Destructuring the Response
getQualificationScoreResponse Source #
Creates a value of GetQualificationScoreResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gqsrsQualification
- The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).gqsrsResponseStatus
- -- | The response status code.
data GetQualificationScoreResponse Source #
See: getQualificationScoreResponse
smart constructor.
Instances
Response Lenses
gqsrsQualification :: Lens' GetQualificationScoreResponse (Maybe Qualification) Source #
The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).
gqsrsResponseStatus :: Lens' GetQualificationScoreResponse Int Source #
- - | The response status code.