Class: Aws::LexRuntimeV2::Types::Slot
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::Slot
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexruntimev2/types.rb
Overview
A value that Amazon Lex V2 uses to fulfill an intent.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#shape ⇒ String
When the ‘shape` value is `List`, it indicates that the `values` field contains a list of slot values.
-
#sub_slots ⇒ Hash<String,Types::Slot>
The constituent sub slots of a composite slot.
-
#value ⇒ Types::Value
The current value of the slot.
-
#values ⇒ Array<Types::Slot>
A list of one or more values that the user provided for the slot.
Instance Attribute Details
#shape ⇒ String
When the ‘shape` value is `List`, it indicates that the `values` field contains a list of slot values. When the value is `Scalar`, it indicates that the `value` field contains a single value.
1554 1555 1556 1557 1558 1559 1560 1561 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1554 class Slot < Struct.new( :value, :shape, :values, :sub_slots) SENSITIVE = [] include Aws::Structure end |
#sub_slots ⇒ Hash<String,Types::Slot>
The constituent sub slots of a composite slot.
1554 1555 1556 1557 1558 1559 1560 1561 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1554 class Slot < Struct.new( :value, :shape, :values, :sub_slots) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Types::Value
The current value of the slot.
1554 1555 1556 1557 1558 1559 1560 1561 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1554 class Slot < Struct.new( :value, :shape, :values, :sub_slots) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<Types::Slot>
A list of one or more values that the user provided for the slot. For example, if a for a slot that elicits pizza toppings, the values might be “pepperoni” and “pineapple.”
1554 1555 1556 1557 1558 1559 1560 1561 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1554 class Slot < Struct.new( :value, :shape, :values, :sub_slots) SENSITIVE = [] include Aws::Structure end |