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

Enables or disables email sending for messages sent using a specific configuration set * in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms * to temporarily pause email sending for a configuration set when the reputation metrics * for that configuration set (such as your bounce on complaint rate) exceed certain * thresholds.

*

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, UpdateConfigurationSetSendingEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, UpdateConfigurationSetSendingEnabledCommand } = 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 = { // UpdateConfigurationSetSendingEnabledRequest * ConfigurationSetName: "STRING_VALUE", // required * Enabled: true || false, // required * }; * const command = new UpdateConfigurationSetSendingEnabledCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateConfigurationSetSendingEnabledCommandInput - {@link UpdateConfigurationSetSendingEnabledCommandInput} * @returns {@link UpdateConfigurationSetSendingEnabledCommandOutput} * @see {@link UpdateConfigurationSetSendingEnabledCommandInput} for command's `input` shape. * @see {@link UpdateConfigurationSetSendingEnabledCommandOutput} for command's `response` shape. * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape. * * @throws {@link ConfigurationSetDoesNotExistException} (client fault) *

Indicates that the configuration set does not exist.

* * @throws {@link SESServiceException} *

Base exception class for all service exceptions from SES service.

* * * @example UpdateConfigurationSetReputationMetricsEnabled * ```javascript * // Set the sending enabled flag for a specific configuration set. * const input = { * ConfigurationSetName: "foo", * Enabled: true * }; * const command = new UpdateConfigurationSetSendingEnabledCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class UpdateConfigurationSetSendingEnabledCommand extends UpdateConfigurationSetSendingEnabledCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateConfigurationSetSendingEnabledRequest; output: {}; }; sdk: { input: UpdateConfigurationSetSendingEnabledCommandInput; output: UpdateConfigurationSetSendingEnabledCommandOutput; }; }; }