libZSservicesZSamazonka-lex-runtimeZSamazonka-lex-runtime
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.LexRuntime.Types.PredictedIntent

Description

 
Synopsis

Documentation

data PredictedIntent Source #

An intent that Amazon Lex suggests satisfies the user's intent. Includes the name of the intent, the confidence that Amazon Lex has that the user's intent is satisfied, and the slots defined for the intent.

See: newPredictedIntent smart constructor.

Constructors

PredictedIntent' 

Fields

Instances

Instances details
Eq PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

Show PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

Generic PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

Associated Types

type Rep PredictedIntent :: Type -> Type #

NFData PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

Methods

rnf :: PredictedIntent -> () #

Hashable PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

FromJSON PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

type Rep PredictedIntent Source # 
Instance details

Defined in Amazonka.LexRuntime.Types.PredictedIntent

type Rep PredictedIntent = D1 ('MetaData "PredictedIntent" "Amazonka.LexRuntime.Types.PredictedIntent" "libZSservicesZSamazonka-lex-runtimeZSamazonka-lex-runtime" 'False) (C1 ('MetaCons "PredictedIntent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nluIntentConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntentConfidence)) :*: (S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "intentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPredictedIntent :: PredictedIntent Source #

Create a value of PredictedIntent 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:nluIntentConfidence:PredictedIntent', predictedIntent_nluIntentConfidence - Indicates how confident Amazon Lex is that an intent satisfies the user's intent.

$sel:slots:PredictedIntent', predictedIntent_slots - The slot and slot values associated with the predicted intent.

$sel:intentName:PredictedIntent', predictedIntent_intentName - The name of the intent that Amazon Lex suggests satisfies the user's intent.

predictedIntent_nluIntentConfidence :: Lens' PredictedIntent (Maybe IntentConfidence) Source #

Indicates how confident Amazon Lex is that an intent satisfies the user's intent.

predictedIntent_slots :: Lens' PredictedIntent (Maybe (HashMap Text Text)) Source #

The slot and slot values associated with the predicted intent.

predictedIntent_intentName :: Lens' PredictedIntent (Maybe Text) Source #

The name of the intent that Amazon Lex suggests satisfies the user's intent.