| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kendra.Types.SuggestionHighlight
Description
Documentation
data SuggestionHighlight Source #
The text highlights for a single query suggestion.
See: newSuggestionHighlight smart constructor.
Constructors
| SuggestionHighlight' | |
Instances
newSuggestionHighlight :: SuggestionHighlight Source #
Create a value of SuggestionHighlight with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:beginOffset:SuggestionHighlight', suggestionHighlight_beginOffset - The zero-based location in the response string where the highlight
starts.
$sel:endOffset:SuggestionHighlight', suggestionHighlight_endOffset - The zero-based location in the response string where the highlight ends.
suggestionHighlight_beginOffset :: Lens' SuggestionHighlight (Maybe Int) Source #
The zero-based location in the response string where the highlight starts.
suggestionHighlight_endOffset :: Lens' SuggestionHighlight (Maybe Int) Source #
The zero-based location in the response string where the highlight ends.