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:



8864
8865
8866
8867
8868
8869
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 8864

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

#textString

The text to display to the user.

Returns:

  • (String)


8864
8865
8866
8867
8868
8869
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 8864

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