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

Deletes the specified sending authorization policy for the given identity (an email * address or a domain). This operation returns successfully even if a policy with the * specified name does not exist.

* *

This operation is for the identity owner only. If you have not verified the * identity, it returns an error.

*
*

Sending authorization is a feature that enables an identity owner to authorize other * senders to use its identities. For information about using sending authorization, see * 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, DeleteIdentityPolicyCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, DeleteIdentityPolicyCommand } = 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 = { // DeleteIdentityPolicyRequest * Identity: "STRING_VALUE", // required * PolicyName: "STRING_VALUE", // required * }; * const command = new DeleteIdentityPolicyCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteIdentityPolicyCommandInput - {@link DeleteIdentityPolicyCommandInput} * @returns {@link DeleteIdentityPolicyCommandOutput} * @see {@link DeleteIdentityPolicyCommandInput} for command's `input` shape. * @see {@link DeleteIdentityPolicyCommandOutput} 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 DeleteIdentityPolicy * ```javascript * // The following example deletes a sending authorization policy for an identity: * const input = { * Identity: "user@example.com", * PolicyName: "MyPolicy" * }; * const command = new DeleteIdentityPolicyCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteIdentityPolicyCommand extends DeleteIdentityPolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteIdentityPolicyRequest; output: {}; }; sdk: { input: DeleteIdentityPolicyCommandInput; output: DeleteIdentityPolicyCommandOutput; }; }; }