libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.Types.ErrorRootCause

Description

 
Synopsis

Documentation

data ErrorRootCause Source #

The root cause of a trace summary error.

See: newErrorRootCause smart constructor.

Constructors

ErrorRootCause' 

Fields

Instances

Instances details
Eq ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

Read ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

Show ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

Generic ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

Associated Types

type Rep ErrorRootCause :: Type -> Type #

NFData ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

Methods

rnf :: ErrorRootCause -> () #

Hashable ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

FromJSON ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

type Rep ErrorRootCause Source # 
Instance details

Defined in Amazonka.XRay.Types.ErrorRootCause

type Rep ErrorRootCause = D1 ('MetaData "ErrorRootCause" "Amazonka.XRay.Types.ErrorRootCause" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "ErrorRootCause'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientImpacting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ErrorRootCauseService]))))

newErrorRootCause :: ErrorRootCause Source #

Create a value of ErrorRootCause 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:clientImpacting:ErrorRootCause', errorRootCause_clientImpacting - A flag that denotes that the root cause impacts the trace client.

$sel:services:ErrorRootCause', errorRootCause_services - A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

errorRootCause_clientImpacting :: Lens' ErrorRootCause (Maybe Bool) Source #

A flag that denotes that the root cause impacts the trace client.

errorRootCause_services :: Lens' ErrorRootCause (Maybe [ErrorRootCauseService]) Source #

A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.