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

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 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:


6121
6122
6123
6124
6125
6126
# File 'lib/aws-sdk-kendra/types.rb', line 6121

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

#textString

The text to display to the user.

Returns:

  • (String)

6121
6122
6123
6124
6125
6126
# File 'lib/aws-sdk-kendra/types.rb', line 6121

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