class AWS::SimpleEmailService::Quotas

def to_h

Returns:
  • (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