amazonka-lex-models-2.0: Amazon Lex Model Building Service 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.LexModels.Types.Intent

Description

 
Synopsis

Documentation

data Intent Source #

Identifies the specific version of an intent.

See: newIntent smart constructor.

Constructors

Intent' 

Fields

Instances

Instances details
FromJSON Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

ToJSON Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Generic Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Associated Types

type Rep Intent :: Type -> Type #

Methods

from :: Intent -> Rep Intent x #

to :: Rep Intent x -> Intent #

Read Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Show Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

NFData Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Methods

rnf :: Intent -> () #

Eq Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Methods

(==) :: Intent -> Intent -> Bool #

(/=) :: Intent -> Intent -> Bool #

Hashable Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Methods

hashWithSalt :: Int -> Intent -> Int #

hash :: Intent -> Int #

type Rep Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

type Rep Intent = D1 ('MetaData "Intent" "Amazonka.LexModels.Types.Intent" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "Intent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "intentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "intentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIntent Source #

Create a value of Intent 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:intentName:Intent', intent_intentName - The name of the intent.

$sel:intentVersion:Intent', intent_intentVersion - The version of the intent.

intent_intentName :: Lens' Intent Text Source #

The name of the intent.

intent_intentVersion :: Lens' Intent Text Source #

The version of the intent.