getSamplingStatisticSummaries method

Future<GetSamplingStatisticSummariesResult> getSamplingStatisticSummaries({
  1. String? nextToken,
})

Retrieves information about recent sampling results for all sampling rules.

May throw InvalidRequestException. May throw ThrottledException.

Parameter nextToken : Pagination token.

Implementation

Future<GetSamplingStatisticSummariesResult> getSamplingStatisticSummaries({
  String? nextToken,
}) async {
  final $payload = <String, dynamic>{
    if (nextToken != null) 'NextToken': nextToken,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/SamplingStatisticSummaries',
    exceptionFnMap: _exceptionFns,
  );
  return GetSamplingStatisticSummariesResult.fromJson(response);
}