AWS SDK Version 3 for .NET
API Reference

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.

Provides the sending limits for the Amazon SES account.

You can execute this operation no more than once per second.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetSendQuotaAsync.

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z

Syntax

C#
public abstract GetSendQuotaResponse GetSendQuota(
         GetSendQuotaRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.GetSendQuotaRequest

Container for the necessary parameters to execute the GetSendQuota service method.

Return Value


The response from the GetSendQuota service method, as returned by SimpleEmailService.

Examples

The following example returns the Amazon SES sending limits for an AWS account:

GetSendQuota


var client = new AmazonSimpleEmailServiceClient();
var response = client.GetSendQuota(new GetSendQuotaRequest 
{
});

double max24HourSend = response.Max24HourSend;
double maxSendRate = response.MaxSendRate;
double sentLast24Hours = response.SentLast24Hours;

            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also