Class: Aws::LexRuntimeV2::Types::Slot

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#shapeString

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.

Returns:

  • (String)


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_slotsHash<String,Types::Slot>

The constituent sub slots of a composite slot.

Returns:



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

#valueTypes::Value

The current value of the slot.

Returns:



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

#valuesArray<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.”

Returns:



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