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

Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use * this operation, you specify a verified identity, such as an email address or domain. * When you send an email that uses the chosen identity in the Source field, Amazon SES sends * notifications to the topic you specified. You can send bounce, complaint, or delivery * notifications (or any combination of the three) to the Amazon SNS topic that you * specify.

*

You can execute this operation no more than once per second.

*

For more information about feedback notification, see the Amazon SES * Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SESClient, SetIdentityNotificationTopicCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, SetIdentityNotificationTopicCommand } = 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 = { // SetIdentityNotificationTopicRequest * Identity: "STRING_VALUE", // required * NotificationType: "Bounce" || "Complaint" || "Delivery", // required * SnsTopic: "STRING_VALUE", * }; * const command = new SetIdentityNotificationTopicCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetIdentityNotificationTopicCommandInput - {@link SetIdentityNotificationTopicCommandInput} * @returns {@link SetIdentityNotificationTopicCommandOutput} * @see {@link SetIdentityNotificationTopicCommandInput} for command's `input` shape. * @see {@link SetIdentityNotificationTopicCommandOutput} 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 SetIdentityNotificationTopic * ```javascript * // The following example sets the Amazon SNS topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with the specified identity as the Source: * const input = { * Identity: "user@example.com", * NotificationType: "Bounce", * SnsTopic: "arn:aws:sns:us-west-2:111122223333:MyTopic" * }; * const command = new SetIdentityNotificationTopicCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class SetIdentityNotificationTopicCommand extends SetIdentityNotificationTopicCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetIdentityNotificationTopicRequest; output: {}; }; sdk: { input: SetIdentityNotificationTopicCommandInput; output: SetIdentityNotificationTopicCommandOutput; }; }; }