Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the user's current sending limits.
This action is throttled at one request per second.
See: AWS API Reference for GetSendQuota.
- getSendQuota :: GetSendQuota
- data GetSendQuota
- getSendQuotaResponse :: Int -> GetSendQuotaResponse
- data GetSendQuotaResponse
- gsqrsMaxSendRate :: Lens' GetSendQuotaResponse (Maybe Double)
- gsqrsSentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double)
- gsqrsMax24HourSend :: Lens' GetSendQuotaResponse (Maybe Double)
- gsqrsResponseStatus :: Lens' GetSendQuotaResponse Int
Creating a Request
getSendQuota :: GetSendQuota Source
Creates a value of GetSendQuota
with the minimum fields required to make a request.
data GetSendQuota Source
See: getSendQuota
smart constructor.
Destructuring the Response
Creates a value of GetSendQuotaResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetSendQuotaResponse Source
Represents the user's current activity limits returned from a
successful GetSendQuota
request.
See: getSendQuotaResponse
smart constructor.
Response Lenses
gsqrsMaxSendRate :: 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.
gsqrsSentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double) Source
The number of emails sent during the previous 24 hours.
gsqrsMax24HourSend :: 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.
gsqrsResponseStatus :: Lens' GetSendQuotaResponse Int Source
The response status code.