Class: Aws::Kendra::Types::TextWithHighlights

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

Overview

Provides text and information about where to highlight the text.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#highlightsArray<Types::Highlight>

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

Returns:



10338
10339
10340
10341
10342
10343
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 10338

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

#textString

The text to display to the user.

Returns:

  • (String)


10338
10339
10340
10341
10342
10343
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 10338

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