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 |
Requests a sampling quota for rules that the service is using to sample requests.
Synopsis
- data GetSamplingTargets = GetSamplingTargets' {}
- newGetSamplingTargets :: GetSamplingTargets
- getSamplingTargets_samplingStatisticsDocuments :: Lens' GetSamplingTargets [SamplingStatisticsDocument]
- data GetSamplingTargetsResponse = GetSamplingTargetsResponse' {}
- newGetSamplingTargetsResponse :: Int -> GetSamplingTargetsResponse
- getSamplingTargetsResponse_unprocessedStatistics :: Lens' GetSamplingTargetsResponse (Maybe [UnprocessedStatistics])
- getSamplingTargetsResponse_lastRuleModification :: Lens' GetSamplingTargetsResponse (Maybe UTCTime)
- getSamplingTargetsResponse_samplingTargetDocuments :: Lens' GetSamplingTargetsResponse (Maybe [SamplingTargetDocument])
- getSamplingTargetsResponse_httpStatus :: Lens' GetSamplingTargetsResponse Int
Creating a Request
data GetSamplingTargets Source #
See: newGetSamplingTargets
smart constructor.
GetSamplingTargets' | |
|
Instances
newGetSamplingTargets :: GetSamplingTargets Source #
Create a value of GetSamplingTargets
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:samplingStatisticsDocuments:GetSamplingTargets'
, getSamplingTargets_samplingStatisticsDocuments
- Information about rules that the service is using to sample requests.
Request Lenses
getSamplingTargets_samplingStatisticsDocuments :: Lens' GetSamplingTargets [SamplingStatisticsDocument] Source #
Information about rules that the service is using to sample requests.
Destructuring the Response
data GetSamplingTargetsResponse Source #
See: newGetSamplingTargetsResponse
smart constructor.
GetSamplingTargetsResponse' | |
|
Instances
newGetSamplingTargetsResponse Source #
Create a value of GetSamplingTargetsResponse
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:unprocessedStatistics:GetSamplingTargetsResponse'
, getSamplingTargetsResponse_unprocessedStatistics
- Information about
SamplingStatisticsDocument
that X-Ray could not process.
$sel:lastRuleModification:GetSamplingTargetsResponse'
, getSamplingTargetsResponse_lastRuleModification
- The last time a user changed the sampling rule configuration. If the
sampling rule configuration changed since the service last retrieved it,
the service should call
GetSamplingRules
to get the latest version.
$sel:samplingTargetDocuments:GetSamplingTargetsResponse'
, getSamplingTargetsResponse_samplingTargetDocuments
- Updated rules that the service should use to sample requests.
$sel:httpStatus:GetSamplingTargetsResponse'
, getSamplingTargetsResponse_httpStatus
- The response's http status code.
Response Lenses
getSamplingTargetsResponse_unprocessedStatistics :: Lens' GetSamplingTargetsResponse (Maybe [UnprocessedStatistics]) Source #
Information about SamplingStatisticsDocument that X-Ray could not process.
getSamplingTargetsResponse_lastRuleModification :: Lens' GetSamplingTargetsResponse (Maybe UTCTime) Source #
The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.
getSamplingTargetsResponse_samplingTargetDocuments :: Lens' GetSamplingTargetsResponse (Maybe [SamplingTargetDocument]) Source #
Updated rules that the service should use to sample requests.
getSamplingTargetsResponse_httpStatus :: Lens' GetSamplingTargetsResponse Int Source #
The response's http status code.