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

Enables or disables the publishing of reputation metrics for emails sent using a * specific configuration set in a given Amazon Web Services Region. Reputation metrics include bounce * and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can * create alarms when bounce or complaint rates 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, UpdateConfigurationSetReputationMetricsEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, UpdateConfigurationSetReputationMetricsEnabledCommand } = 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 = { // UpdateConfigurationSetReputationMetricsEnabledRequest * ConfigurationSetName: "STRING_VALUE", // required * Enabled: true || false, // required * }; * const command = new UpdateConfigurationSetReputationMetricsEnabledCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateConfigurationSetReputationMetricsEnabledCommandInput - {@link UpdateConfigurationSetReputationMetricsEnabledCommandInput} * @returns {@link UpdateConfigurationSetReputationMetricsEnabledCommandOutput} * @see {@link UpdateConfigurationSetReputationMetricsEnabledCommandInput} for command's `input` shape. * @see {@link UpdateConfigurationSetReputationMetricsEnabledCommandOutput} 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 reputationMetricsEnabled flag for a specific configuration set. * const input = { * ConfigurationSetName: "foo", * Enabled: true * }; * const command = new UpdateConfigurationSetReputationMetricsEnabledCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class UpdateConfigurationSetReputationMetricsEnabledCommand extends UpdateConfigurationSetReputationMetricsEnabledCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateConfigurationSetReputationMetricsEnabledRequest; output: {}; }; sdk: { input: UpdateConfigurationSetReputationMetricsEnabledCommandInput; output: UpdateConfigurationSetReputationMetricsEnabledCommandOutput; }; }; }