Class: Aws::MTurk::Types::CreateAdditionalAssignmentsForHITRequest

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

Overview

Note:

When making an API call, you may pass CreateAdditionalAssignmentsForHITRequest data as a hash:

{
  hit_id: "EntityId", # required
  number_of_additional_assignments: 1, # required
  unique_request_token: "IdempotencyToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hit_idString

The ID of the HIT to extend.

Returns:

  • (String)


283
284
285
286
287
288
289
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 283

class CreateAdditionalAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :number_of_additional_assignments,
  :unique_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_additional_assignmentsInteger

The number of additional assignments to request for this HIT.

Returns:

  • (Integer)


283
284
285
286
287
288
289
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 283

class CreateAdditionalAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :number_of_additional_assignments,
  :unique_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#unique_request_tokenString

A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Returns:

  • (String)


283
284
285
286
287
288
289
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 283

class CreateAdditionalAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :number_of_additional_assignments,
  :unique_request_token)
  SENSITIVE = []
  include Aws::Structure
end