Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ServiceStatistics = ServiceStatistics' {}
- newServiceStatistics :: ServiceStatistics
- serviceStatistics_faultStatistics :: Lens' ServiceStatistics (Maybe FaultStatistics)
- serviceStatistics_okCount :: Lens' ServiceStatistics (Maybe Integer)
- serviceStatistics_totalResponseTime :: Lens' ServiceStatistics (Maybe Double)
- serviceStatistics_errorStatistics :: Lens' ServiceStatistics (Maybe ErrorStatistics)
- serviceStatistics_totalCount :: Lens' ServiceStatistics (Maybe Integer)
Documentation
data ServiceStatistics Source #
Response statistics for a service.
See: newServiceStatistics
smart constructor.
ServiceStatistics' | |
|
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: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.