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

Description

 
Synopsis

Documentation

data ReviewActionDetail Source #

Both the AssignmentReviewReport and the HITReviewReport elements contains the ReviewActionDetail data structure. This structure is returned multiple times for each action specified in the Review Policy.

See: newReviewActionDetail smart constructor.

Constructors

ReviewActionDetail' 

Fields

Instances

Instances details
Eq ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Read ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Show ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Generic ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Associated Types

type Rep ReviewActionDetail :: Type -> Type #

NFData ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Methods

rnf :: ReviewActionDetail -> () #

Hashable ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

FromJSON ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

type Rep ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

type Rep ReviewActionDetail = D1 ('MetaData "ReviewActionDetail" "Amazonka.MechanicalTurk.Types.ReviewActionDetail" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ReviewActionDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReviewActionStatus)) :*: S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "actionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "completeTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newReviewActionDetail :: ReviewActionDetail Source #

Create a value of ReviewActionDetail 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:status:ReviewActionDetail', reviewActionDetail_status - The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.

$sel:targetId:ReviewActionDetail', reviewActionDetail_targetId - The specific HITId or AssignmentID targeted by the action.

$sel:actionId:ReviewActionDetail', reviewActionDetail_actionId - The unique identifier for the action.

$sel:targetType:ReviewActionDetail', reviewActionDetail_targetType - The type of object in TargetId.

$sel:result:ReviewActionDetail', reviewActionDetail_result - A description of the outcome of the review.

$sel:actionName:ReviewActionDetail', reviewActionDetail_actionName - The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.

$sel:completeTime:ReviewActionDetail', reviewActionDetail_completeTime - The date when the action was completed.

$sel:errorCode:ReviewActionDetail', reviewActionDetail_errorCode - Present only when the Results have a FAILED Status.

reviewActionDetail_status :: Lens' ReviewActionDetail (Maybe ReviewActionStatus) Source #

The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.

reviewActionDetail_targetId :: Lens' ReviewActionDetail (Maybe Text) Source #

The specific HITId or AssignmentID targeted by the action.

reviewActionDetail_actionId :: Lens' ReviewActionDetail (Maybe Text) Source #

The unique identifier for the action.

reviewActionDetail_result :: Lens' ReviewActionDetail (Maybe Text) Source #

A description of the outcome of the review.

reviewActionDetail_actionName :: Lens' ReviewActionDetail (Maybe Text) Source #

The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.

reviewActionDetail_completeTime :: Lens' ReviewActionDetail (Maybe UTCTime) Source #

The date when the action was completed.

reviewActionDetail_errorCode :: Lens' ReviewActionDetail (Maybe Text) Source #

Present only when the Results have a FAILED Status.