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

Returns a set of DKIM tokens for a domain identity.

* *

When you execute the VerifyDomainDkim operation, the domain that you * specify is added to the list of identities that are associated with your account. * This is true even if you haven't already associated the domain with your account by * using the VerifyDomainIdentity operation. However, you can't send email * from the domain until you either successfully verify * it or you successfully set up DKIM for * it.

*
*

You use the tokens that are generated by this operation to create CNAME records. When * Amazon SES detects that you've added these records to the DNS configuration for a domain, you * can start sending email from that domain. You can start sending email even if you * haven't added the TXT record provided by the VerifyDomainIdentity operation to the DNS * configuration for your domain. All email that you send from the domain is authenticated * using DKIM.

*

To create the CNAME records for DKIM authentication, use the following values:

* *

In the preceding example, replace token with one of the tokens * that are generated when you execute this operation. Replace * example.com with your domain. Repeat this process for each * token that's generated by this operation.

*

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, VerifyDomainDkimCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, VerifyDomainDkimCommand } = 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 = { // VerifyDomainDkimRequest * Domain: "STRING_VALUE", // required * }; * const command = new VerifyDomainDkimCommand(input); * const response = await client.send(command); * // { // VerifyDomainDkimResponse * // DkimTokens: [ // VerificationTokenList // required * // "STRING_VALUE", * // ], * // }; * * ``` * * @param VerifyDomainDkimCommandInput - {@link VerifyDomainDkimCommandInput} * @returns {@link VerifyDomainDkimCommandOutput} * @see {@link VerifyDomainDkimCommandInput} for command's `input` shape. * @see {@link VerifyDomainDkimCommandOutput} 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 VerifyDomainDkim * ```javascript * // The following example generates DKIM tokens for a domain that has been verified with Amazon SES: * const input = { * Domain: "example.com" * }; * const command = new VerifyDomainDkimCommand(input); * const response = await client.send(command); * /* response is * { * DkimTokens: [ * "EXAMPLEq76owjnks3lnluwg65scbemvw", * "EXAMPLEi3dnsj67hstzaj673klariwx2", * "EXAMPLEwfbtcukvimehexktmdtaz6naj" * ] * } * *\/ * ``` * * @public */ export declare class VerifyDomainDkimCommand extends VerifyDomainDkimCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: VerifyDomainDkimRequest; output: VerifyDomainDkimResponse; }; sdk: { input: VerifyDomainDkimCommandInput; output: VerifyDomainDkimCommandOutput; }; }; }