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:



10401
10402
10403
10404
10405
10406
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 10401

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

#textString

The text to display to the user.

Returns:

  • (String)


10401
10402
10403
10404
10405
10406
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 10401

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