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 SamplingStatisticsDocument = SamplingStatisticsDocument' {
- borrowCount :: Maybe Natural
- ruleName :: Text
- clientID :: Text
- timestamp :: POSIX
- requestCount :: Natural
- sampledCount :: Natural
- newSamplingStatisticsDocument :: Text -> Text -> UTCTime -> Natural -> Natural -> SamplingStatisticsDocument
- samplingStatisticsDocument_borrowCount :: Lens' SamplingStatisticsDocument (Maybe Natural)
- samplingStatisticsDocument_ruleName :: Lens' SamplingStatisticsDocument Text
- samplingStatisticsDocument_clientID :: Lens' SamplingStatisticsDocument Text
- samplingStatisticsDocument_timestamp :: Lens' SamplingStatisticsDocument UTCTime
- samplingStatisticsDocument_requestCount :: Lens' SamplingStatisticsDocument Natural
- samplingStatisticsDocument_sampledCount :: Lens' SamplingStatisticsDocument Natural
Documentation
data SamplingStatisticsDocument Source #
Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
See: newSamplingStatisticsDocument
smart constructor.
SamplingStatisticsDocument' | |
|
Instances
newSamplingStatisticsDocument Source #
Create a value of SamplingStatisticsDocument
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:borrowCount:SamplingStatisticsDocument'
, samplingStatisticsDocument_borrowCount
- The number of requests recorded with borrowed reservoir quota.
$sel:ruleName:SamplingStatisticsDocument'
, samplingStatisticsDocument_ruleName
- The name of the sampling rule.
$sel:clientID:SamplingStatisticsDocument'
, samplingStatisticsDocument_clientID
- A unique identifier for the service in hexadecimal.
$sel:timestamp:SamplingStatisticsDocument'
, samplingStatisticsDocument_timestamp
- The current time.
$sel:requestCount:SamplingStatisticsDocument'
, samplingStatisticsDocument_requestCount
- The number of requests that matched the rule.
$sel:sampledCount:SamplingStatisticsDocument'
, samplingStatisticsDocument_sampledCount
- The number of requests recorded.
samplingStatisticsDocument_borrowCount :: Lens' SamplingStatisticsDocument (Maybe Natural) Source #
The number of requests recorded with borrowed reservoir quota.
samplingStatisticsDocument_ruleName :: Lens' SamplingStatisticsDocument Text Source #
The name of the sampling rule.
samplingStatisticsDocument_clientID :: Lens' SamplingStatisticsDocument Text Source #
A unique identifier for the service in hexadecimal.
samplingStatisticsDocument_timestamp :: Lens' SamplingStatisticsDocument UTCTime Source #
The current time.
samplingStatisticsDocument_requestCount :: Lens' SamplingStatisticsDocument Natural Source #
The number of requests that matched the rule.
samplingStatisticsDocument_sampledCount :: Lens' SamplingStatisticsDocument Natural Source #
The number of requests recorded.