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.Types.QualificationRequest

Description

 
Synopsis

Documentation

data QualificationRequest Source #

The QualificationRequest data structure represents a request a Worker has made for a Qualification.

See: newQualificationRequest smart constructor.

Constructors

QualificationRequest' 

Fields

  • qualificationRequestId :: Maybe Text

    The ID of the Qualification request, a unique identifier generated when the request was submitted.

  • test :: Maybe Text

    The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

  • qualificationTypeId :: Maybe Text

    The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

  • answer :: Maybe Text

    The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

  • workerId :: Maybe Text

    The ID of the Worker requesting the Qualification.

  • submitTime :: Maybe POSIX

    The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.

Instances

Instances details
Eq QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Read QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Show QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Generic QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Associated Types

type Rep QualificationRequest :: Type -> Type #

NFData QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Methods

rnf :: QualificationRequest -> () #

Hashable QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

FromJSON QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

type Rep QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

type Rep QualificationRequest = D1 ('MetaData "QualificationRequest" "Amazonka.MechanicalTurk.Types.QualificationRequest" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "QualificationRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "qualificationRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "test") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "answer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newQualificationRequest :: QualificationRequest Source #

Create a value of QualificationRequest 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:qualificationRequestId:QualificationRequest', qualificationRequest_qualificationRequestId - The ID of the Qualification request, a unique identifier generated when the request was submitted.

$sel:test:QualificationRequest', qualificationRequest_test - The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

$sel:qualificationTypeId:QualificationRequest', qualificationRequest_qualificationTypeId - The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

$sel:answer:QualificationRequest', qualificationRequest_answer - The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

$sel:workerId:QualificationRequest', qualificationRequest_workerId - The ID of the Worker requesting the Qualification.

$sel:submitTime:QualificationRequest', qualificationRequest_submitTime - The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.

qualificationRequest_qualificationRequestId :: Lens' QualificationRequest (Maybe Text) Source #

The ID of the Qualification request, a unique identifier generated when the request was submitted.

qualificationRequest_test :: Lens' QualificationRequest (Maybe Text) Source #

The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

qualificationRequest_qualificationTypeId :: Lens' QualificationRequest (Maybe Text) Source #

The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

qualificationRequest_answer :: Lens' QualificationRequest (Maybe Text) Source #

The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

qualificationRequest_workerId :: Lens' QualificationRequest (Maybe Text) Source #

The ID of the Worker requesting the Qualification.

qualificationRequest_submitTime :: Lens' QualificationRequest (Maybe UTCTime) Source #

The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.