getSendStatistics method

Future<GetSendStatisticsResponse> getSendStatistics()

Provides sending statistics for the current AWS Region. The result is a list of data points, representing the last two weeks of sending activity. Each data point in the list contains statistics for a 15-minute period of time.

You can execute this operation no more than once per second.

Implementation

Future<GetSendStatisticsResponse> getSendStatistics() async {
  final $request = <String, dynamic>{};
  final $result = await _protocol.send(
    $request,
    action: 'GetSendStatistics',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shapes: shapes,
    resultWrapper: 'GetSendStatisticsResult',
  );
  return GetSendStatisticsResponse.fromXml($result);
}