Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Provides the sending limits for the Amazon SES account.
You can execute this operation no more than once per second.
Synopsis
- data GetSendQuota = GetSendQuota' {
- newGetSendQuota :: GetSendQuota
- data GetSendQuotaResponse = GetSendQuotaResponse' {}
- newGetSendQuotaResponse :: Int -> GetSendQuotaResponse
- getSendQuotaResponse_maxSendRate :: Lens' GetSendQuotaResponse (Maybe Double)
- getSendQuotaResponse_sentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double)
- getSendQuotaResponse_max24HourSend :: Lens' GetSendQuotaResponse (Maybe Double)
- getSendQuotaResponse_httpStatus :: Lens' GetSendQuotaResponse Int
Creating a Request
data GetSendQuota Source #
See: newGetSendQuota
smart constructor.
Instances
newGetSendQuota :: GetSendQuota Source #
Create a value of GetSendQuota
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetSendQuotaResponse Source #
Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.
See: newGetSendQuotaResponse
smart constructor.
GetSendQuotaResponse' | |
|
Instances
newGetSendQuotaResponse Source #
Create a value of GetSendQuotaResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxSendRate:GetSendQuotaResponse'
, getSendQuotaResponse_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.
$sel:sentLast24Hours:GetSendQuotaResponse'
, getSendQuotaResponse_sentLast24Hours
- The number of emails sent during the previous 24 hours.
$sel:max24HourSend:GetSendQuotaResponse'
, getSendQuotaResponse_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.
$sel:httpStatus:GetSendQuotaResponse'
, getSendQuotaResponse_httpStatus
- The response's http status code.
Response Lenses
getSendQuotaResponse_maxSendRate :: Lens' GetSendQuotaResponse (Maybe Double) Source #
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.
getSendQuotaResponse_sentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double) Source #
The number of emails sent during the previous 24 hours.
getSendQuotaResponse_max24HourSend :: Lens' GetSendQuotaResponse (Maybe Double) Source #
The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.
getSendQuotaResponse_httpStatus :: Lens' GetSendQuotaResponse Int Source #
The response's http status code.