libZSservicesZSamazonka-cloudsearch-domainsZSamazonka-cloudsearch-domains
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudSearchDomains.Types.SuggestionMatch

Description

 
Synopsis

Documentation

data SuggestionMatch Source #

An autocomplete suggestion that matches the query string specified in a SuggestRequest.

See: newSuggestionMatch smart constructor.

Constructors

SuggestionMatch' 

Fields

Instances

Instances details
Eq SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

Read SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

Show SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

Generic SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

Associated Types

type Rep SuggestionMatch :: Type -> Type #

NFData SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

Methods

rnf :: SuggestionMatch -> () #

Hashable SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

FromJSON SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

type Rep SuggestionMatch Source # 
Instance details

Defined in Amazonka.CloudSearchDomains.Types.SuggestionMatch

type Rep SuggestionMatch = D1 ('MetaData "SuggestionMatch" "Amazonka.CloudSearchDomains.Types.SuggestionMatch" "libZSservicesZSamazonka-cloudsearch-domainsZSamazonka-cloudsearch-domains" 'False) (C1 ('MetaCons "SuggestionMatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "suggestion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.