Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ReviewActionDetail = ReviewActionDetail' {}
- newReviewActionDetail :: ReviewActionDetail
- reviewActionDetail_status :: Lens' ReviewActionDetail (Maybe ReviewActionStatus)
- reviewActionDetail_targetId :: Lens' ReviewActionDetail (Maybe Text)
- reviewActionDetail_actionId :: Lens' ReviewActionDetail (Maybe Text)
- reviewActionDetail_targetType :: Lens' ReviewActionDetail (Maybe Text)
- reviewActionDetail_result :: Lens' ReviewActionDetail (Maybe Text)
- reviewActionDetail_actionName :: Lens' ReviewActionDetail (Maybe Text)
- reviewActionDetail_completeTime :: Lens' ReviewActionDetail (Maybe UTCTime)
- reviewActionDetail_errorCode :: Lens' ReviewActionDetail (Maybe Text)
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.
ReviewActionDetail' | |
|
Instances
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_targetType :: Lens' ReviewActionDetail (Maybe Text) Source #
The type of object in TargetId.
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.