Class: Aws::MTurk::Types::HIT

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

Overview

The HIT data structure represents a single HIT, including all the information necessary for a Worker to accept and complete the HIT.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_duration_in_secondsInteger

The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

Returns:

  • (Integer)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#auto_approval_delay_in_secondsInteger

The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

Returns:

  • (Integer)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The date and time the HIT was created.

Returns:

  • (Time)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A general description of the HIT.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#expirationTime

The date and time the HIT expires.

Returns:

  • (Time)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#hit_group_idString

The ID of the HIT Group of this HIT.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#hit_idString

A unique identifier for the HIT.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#hit_layout_idString

The ID of the HIT Layout of this HIT.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#hit_review_statusString

Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#hit_statusString

The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#hit_type_idString

The ID of the HIT type of this HIT

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#keywordsString

One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#max_assignmentsInteger

The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

Returns:

  • (Integer)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_assignments_availableInteger

The number of assignments for this HIT that are available for Workers to accept.

Returns:

  • (Integer)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_assignments_completedInteger

The number of assignments for this HIT that have been approved or rejected.

Returns:

  • (Integer)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_assignments_pendingInteger

The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

Returns:

  • (Integer)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#qualification_requirementsArray<Types::QualificationRequirement>

Conditions that a Worker’s Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ‘ActionsGuarded` field on each `QualificationRequirement` structure.



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#questionString

The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#requester_annotationString

An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#rewardString

A string representing a currency amount.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title of the HIT.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/aws-sdk-mturk/types.rb', line 1108

class HIT < Struct.new(
  :hit_id,
  :hit_type_id,
  :hit_group_id,
  :hit_layout_id,
  :creation_time,
  :title,
  :description,
  :question,
  :keywords,
  :hit_status,
  :max_assignments,
  :reward,
  :auto_approval_delay_in_seconds,
  :expiration,
  :assignment_duration_in_seconds,
  :requester_annotation,
  :qualification_requirements,
  :hit_review_status,
  :number_of_assignments_pending,
  :number_of_assignments_available,
  :number_of_assignments_completed)
  SENSITIVE = []
  include Aws::Structure
end