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 AssociateQualificationWithWorker
operation gives a Worker a Qualification. AssociateQualificationWithWorker
does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker.
You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType
operation).
- associateQualificationWithWorker :: Text -> Text -> AssociateQualificationWithWorker
- data AssociateQualificationWithWorker
- aqwwIntegerValue :: Lens' AssociateQualificationWithWorker (Maybe Int)
- aqwwSendNotification :: Lens' AssociateQualificationWithWorker (Maybe Bool)
- aqwwQualificationTypeId :: Lens' AssociateQualificationWithWorker Text
- aqwwWorkerId :: Lens' AssociateQualificationWithWorker Text
- associateQualificationWithWorkerResponse :: Int -> AssociateQualificationWithWorkerResponse
- data AssociateQualificationWithWorkerResponse
- aqwwrsResponseStatus :: Lens' AssociateQualificationWithWorkerResponse Int
Creating a Request
associateQualificationWithWorker Source #
Creates a value of AssociateQualificationWithWorker
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aqwwIntegerValue
- The value of the Qualification to assign.aqwwSendNotification
- Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.aqwwQualificationTypeId
- The ID of the Qualification type to use for the assigned Qualification.aqwwWorkerId
- The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.
data AssociateQualificationWithWorker Source #
See: associateQualificationWithWorker
smart constructor.
Request Lenses
aqwwIntegerValue :: Lens' AssociateQualificationWithWorker (Maybe Int) Source #
The value of the Qualification to assign.
aqwwSendNotification :: Lens' AssociateQualificationWithWorker (Maybe Bool) Source #
Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.
aqwwQualificationTypeId :: Lens' AssociateQualificationWithWorker Text Source #
The ID of the Qualification type to use for the assigned Qualification.
aqwwWorkerId :: Lens' AssociateQualificationWithWorker Text Source #
The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.
Destructuring the Response
associateQualificationWithWorkerResponse Source #
Creates a value of AssociateQualificationWithWorkerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aqwwrsResponseStatus
- -- | The response status code.
data AssociateQualificationWithWorkerResponse Source #
See: associateQualificationWithWorkerResponse
smart constructor.
Response Lenses
aqwwrsResponseStatus :: Lens' AssociateQualificationWithWorkerResponse Int Source #
- - | The response status code.