You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MTurk::Types::ReviewActionDetail

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#action_idString

The unique identifier for the action.

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#action_nameString

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.

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#complete_timeTime

The date when the action was completed.

Returns:

  • (Time)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#error_codeString

Present only when the Results have a FAILED Status.

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#resultString

A description of the outcome of the review.

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#target_idString

The specific HITId or AssignmentID targeted by the action.

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end

#target_typeString

The type of object in TargetId.

Returns:

  • (String)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2638

class ReviewActionDetail < Struct.new(
  :action_id,
  :action_name,
  :target_id,
  :target_type,
  :status,
  :complete_time,
  :result,
  :error_code)
  include Aws::Structure
end