Jump to Content

Class VerifyEmailIdentityCommandProtected

Adds an email address to the list of identities for your Amazon SES account in the current AWS region and attempts to verify it. As a result of executing this operation, a verification email is sent to the specified address.

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, VerifyEmailIdentityCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, VerifyEmailIdentityCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const command = new VerifyEmailIdentityCommand(input);
const response = await client.send(command);

Param

VerifyEmailIdentityCommandInput

Returns

VerifyEmailIdentityCommandOutput

See

Example

VerifyEmailIdentity

// The following example starts the email address verification process with Amazon SES:
const input = {
"EmailAddress": "user@example.com"
};
const command = new VerifyEmailIdentityCommand(input);
await client.send(command);
// example id: verifyemailidentity-1469049068623

Hierarchy

Constructors

Properties

Methods