Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Intent' | |
|
Instances
Eq Intent Source # | |
Read Intent Source # | |
Show Intent Source # | |
Generic Intent Source # | |
NFData Intent Source # | |
Defined in Amazonka.LexModels.Types.Intent | |
Hashable Intent Source # | |
Defined in Amazonka.LexModels.Types.Intent | |
ToJSON Intent Source # | |
Defined in Amazonka.LexModels.Types.Intent | |
FromJSON Intent Source # | |
type Rep Intent Source # | |
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))) |
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.