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

  • referenceURLs :: Maybe [Text]

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

  • details :: Maybe [Text]

    Additional details about 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.
  • message :: Maybe Text

    A message that describes why the alert was issued.

Instances

Instances details
Eq MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Read MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

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

NFData MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

Methods

rnf :: MigrationAlert -> () #

Hashable MigrationAlert Source # 
Instance details

Defined in Amazonka.LexModels.Types.MigrationAlert

FromJSON 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" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "MigrationAlert'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "referenceURLs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MigrationAlertType)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:referenceURLs:MigrationAlert', migrationAlert_referenceURLs - A link to the Amazon Lex documentation that describes how to resolve the alert.

$sel:details:MigrationAlert', migrationAlert_details - Additional details about 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.

$sel:message:MigrationAlert', migrationAlert_message - 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_details :: Lens' MigrationAlert (Maybe [Text]) Source #

Additional details about 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.

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

A message that describes why the alert was issued.