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 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.
AssociateQualificationWithWorker' | |
|
Instances
newAssociateQualificationWithWorker Source #
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:
$sel:integerValue: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.
$sel:qualificationTypeId:AssociateQualificationWithWorker'
, associateQualificationWithWorker_qualificationTypeId
- The ID of the Qualification type to use for the assigned Qualification.
$sel:workerId: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.
AssociateQualificationWithWorkerResponse' | |
|
Instances
Eq AssociateQualificationWithWorkerResponse Source # | |
Read AssociateQualificationWithWorkerResponse Source # | |
Show AssociateQualificationWithWorkerResponse Source # | |
Generic AssociateQualificationWithWorkerResponse Source # | |
Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker type Rep AssociateQualificationWithWorkerResponse :: Type -> Type # | |
NFData AssociateQualificationWithWorkerResponse Source # | |
type Rep AssociateQualificationWithWorkerResponse Source # | |
Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker type Rep AssociateQualificationWithWorkerResponse = D1 ('MetaData "AssociateQualificationWithWorkerResponse" "Amazonka.MechanicalTurk.AssociateQualificationWithWorker" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "AssociateQualificationWithWorkerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateQualificationWithWorkerResponse Source #
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.