libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.ErrorDetail

Description

 
Synopsis

Documentation

data ErrorDetail Source #

Contains details about an error.

See: newErrorDetail smart constructor.

Constructors

ErrorDetail' 

Fields

Instances

Instances details
Eq ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

Read ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

Show ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

Generic ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

Associated Types

type Rep ErrorDetail :: Type -> Type #

NFData ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

Methods

rnf :: ErrorDetail -> () #

Hashable ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

FromJSON ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

type Rep ErrorDetail Source # 
Instance details

Defined in Amazonka.Glue.Types.ErrorDetail

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

newErrorDetail :: ErrorDetail Source #

Create a value of ErrorDetail 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:ErrorDetail', errorDetail_errorCode - The code associated with this error.

$sel:errorMessage:ErrorDetail', errorDetail_errorMessage - A message describing the error.

errorDetail_errorCode :: Lens' ErrorDetail (Maybe Text) Source #

The code associated with this error.

errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text) Source #

A message describing the error.