Amazon Simple Email Service
API Reference (API Version 2010-12-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

GetSendQuota

Description

Returns the user's current sending limits.

Response Elements

The following elements come wrapped in a GetSendQuotaResult structure.
NameDescription
Max24HourSend

The maximum number of emails the user is allowed to send in a 24-hour interval.

Type: Double

MaxSendRate

The maximum number of emails the user is allowed to send per second.

Type: Double

SentLast24Hours

The number of emails sent during the previous 24 hours.

Type: Double

Examples

Sample Request

                
POST / HTTP/1.1
Date: Thu, 18 Aug 2011 22:22:36 GMT
Host: email.us-east-1.amazonaws.com
Content-Type: application/x-www-form-urlencoded
X-Amzn-Authorization: AWS3 AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE, Signature=W1YdiNOtf0jN3t7Lv63qhz7UZc3RrcmQpkGbopvnj/Y=, Algorithm=HmacSHA256, SignedHeaders=Date;Host
Content-Length: 94

AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&Action=GetSendQuota&Timestamp=2011-08-18
T22%3A22%3A36.000Z
          
            

Sample Response

                
<GetSendQuotaResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
  <GetSendQuotaResult>
    <SentLast24Hours>127.0</SentLast24Hours>
    <Max24HourSend>200.0</Max24HourSend>
    <MaxSendRate>1.0</MaxSendRate>
  </GetSendQuotaResult>
  <ResponseMetadata>
    <RequestId>273021c6-c866-11e0-b926-699e21c3af9e</RequestId>
  </ResponseMetadata>
</GetSendQuotaResponse>