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

Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM * signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends * from addresses on that domain. If Easy DKIM signing is enabled for an email address, * then Amazon SES uses DKIM to sign all email it sends from that address.

* *

For email addresses (for example, user@example.com), you can only * enable DKIM signing if the corresponding domain (in this case, * example.com) has been set up to use Easy DKIM.

*
*

You can enable DKIM signing for an identity at any time after you start the * verification process for the identity, even if the verification process isn't complete.

*

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

*

For more information about Easy DKIM signing, go to the Amazon SES Developer * Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SESClient, SetIdentityDkimEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, SetIdentityDkimEnabledCommand } = 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 = { // SetIdentityDkimEnabledRequest * Identity: "STRING_VALUE", // required * DkimEnabled: true || false, // required * }; * const command = new SetIdentityDkimEnabledCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetIdentityDkimEnabledCommandInput - {@link SetIdentityDkimEnabledCommandInput} * @returns {@link SetIdentityDkimEnabledCommandOutput} * @see {@link SetIdentityDkimEnabledCommandInput} for command's `input` shape. * @see {@link SetIdentityDkimEnabledCommandOutput} 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 SetIdentityDkimEnabled * ```javascript * // The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity: * const input = { * DkimEnabled: true, * Identity: "user@example.com" * }; * const command = new SetIdentityDkimEnabledCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class SetIdentityDkimEnabledCommand extends SetIdentityDkimEnabledCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetIdentityDkimEnabledRequest; output: {}; }; sdk: { input: SetIdentityDkimEnabledCommandInput; output: SetIdentityDkimEnabledCommandOutput; }; }; }