NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class SesClient

Client to interact with Amazon Simple Email Service

  Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
  Guzzle\Http\Client implements Guzzle\Http\ClientInterface
  Guzzle\Service\Client implements Guzzle\Service\ClientInterface
  Aws\Common\Client\AbstractClient implements Aws\Common\Client\AwsClientInterface
  Aws\Ses\SesClient

Namespace: Aws\Ses
Link: User guide
Link: API docs
Located at Aws/Ses/SesClient.php

## Methods summary

- `public static` `factory ( array|Collection $config = array() )`

  Factory method to create a new Amazon Simple Email Service client using an array of configuration options.

- `public` `cloneReceiptRuleSet ( array $args = array() )`

  Executes the CloneReceiptRuleSet operation.

- `public` `createReceiptFilter ( array $args = array() )`

  Executes the CreateReceiptFilter operation.

- `public` `createReceiptRule ( array $args = array() )`

  Executes the CreateReceiptRule operation.

- `public` `createReceiptRuleSet ( array $args = array() )`

  Executes the CreateReceiptRuleSet operation.

- `public` `deleteIdentity ( array $args = array() )`

  Executes the DeleteIdentity operation.

- `public` `deleteIdentityPolicy ( array $args = array() )`

  Executes the DeleteIdentityPolicy operation.

- `public` `deleteReceiptFilter ( array $args = array() )`

  Executes the DeleteReceiptFilter operation.

- `public` `deleteReceiptRule ( array $args = array() )`

  Executes the DeleteReceiptRule operation.

- `public` `deleteReceiptRuleSet ( array $args = array() )`

  Executes the DeleteReceiptRuleSet operation.

- `public` `deleteVerifiedEmailAddress ( array $args = array() )`

  Executes the DeleteVerifiedEmailAddress operation.

- `public` `describeActiveReceiptRuleSet ( array $args = array() )`

  Executes the DescribeActiveReceiptRuleSet operation.

- `public` `describeReceiptRule ( array $args = array() )`

  Executes the DescribeReceiptRule operation.

- `public` `describeReceiptRuleSet ( array $args = array() )`

  Executes the DescribeReceiptRuleSet operation.

- `public` `getIdentityDkimAttributes ( array $args = array() )`

  Executes the GetIdentityDkimAttributes operation.

- `public` `getIdentityNotificationAttributes ( array $args = array() )`

  Executes the GetIdentityNotificationAttributes operation.

- `public` `getIdentityPolicies ( array $args = array() )`

  Executes the GetIdentityPolicies operation.

- `public` `getIdentityVerificationAttributes ( array $args = array() )`

  Executes the GetIdentityVerificationAttributes operation.

- `public` `getSendQuota ( array $args = array() )`

  Executes the GetSendQuota operation.

- `public` `getSendStatistics ( array $args = array() )`

  Executes the GetSendStatistics operation.

- `public` `listIdentities ( array $args = array() )`

  Executes the ListIdentities operation.

- `public` `listIdentityPolicies ( array $args = array() )`

  Executes the ListIdentityPolicies operation.

- `public` `listReceiptFilters ( array $args = array() )`

  Executes the ListReceiptFilters operation.

- `public` `listReceiptRuleSets ( array $args = array() )`

  Executes the ListReceiptRuleSets operation.

- `public` `listVerifiedEmailAddresses ( array $args = array() )`

  Executes the ListVerifiedEmailAddresses operation.

- `public` `putIdentityPolicy ( array $args = array() )`

  Executes the PutIdentityPolicy operation.

- `public` `reorderReceiptRuleSet ( array $args = array() )`

  Executes the ReorderReceiptRuleSet operation.

- `public` `sendBounce ( array $args = array() )`

  Executes the SendBounce operation.

- `public` `sendEmail ( array $args = array() )`

  Executes the SendEmail operation.

- `public` `sendRawEmail ( array $args = array() )`

  Executes the SendRawEmail operation.

- `public` `setActiveReceiptRuleSet ( array $args = array() )`

  Executes the SetActiveReceiptRuleSet operation.

- `public` `setIdentityDkimEnabled ( array $args = array() )`

  Executes the SetIdentityDkimEnabled operation.

- `public` `setIdentityFeedbackForwardingEnabled ( array $args = array() )`

  Executes the SetIdentityFeedbackForwardingEnabled operation.

- `public` `setIdentityNotificationTopic ( array $args = array() )`

  Executes the SetIdentityNotificationTopic operation.

- `public` `setReceiptRulePosition ( array $args = array() )`

  Executes the SetReceiptRulePosition operation.

- `public` `updateReceiptRule ( array $args = array() )`

  Executes the UpdateReceiptRule operation.

- `public` `verifyDomainDkim ( array $args = array() )`

  Executes the VerifyDomainDkim operation.

- `public` `verifyDomainIdentity ( array $args = array() )`

  Executes the VerifyDomainIdentity operation.

- `public` `verifyEmailAddress ( array $args = array() )`

  Executes the VerifyEmailAddress operation.

- `public` `verifyEmailIdentity ( array $args = array() )`

  Executes the VerifyEmailIdentity operation.

- `public` `waitUntilIdentityExists ( array $input )`

  The input array uses the parameters of the GetIdentityVerificationAttributes operation and waiter specific settings

- `public` `getListIdentitiesIterator ( array $args = array() )`

  The input array uses the parameters of the ListIdentities operation

- `public` `getListVerifiedEmailAddressesIterator ( array $args = array() )`

  The input array uses the parameters of the ListVerifiedEmailAddresses operation

## Methods detail

# `public static `Aws\Ses\SesClient``
`factory( array|`Guzzle\Common\Collection` $config = array() )`

Factory method to create a new Amazon Simple Email Service client using an array of configuration options.

#### Parameters

$config
  `array|`Guzzle\Common\Collection``
  $config Client configuration data

#### Returns

``Aws\Ses\SesClient``

#### Link

http://docs.aws.amazon.com/aws-sdk-php/v2/guide/configuration.html#client-configuration-options

#### Overrides

`Guzzle\Service\Client::factory`
# `public `Guzzle\Service\Resource\Model``
`cloneReceiptRuleSet( array $args = array() )`

Executes the CloneReceiptRuleSet operation.

Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

