Amazon.SimpleEmail.AmazonSimpleEmailServiceClient.GetSendStatistics C# (CSharp) Method

GetSendStatistics() public method

Returns the user's sending statistics. 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 interval.

This action is throttled at one request per second.

public GetSendStatistics ( ) : GetSendStatisticsResponse
return GetSendStatisticsResponse
        public GetSendStatisticsResponse GetSendStatistics()
        {
            return GetSendStatistics(new GetSendStatisticsRequest());
        }

Same methods

AmazonSimpleEmailServiceClient::GetSendStatistics ( GetSendStatisticsRequest request ) : GetSendStatisticsResponse

Usage Example

        /// <summary>
        /// Retrieves SES statistics for the AWS account
        /// </summary>
        /// <returns></returns>
        public GetSendStatisticsResult getSendStats()
        {
            GetSendStatisticsResult ret = null;
            using (AmazonSimpleEmailServiceClient client = new AmazonSimpleEmailServiceClient(_accessKeyID, _secretAccessKeyID))
            {

                GetSendStatisticsRequest request = new GetSendStatisticsRequest();
                GetSendStatisticsResponse response = client.GetSendStatistics(request);
                ret = response.GetSendStatisticsResult;
            }

            return ret;
        }
All Usage Examples Of Amazon.SimpleEmail.AmazonSimpleEmailServiceClient::GetSendStatistics
AmazonSimpleEmailServiceClient