| 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.CloudSearchDomains.Types.SuggestModel
Description
Synopsis
- data SuggestModel = SuggestModel' {
- found :: Maybe Integer
- query :: Maybe Text
- suggestions :: Maybe [SuggestionMatch]
- newSuggestModel :: SuggestModel
- suggestModel_found :: Lens' SuggestModel (Maybe Integer)
- suggestModel_query :: Lens' SuggestModel (Maybe Text)
- suggestModel_suggestions :: Lens' SuggestModel (Maybe [SuggestionMatch])
Documentation
data SuggestModel Source #
Container for the suggestion information returned in a
SuggestResponse.
See: newSuggestModel smart constructor.
Constructors
| SuggestModel' | |
Fields
| |
Instances
newSuggestModel :: SuggestModel Source #
Create a value of SuggestModel 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:found:SuggestModel', suggestModel_found - The number of documents that were found to match the query string.
$sel:query:SuggestModel', suggestModel_query - The query string specified in the suggest request.
$sel:suggestions:SuggestModel', suggestModel_suggestions - The documents that match the query string.
suggestModel_found :: Lens' SuggestModel (Maybe Integer) Source #
The number of documents that were found to match the query string.
suggestModel_query :: Lens' SuggestModel (Maybe Text) Source #
The query string specified in the suggest request.
suggestModel_suggestions :: Lens' SuggestModel (Maybe [SuggestionMatch]) Source #
The documents that match the query string.