amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.Suggestion

Description

 
Synopsis

Documentation

data Suggestion Source #

A single query suggestion.

See: newSuggestion smart constructor.

Constructors

Suggestion' 

Fields

  • id :: Maybe Text

    The UUID (universally unique identifier) of a single query suggestion.

  • value :: Maybe SuggestionValue

    The value for the UUID (universally unique identifier) of a single query suggestion.

    The value is the text string of a suggestion.

Instances

Instances details
FromJSON Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

Generic Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

Associated Types

type Rep Suggestion :: Type -> Type #

Read Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

Show Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

NFData Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

Methods

rnf :: Suggestion -> () #

Eq Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

Hashable Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

type Rep Suggestion Source # 
Instance details

Defined in Amazonka.Kendra.Types.Suggestion

type Rep Suggestion = D1 ('MetaData "Suggestion" "Amazonka.Kendra.Types.Suggestion" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "Suggestion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SuggestionValue))))

newSuggestion :: Suggestion Source #

Create a value of Suggestion 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:id:Suggestion', suggestion_id - The UUID (universally unique identifier) of a single query suggestion.

$sel:value:Suggestion', suggestion_value - The value for the UUID (universally unique identifier) of a single query suggestion.

The value is the text string of a suggestion.

suggestion_id :: Lens' Suggestion (Maybe Text) Source #

The UUID (universally unique identifier) of a single query suggestion.

suggestion_value :: Lens' Suggestion (Maybe SuggestionValue) Source #

The value for the UUID (universally unique identifier) of a single query suggestion.

The value is the text string of a suggestion.