Module Values.ReviewActionDetailSource

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.

Sourcetype nonrec t = {
  1. actionId : EntityId.t option;
    (*

    The unique identifier for the action.

    *)
  2. actionName : String_.t option;
    (*

    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.

    *)
  3. targetId : EntityId.t option;
    (*

    The specific HITId or AssignmentID targeted by the action.

    *)
  4. targetType : String_.t option;
    (*

    The type of object in TargetId.

    *)
  5. status : ReviewActionStatus.t option;
    (*

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

    *)
  6. completeTime : Timestamp.t option;
    (*

    The date when the action was completed.

    *)
  7. result : String_.t option;
    (*

    A description of the outcome of the review.

    *)
  8. errorCode : String_.t option;
    (*

    Present only when the Results have a FAILED Status.

    *)
}
Sourceval make : ?actionId:??? -> ?actionName:??? -> ?targetId:??? -> ?targetType:??? -> ?status:??? -> ?completeTime:??? -> ?result:??? -> ?errorCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of EntityId.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t