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

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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#hit_idString

The ID of the HIT to extend.

Returns:

  • (String)


276
277
278
279
280
281
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 276

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

#number_of_additional_assignmentsInteger

The number of additional assignments to request for this HIT.

Returns:

  • (Integer)


276
277
278
279
280
281
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 276

class CreateAdditionalAssignmentsForHITRequest < Struct.new(
  :hit_id,
  :number_of_additional_assignments,
  :unique_request_token)
  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)


276
277
278
279
280
281
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 276

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