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.ServiceStatistics

Description

 
Synopsis

Documentation

data ServiceStatistics Source #

Response statistics for a service.

See: newServiceStatistics smart constructor.

Constructors

ServiceStatistics' 

Fields

Instances

Instances details
Eq ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

Read ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

Show ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

Generic ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

Associated Types

type Rep ServiceStatistics :: Type -> Type #

NFData ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

Methods

rnf :: ServiceStatistics -> () #

Hashable ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

FromJSON ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

type Rep ServiceStatistics Source # 
Instance details

Defined in Amazonka.XRay.Types.ServiceStatistics

type Rep ServiceStatistics = D1 ('MetaData "ServiceStatistics" "Amazonka.XRay.Types.ServiceStatistics" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "ServiceStatistics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "faultStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FaultStatistics)) :*: S1 ('MetaSel ('Just "okCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "totalResponseTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "errorStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorStatistics)) :*: S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newServiceStatistics :: ServiceStatistics Source #

Create a value of ServiceStatistics 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:faultStatistics:ServiceStatistics', serviceStatistics_faultStatistics - Information about requests that failed with a 5xx Server Error status code.

$sel:okCount:ServiceStatistics', serviceStatistics_okCount - The number of requests that completed with a 2xx Success status code.

$sel:totalResponseTime:ServiceStatistics', serviceStatistics_totalResponseTime - The aggregate response time of completed requests.

$sel:errorStatistics:ServiceStatistics', serviceStatistics_errorStatistics - Information about requests that failed with a 4xx Client Error status code.

$sel:totalCount:ServiceStatistics', serviceStatistics_totalCount - The total number of completed requests.

serviceStatistics_faultStatistics :: Lens' ServiceStatistics (Maybe FaultStatistics) Source #

Information about requests that failed with a 5xx Server Error status code.

serviceStatistics_okCount :: Lens' ServiceStatistics (Maybe Integer) Source #

The number of requests that completed with a 2xx Success status code.

serviceStatistics_totalResponseTime :: Lens' ServiceStatistics (Maybe Double) Source #

The aggregate response time of completed requests.

serviceStatistics_errorStatistics :: Lens' ServiceStatistics (Maybe ErrorStatistics) Source #

Information about requests that failed with a 4xx Client Error status code.

serviceStatistics_totalCount :: Lens' ServiceStatistics (Maybe Integer) Source #

The total number of completed requests.