libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data AssociateQualificationWithWorker Source #

See: newAssociateQualificationWithWorker smart constructor.

Constructors

AssociateQualificationWithWorker' 

Fields

  • integerValue :: Maybe Int

    The value of the Qualification to assign.

  • sendNotification :: Maybe Bool

    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.

  • qualificationTypeId :: Text

    The ID of the Qualification type to use for the assigned Qualification.

  • workerId :: Text

    The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.

Instances

Instances details
Eq AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Read AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Show AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Generic AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Associated Types

type Rep AssociateQualificationWithWorker :: Type -> Type #

NFData AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Hashable AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

ToJSON AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

AWSRequest AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

ToHeaders AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

ToPath AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

ToQuery AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

type Rep AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

type Rep AssociateQualificationWithWorker = D1 ('MetaData "AssociateQualificationWithWorker" "Amazonka.MechanicalTurk.AssociateQualificationWithWorker" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "AssociateQualificationWithWorker'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "integerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sendNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AssociateQualificationWithWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

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_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 #

Constructors

AssociateQualificationWithWorkerResponse' 

Fields

Instances

Instances details
Eq AssociateQualificationWithWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Read AssociateQualificationWithWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Show AssociateQualificationWithWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

Generic AssociateQualificationWithWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

NFData AssociateQualificationWithWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AssociateQualificationWithWorker

type Rep AssociateQualificationWithWorkerResponse Source # 
Instance details

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