For information about setting up rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->cloneReceiptRuleSet(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          // OriginalRuleSetName is required
          'OriginalRuleSetName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the rule set to create. The name must:

    - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
    - Start and end with a letter or number.
    - Contain less than 64 characters.
  - OriginalRuleSetName => (string)

    The name of the rule set to clone.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`createReceiptFilter( array $args = array() )`

Executes the CreateReceiptFilter operation.

Creates a new IP address filter.

For information about setting up IP address filters, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->createReceiptFilter(array(
          // Filter is required
          'Filter' => array(
              // Name is required
              'Name' => 'string',
              // IpFilter is required
              'IpFilter' => array(
                  // Policy is required
                  'Policy' => 'string',
                  // Cidr is required
                  'Cidr' => 'string',
              ),
          ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Filter => (associative-array)

    A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

    - Name => (string)

      The name of the IP address filter. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - IpFilter => (associative-array)

      A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

      - Policy => (string: Block | Allow )

        Indicates whether to block or allow incoming mail from the specified IP addresses.

      - Cidr => (string)

        A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`createReceiptRule( array $args = array() )`

Executes the CreateReceiptRule operation.

Creates a receipt rule.

For information about setting up receipt rules, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->createReceiptRule(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          'After' => 'string',
          // Rule is required
          'Rule' => array(
              // Name is required
              'Name' => 'string',
              'Enabled' => true || false,
              'TlsPolicy' => 'string',
              'Recipients' => array('string', ... ),
              'Actions' => array(
                  array(
                      'S3Action' => array(
                          'TopicArn' => 'string',
                          // BucketName is required
                          'BucketName' => 'string',
                          'ObjectKeyPrefix' => 'string',
                          'KmsKeyArn' => 'string',
                      ),
                      'BounceAction' => array(
                          'TopicArn' => 'string',
                          // SmtpReplyCode is required
                          'SmtpReplyCode' => 'string',
                          'StatusCode' => 'string',
                          // Message is required
                          'Message' => 'string',
                          // Sender is required
                          'Sender' => 'string',
                      ),
                      'WorkmailAction' => array(
                          'TopicArn' => 'string',
                          // OrganizationArn is required
                          'OrganizationArn' => 'string',
                      ),
                      'LambdaAction' => array(
                          'TopicArn' => 'string',
                          // FunctionArn is required
                          'FunctionArn' => 'string',
                          'InvocationType' => 'string',
                      ),
                      'StopAction' => array(
                          // Scope is required
                          'Scope' => 'string',
                          'TopicArn' => 'string',
                      ),
                      'AddHeaderAction' => array(
                          // HeaderName is required
                          'HeaderName' => 'string',
                          // HeaderValue is required
                          'HeaderValue' => 'string',
                      ),
                      'SNSAction' => array(
                          // TopicArn is required
                          'TopicArn' => 'string',
                      ),
                  ),
                  // ... repeated
              ),
              'ScanEnabled' => true || false,
          ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the rule set to which to add the rule.

  - After => (string)

    The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.

  - Rule => (associative-array)

    A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.

    - Name => (string)

      The name of the receipt rule. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - Enabled => (bool)

      If true, the receipt rule is active. The default value is true.

    - TlsPolicy => (string: Require | Optional )

      Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional.

    - Recipients => (array<string>)

      The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.

    - Actions => (array<associative-array>)

      An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.

      - (associative-array)

        An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

        For information about setting up receipt rules, see the Amazon SES Developer Guide.

        - S3Action => (associative-array)

          Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - BucketName => (string)

            The name of the Amazon S3 bucket to which to save the received email.

          - ObjectKeyPrefix => (string)

            The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.

          - KmsKeyArn => (string)

            The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:

            - To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses. For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses. If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
            - To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide.

            For more information about key policies, see the AWS KMS Developer Guide. If you do not specify a master key, Amazon SES will not encrypt your emails.

            Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide.
        - BounceAction => (associative-array)

          Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - SmtpReplyCode => (string)

            The SMTP reply code, as defined by RFC 5321.

          - StatusCode => (string)

            The SMTP enhanced status code, as defined by RFC 3463.

          - Message => (string)

            Human-readable text to include in the bounce message.

          - Sender => (string)

            The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

        - WorkmailAction => (associative-array)

          Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - OrganizationArn => (string)

            The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide.

        - LambdaAction => (associative-array)

          Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - FunctionArn => (string)

            The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. For more information about AWS Lambda, see the AWS Lambda Developer Guide.

          - InvocationType => (string: Event | RequestResponse )

            The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide.

            There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
        - StopAction => (associative-array)

          Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

          - Scope => (string: RuleSet )

            The scope to which the Stop action applies. That is, what is being stopped.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - AddHeaderAction => (associative-array)

          Adds a header to the received email.

          - HeaderName => (string)

            The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

          - HeaderValue => (string)

            Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

        - SNSAction => (associative-array)

          Publishes the email content within a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

    - ScanEnabled => (bool)

      If true, then messages to which this receipt rule applies are scanned for spam and viruses. The default value is true.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`createReceiptRuleSet( array $args = array() )`

Executes the CreateReceiptRuleSet operation.

Creates an empty receipt rule set.

For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->createReceiptRuleSet(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the rule set to create. The name must:

    - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
    - Start and end with a letter or number.
    - Contain less than 64 characters.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteIdentity( array $args = array() )`

Executes the DeleteIdentity operation.

Deletes the specified identity (email address or domain) from the list of verified identities.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->deleteIdentity(array(
          // Identity is required
          'Identity' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity to be removed from the list of identities for the AWS Account.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteIdentityPolicy( array $args = array() )`

Executes the DeleteIdentityPolicy operation.

Deletes the specified sending authorization policy for the given identity (email address or domain). This API returns successfully even if a policy with the specified name does not exist.

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->deleteIdentityPolicy(array(
          // Identity is required
          'Identity' => 'string',
          // PolicyName is required
          'PolicyName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

    To successfully call this API, you must own the identity.

  - PolicyName => (string)

    The name of the policy to be deleted.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteReceiptFilter( array $args = array() )`

Executes the DeleteReceiptFilter operation.

Deletes the specified IP address filter.

For information about managing IP address filters, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->deleteReceiptFilter(array(
          // FilterName is required
          'FilterName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - FilterName => (string)

    The name of the IP address filter to delete.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteReceiptRule( array $args = array() )`

Executes the DeleteReceiptRule operation.

Deletes the specified receipt rule.

For information about managing receipt rules, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->deleteReceiptRule(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          // RuleName is required
          'RuleName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set that contains the receipt rule to delete.

  - RuleName => (string)

    The name of the receipt rule to delete.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteReceiptRuleSet( array $args = array() )`

Executes the DeleteReceiptRuleSet operation.

Deletes the specified receipt rule set and all of the receipt rules it contains.

The currently active rule set cannot be deleted.

For information about managing receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->deleteReceiptRuleSet(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set to delete.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteVerifiedEmailAddress( array $args = array() )`

Executes the DeleteVerifiedEmailAddress operation.

Deletes the specified email address from the list of verified addresses.

The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.

This action is throttled at one request per second.

This command is deprecated

#### Examples

- Basic formatting example

      $result = $client->deleteVerifiedEmailAddress(array(
          // EmailAddress is required
          'EmailAddress' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - EmailAddress => (string)

    An email address to be removed from the list of verified addresses.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`describeActiveReceiptRuleSet( array $args = array() )`

Executes the DescribeActiveReceiptRuleSet operation.

Returns the metadata and receipt rules for the receipt rule set that is currently active.

For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->describeActiveReceiptRuleSet(array(
      ));

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Metadata => (associative-array)

  The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a timestamp of when the rule set was created.

  - Name => (string)

    The name of the receipt rule set. The name must:

    - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
    - Start and end with a letter or number.
    - Contain less than 64 characters.
  - CreatedTimestamp => (string)

    The date and time the receipt rule set was created.

- Rules => (array<associative-array>)

  The receipt rules that belong to the active rule set.

  - (associative-array)

    Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.

    Each receipt rule defines a set of email addresses or domains to which it applies. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.

    For information about setting up receipt rules, see the Amazon SES Developer Guide.

    - Name => (string)

      The name of the receipt rule. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - Enabled => (bool)

      If true, the receipt rule is active. The default value is true.

    - TlsPolicy => (string)

      Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional.

    - Recipients => (array<string>)

      The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.

    - Actions => (array<associative-array>)

      An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.

      - (associative-array)

        An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

        For information about setting up receipt rules, see the Amazon SES Developer Guide.

        - S3Action => (associative-array)

          Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - BucketName => (string)

            The name of the Amazon S3 bucket to which to save the received email.

          - ObjectKeyPrefix => (string)

            The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.

          - KmsKeyArn => (string)

            The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:

            - To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses. For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses. If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
            - To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide.

            For more information about key policies, see the AWS KMS Developer Guide. If you do not specify a master key, Amazon SES will not encrypt your emails.

            Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide.
        - BounceAction => (associative-array)

          Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - SmtpReplyCode => (string)

            The SMTP reply code, as defined by RFC 5321.

          - StatusCode => (string)

            The SMTP enhanced status code, as defined by RFC 3463.

          - Message => (string)

            Human-readable text to include in the bounce message.

          - Sender => (string)

            The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

        - WorkmailAction => (associative-array)

          Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - OrganizationArn => (string)

            The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide.

        - LambdaAction => (associative-array)

          Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - FunctionArn => (string)

            The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. For more information about AWS Lambda, see the AWS Lambda Developer Guide.

          - InvocationType => (string)

            The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide.

            There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
        - StopAction => (associative-array)

          Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

          - Scope => (string)

            The scope to which the Stop action applies. That is, what is being stopped.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - AddHeaderAction => (associative-array)

          Adds a header to the received email.

          - HeaderName => (string)

            The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

          - HeaderValue => (string)

            Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

        - SNSAction => (associative-array)

          Publishes the email content within a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

    - ScanEnabled => (bool)

      If true, then messages to which this receipt rule applies are scanned for spam and viruses. The default value is true.

# `public `Guzzle\Service\Resource\Model``
`describeReceiptRule( array $args = array() )`

Executes the DescribeReceiptRule operation.

Returns the details of the specified receipt rule.

For information about setting up receipt rules, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->describeReceiptRule(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          // RuleName is required
          'RuleName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set to which the receipt rule belongs.

  - RuleName => (string)

    The name of the receipt rule.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Rule => (associative-array)

  A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.

  - Name => (string)

    The name of the receipt rule. The name must:

    - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
    - Start and end with a letter or number.
    - Contain less than 64 characters.
  - Enabled => (bool)

    If true, the receipt rule is active. The default value is true.

  - TlsPolicy => (string)

    Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional.

  - Recipients => (array<string>)

    The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.

  - Actions => (array<associative-array>)

    An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.

    - (associative-array)

      An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

      For information about setting up receipt rules, see the Amazon SES Developer Guide.

      - S3Action => (associative-array)

        Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

        - TopicArn => (string)

          The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - BucketName => (string)

          The name of the Amazon S3 bucket to which to save the received email.

        - ObjectKeyPrefix => (string)

          The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.

        - KmsKeyArn => (string)

          The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:

          - To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses. For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses. If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
          - To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide.

          For more information about key policies, see the AWS KMS Developer Guide. If you do not specify a master key, Amazon SES will not encrypt your emails.

          Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide.
      - BounceAction => (associative-array)

        Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

        - TopicArn => (string)

          The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - SmtpReplyCode => (string)

          The SMTP reply code, as defined by RFC 5321.

        - StatusCode => (string)

          The SMTP enhanced status code, as defined by RFC 3463.

        - Message => (string)

          Human-readable text to include in the bounce message.

        - Sender => (string)

          The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

      - WorkmailAction => (associative-array)

        Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

        - TopicArn => (string)

          The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - OrganizationArn => (string)

          The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide.

      - LambdaAction => (associative-array)

        Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

        - TopicArn => (string)

          The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - FunctionArn => (string)

          The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. For more information about AWS Lambda, see the AWS Lambda Developer Guide.

        - InvocationType => (string)

          The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide.

          There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
      - StopAction => (associative-array)

        Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

        - Scope => (string)

          The scope to which the Stop action applies. That is, what is being stopped.

        - TopicArn => (string)

          The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

      - AddHeaderAction => (associative-array)

        Adds a header to the received email.

        - HeaderName => (string)

          The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

        - HeaderValue => (string)

          Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

      - SNSAction => (associative-array)

        Publishes the email content within a notification to Amazon SNS.

        - TopicArn => (string)

          The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

  - ScanEnabled => (bool)

    If true, then messages to which this receipt rule applies are scanned for spam and viruses. The default value is true.

# `public `Guzzle\Service\Resource\Model``
`describeReceiptRuleSet( array $args = array() )`

Executes the DescribeReceiptRuleSet operation.

Returns the details of the specified receipt rule set.

For information about managing receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->describeReceiptRuleSet(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set to describe.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Metadata => (associative-array)

  The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.

  - Name => (string)

    The name of the receipt rule set. The name must:

    - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
    - Start and end with a letter or number.
    - Contain less than 64 characters.
  - CreatedTimestamp => (string)

    The date and time the receipt rule set was created.

- Rules => (array<associative-array>)

  A list of the receipt rules that belong to the specified receipt rule set.

  - (associative-array)

    Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.

    Each receipt rule defines a set of email addresses or domains to which it applies. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.

    For information about setting up receipt rules, see the Amazon SES Developer Guide.

    - Name => (string)

      The name of the receipt rule. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - Enabled => (bool)

      If true, the receipt rule is active. The default value is true.

    - TlsPolicy => (string)

      Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional.

    - Recipients => (array<string>)

      The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.

    - Actions => (array<associative-array>)

      An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.

      - (associative-array)

        An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

        For information about setting up receipt rules, see the Amazon SES Developer Guide.

        - S3Action => (associative-array)

          Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - BucketName => (string)

            The name of the Amazon S3 bucket to which to save the received email.

          - ObjectKeyPrefix => (string)

            The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.

          - KmsKeyArn => (string)

            The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:

            - To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses. For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses. If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
            - To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide.

            For more information about key policies, see the AWS KMS Developer Guide. If you do not specify a master key, Amazon SES will not encrypt your emails.

            Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide.
        - BounceAction => (associative-array)

          Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - SmtpReplyCode => (string)

            The SMTP reply code, as defined by RFC 5321.

          - StatusCode => (string)

            The SMTP enhanced status code, as defined by RFC 3463.

          - Message => (string)

            Human-readable text to include in the bounce message.

          - Sender => (string)

            The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

        - WorkmailAction => (associative-array)

          Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - OrganizationArn => (string)

            The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide.

        - LambdaAction => (associative-array)

          Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - FunctionArn => (string)

            The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. For more information about AWS Lambda, see the AWS Lambda Developer Guide.

          - InvocationType => (string)

            The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide.

            There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
        - StopAction => (associative-array)

          Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

          - Scope => (string)

            The scope to which the Stop action applies. That is, what is being stopped.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - AddHeaderAction => (associative-array)

          Adds a header to the received email.

          - HeaderName => (string)

            The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

          - HeaderValue => (string)

            Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

        - SNSAction => (associative-array)

          Publishes the email content within a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

    - ScanEnabled => (bool)

      If true, then messages to which this receipt rule applies are scanned for spam and viruses. The default value is true.

# `public `Guzzle\Service\Resource\Model``
`getIdentityDkimAttributes( array $args = array() )`

Executes the GetIdentityDkimAttributes operation.

Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

This action takes a list of identities as input and returns the following information for each:

- Whether Easy DKIM signing is enabled or disabled.
- A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
- Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.

This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->getIdentityDkimAttributes(array(
          // Identities is required
          'Identities' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identities => (array<string>)

    A list of one or more verified identities - email addresses, domains, or both.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- DkimAttributes => (array<associative-array>)

  The DKIM attributes for an email address or a domain.

  - (associative-array)
    - key => (string)
    - value => (associative-array)

      Represents the DKIM attributes of a verified email address or a domain.

      - DkimEnabled => (bool)

        True if DKIM signing is enabled for email sent from the identity; false otherwise.

      - DkimVerificationStatus => (string)

        Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name's DNS. (This only applies to domain identities, not email address identities.)

      - DkimTokens => (array<string>)

        A set of character strings that represent the domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain. (This only applies to domain identities, not email address identities.)

        For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

# `public `Guzzle\Service\Resource\Model``
`getIdentityNotificationAttributes( array $args = array() )`

Executes the GetIdentityNotificationAttributes operation.

Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

This action is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.

For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->getIdentityNotificationAttributes(array(
          // Identities is required
          'Identities' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identities => (array<string>)

    A list of one or more identities. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- NotificationAttributes => (array<associative-array>)

  A map of Identity to IdentityNotificationAttributes.

  - (associative-array)
    - key => (string)
    - value => (associative-array)

      Represents the notification attributes of an identity, including whether an identity has Amazon Simple Notification Service (Amazon SNS) topics set for bounce, complaint, and/or delivery notifications, and whether feedback forwarding is enabled for bounce and complaint notifications.

      - BounceTopic => (string)

        The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.

      - ComplaintTopic => (string)

        The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.

      - DeliveryTopic => (string)

        The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.

      - ForwardingEnabled => (bool)

        Describes whether Amazon SES will forward bounce and complaint notifications as email. true indicates that Amazon SES will forward bounce and complaint notifications as email, while false indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.

# `public `Guzzle\Service\Resource\Model``
`getIdentityPolicies( array $args = array() )`

Executes the GetIdentityPolicies operation.

Returns the requested sending authorization policies for the given identity (email address or domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->getIdentityPolicies(array(
          // Identity is required
          'Identity' => 'string',
          // PolicyNames is required
          'PolicyNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

    To successfully call this API, you must own the identity.

  - PolicyNames => (array<string>)

    A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies.

    (string)
    Name of the policy.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Policies => (array<associative-array>)

  A map of policy names to policies.

  - (associative-array)
    - key => (string)
    - value => (string)
      JSON representation of a valid policy.

# `public `Guzzle\Service\Resource\Model``
`getIdentityVerificationAttributes( array $args = array() )`

Executes the GetIdentityVerificationAttributes operation.

Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.

#### Examples

- Basic formatting example

      $result = $client->getIdentityVerificationAttributes(array(
          // Identities is required
          'Identities' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identities => (array<string>)

    A list of identities.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- VerificationAttributes => (array<associative-array>)

  A map of Identities to IdentityVerificationAttributes objects.

  - (associative-array)
    - key => (string)
    - value => (associative-array)

      Represents the verification attributes of a single identity.

      - VerificationStatus => (string)

        The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".

      - VerificationToken => (string)

        The verification token for a domain identity. Null for email address identities.

# `public `Guzzle\Service\Resource\Model``
`getSendQuota( array $args = array() )`

Executes the GetSendQuota operation.

Returns the user's current sending limits.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->getSendQuota(array(
      ));

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Max24HourSend => (int)

  The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.

- MaxSendRate => (int)

  The maximum number of emails that Amazon SES can accept from the user's account per second.

  The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.
- SentLast24Hours => (int)

  The number of emails sent during the previous 24 hours.

# `public `Guzzle\Service\Resource\Model``
`getSendStatistics( array $args = array() )`

Executes the GetSendStatistics operation.

Returns the user's sending 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.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->getSendStatistics(array(
      ));

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- SendDataPoints => (array<associative-array>)

  A list of data points, each of which represents 15 minutes of activity.

  - (associative-array)

    Represents sending statistics data. Each SendDataPoint contains statistics for a 15-minute period of sending activity.

    - Timestamp => (string)

      Time of the data point.

    - DeliveryAttempts => (int)

      Number of emails that have been enqueued for sending.

    - Bounces => (int)

      Number of emails that have bounced.

    - Complaints => (int)

      Number of unwanted emails that were rejected by recipients.

    - Rejects => (int)

      Number of emails rejected by Amazon SES.

# `public `Guzzle\Service\Resource\Model``
`listIdentities( array $args = array() )`

Executes the ListIdentities operation.

Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->listIdentities(array(
          'IdentityType' => 'string',
          'NextToken' => 'string',
          'MaxItems' => integer,
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - IdentityType => (string: EmailAddress | Domain )

    The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.

  - NextToken => (string)

    The token to use for pagination.

  - MaxItems => (int)

    The maximum number of identities per page. Possible values are 1-1000 inclusive.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Identities => (array<string>)

  A list of identities.

- NextToken => (string)

  The token used for pagination.

# `public `Guzzle\Service\Resource\Model``
`listIdentityPolicies( array $args = array() )`

Executes the ListIdentityPolicies operation.

Returns a list of sending authorization policies that are attached to the given identity (email address or domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies .

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->listIdentityPolicies(array(
          // Identity is required
          'Identity' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity that is associated with the policy for which the policies will be listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

    To successfully call this API, you must own the identity.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- PolicyNames => (array<string>)

  A list of names of policies that apply to the specified identity.

  (string)
  Name of the policy.

# `public `Guzzle\Service\Resource\Model``
`listReceiptFilters( array $args = array() )`

Executes the ListReceiptFilters operation.

Lists the IP address filters associated with your account.

For information about managing IP address filters, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->listReceiptFilters(array(
      ));

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- Filters => (array<associative-array>)

  A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.

  - (associative-array)

    A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.

    For information about setting up IP address filters, see the Amazon SES Developer Guide.

    - Name => (string)

      The name of the IP address filter. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - IpFilter => (associative-array)

      A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

      - Policy => (string)

        Indicates whether to block or allow incoming mail from the specified IP addresses.

      - Cidr => (string)

        A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.

# `public `Guzzle\Service\Resource\Model``
`listReceiptRuleSets( array $args = array() )`

Executes the ListReceiptRuleSets operation.

Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.

For information about managing receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->listReceiptRuleSets(array(
          'NextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - NextToken => (string)

    A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- RuleSets => (array<associative-array>)

  The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

  - (associative-array)

    Information about a receipt rule set.

    A receipt rule set is a collection of rules that specify what Amazon SES should do with mail it receives on behalf of your account's verified domains.

    For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

    - Name => (string)

      The name of the receipt rule set. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - CreatedTimestamp => (string)

      The date and time the receipt rule set was created.

- NextToken => (string)

  A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

# `public `Guzzle\Service\Resource\Model``
`listVerifiedEmailAddresses( array $args = array() )`

Executes the ListVerifiedEmailAddresses operation.

Returns a list containing all of the email addresses that have been verified.

The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.

This action is throttled at one request per second.

This command is deprecated

#### Examples

- Basic formatting example

      $result = $client->listVerifiedEmailAddresses(array(
      ));

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- VerifiedEmailAddresses => (array<string>)

  A list of email addresses that have been verified.

# `public `Guzzle\Service\Resource\Model``
`putIdentityPolicy( array $args = array() )`

Executes the PutIdentityPolicy operation.

Adds or updates a sending authorization policy for the specified identity (email address or domain).

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->putIdentityPolicy(array(
          // Identity is required
          'Identity' => 'string',
          // PolicyName is required
          'PolicyName' => 'string',
          // Policy is required
          'Policy' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

    To successfully call this API, you must own the identity.

  - PolicyName => (string)

    The name of the policy.

    The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

  - Policy => (string)

    The text of the policy in JSON format. The policy cannot exceed 4 KB.

    For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`reorderReceiptRuleSet( array $args = array() )`

Executes the ReorderReceiptRuleSet operation.

Reorders the receipt rules within a receipt rule set.

All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn’t explicitly position all of the rules.

For information about managing receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->reorderReceiptRuleSet(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          // RuleNames is required
          'RuleNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set to reorder.

  - RuleNames => (array<string>)

    A list of the specified receipt rule set's receipt rules in the order that you want to put them.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`sendBounce( array $args = array() )`

Executes the SendBounce operation.

Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it.

You cannot use this API to send generic bounces for mail that was not received by Amazon SES.

For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->sendBounce(array(
          // OriginalMessageId is required
          'OriginalMessageId' => 'string',
          // BounceSender is required
          'BounceSender' => 'string',
          'Explanation' => 'string',
          'MessageDsn' => array(
              // ReportingMta is required
              'ReportingMta' => 'string',
              'ArrivalDate' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime',
              'ExtensionFields' => array(
                  array(
                      // Name is required
                      'Name' => 'string',
                      // Value is required
                      'Value' => 'string',
                  ),
                  // ... repeated
              ),
          ),
          // BouncedRecipientInfoList is required
          'BouncedRecipientInfoList' => array(
              array(
                  // Recipient is required
                  'Recipient' => 'string',
                  'RecipientArn' => 'string',
                  'BounceType' => 'string',
                  'RecipientDsnFields' => array(
                      'FinalRecipient' => 'string',
                      // Action is required
                      'Action' => 'string',
                      'RemoteMta' => 'string',
                      // Status is required
                      'Status' => 'string',
                      'DiagnosticCode' => 'string',
                      'LastAttemptDate' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime',
                      'ExtensionFields' => array(
                          array(
                              // Name is required
                              'Name' => 'string',
                              // Value is required
                              'Value' => 'string',
                          ),
                          // ... repeated
                      ),
                  ),
              ),
              // ... repeated
          ),
          'BounceSenderArn' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - OriginalMessageId => (string)

    The message ID of the message to be bounced.

  - BounceSender => (string)

    The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.

  - Explanation => (string)

    Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.

  - MessageDsn => (associative-array)

    Message-related DSN fields. If not specified, Amazon SES will choose the values.

    - ReportingMta => (string)

      The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). The default value is dns; inbound-smtp.[region].amazonaws.com.

    - ArrivalDate => (string [date format]|int [unix timestamp]|\DateTime)

      When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.

    - ExtensionFields => (array<associative-array>)

      Additional X-headers to include in the DSN.

      - (associative-array)

        Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

        For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

        - Name => (string)

          The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

        - Value => (string)

          The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

  - BouncedRecipientInfoList => (array<associative-array>)

    A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo in the list.

    - (associative-array)

      Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

      For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

      - Recipient => (string)

        The email address of the recipient of the bounced email.

      - RecipientArn => (string)

        This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.

      - BounceType => (string: DoesNotExist | MessageTooLarge | ExceededQuota | ContentRejected | Undefined | TemporaryFailure )

        The reason for the bounce. You must provide either this parameter or RecipientDsnFields.

      - RecipientDsnFields => (associative-array)

        Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType. You must provide either this parameter or BounceType.

        - FinalRecipient => (string)

          The email address to which the message was ultimately delivered. This corresponds to the Final-Recipient in the DSN. If not specified, FinalRecipient will be set to the Recipient specified in the BouncedRecipientInfo structure. Either FinalRecipient or the recipient in BouncedRecipientInfo must be a recipient of the original bounced message.

          Do not prepend the FinalRecipient email address with rfc 822;, as described in RFC 3798.
        - Action => (string: failed | delayed | delivered | relayed | expanded )

          The action performed by the reporting mail transfer agent (MTA) as a result of its attempt to deliver the message to the recipient address. This is required by RFC 3464.

        - RemoteMta => (string)

          The MTA to which the remote MTA attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). This parameter typically applies only to propagating synchronous bounces.

        - Status => (string)

          The status code that indicates what went wrong. This is required by RFC 3464.

        - DiagnosticCode => (string)

          An extended explanation of what went wrong; this is usually an SMTP response. See RFC 3463 for the correct formatting of this parameter.

        - LastAttemptDate => (string [date format]|int [unix timestamp]|\DateTime)

          The time the final delivery attempt was made, in RFC 822 date-time format.

        - ExtensionFields => (array<associative-array>)

          Additional X-headers to include in the DSN.

          - (associative-array)

            Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

            For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

            - Name => (string)

              The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

            - Value => (string)

              The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

  - BounceSenderArn => (string)

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the "From" header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- MessageId => (string)

  The message ID of the bounce message.

# `public `Guzzle\Service\Resource\Model``
`sendEmail( array $args = array() )`

Executes the SendEmail operation.

Composes an email message based on input data, and then immediately queues the message for sending.

There are several important points to know about SendEmail :

- You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.
- The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.
- Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
- For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->sendEmail(array(
          // Source is required
          'Source' => 'string',
          // Destination is required
          'Destination' => array(
              'ToAddresses' => array('string', ... ),
              'CcAddresses' => array('string', ... ),
              'BccAddresses' => array('string', ... ),
          ),
          // Message is required
          'Message' => array(
              // Subject is required
              'Subject' => array(
                  // Data is required
                  'Data' => 'string',
                  'Charset' => 'string',
              ),
              // Body is required
              'Body' => array(
                  'Text' => array(
                      // Data is required
                      'Data' => 'string',
                      'Charset' => 'string',
                  ),
                  'Html' => array(
                      // Data is required
                      'Data' => 'string',
                      'Charset' => 'string',
                  ),
              ),
          ),
          'ReplyToAddresses' => array('string', ... ),
          'ReturnPath' => 'string',
          'SourceArn' => 'string',
          'ReturnPathArn' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Source => (string)

    The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide.

    If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide.

    In all cases, the email address must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047.

  - Destination => (associative-array)

    The destination for this email, composed of To:, CC:, and BCC: fields.

    - ToAddresses => (array<string>)

      The To: field(s) of the message.

    - CcAddresses => (array<string>)

      The CC: field(s) of the message.

    - BccAddresses => (array<string>)

      The BCC: field(s) of the message.

  - Message => (associative-array)

    The message to be sent.

    - Subject => (associative-array)

      The subject of the message: A short summary of the content, which will appear in the recipient's inbox.

      - Data => (string)

        The textual data of the content.

      - Charset => (string)

        The character set of the content.

    - Body => (associative-array)

      The message body.

      - Text => (associative-array)

        The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

        - Data => (string)

          The textual data of the content.

        - Charset => (string)

          The character set of the content.

      - Html => (associative-array)

        The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

        - Data => (string)

          The textual data of the content.

        - Charset => (string)

          The character set of the content.

  - ReplyToAddresses => (array<string>)

    The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

  - ReturnPath => (string)

    The email address to which bounces and complaints are to be forwarded when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the ReturnPath parameter. The ReturnPath parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.

  - SourceArn => (string)

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

    For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@example.com, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@example.com.

    For more information about sending authorization, see the Amazon SES Developer Guide.

  - ReturnPathArn => (string)

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

    For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedback@example.com.

    For more information about sending authorization, see the Amazon SES Developer Guide.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- MessageId => (string)

  The unique message identifier returned from the SendEmail action.

# `public `Guzzle\Service\Resource\Model``
`sendRawEmail( array $args = array() )`

Executes the SendRawEmail operation.

Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.

There are several important points to know about SendRawEmail :

- You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.
- The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.
- Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
- The To:, CC:, and BCC: headers in the raw message can contain a group list. Note that each recipient in a group list counts towards the 50-recipient limit.
- For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide.
- If you are using sending authorization to send on behalf of another user, SendRawEmail enables you to specify the cross-account identity for the email's "Source," "From," and "Return-Path" parameters in one of two ways: you can pass optional parameters SourceArn , FromArn , and/or ReturnPathArn to the API, or you can include the following X-headers in the header of your raw email:
  - X-SES-SOURCE-ARN
  - X-SES-FROM-ARN
  - X-SES-RETURN-PATH-ARN
  Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email. For the most common sending authorization use case, we recommend that you specify the SourceIdentityArn and do not specify either the FromIdentityArn or ReturnPathIdentityArn . (The same note applies to the corresponding X-headers.) If you only specify the SourceIdentityArn , Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified in SourceIdentityArn . For more information about sending authorization, see the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->sendRawEmail(array(
          'Source' => 'string',
          'Destinations' => array('string', ... ),
          // RawMessage is required
          'RawMessage' => array(
              // Data is required
              'Data' => 'string',
          ),
          'FromArn' => 'string',
          'SourceArn' => 'string',
          'ReturnPathArn' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Source => (string)

    The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

    By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047.

    If you specify the Source parameter and have feedback forwarding enabled, then bounces and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.
  - Destinations => (array<string>)

    A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

  - RawMessage => (associative-array)

    The raw text of the message. The client is responsible for ensuring the following:

    - Message must contain a header and a body, separated by a blank line.
    - All required header fields must be present.
    - Each part of a multipart MIME message must be formatted properly.
    - MIME content types must be among those supported by Amazon SES. For more information, go to the Amazon SES Developer Guide.
    - Content must be base64-encoded, if MIME requires it.
    - Data => (string)

      The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding (if necessary).

      The To:, CC:, and BCC: headers in the raw message can contain a group list.

      If you are using SendRawEmail with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for SendRawEmail.

      Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email.

      For more information, go to the Amazon SES Developer Guide.

  - FromArn => (string)

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

    Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

    For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.
  - SourceArn => (string)

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

    For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@example.com, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@example.com.

    Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

    For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.
  - ReturnPathArn => (string)

    This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

    For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedback@example.com.

    Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

    For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- MessageId => (string)

  The unique message identifier returned from the SendRawEmail action.

# `public `Guzzle\Service\Resource\Model``
`setActiveReceiptRuleSet( array $args = array() )`

Executes the SetActiveReceiptRuleSet operation.

Sets the specified receipt rule set as the active receipt rule set.

To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null.

For information about managing receipt rule sets, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->setActiveReceiptRuleSet(array(
          'RuleSetName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set to make active. Setting this value to null disables all email receiving.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`setIdentityDkimEnabled( array $args = array() )`

Executes the SetIdentityDkimEnabled operation.

Enables or disables Easy DKIM signing of email sent from an identity:

- If Easy DKIM signing is enabled for a domain name identity (e.g., example.com ), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., user@example.com ).
- If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.

For email addresses (e.g., user@example.com ), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com ) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action.

This action is throttled at one request per second.

For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->setIdentityDkimEnabled(array(
          // Identity is required
          'Identity' => 'string',
          // DkimEnabled is required
          'DkimEnabled' => true || false,
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity for which DKIM signing should be enabled or disabled.

  - DkimEnabled => (bool)

    Sets whether DKIM signing is enabled for an identity. Set to true to enable DKIM signing for this identity; false to disable it.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`setIdentityFeedbackForwardingEnabled( array $args = array() )`

Executes the SetIdentityFeedbackForwardingEnabled operation.

Given an identity (email address or domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.

Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.

This action is throttled at one request per second.

For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->setIdentityFeedbackForwardingEnabled(array(
          // Identity is required
          'Identity' => 'string',
          // ForwardingEnabled is required
          'ForwardingEnabled' => true || false,
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com.

  - ForwardingEnabled => (bool)

    Sets whether Amazon SES will forward bounce and complaint notifications as email. true specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`setIdentityNotificationTopic( array $args = array() )`

Executes the SetIdentityNotificationTopic operation.

Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source .

Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled .

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->setIdentityNotificationTopic(array(
          // Identity is required
          'Identity' => 'string',
          // NotificationType is required
          'NotificationType' => 'string',
          'SnsTopic' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Identity => (string)

    The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

  - NotificationType => (string: Bounce | Complaint | Delivery )

    The type of notifications that will be published to the specified Amazon SNS topic.

  - SnsTopic => (string)

    The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`setReceiptRulePosition( array $args = array() )`

Executes the SetReceiptRulePosition operation.

Sets the position of the specified receipt rule in the receipt rule set.

For information about managing receipt rules, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->setReceiptRulePosition(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          // RuleName is required
          'RuleName' => 'string',
          'After' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set that contains the receipt rule to reposition.

  - RuleName => (string)

    The name of the receipt rule to reposition.

  - After => (string)

    The name of the receipt rule after which to place the specified receipt rule.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`updateReceiptRule( array $args = array() )`

Executes the UpdateReceiptRule operation.

Updates a receipt rule.

For information about managing receipt rules, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->updateReceiptRule(array(
          // RuleSetName is required
          'RuleSetName' => 'string',
          // Rule is required
          'Rule' => array(
              // Name is required
              'Name' => 'string',
              'Enabled' => true || false,
              'TlsPolicy' => 'string',
              'Recipients' => array('string', ... ),
              'Actions' => array(
                  array(
                      'S3Action' => array(
                          'TopicArn' => 'string',
                          // BucketName is required
                          'BucketName' => 'string',
                          'ObjectKeyPrefix' => 'string',
                          'KmsKeyArn' => 'string',
                      ),
                      'BounceAction' => array(
                          'TopicArn' => 'string',
                          // SmtpReplyCode is required
                          'SmtpReplyCode' => 'string',
                          'StatusCode' => 'string',
                          // Message is required
                          'Message' => 'string',
                          // Sender is required
                          'Sender' => 'string',
                      ),
                      'WorkmailAction' => array(
                          'TopicArn' => 'string',
                          // OrganizationArn is required
                          'OrganizationArn' => 'string',
                      ),
                      'LambdaAction' => array(
                          'TopicArn' => 'string',
                          // FunctionArn is required
                          'FunctionArn' => 'string',
                          'InvocationType' => 'string',
                      ),
                      'StopAction' => array(
                          // Scope is required
                          'Scope' => 'string',
                          'TopicArn' => 'string',
                      ),
                      'AddHeaderAction' => array(
                          // HeaderName is required
                          'HeaderName' => 'string',
                          // HeaderValue is required
                          'HeaderValue' => 'string',
                      ),
                      'SNSAction' => array(
                          // TopicArn is required
                          'TopicArn' => 'string',
                      ),
                  ),
                  // ... repeated
              ),
              'ScanEnabled' => true || false,
          ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - RuleSetName => (string)

    The name of the receipt rule set to which the receipt rule belongs.

  - Rule => (associative-array)

    A data structure that contains the updated receipt rule information.

    - Name => (string)

      The name of the receipt rule. The name must:

      - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
      - Start and end with a letter or number.
      - Contain less than 64 characters.
    - Enabled => (bool)

      If true, the receipt rule is active. The default value is true.

    - TlsPolicy => (string: Require | Optional )

      Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional.

    - Recipients => (array<string>)

      The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.

    - Actions => (array<associative-array>)

      An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.

      - (associative-array)

        An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

        For information about setting up receipt rules, see the Amazon SES Developer Guide.

        - S3Action => (associative-array)

          Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - BucketName => (string)

            The name of the Amazon S3 bucket to which to save the received email.

          - ObjectKeyPrefix => (string)

            The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.

          - KmsKeyArn => (string)

            The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:

            - To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses. For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses. If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
            - To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide.

            For more information about key policies, see the AWS KMS Developer Guide. If you do not specify a master key, Amazon SES will not encrypt your emails.

            Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide.
        - BounceAction => (associative-array)

          Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - SmtpReplyCode => (string)

            The SMTP reply code, as defined by RFC 5321.

          - StatusCode => (string)

            The SMTP enhanced status code, as defined by RFC 3463.

          - Message => (string)

            Human-readable text to include in the bounce message.

          - Sender => (string)

            The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

        - WorkmailAction => (associative-array)

          Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - OrganizationArn => (string)

            The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide.

        - LambdaAction => (associative-array)

          Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

          - FunctionArn => (string)

            The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. For more information about AWS Lambda, see the AWS Lambda Developer Guide.

          - InvocationType => (string: Event | RequestResponse )

            The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide.

            There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
        - StopAction => (associative-array)

          Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

          - Scope => (string: RuleSet )

            The scope to which the Stop action applies. That is, what is being stopped.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        - AddHeaderAction => (associative-array)

          Adds a header to the received email.

          - HeaderName => (string)

            The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

          - HeaderValue => (string)

            Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").

        - SNSAction => (associative-array)

          Publishes the email content within a notification to Amazon SNS.

          - TopicArn => (string)

            The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

    - ScanEnabled => (bool)

      If true, then messages to which this receipt rule applies are scanned for spam and viruses. The default value is true.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`verifyDomainDkim( array $args = array() )`

Executes the VerifyDomainDkim operation.

Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.

This action is throttled at one request per second.

To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->verifyDomainDkim(array(
          // Domain is required
          'Domain' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Domain => (string)

    The name of the domain to be verified for Easy DKIM signing.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- DkimTokens => (array<string>)

  A set of character strings that represent the domain's identity. If the identity is an email address, the tokens represent the domain of that address.

  Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign emails originating from that domain.

  For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

# `public `Guzzle\Service\Resource\Model``
`verifyDomainIdentity( array $args = array() )`

Executes the VerifyDomainIdentity operation.

Verifies a domain.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->verifyDomainIdentity(array(
          // Domain is required
          'Domain' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Domain => (string)

    The domain to be verified.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- VerificationToken => (string)

  A TXT record that must be placed in the DNS settings for the domain, in order to complete domain verification.

# `public `Guzzle\Service\Resource\Model``
`verifyEmailAddress( array $args = array() )`

Executes the VerifyEmailAddress operation.

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.

This action is throttled at one request per second.

This command is deprecated

#### Examples

- Basic formatting example

      $result = $client->verifyEmailAddress(array(
          // EmailAddress is required
          'EmailAddress' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - EmailAddress => (string)

    The email address to be verified.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`verifyEmailIdentity( array $args = array() )`

Executes the VerifyEmailIdentity operation.

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

This action is throttled at one request per second.

#### Examples

- Basic formatting example

      $result = $client->verifyEmailIdentity(array(
          // EmailAddress is required
          'EmailAddress' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - EmailAddress => (string)

    The email address to be verified.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public`
`waitUntilIdentityExists( array $input )`

The input array uses the parameters of the GetIdentityVerificationAttributes operation and waiter specific settings

#### Parameters

$input
  `array`
  $input

# `public `Guzzle\Service\Resource\ResourceIteratorInterface``
`getListIdentitiesIterator( array $args = array() )`

The input array uses the parameters of the ListIdentities operation

#### Parameters

$args
  `array`
  $args

#### Returns

``Guzzle\Service\Resource\ResourceIteratorInterface``
# `public `Guzzle\Service\Resource\ResourceIteratorInterface``
`getListVerifiedEmailAddressesIterator( array $args = array() )`

The input array uses the parameters of the ListVerifiedEmailAddresses operation

#### Parameters

$args
  `array`
  $args

#### Returns

``Guzzle\Service\Resource\ResourceIteratorInterface``

### Methods inherited from Aws\Common\Client\AbstractClient

`__call()`, `__construct()`, `createRequest()`, `getAllEvents()`, `getApiVersion()`, `getCredentials()`, `getRegion()`, `getRegions()`, `getSignature()`, `getWaiter()`, `getWaiterFactory()`, `send()`, `setCredentials()`, `setRegion()`, `setWaiterFactory()`, `waitUntil()`

### Methods inherited from Guzzle\Service\Client

`execute()`, `executeMultiple()`, `getCommand()`, `getCommandFactory()`, `getDescription()`, `getInflector()`, `getIterator()`, `getResourceIteratorFactory()`, `prepareCommand()`, `setCommandFactory()`, `setDescription()`, `setInflector()`, `setResourceIteratorFactory()`

### Methods inherited from Guzzle\Http\Client

`delete()`, `expandTemplate()`, `extractPharCacert()`, `get()`, `getBaseUrl()`, `getConfig()`, `getCurlMulti()`, `getDefaultOption()`, `getDefaultUserAgent()`, `getUriTemplate()`, `head()`, `initSsl()`, `options()`, `patch()`, `post()`, `prepareRequest()`, `put()`, `sendMultiple()`, `setBaseUrl()`, `setConfig()`, `setCurlMulti()`, `setDefaultOption()`, `setRequestFactory()`, `setSslVerification()`, `setUriTemplate()`, `setUserAgent()`

### Methods inherited from Guzzle\Common\AbstractHasDispatcher

`addSubscriber()`, `dispatch()`, `getEventDispatcher()`, `setEventDispatcher()`

### Magic methods summary

## Constants summary

`string` | `LATEST_API_VERSION` | `'2010-12-01'` | #

### Constants inherited from Guzzle\Service\Client

`COMMAND_PARAMS`

### Constants inherited from Guzzle\Http\Client

`CURL_OPTIONS`, `DEFAULT_SELECT_TIMEOUT`, `DISABLE_REDIRECTS`, `MAX_HANDLES`, `REQUEST_OPTIONS`, `SSL_CERT_AUTHORITY`

### Constants inherited from Guzzle\Http\ClientInterface

`CREATE_REQUEST`, `HTTP_DATE`

## Properties summary

### Properties inherited from Aws\Common\Client\AbstractClient

`$aggregator`, `$credentials`, `$signature`, `$waiterFactory`

### Properties inherited from Guzzle\Service\Client

`$commandFactory`, `$inflector`, `$resourceIteratorFactory`, `$serviceDescription`

### Properties inherited from Guzzle\Http\Client

`$defaultHeaders`, `$requestFactory`, `$userAgent`

### Properties inherited from Guzzle\Common\AbstractHasDispatcher

`$eventDispatcher`