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
- Struct
- Aws::Kendra::Types::TextWithHighlights
- Defined in:
- (unknown)
Overview
Provides text and information about where to highlight the text.
Returned by:
Instance Attribute Summary collapse
-
#highlights ⇒ Array<Types::Highlight>
The beginning and end of the text that should be highlighted.
-
#text ⇒ String
The text to display to the user.
Instance Attribute Details
#highlights ⇒ Array<Types::Highlight>
The beginning and end of the text that should be highlighted.
#text ⇒ String
The text to display to the user.