AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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>)


1034
1035
1036
1037
1038
1039
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1034

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

#valueString

The value of the slot type.

Returns:

  • (String)


1034
1035
1036
1037
1038
1039
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1034

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