Class: Aws::Kendra::Types::SuggestionTextWithHighlights

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

Provides text and information about where to highlight the query suggestion text.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#highlightsArray<Types::SuggestionHighlight>

The beginning and end of the query suggestion text that should be highlighted.

Returns:



10143
10144
10145
10146
10147
10148
# File 'lib/aws-sdk-kendra/types.rb', line 10143

class SuggestionTextWithHighlights < Struct.new(
  :text,
  :highlights)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The query suggestion text to display to the user.

Returns:

  • (String)


10143
10144
10145
10146
10147
10148
# File 'lib/aws-sdk-kendra/types.rb', line 10143

class SuggestionTextWithHighlights < Struct.new(
  :text,
  :highlights)
  SENSITIVE = []
  include Aws::Structure
end