Jump to Content

Class VerifyDomainIdentityCommandProtected

Adds a domain to the list of identities for your Amazon SES account in the current AWS Region and attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Example

Use a bare-bones client and the command you need to make an API call.

import { SESClient, VerifyDomainIdentityCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, VerifyDomainIdentityCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const command = new VerifyDomainIdentityCommand(input);
const response = await client.send(command);

Param

VerifyDomainIdentityCommandInput

Returns

VerifyDomainIdentityCommandOutput

See

Example

VerifyDomainIdentity

// The following example starts the domain verification process with Amazon SES:
const input = {
"Domain": "example.com"
};
const command = new VerifyDomainIdentityCommand(input);
const response = await client.send(command);
/* response ==
{
"VerificationToken": "eoEmxw+YaYhb3h3iVJHuXMJXqeu1q1/wwmvjuEXAMPLE"
}
*/
// example id: verifydomainidentity-1469049165936

Hierarchy

Constructors

Properties

Methods