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 SamplingStatisticSummary = SamplingStatisticSummary' {
- requestCount :: Maybe Int
- borrowCount :: Maybe Int
- ruleName :: Maybe Text
- timestamp :: Maybe POSIX
- sampledCount :: Maybe Int
- newSamplingStatisticSummary :: SamplingStatisticSummary
- samplingStatisticSummary_requestCount :: Lens' SamplingStatisticSummary (Maybe Int)
- samplingStatisticSummary_borrowCount :: Lens' SamplingStatisticSummary (Maybe Int)
- samplingStatisticSummary_ruleName :: Lens' SamplingStatisticSummary (Maybe Text)
- samplingStatisticSummary_timestamp :: Lens' SamplingStatisticSummary (Maybe UTCTime)
- samplingStatisticSummary_sampledCount :: Lens' SamplingStatisticSummary (Maybe Int)
Documentation
data SamplingStatisticSummary Source #
Aggregated request sampling data for a sampling rule across all services for a 10-second window.
See: newSamplingStatisticSummary
smart constructor.
SamplingStatisticSummary' | |
|
Instances
newSamplingStatisticSummary :: SamplingStatisticSummary Source #
Create a value of SamplingStatisticSummary
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:requestCount:SamplingStatisticSummary'
, samplingStatisticSummary_requestCount
- The number of requests that matched the rule.
$sel:borrowCount:SamplingStatisticSummary'
, samplingStatisticSummary_borrowCount
- The number of requests recorded with borrowed reservoir quota.
$sel:ruleName:SamplingStatisticSummary'
, samplingStatisticSummary_ruleName
- The name of the sampling rule.
$sel:timestamp:SamplingStatisticSummary'
, samplingStatisticSummary_timestamp
- The start time of the reporting window.
$sel:sampledCount:SamplingStatisticSummary'
, samplingStatisticSummary_sampledCount
- The number of requests recorded.
samplingStatisticSummary_requestCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #
The number of requests that matched the rule.
samplingStatisticSummary_borrowCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #
The number of requests recorded with borrowed reservoir quota.
samplingStatisticSummary_ruleName :: Lens' SamplingStatisticSummary (Maybe Text) Source #
The name of the sampling rule.
samplingStatisticSummary_timestamp :: Lens' SamplingStatisticSummary (Maybe UTCTime) Source #
The start time of the reporting window.
samplingStatisticSummary_sampledCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #
The number of requests recorded.