| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MechanicalTurk.AssociateQualificationWithWorker
Description
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).
Note: AssociateQualificationWithWorker does not affect any pending
Qualification requests for the Qualification by the Worker. If you
assign a Qualification to a Worker, then later grant a Qualification
request made by the Worker, the granting of the request may modify the
Qualification score. To resolve a pending Qualification request without
affecting the Qualification the Worker already has, reject the request
with the RejectQualificationRequest operation.
Synopsis
- data AssociateQualificationWithWorker = AssociateQualificationWithWorker' {}
- newAssociateQualificationWithWorker :: Text -> Text -> AssociateQualificationWithWorker
- associateQualificationWithWorker_integerValue :: Lens' AssociateQualificationWithWorker (Maybe Int)
- associateQualificationWithWorker_sendNotification :: Lens' AssociateQualificationWithWorker (Maybe Bool)
- associateQualificationWithWorker_qualificationTypeId :: Lens' AssociateQualificationWithWorker Text
- associateQualificationWithWorker_workerId :: Lens' AssociateQualificationWithWorker Text
- data AssociateQualificationWithWorkerResponse = AssociateQualificationWithWorkerResponse' {
- httpStatus :: Int
- newAssociateQualificationWithWorkerResponse :: Int -> AssociateQualificationWithWorkerResponse
- associateQualificationWithWorkerResponse_httpStatus :: Lens' AssociateQualificationWithWorkerResponse Int
Creating a Request
data AssociateQualificationWithWorker Source #
See: newAssociateQualificationWithWorker smart constructor.
Constructors
| AssociateQualificationWithWorker' | |
Fields
| |
Instances
newAssociateQualificationWithWorker Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateQualificationWithWorker |
Create a value of AssociateQualificationWithWorker 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:
AssociateQualificationWithWorker, associateQualificationWithWorker_integerValue - The value of the Qualification to assign.
$sel:sendNotification:AssociateQualificationWithWorker', associateQualificationWithWorker_sendNotification - 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.
AssociateQualificationWithWorker, associateQualificationWithWorker_qualificationTypeId - The ID of the Qualification type to use for the assigned Qualification.
AssociateQualificationWithWorker, associateQualificationWithWorker_workerId - The ID of the Worker to whom the Qualification is being assigned. Worker
IDs are included with submitted HIT assignments and Qualification
requests.
Request Lenses
associateQualificationWithWorker_integerValue :: Lens' AssociateQualificationWithWorker (Maybe Int) Source #
The value of the Qualification to assign.
associateQualificationWithWorker_sendNotification :: 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.
associateQualificationWithWorker_qualificationTypeId :: Lens' AssociateQualificationWithWorker Text Source #
The ID of the Qualification type to use for the assigned Qualification.
associateQualificationWithWorker_workerId :: 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
data AssociateQualificationWithWorkerResponse Source #
See: newAssociateQualificationWithWorkerResponse smart constructor.
Constructors
| AssociateQualificationWithWorkerResponse' | |
Fields
| |
Instances
newAssociateQualificationWithWorkerResponse Source #
Arguments
| :: Int | |
| -> AssociateQualificationWithWorkerResponse |
Create a value of AssociateQualificationWithWorkerResponse 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:httpStatus:AssociateQualificationWithWorkerResponse', associateQualificationWithWorkerResponse_httpStatus - The response's http status code.
Response Lenses
associateQualificationWithWorkerResponse_httpStatus :: Lens' AssociateQualificationWithWorkerResponse Int Source #
The response's http status code.