You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Provides text and information about where to highlight the text.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#highlightsArray<Types::Highlight>

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

Returns:

  • (Array<Types::Highlight>)

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

#textString

The text to display to the user.

Returns:

  • (String)

    The text to display to the user.