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

Description

 
Synopsis

Documentation

data ReviewResultDetail Source #

This data structure is returned multiple times for each result specified in the Review Policy.

See: newReviewResultDetail smart constructor.

Constructors

ReviewResultDetail' 

Fields

  • value :: Maybe Text

    The values of Key provided by the review policies you have selected.

  • actionId :: Maybe Text

    A unique identifier of the Review action result.

  • subjectType :: Maybe Text

    The type of the object from the SubjectId field.

  • key :: Maybe Text

    Key identifies the particular piece of reviewed information.

  • questionId :: Maybe Text

    Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.

  • subjectId :: Maybe Text

    The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.

Instances

Instances details
Eq ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Read ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Show ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Generic ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Associated Types

type Rep ReviewResultDetail :: Type -> Type #

NFData ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Methods

rnf :: ReviewResultDetail -> () #

Hashable ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

FromJSON ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

type Rep ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

type Rep ReviewResultDetail = D1 ('MetaData "ReviewResultDetail" "Amazonka.MechanicalTurk.Types.ReviewResultDetail" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ReviewResultDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "actionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subjectType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "questionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subjectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newReviewResultDetail :: ReviewResultDetail Source #

Create a value of ReviewResultDetail 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:value:ReviewResultDetail', reviewResultDetail_value - The values of Key provided by the review policies you have selected.

$sel:actionId:ReviewResultDetail', reviewResultDetail_actionId - A unique identifier of the Review action result.

$sel:subjectType:ReviewResultDetail', reviewResultDetail_subjectType - The type of the object from the SubjectId field.

$sel:key:ReviewResultDetail', reviewResultDetail_key - Key identifies the particular piece of reviewed information.

$sel:questionId:ReviewResultDetail', reviewResultDetail_questionId - Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.

$sel:subjectId:ReviewResultDetail', reviewResultDetail_subjectId - The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.

reviewResultDetail_value :: Lens' ReviewResultDetail (Maybe Text) Source #

The values of Key provided by the review policies you have selected.

reviewResultDetail_actionId :: Lens' ReviewResultDetail (Maybe Text) Source #

A unique identifier of the Review action result.

reviewResultDetail_subjectType :: Lens' ReviewResultDetail (Maybe Text) Source #

The type of the object from the SubjectId field.

reviewResultDetail_key :: Lens' ReviewResultDetail (Maybe Text) Source #

Key identifies the particular piece of reviewed information.

reviewResultDetail_questionId :: Lens' ReviewResultDetail (Maybe Text) Source #

Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.

reviewResultDetail_subjectId :: Lens' ReviewResultDetail (Maybe Text) Source #

The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.