libZSservicesZSamazonka-kafkaZSamazonka-kafka
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.Kafka.Types.ErrorInfo

Description

 
Synopsis

Documentation

data ErrorInfo Source #

Returns information about an error state of the cluster.

See: newErrorInfo smart constructor.

Constructors

ErrorInfo' 

Fields

Instances

Instances details
Eq ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

Read ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

Show ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

Generic ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

Associated Types

type Rep ErrorInfo :: Type -> Type #

NFData ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

Methods

rnf :: ErrorInfo -> () #

Hashable ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

FromJSON ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

type Rep ErrorInfo Source # 
Instance details

Defined in Amazonka.Kafka.Types.ErrorInfo

type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.Kafka.Types.ErrorInfo" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorCode") '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:errorString:ErrorInfo', errorInfo_errorString - An optional field to provide more details about the error.

$sel:errorCode:ErrorInfo', errorInfo_errorCode - A number describing the error programmatically.

errorInfo_errorString :: Lens' ErrorInfo (Maybe Text) Source #

An optional field to provide more details about the error.

errorInfo_errorCode :: Lens' ErrorInfo (Maybe Text) Source #

A number describing the error programmatically.