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

Returns the current status of Easy DKIM signing for an entity. For domain name * identities, this operation also returns the DKIM tokens that are required for Easy DKIM * signing, and whether Amazon SES has successfully verified that these tokens have been * published.

*

This operation takes a list of identities as input and returns the following * information for each:

* *

This operation is throttled at one request per second and can only get DKIM attributes * for up to 100 identities at a time.

*

For more information about creating DNS records using DKIM tokens, 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, GetIdentityDkimAttributesCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, GetIdentityDkimAttributesCommand } = 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 = { // GetIdentityDkimAttributesRequest * Identities: [ // IdentityList // required * "STRING_VALUE", * ], * }; * const command = new GetIdentityDkimAttributesCommand(input); * const response = await client.send(command); * // { // GetIdentityDkimAttributesResponse * // DkimAttributes: { // DkimAttributes // required * // "": { // IdentityDkimAttributes * // DkimEnabled: true || false, // required * // DkimVerificationStatus: "Pending" || "Success" || "Failed" || "TemporaryFailure" || "NotStarted", // required * // DkimTokens: [ // VerificationTokenList * // "STRING_VALUE", * // ], * // }, * // }, * // }; * * ``` * * @param GetIdentityDkimAttributesCommandInput - {@link GetIdentityDkimAttributesCommandInput} * @returns {@link GetIdentityDkimAttributesCommandOutput} * @see {@link GetIdentityDkimAttributesCommandInput} for command's `input` shape. * @see {@link GetIdentityDkimAttributesCommandOutput} 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 GetIdentityDkimAttributes * ```javascript * // The following example retrieves the Amazon SES Easy DKIM attributes for a list of identities: * const input = { * Identities: [ * "example.com", * "user@example.com" * ] * }; * const command = new GetIdentityDkimAttributesCommand(input); * const response = await client.send(command); * /* response is * { * DkimAttributes: { * example.com: { * DkimEnabled: true, * DkimTokens: [ * "EXAMPLEjcs5xoyqytjsotsijas7236gr", * "EXAMPLEjr76cvoc6mysspnioorxsn6ep", * "EXAMPLEkbmkqkhlm2lyz77ppkulerm4k" * ], * DkimVerificationStatus: "Success" * }, * user@example.com: { * DkimEnabled: false, * DkimVerificationStatus: "NotStarted" * } * } * } * *\/ * ``` * * @public */ export declare class GetIdentityDkimAttributesCommand extends GetIdentityDkimAttributesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetIdentityDkimAttributesRequest; output: GetIdentityDkimAttributesResponse; }; sdk: { input: GetIdentityDkimAttributesCommandInput; output: GetIdentityDkimAttributesCommandOutput; }; }; }