AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Each data point in the list contains statistics for a 15-minute interval.
This action is throttled at one request per second.
Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract GetSendStatisticsResponse GetSendStatistics( GetSendStatisticsRequest request )
Container for the necessary parameters to execute the GetSendStatistics service method.
This example shows how to get email send statistics for the last two weeks of activity.
var sesClient = new AmazonSimpleEmailServiceClient(); var response = sesClient.GetSendStatistics(); Console.WriteLine("For request " + response.ResponseMetadata.RequestId + ":"); if (response.SendDataPoints.Count > 0) { foreach (var point in response.SendDataPoints) { Console.WriteLine(); Console.WriteLine("Data points for " + point.Timestamp + ":"); Console.WriteLine(" Bounces: " + point.Bounces); Console.WriteLine(" Complaints: " + point.Complaints); Console.WriteLine(" Delivery Attempts: " + point.DeliveryAttempts); Console.WriteLine(" Rejects: " + point.Rejects); } } else { Console.WriteLine("No data points."); }
.NET Framework:
Supported in: 4.5, 4.0, 3.5