getQueryStatistics method

Future<GetQueryStatisticsResponse> getQueryStatistics({
  1. required String queryId,
})

Retrieves statistics on the planning and execution of a query.

May throw AccessDeniedException. May throw ExpiredException. May throw InternalServiceException. May throw InvalidInputException. May throw StatisticsNotReadyYetException. May throw ThrottledException.

Parameter queryId : The ID of the plan query operation.

Implementation

Future<GetQueryStatisticsResponse> getQueryStatistics({
  required String queryId,
}) async {
  final $payload = <String, dynamic>{
    'QueryId': queryId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/GetQueryStatistics',
    exceptionFnMap: _exceptionFns,
  );
  return GetQueryStatisticsResponse.fromJson(response);
}