Skip to content
pzb edited this page Apr 17, 2011 · 2 revisions

GetSendStatistics

Description

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.

Example request using GET

GET /?Action=GetSendStatistics HTTP/1.1
Host: email.us-east-1.amazonaws.com
Date: Sat, 16 Apr 2011 17:44:17 -0400
X-Amzn-Authorization: AWS3-HTTPS AWSAccessKeyId=AKIAH3VO4JIRTLHHP4AK,Algorithm=HmacSHA256,Signature=wh9XOpBuhPFYzos2R2NDviMyRwDh/pHxNCubgCdCmqo=

Example request using POST

POST / HTTP/1.1
Host: email.us-east-1.amazonaws.com
Date: Sat, 16 Apr 2011 17:44:17 -0400
X-Amzn-Authorization: AWS3-HTTPS AWSAccessKeyId=AKIAH3VO4JIRTLHHP4AK,Algorithm=HmacSHA256,Signature=wh9XOpBuhPFYzos2R2NDviMyRwDh/pHxNCubgCdCmqo=
Content-Length: 24
Content-Type: application/x-www-form-urlencoded

Action=GetSendStatistics

Example response

<GetSendStatisticsResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
  <GetSendStatisticsResult>
    <SendDataPoints>
      <member>
        <DeliveryAttempts>2</DeliveryAttempts>
        <Timestamp>2011-04-17T12:25:00Z</Timestamp>
        <Rejects>0</Rejects>
        <Bounces>0</Bounces>
        <Complaints>0</Complaints>
      </member>
      <member>
        <DeliveryAttempts>16</DeliveryAttempts>
        <Timestamp>2011-04-17T09:55:00Z</Timestamp>
        <Rejects>0</Rejects>
        <Bounces>0</Bounces>
        <Complaints>0</Complaints>
      </member>
    </SendDataPoints>
  </GetSendStatisticsResult>
  <ResponseMetadata>
    <RequestId>33aeb2b9-68f8-11e0-b615-9ba76660ea6c</RequestId>
  </ResponseMetadata>
</GetSendStatisticsResponse>