| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.XRay.Types.ServiceStatistics
Description
Synopsis
- data ServiceStatistics = ServiceStatistics' {}
- newServiceStatistics :: ServiceStatistics
- serviceStatistics_errorStatistics :: Lens' ServiceStatistics (Maybe ErrorStatistics)
- serviceStatistics_faultStatistics :: Lens' ServiceStatistics (Maybe FaultStatistics)
- serviceStatistics_okCount :: Lens' ServiceStatistics (Maybe Integer)
- serviceStatistics_totalCount :: Lens' ServiceStatistics (Maybe Integer)
- serviceStatistics_totalResponseTime :: Lens' ServiceStatistics (Maybe Double)
Documentation
data ServiceStatistics Source #
Response statistics for a service.
See: newServiceStatistics smart constructor.
Constructors
| ServiceStatistics' | |
Fields
| |
Instances
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:errorStatistics:ServiceStatistics', serviceStatistics_errorStatistics - Information about requests that failed with a 4xx Client Error status
code.
$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.
ServiceStatistics, serviceStatistics_totalCount - The total number of completed requests.
$sel:totalResponseTime:ServiceStatistics', serviceStatistics_totalResponseTime - 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_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_totalCount :: Lens' ServiceStatistics (Maybe Integer) Source #
The total number of completed requests.
serviceStatistics_totalResponseTime :: Lens' ServiceStatistics (Maybe Double) Source #
The aggregate response time of completed requests.