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 |
Retrieves information about recent sampling results for all sampling rules.
This operation returns paginated results.
Synopsis
- data GetSamplingStatisticSummaries = GetSamplingStatisticSummaries' {}
- newGetSamplingStatisticSummaries :: GetSamplingStatisticSummaries
- getSamplingStatisticSummaries_nextToken :: Lens' GetSamplingStatisticSummaries (Maybe Text)
- data GetSamplingStatisticSummariesResponse = GetSamplingStatisticSummariesResponse' {}
- newGetSamplingStatisticSummariesResponse :: Int -> GetSamplingStatisticSummariesResponse
- getSamplingStatisticSummariesResponse_samplingStatisticSummaries :: Lens' GetSamplingStatisticSummariesResponse (Maybe [SamplingStatisticSummary])
- getSamplingStatisticSummariesResponse_nextToken :: Lens' GetSamplingStatisticSummariesResponse (Maybe Text)
- getSamplingStatisticSummariesResponse_httpStatus :: Lens' GetSamplingStatisticSummariesResponse Int
Creating a Request
data GetSamplingStatisticSummaries Source #
See: newGetSamplingStatisticSummaries
smart constructor.
Instances
newGetSamplingStatisticSummaries :: GetSamplingStatisticSummaries Source #
Create a value of GetSamplingStatisticSummaries
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:nextToken:GetSamplingStatisticSummaries'
, getSamplingStatisticSummaries_nextToken
- Pagination token.
Request Lenses
getSamplingStatisticSummaries_nextToken :: Lens' GetSamplingStatisticSummaries (Maybe Text) Source #
Pagination token.
Destructuring the Response
data GetSamplingStatisticSummariesResponse Source #
See: newGetSamplingStatisticSummariesResponse
smart constructor.
GetSamplingStatisticSummariesResponse' | |
|
Instances
newGetSamplingStatisticSummariesResponse Source #
Create a value of GetSamplingStatisticSummariesResponse
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:samplingStatisticSummaries:GetSamplingStatisticSummariesResponse'
, getSamplingStatisticSummariesResponse_samplingStatisticSummaries
- Information about the number of requests instrumented for each sampling
rule.
$sel:nextToken:GetSamplingStatisticSummaries'
, getSamplingStatisticSummariesResponse_nextToken
- Pagination token.
$sel:httpStatus:GetSamplingStatisticSummariesResponse'
, getSamplingStatisticSummariesResponse_httpStatus
- The response's http status code.
Response Lenses
getSamplingStatisticSummariesResponse_samplingStatisticSummaries :: Lens' GetSamplingStatisticSummariesResponse (Maybe [SamplingStatisticSummary]) Source #
Information about the number of requests instrumented for each sampling rule.
getSamplingStatisticSummariesResponse_nextToken :: Lens' GetSamplingStatisticSummariesResponse (Maybe Text) Source #
Pagination token.
getSamplingStatisticSummariesResponse_httpStatus :: Lens' GetSamplingStatisticSummariesResponse Int Source #
The response's http status code.