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.SpellCorrectedQuery

Description

 
Synopsis

Documentation

data SpellCorrectedQuery Source #

A query with suggested spell corrections.

See: newSpellCorrectedQuery smart constructor.

Constructors

SpellCorrectedQuery' 

Fields

Instances

Instances details
FromJSON SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

Generic SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

Associated Types

type Rep SpellCorrectedQuery :: Type -> Type #

Read SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

Show SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

NFData SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

Methods

rnf :: SpellCorrectedQuery -> () #

Eq SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

Hashable SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

type Rep SpellCorrectedQuery Source # 
Instance details

Defined in Amazonka.Kendra.Types.SpellCorrectedQuery

type Rep SpellCorrectedQuery = D1 ('MetaData "SpellCorrectedQuery" "Amazonka.Kendra.Types.SpellCorrectedQuery" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "SpellCorrectedQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "corrections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Correction])) :*: S1 ('MetaSel ('Just "suggestedQueryText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSpellCorrectedQuery :: SpellCorrectedQuery Source #

Create a value of SpellCorrectedQuery 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:corrections:SpellCorrectedQuery', spellCorrectedQuery_corrections - The corrected misspelled word or words in a query.

$sel:suggestedQueryText:SpellCorrectedQuery', spellCorrectedQuery_suggestedQueryText - The query with the suggested spell corrections.

spellCorrectedQuery_corrections :: Lens' SpellCorrectedQuery (Maybe [Correction]) Source #

The corrected misspelled word or words in a query.

spellCorrectedQuery_suggestedQueryText :: Lens' SpellCorrectedQuery (Maybe Text) Source #

The query with the suggested spell corrections.