libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.Types.DetailedError

Description

 
Synopsis

Documentation

data DetailedError Source #

Contains detailed error information.

See: newDetailedError smart constructor.

Constructors

DetailedError' 

Fields

Instances

Instances details
Eq DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

Read DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

Show DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

Generic DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

Associated Types

type Rep DetailedError :: Type -> Type #

NFData DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

Methods

rnf :: DetailedError -> () #

Hashable DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

FromJSON DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

type Rep DetailedError Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.DetailedError

type Rep DetailedError = D1 ('MetaData "DetailedError" "Amazonka.IoTSiteWise.Types.DetailedError" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DetailedError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DetailedErrorCode) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDetailedError Source #

Create a value of DetailedError 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:code:DetailedError', detailedError_code - The error code.

$sel:message:DetailedError', detailedError_message - The error message.