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

Class: Aws::MTurk::Types::HITLayoutParameter

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 HITLayoutParameter data as a hash:

{
  name: "String", # required
  value: "String", # required
}

The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the parameter in the HITLayout.

Returns:

  • (String)


1385
1386
1387
1388
1389
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1385

class HITLayoutParameter < Struct.new(
  :name,
  :value)
  include Aws::Structure
end

#valueString

The value substituted for the parameter referenced in the HITLayout.

Returns:

  • (String)


1385
1386
1387
1388
1389
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1385

class HITLayoutParameter < Struct.new(
  :name,
  :value)
  include Aws::Structure
end