Amazon Simple Email Service
API Reference (API Version 2010-12-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

GetSendQuota

Description

Returns the user's current sending limits.

This action is throttled at one request per second.

Response Elements

The following elements are returned in a GetSendQuotaResult structure.

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-18T22%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>