Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data SuggestionMatch Source #
An autocomplete suggestion that matches the query string specified in a
SuggestRequest
.
See: newSuggestionMatch
smart constructor.
Instances
newSuggestionMatch :: SuggestionMatch Source #
Create a value of SuggestionMatch
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:suggestion:SuggestionMatch'
, suggestionMatch_suggestion
- The string that matches the query string specified in the
SuggestRequest
.
$sel:score:SuggestionMatch'
, suggestionMatch_score
- The relevance score of a suggested match.
$sel:id:SuggestionMatch'
, suggestionMatch_id
- The document ID of the suggested document.
suggestionMatch_suggestion :: Lens' SuggestionMatch (Maybe Text) Source #
The string that matches the query string specified in the
SuggestRequest
.
suggestionMatch_score :: Lens' SuggestionMatch (Maybe Integer) Source #
The relevance score of a suggested match.
suggestionMatch_id :: Lens' SuggestionMatch (Maybe Text) Source #
The document ID of the suggested document.