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.DisassociateQualificationFromWorker

Description

The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user.

You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message.

Synopsis

Creating a Request

data DisassociateQualificationFromWorker Source #

Constructors

DisassociateQualificationFromWorker' 

Fields

  • reason :: Maybe Text

    A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.

  • workerId :: Text

    The ID of the Worker who possesses the Qualification to be revoked.

  • qualificationTypeId :: Text

    The ID of the Qualification type of the Qualification to be revoked.

Instances

Instances details
Eq DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Read DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Show DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Generic DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

NFData DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Hashable DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

ToJSON DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

AWSRequest DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

ToHeaders DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

ToPath DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

ToQuery DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

type Rep DisassociateQualificationFromWorker Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

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

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

newDisassociateQualificationFromWorker Source #

Create a value of DisassociateQualificationFromWorker 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:reason:DisassociateQualificationFromWorker', disassociateQualificationFromWorker_reason - A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.

$sel:workerId:DisassociateQualificationFromWorker', disassociateQualificationFromWorker_workerId - The ID of the Worker who possesses the Qualification to be revoked.

$sel:qualificationTypeId:DisassociateQualificationFromWorker', disassociateQualificationFromWorker_qualificationTypeId - The ID of the Qualification type of the Qualification to be revoked.

Request Lenses

disassociateQualificationFromWorker_reason :: Lens' DisassociateQualificationFromWorker (Maybe Text) Source #

A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.

disassociateQualificationFromWorker_workerId :: Lens' DisassociateQualificationFromWorker Text Source #

The ID of the Worker who possesses the Qualification to be revoked.

disassociateQualificationFromWorker_qualificationTypeId :: Lens' DisassociateQualificationFromWorker Text Source #

The ID of the Qualification type of the Qualification to be revoked.

Destructuring the Response

data DisassociateQualificationFromWorkerResponse Source #

Constructors

DisassociateQualificationFromWorkerResponse' 

Fields

Instances

Instances details
Eq DisassociateQualificationFromWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Read DisassociateQualificationFromWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Show DisassociateQualificationFromWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

Generic DisassociateQualificationFromWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

NFData DisassociateQualificationFromWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

type Rep DisassociateQualificationFromWorkerResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.DisassociateQualificationFromWorker

type Rep DisassociateQualificationFromWorkerResponse = D1 ('MetaData "DisassociateQualificationFromWorkerResponse" "Amazonka.MechanicalTurk.DisassociateQualificationFromWorker" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "DisassociateQualificationFromWorkerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateQualificationFromWorkerResponse Source #

Create a value of DisassociateQualificationFromWorkerResponse 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:DisassociateQualificationFromWorkerResponse', disassociateQualificationFromWorkerResponse_httpStatus - The response's http status code.

Response Lenses