class Aws::LexRuntimeV2::Types::Slot

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

@note When making an API call, you may pass Slot

data as a hash:

    {
      value: {
        original_value: "NonEmptyString",
        interpreted_value: "NonEmptyString", # required
        resolved_values: ["NonEmptyString"],
      },
      shape: "Scalar", # accepts Scalar, List
      values: [
        {
          value: {
            original_value: "NonEmptyString",
            interpreted_value: "NonEmptyString", # required
            resolved_values: ["NonEmptyString"],
          },
          shape: "Scalar", # accepts Scalar, List
          values: {
            # recursive Values
          },
        },
      ],
    }

@!attribute [rw] value

The current value of the slot.
@return [Types::Value]

@!attribute [rw] 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.
@return [String]

@!attribute [rw] 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."
@return [Array<Types::Slot>]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/Slot AWS API Documentation

Constants

SENSITIVE