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.

Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SimpleEmail.Model.GetSendQuotaResponse

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

Syntax

C#
public class GetSendQuotaResponse : AmazonWebServiceResponse

The GetSendQuotaResponse type exposes the following members

Constructors

NameDescription
Public Method GetSendQuotaResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Max24HourSend System.Double

Gets and sets the property Max24HourSend.

The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.

Public Property MaxSendRate System.Double

Gets and sets the property MaxSendRate.

The maximum number of emails that Amazon SES can accept from the user's account per second.

The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SentLast24Hours System.Double

Gets and sets the property SentLast24Hours.

The number of emails sent during the previous 24 hours.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5