You are here

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

Delete a verified identity.

Parameters

string $identity: The identity to delete.

Overrides AmazonSesHandlerInterface::deleteIdentity

File

src/AmazonSesHandler.php, line 271

Class

AmazonSesHandler
Amazon SES service.

Namespace

Drupal\amazon_ses

Code

public function deleteIdentity($identity) {
  $this->client
    ->deleteIdentity([
    'Identity' => $identity,
  ]);
}