| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.LexModels.Types.Intent
Description
Synopsis
- data Intent = Intent' {
- intentName :: Text
 - intentVersion :: Text
 
 - newIntent :: Text -> Text -> Intent
 - intent_intentName :: Lens' Intent Text
 - intent_intentVersion :: Lens' Intent Text
 
Documentation
Identifies the specific version of an intent.
See: newIntent smart constructor.
Constructors
| Intent' | |
Fields 
  | |
Instances
| FromJSON Intent Source # | |
| ToJSON Intent Source # | |
Defined in Amazonka.LexModels.Types.Intent  | |
| Generic Intent Source # | |
| Read Intent Source # | |
| Show Intent Source # | |
| NFData Intent Source # | |
Defined in Amazonka.LexModels.Types.Intent  | |
| Eq Intent Source # | |
| Hashable Intent Source # | |
Defined in Amazonka.LexModels.Types.Intent  | |
| type Rep Intent Source # | |
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)))  | |
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.