class AWS::SimpleEmailService::Quotas
Returns information about your SimpleEmailService quotas.
def inspect
- Private: -
def inspect "<#{self.class} #{to_h.inspect}>" end
def max_24_hour_send
-
(Integer)
- The maximum number of emails the user is allowed
def max_24_hour_send to_h[:max_24_hour_send] end
def max_send_rate
-
(Float)
- The maximum number of emails the user is allowed
def max_send_rate to_h[:max_send_rate] end
def sent_last_24_hours
-
(Integer)
- Returns the number of emails sent during the
def sent_last_24_hours to_h[:sent_last_24_hours] end
def to_h
-
(Hash)
- Returns a hash of the SES quotas.
def to_h response = client.get_send_quota({}) { :max_24_hour_send => response.max_24_hour_send.to_i, :max_send_rate => response.max_send_rate.to_f, :sent_last_24_hours => response.sent_last_24_hours.to_i, } end