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

Class: Aws::MTurk::Types::ReviewPolicy

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

{
  policy_name: "String", # required
  parameters: [
    {
      key: "String",
      values: ["String"],
      map_entries: [
        {
          key: "String",
          values: ["String"],
        },
      ],
    },
  ],
}

HIT Review Policy data structures represent HIT review policies, which you specify when you create a HIT.

Instance Attribute Summary collapse

Instance Attribute Details

#parametersArray<Types::PolicyParameter>

Name of the parameter from the Review policy.

Returns:



2687
2688
2689
2690
2691
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2687

class ReviewPolicy < Struct.new(
  :policy_name,
  :parameters)
  include Aws::Structure
end

#policy_nameString

Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01

Returns:

  • (String)


2687
2688
2689
2690
2691
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2687

class ReviewPolicy < Struct.new(
  :policy_name,
  :parameters)
  include Aws::Structure
end