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

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

Instance Attribute Summary collapse

Instance Attribute Details

#synonymsArray<String>

Additional values related to the slot type value.

Returns:

  • (Array<String>)


836
837
838
839
840
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 836

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

#valueString

The value of the slot type.

Returns:

  • (String)


836
837
838
839
840
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 836

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