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

Creates a receipt rule set by cloning an existing one. All receipt rules and * configurations are copied to the new receipt rule set and are completely independent of * the source rule set.

*

For information about setting up rule sets, 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, CloneReceiptRuleSetCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, CloneReceiptRuleSetCommand } = 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 = { // CloneReceiptRuleSetRequest * RuleSetName: "STRING_VALUE", // required * OriginalRuleSetName: "STRING_VALUE", // required * }; * const command = new CloneReceiptRuleSetCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CloneReceiptRuleSetCommandInput - {@link CloneReceiptRuleSetCommandInput} * @returns {@link CloneReceiptRuleSetCommandOutput} * @see {@link CloneReceiptRuleSetCommandInput} for command's `input` shape. * @see {@link CloneReceiptRuleSetCommandOutput} for command's `response` shape. * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape. * * @throws {@link AlreadyExistsException} (client fault) *

Indicates that a resource could not be created because of a naming conflict.

* * @throws {@link LimitExceededException} (client fault) *

Indicates that a resource could not be created because of service limits. For a list * of Amazon SES limits, see the Amazon SES Developer * Guide.

* * @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 CloneReceiptRuleSet * ```javascript * // The following example creates a receipt rule set by cloning an existing one: * const input = { * OriginalRuleSetName: "RuleSetToClone", * RuleSetName: "RuleSetToCreate" * }; * const command = new CloneReceiptRuleSetCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class CloneReceiptRuleSetCommand extends CloneReceiptRuleSetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CloneReceiptRuleSetRequest; output: {}; }; sdk: { input: CloneReceiptRuleSetCommandInput; output: CloneReceiptRuleSetCommandOutput; }; }; }