libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.ErrorInfo

Description

 
Synopsis

Documentation

data ErrorInfo Source #

Error information.

See: newErrorInfo smart constructor.

Constructors

ErrorInfo' 

Fields

Instances

Instances details
Eq ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

Read ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

Show ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

Generic ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

Associated Types

type Rep ErrorInfo :: Type -> Type #

NFData ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

Methods

rnf :: ErrorInfo -> () #

Hashable ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

FromJSON ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

type Rep ErrorInfo Source # 
Instance details

Defined in Amazonka.IoT.Types.ErrorInfo

type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.IoT.Types.ErrorInfo" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newErrorInfo :: ErrorInfo Source #

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

$sel:message:ErrorInfo', errorInfo_message - The error message.