module AWS::SES::Info

Adds functionality for the statistics and info send quota data that Amazon SES makes available

You can access these methods as follows:

ses = AWS::SES::Base.new( ... connection info ... )

Get the quota information

response = ses.quota
# How many e-mails you've sent in the last 24 hours
response.sent_last_24_hours
# How many e-mails you're allowed to send in 24 hours
response.max_24_hour_send
# How many e-mails you can send per second
response.max_send_rate

Get detailed send statistics

The result is a list of data points, representing the last two weeks of sending activity. Each data point in the list contains statistics for a 15-minute interval. AWS::SES::GetSendStatisticsResponse#data_points is an array where each element is a hash with give string keys:

Public Instance Methods

quota() click to toggle source

Returns quota information provided by SES

The return format inside the response result will look like:

{"SentLast24Hours"=>"0.0", "MaxSendRate"=>"1.0", "Max24HourSend"=>"200.0"}
# File lib/aws/ses/info.rb, line 57
def quota
  request('GetSendQuota')
end
statistics() click to toggle source
# File lib/aws/ses/info.rb, line 61
def statistics
  request('GetSendStatistics')
end