You are here

public function AmazonSesHandler::getSendQuota in Amazon SES 2.0.x

Get sending quota.

Return value

array An array of quota information.

Overrides AmazonSesHandlerInterface::getSendQuota

File

src/AmazonSesHandler.php, line 280

Class

AmazonSesHandler
Amazon SES service.

Namespace

Drupal\amazon_ses

Code

public function getSendQuota() {
  $results = $this->client
    ->getSendQuota();
  return array_map('number_format', $results
    ->toArray());
}