import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { VerifyDomainIdentityRequest, VerifyDomainIdentityResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SESClientResolvedConfig } from "../SESClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link VerifyDomainIdentityCommand}. */ export interface VerifyDomainIdentityCommandInput extends VerifyDomainIdentityRequest { } /** * @public * * The output of {@link VerifyDomainIdentityCommand}. */ export interface VerifyDomainIdentityCommandOutput extends VerifyDomainIdentityResponse, __MetadataBearer { } declare const VerifyDomainIdentityCommand_base: { new (input: VerifyDomainIdentityCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: VerifyDomainIdentityCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Adds a domain to the list of identities for your Amazon SES account in the current * Amazon Web Services 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. * ```javascript * import { SESClient, VerifyDomainIdentityCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, VerifyDomainIdentityCommand } = require("@aws-sdk/client-ses"); // CommonJS import * // import type { SESClientConfig } from "@aws-sdk/client-ses"; * const config = {}; // type is SESClientConfig * const client = new SESClient(config); * const input = { // VerifyDomainIdentityRequest * Domain: "STRING_VALUE", // required * }; * const command = new VerifyDomainIdentityCommand(input); * const response = await client.send(command); * // { // VerifyDomainIdentityResponse * // VerificationToken: "STRING_VALUE", // required * // }; * * ``` * * @param VerifyDomainIdentityCommandInput - {@link VerifyDomainIdentityCommandInput} * @returns {@link VerifyDomainIdentityCommandOutput} * @see {@link VerifyDomainIdentityCommandInput} for command's `input` shape. * @see {@link VerifyDomainIdentityCommandOutput} for command's `response` shape. * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape. * * @throws {@link SESServiceException} *

Base exception class for all service exceptions from SES service.

* * * @example VerifyDomainIdentity * ```javascript * // 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 is * { * VerificationToken: "eoEmxw+YaYhb3h3iVJHuXMJXqeu1q1/wwmvjuEXAMPLE" * } * *\/ * ``` * * @public */ export declare class VerifyDomainIdentityCommand extends VerifyDomainIdentityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: VerifyDomainIdentityRequest; output: VerifyDomainIdentityResponse; }; sdk: { input: VerifyDomainIdentityCommandInput; output: VerifyDomainIdentityCommandOutput; }; }; }