Class: Aws::LexModelBuildingService::Types::SlotDefaultValueSpec

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 SlotDefaultValueSpec data as a hash:

{
  default_value_list: [ # required
    {
      default_value: "SlotDefaultValueString", # required
    },
  ],
}

Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_value_listArray<Types::SlotDefaultValue>

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Returns:



4534
4535
4536
4537
4538
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4534

class SlotDefaultValueSpec < Struct.new(
  :default_value_list)
  SENSITIVE = []
  include Aws::Structure
end