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

Description

The AcceptQualificationRequest operation approves a Worker's request for a Qualification.

Only the owner of the Qualification type can grant a Qualification request for that type.

A successful request for the AcceptQualificationRequest operation returns with no errors and an empty body.

Synopsis

Creating a Request

data AcceptQualificationRequest Source #

See: newAcceptQualificationRequest smart constructor.

Constructors

AcceptQualificationRequest' 

Fields

  • integerValue :: Maybe Int

    The value of the Qualification. You can omit this value if you are using the presence or absence of the Qualification as the basis for a HIT requirement.

  • qualificationRequestId :: Text

    The ID of the Qualification request, as returned by the GetQualificationRequests operation.

Instances

Instances details
Eq AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Read AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Show AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Generic AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Associated Types

type Rep AcceptQualificationRequest :: Type -> Type #

NFData AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Hashable AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

ToJSON AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

AWSRequest AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

ToHeaders AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

ToPath AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

ToQuery AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

type Rep AcceptQualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

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

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

newAcceptQualificationRequest Source #

Create a value of AcceptQualificationRequest 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:AcceptQualificationRequest', acceptQualificationRequest_integerValue - The value of the Qualification. You can omit this value if you are using the presence or absence of the Qualification as the basis for a HIT requirement.

$sel:qualificationRequestId:AcceptQualificationRequest', acceptQualificationRequest_qualificationRequestId - The ID of the Qualification request, as returned by the GetQualificationRequests operation.

Request Lenses

acceptQualificationRequest_integerValue :: Lens' AcceptQualificationRequest (Maybe Int) Source #

The value of the Qualification. You can omit this value if you are using the presence or absence of the Qualification as the basis for a HIT requirement.

acceptQualificationRequest_qualificationRequestId :: Lens' AcceptQualificationRequest Text Source #

The ID of the Qualification request, as returned by the GetQualificationRequests operation.

Destructuring the Response

data AcceptQualificationRequestResponse Source #

Constructors

AcceptQualificationRequestResponse' 

Fields

Instances

Instances details
Eq AcceptQualificationRequestResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Read AcceptQualificationRequestResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Show AcceptQualificationRequestResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Generic AcceptQualificationRequestResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

Associated Types

type Rep AcceptQualificationRequestResponse :: Type -> Type #

NFData AcceptQualificationRequestResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

type Rep AcceptQualificationRequestResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.AcceptQualificationRequest

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

newAcceptQualificationRequestResponse Source #

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

Response Lenses