libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
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.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
Eq Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Methods

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

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

Read Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Show 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 #

NFData Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Methods

rnf :: Intent -> () #

Hashable Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

Methods

hashWithSalt :: Int -> Intent -> Int #

hash :: Intent -> Int #

ToJSON Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

FromJSON Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

type Rep Intent Source # 
Instance details

Defined in Amazonka.LexModels.Types.Intent

type Rep Intent = D1 ('MetaData "Intent" "Amazonka.LexModels.Types.Intent" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" '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.