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

Deletes the specified receipt rule.

*

For information about managing receipt rules, 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, DeleteReceiptRuleCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, DeleteReceiptRuleCommand } = 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 = { // DeleteReceiptRuleRequest * RuleSetName: "STRING_VALUE", // required * RuleName: "STRING_VALUE", // required * }; * const command = new DeleteReceiptRuleCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteReceiptRuleCommandInput - {@link DeleteReceiptRuleCommandInput} * @returns {@link DeleteReceiptRuleCommandOutput} * @see {@link DeleteReceiptRuleCommandInput} for command's `input` shape. * @see {@link DeleteReceiptRuleCommandOutput} for command's `response` shape. * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape. * * @throws {@link RuleSetDoesNotExistException} (client fault) *

Indicates that the provided receipt rule set does not exist.

* * @throws {@link SESServiceException} *

Base exception class for all service exceptions from SES service.

* * * @example DeleteReceiptRule * ```javascript * // The following example deletes a receipt rule: * const input = { * RuleName: "MyRule", * RuleSetName: "MyRuleSet" * }; * const command = new DeleteReceiptRuleCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteReceiptRuleCommand extends DeleteReceiptRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteReceiptRuleRequest; output: {}; }; sdk: { input: DeleteReceiptRuleCommandInput; output: DeleteReceiptRuleCommandOutput; }; }; }