The AWS SDK for JavaScript v2 has reached end-of-support.
We recommend that you migrate to AWS SDK for JavaScript v3. For additional details and information on how to migrate, please refer to the announcement.

Class: AWS.SES

Inherits:
AWS.Service show all
Identifier:
ses
API Version:
2010-12-01
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

This document contains reference information for the Amazon Simple Email Service (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the Amazon SES Developer Guide.

Note: For a list of Amazon SES endpoints to use in service requests, see Regions and Amazon SES in the Amazon SES Developer Guide.

This documentation contains reference information related to the following:

Sending a Request Using SES

var ses = new AWS.SES();
ses.cloneReceiptRuleSet(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the SES object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var ses = new AWS.SES({apiVersion: '2010-12-01'});

You can also set the API version globally in AWS.config.apiVersions using the ses service identifier:

AWS.config.apiVersions = {
  ses: '2010-12-01',
  // other service API versions
};

var ses = new AWS.SES();

Version:

  • 2010-12-01

Waiter Resource States

This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:

identityExists

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse