import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateConfigurationSetEventDestinationRequest, CreateConfigurationSetEventDestinationResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateConfigurationSetEventDestinationCommand}. */ export interface CreateConfigurationSetEventDestinationCommandInput extends CreateConfigurationSetEventDestinationRequest { } /** * @public * * The output of {@link CreateConfigurationSetEventDestinationCommand}. */ export interface CreateConfigurationSetEventDestinationCommandOutput extends CreateConfigurationSetEventDestinationResponse, __MetadataBearer { } declare const CreateConfigurationSetEventDestinationCommand_base: { new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Create an event destination. Events include message sends, * deliveries, opens, clicks, bounces, and complaints. Event * destinations are places that you can send information about these events * to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event * to the specified target.

*

A single configuration set can include more than one event destination.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SESv2Client, CreateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-sesv2"; // ES Modules import * // const { SESv2Client, CreateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import * // import type { SESv2ClientConfig } from "@aws-sdk/client-sesv2"; * const config = {}; // type is SESv2ClientConfig * const client = new SESv2Client(config); * const input = { // CreateConfigurationSetEventDestinationRequest * ConfigurationSetName: "STRING_VALUE", // required * EventDestinationName: "STRING_VALUE", // required * EventDestination: { // EventDestinationDefinition * Enabled: true || false, * MatchingEventTypes: [ // EventTypes * "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE" || "DELIVERY_DELAY" || "SUBSCRIPTION", * ], * KinesisFirehoseDestination: { // KinesisFirehoseDestination * IamRoleArn: "STRING_VALUE", // required * DeliveryStreamArn: "STRING_VALUE", // required * }, * CloudWatchDestination: { // CloudWatchDestination * DimensionConfigurations: [ // CloudWatchDimensionConfigurations // required * { // CloudWatchDimensionConfiguration * DimensionName: "STRING_VALUE", // required * DimensionValueSource: "MESSAGE_TAG" || "EMAIL_HEADER" || "LINK_TAG", // required * DefaultDimensionValue: "STRING_VALUE", // required * }, * ], * }, * SnsDestination: { // SnsDestination * TopicArn: "STRING_VALUE", // required * }, * EventBridgeDestination: { // EventBridgeDestination * EventBusArn: "STRING_VALUE", // required * }, * PinpointDestination: { // PinpointDestination * ApplicationArn: "STRING_VALUE", * }, * }, * }; * const command = new CreateConfigurationSetEventDestinationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CreateConfigurationSetEventDestinationCommandInput - {@link CreateConfigurationSetEventDestinationCommandInput} * @returns {@link CreateConfigurationSetEventDestinationCommandOutput} * @see {@link CreateConfigurationSetEventDestinationCommandInput} for command's `input` shape. * @see {@link CreateConfigurationSetEventDestinationCommandOutput} for command's `response` shape. * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape. * * @throws {@link AlreadyExistsException} (client fault) *

The resource specified in your request already exists.

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

The input you provided is invalid.

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

There are too many instances of the specified resource type.

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

The resource you attempted to access doesn't exist.

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

Too many requests have been made to the operation.

* * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* * * @public */ export declare class CreateConfigurationSetEventDestinationCommand extends CreateConfigurationSetEventDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateConfigurationSetEventDestinationRequest; output: {}; }; sdk: { input: CreateConfigurationSetEventDestinationCommandInput; output: CreateConfigurationSetEventDestinationCommandOutput; }; }; }