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

Class: Aws::MTurk::Types::PolicyParameter

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

{
  key: "String",
  values: ["String"],
  map_entries: [
    {
      key: "String",
      values: ["String"],
    },
  ],
}

Name of the parameter from the Review policy.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Name of the parameter from the list of Review Polices.

Returns:

  • (String)


2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2245

class PolicyParameter < Struct.new(
  :key,
  :values,
  :map_entries)
  include Aws::Structure
end

#map_entriesArray<Types::ParameterMapEntry>

List of ParameterMapEntry objects.

Returns:



2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2245

class PolicyParameter < Struct.new(
  :key,
  :values,
  :map_entries)
  include Aws::Structure
end

#valuesArray<String>

The list of values of the Parameter

Returns:

  • (Array<String>)


2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2245

class PolicyParameter < Struct.new(
  :key,
  :values,
  :map_entries)
  include Aws::Structure
end