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.MigrationAlert

Description

 
Synopsis

Documentation

data MigrationAlert Source #

Provides information about alerts and warnings that Amazon Lex sends during a migration. The alerts include information about how to resolve the issue.

See: newMigrationAlert smart constructor.

Constructors

MigrationAlert' 

Fields

  • details :: Maybe [Text]

    Additional details about the alert.

  • message :: Maybe Text

    A message that describes why the alert was issued.

  • referenceURLs :: Maybe [Text]

    A link to the Amazon Lex documentation that describes how to resolve the alert.

  • type' :: Maybe MigrationAlertType

    The type of alert. There are two kinds of alerts:

    • ERROR - There was an issue with the migration that can't be resolved. The migration stops.
    • WARN - There was an issue with the migration that requires manual changes to the new Amazon Lex V2 bot. The migration continues.

Instances

Instances details
FromJSON MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Generic MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Associated Types

type Rep MigrationAlert :: Type -> Type #

Read MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Show MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

NFData MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Methods

rnf :: MigrationAlert -> () #

Eq MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Hashable MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

type Rep MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

type Rep MigrationAlert = D1 ('MetaData "MigrationAlert" "Amazonka.LexModels.Types.MigrationAlert" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "MigrationAlert'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "referenceURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MigrationAlertType)))))

newMigrationAlert :: MigrationAlert Source #

Create a value of MigrationAlert 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:details:MigrationAlert', migrationAlert_details - Additional details about the alert.

$sel:message:MigrationAlert', migrationAlert_message - A message that describes why the alert was issued.

$sel:referenceURLs:MigrationAlert', migrationAlert_referenceURLs - A link to the Amazon Lex documentation that describes how to resolve the alert.

$sel:type':MigrationAlert', migrationAlert_type - The type of alert. There are two kinds of alerts:

  • ERROR - There was an issue with the migration that can't be resolved. The migration stops.
  • WARN - There was an issue with the migration that requires manual changes to the new Amazon Lex V2 bot. The migration continues.

migrationAlert_details :: Lens' MigrationAlert (Maybe [Text]) Source #

Additional details about the alert.

migrationAlert_message :: Lens' MigrationAlert (Maybe Text) Source #

A message that describes why the alert was issued.

migrationAlert_referenceURLs :: Lens' MigrationAlert (Maybe [Text]) Source #

A link to the Amazon Lex documentation that describes how to resolve the alert.

migrationAlert_type :: Lens' MigrationAlert (Maybe MigrationAlertType) Source #

The type of alert. There are two kinds of alerts:

  • ERROR - There was an issue with the migration that can't be resolved. The migration stops.
  • WARN - There was an issue with the migration that requires manual changes to the new Amazon Lex V2 bot. The migration continues.