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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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)


2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2683

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