libZSservicesZSamazonka-mwaaZSamazonka-mwaa
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.MwAA.Types.UpdateError

Description

 
Synopsis

Documentation

data UpdateError Source #

An object containing the error encountered with the last update: ErrorCode, ErrorMessage.

See: newUpdateError smart constructor.

Constructors

UpdateError' 

Fields

Instances

Instances details
Eq UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

Read UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

Show UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

Generic UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

Associated Types

type Rep UpdateError :: Type -> Type #

NFData UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

Methods

rnf :: UpdateError -> () #

Hashable UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

FromJSON UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

type Rep UpdateError Source # 
Instance details

Defined in Amazonka.MwAA.Types.UpdateError

type Rep UpdateError = D1 ('MetaData "UpdateError" "Amazonka.MwAA.Types.UpdateError" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "UpdateError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newUpdateError :: UpdateError Source #

Create a value of UpdateError 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:errorCode:UpdateError', updateError_errorCode - The error code that corresponds to the error with the last update.

$sel:errorMessage:UpdateError', updateError_errorMessage - The error message that corresponds to the error code.

updateError_errorCode :: Lens' UpdateError (Maybe Text) Source #

The error code that corresponds to the error with the last update.

updateError_errorMessage :: Lens' UpdateError (Maybe Text) Source #

The error message that corresponds to the error code.