Slot - Amazon Lex API Reference

Slot

A value that Amazon Lex V2 uses to fulfill an intent.

Contents

shape

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.

Type: String

Valid Values: Scalar | List | Composite

Required: No

subSlots

The constituent sub slots of a composite slot.

Type: String to Slot object map

Key Length Constraints: Minimum length of 1.

Required: No

value

The current value of the slot.

Type: Value object

Required: No

values

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."

Type: Array of Slot objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: