Class: Aws::LexRuntimeV2::Types::Value

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb

Overview

Information about the value provided for a slot and Amazon Lex V2's interpretation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#interpreted_valueString

The value that Amazon Lex V2 determines for the slot, given the user input. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.

Returns:

  • (String)


1743
1744
1745
1746
1747
1748
1749
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1743

class Value < Struct.new(
  :original_value,
  :interpreted_value,
  :resolved_values)
  SENSITIVE = []
  include Aws::Structure
end

#original_valueString

The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.

Returns:

  • (String)


1743
1744
1745
1746
1747
1748
1749
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1743

class Value < Struct.new(
  :original_value,
  :interpreted_value,
  :resolved_values)
  SENSITIVE = []
  include Aws::Structure
end

#resolved_valuesArray<String>

A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the interpretedValue.

Returns:

  • (Array<String>)


1743
1744
1745
1746
1747
1748
1749
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1743

class Value < Struct.new(
  :original_value,
  :interpreted_value,
  :resolved_values)
  SENSITIVE = []
  include Aws::Structure
end