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:



12574
12575
12576
12577
12578
12579
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 12574

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

#textString

The text to display to the user.

Returns:

  • (String)


12574
12575
12576
12577
12578
12579
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 12574

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