Class: Aws::LexModelBuildingService::Types::EnumerationValue

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

Overview

Note:

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

{
  value: "Value", # required
  synonyms: ["Value"],
}

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.

For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values

  • thick

  • thin

  • stuffed

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#synonymsArray<String>

Additional values related to the slot type value.

Returns:

  • (Array<String>)


1007
1008
1009
1010
1011
1012
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1007

class EnumerationValue < Struct.new(
  :value,
  :synonyms)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the slot type.

Returns:

  • (String)


1007
1008
1009
1010
1011
1012
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1007

class EnumerationValue < Struct.new(
  :value,
  :synonyms)
  SENSITIVE = []
  include Aws::Structure
end