@aws-sdk/client-sesv2 3.592.0 → 3.596.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,9 +30,8 @@ declare const CreateConfigurationSetEventDestinationCommand_base: {
30
30
  * <p>Create an event destination. <i>Events</i> include message sends,
31
31
  * deliveries, opens, clicks, bounces, and complaints. <i>Event
32
32
  * destinations</i> are places that you can send information about these events
33
- * to. For example, you can send event data to Amazon SNS to receive notifications when you
34
- * receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term
35
- * storage.</p>
33
+ * to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event
34
+ * to the specified target.</p>
36
35
  * <p>A single configuration set can include more than one event destination.</p>
37
36
  * @example
38
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -64,6 +63,9 @@ declare const CreateConfigurationSetEventDestinationCommand_base: {
64
63
  * SnsDestination: { // SnsDestination
65
64
  * TopicArn: "STRING_VALUE", // required
66
65
  * },
66
+ * EventBridgeDestination: { // EventBridgeDestination
67
+ * EventBusArn: "STRING_VALUE", // required
68
+ * },
67
69
  * PinpointDestination: { // PinpointDestination
68
70
  * ApplicationArn: "STRING_VALUE",
69
71
  * },
@@ -31,9 +31,8 @@ declare const DeleteConfigurationSetEventDestinationCommand_base: {
31
31
  * <p>
32
32
  * <i>Events</i> include message sends, deliveries, opens, clicks, bounces,
33
33
  * and complaints. <i>Event destinations</i> are places that you can send
34
- * information about these events to. For example, you can send event data to Amazon SNS to
35
- * receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to
36
- * stream data to Amazon S3 for long-term storage.</p>
34
+ * information about these events to. For example, you can send event data to Amazon EventBridge and
35
+ * associate a rule to send the event to the specified target.</p>
37
36
  * @example
38
37
  * Use a bare-bones client and the command you need to make an API call.
39
38
  * ```javascript
@@ -32,9 +32,8 @@ declare const GetConfigurationSetEventDestinationsCommand_base: {
32
32
  * <p>
33
33
  * <i>Events</i> include message sends, deliveries, opens, clicks, bounces,
34
34
  * and complaints. <i>Event destinations</i> are places that you can send
35
- * information about these events to. For example, you can send event data to Amazon SNS to
36
- * receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to
37
- * stream data to Amazon S3 for long-term storage.</p>
35
+ * information about these events to. For example, you can send event data to Amazon EventBridge and
36
+ * associate a rule to send the event to the specified target.</p>
38
37
  * @example
39
38
  * Use a bare-bones client and the command you need to make an API call.
40
39
  * ```javascript
@@ -70,6 +69,9 @@ declare const GetConfigurationSetEventDestinationsCommand_base: {
70
69
  * // SnsDestination: { // SnsDestination
71
70
  * // TopicArn: "STRING_VALUE", // required
72
71
  * // },
72
+ * // EventBridgeDestination: { // EventBridgeDestination
73
+ * // EventBusArn: "STRING_VALUE", // required
74
+ * // },
73
75
  * // PinpointDestination: { // PinpointDestination
74
76
  * // ApplicationArn: "STRING_VALUE",
75
77
  * // },
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutEmailIdentityFeedbackAttributesRequest } from "../models/models_0";
4
- import { PutEmailIdentityFeedbackAttributesResponse } from "../models/models_1";
3
+ import { PutEmailIdentityFeedbackAttributesRequest, PutEmailIdentityFeedbackAttributesResponse } from "../models/models_1";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
6
5
  /**
7
6
  * @public
@@ -31,9 +31,8 @@ declare const UpdateConfigurationSetEventDestinationCommand_base: {
31
31
  * <p>
32
32
  * <i>Events</i> include message sends, deliveries, opens, clicks, bounces,
33
33
  * and complaints. <i>Event destinations</i> are places that you can send
34
- * information about these events to. For example, you can send event data to Amazon SNS to
35
- * receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to
36
- * stream data to Amazon S3 for long-term storage.</p>
34
+ * information about these events to. For example, you can send event data to Amazon EventBridge and
35
+ * associate a rule to send the event to the specified target.</p>
37
36
  * @example
38
37
  * Use a bare-bones client and the command you need to make an API call.
39
38
  * ```javascript
@@ -64,6 +63,9 @@ declare const UpdateConfigurationSetEventDestinationCommand_base: {
64
63
  * SnsDestination: { // SnsDestination
65
64
  * TopicArn: "STRING_VALUE", // required
66
65
  * },
66
+ * EventBridgeDestination: { // EventBridgeDestination
67
+ * EventBusArn: "STRING_VALUE", // required
68
+ * },
67
69
  * PinpointDestination: { // PinpointDestination
68
70
  * ApplicationArn: "STRING_VALUE",
69
71
  * },
@@ -1485,6 +1485,18 @@ export declare class LimitExceededException extends __BaseException {
1485
1485
  */
1486
1486
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1487
1487
  }
1488
+ /**
1489
+ * <p>An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to
1490
+ * send notifications when certain email events occur.</p>
1491
+ * @public
1492
+ */
1493
+ export interface EventBridgeDestination {
1494
+ /**
1495
+ * <p>The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported. </p>
1496
+ * @public
1497
+ */
1498
+ EventBusArn: string | undefined;
1499
+ }
1488
1500
  /**
1489
1501
  * <p>An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
1490
1502
  * stream data to other services, such as Amazon S3 and Amazon Redshift.</p>
@@ -1540,7 +1552,7 @@ export interface PinpointDestination {
1540
1552
  }
1541
1553
  /**
1542
1554
  * <p>An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to
1543
- * send notification when certain email events occur.</p>
1555
+ * send notifications when certain email events occur.</p>
1544
1556
  * @public
1545
1557
  */
1546
1558
  export interface SnsDestination {
@@ -1588,10 +1600,16 @@ export interface EventDestinationDefinition {
1588
1600
  CloudWatchDestination?: CloudWatchDestination;
1589
1601
  /**
1590
1602
  * <p>An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to
1591
- * send notification when certain email events occur.</p>
1603
+ * send notifications when certain email events occur.</p>
1592
1604
  * @public
1593
1605
  */
1594
1606
  SnsDestination?: SnsDestination;
1607
+ /**
1608
+ * <p>An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to
1609
+ * send notifications when certain email events occur.</p>
1610
+ * @public
1611
+ */
1612
+ EventBridgeDestination?: EventBridgeDestination;
1595
1613
  /**
1596
1614
  * <p>An object that defines an Amazon Pinpoint project destination for email events. You can send
1597
1615
  * email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging
@@ -3638,10 +3656,16 @@ export interface EventDestination {
3638
3656
  CloudWatchDestination?: CloudWatchDestination;
3639
3657
  /**
3640
3658
  * <p>An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to
3641
- * send notification when certain email events occur.</p>
3659
+ * send notifications when certain email events occur.</p>
3642
3660
  * @public
3643
3661
  */
3644
3662
  SnsDestination?: SnsDestination;
3663
+ /**
3664
+ * <p>An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to
3665
+ * send notifications when certain email events occur.</p>
3666
+ * @public
3667
+ */
3668
+ EventBridgeDestination?: EventBridgeDestination;
3645
3669
  /**
3646
3670
  * <p>An object that defines an Amazon Pinpoint project destination for email events. You can send
3647
3671
  * email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging
@@ -6641,30 +6665,6 @@ export interface PutEmailIdentityDkimSigningAttributesResponse {
6641
6665
  */
6642
6666
  DkimTokens?: string[];
6643
6667
  }
6644
- /**
6645
- * <p>A request to set the attributes that control how bounce and complaint events are
6646
- * processed.</p>
6647
- * @public
6648
- */
6649
- export interface PutEmailIdentityFeedbackAttributesRequest {
6650
- /**
6651
- * <p>The email identity.</p>
6652
- * @public
6653
- */
6654
- EmailIdentity: string | undefined;
6655
- /**
6656
- * <p>Sets the feedback forwarding configuration for the identity.</p>
6657
- * <p>If the value is <code>true</code>, you receive email notifications when bounce or
6658
- * complaint events occur. These notifications are sent to the address that you specified
6659
- * in the <code>Return-Path</code> header of the original email.</p>
6660
- * <p>You're required to have a method of tracking bounces and complaints. If you haven't
6661
- * set up another mechanism for receiving bounce or complaint notifications (for example,
6662
- * by setting up an event destination), you receive an email notification when these events
6663
- * occur (even if this setting is disabled).</p>
6664
- * @public
6665
- */
6666
- EmailForwardingEnabled?: boolean;
6667
- }
6668
6668
  /**
6669
6669
  * @internal
6670
6670
  */
@@ -1,4 +1,28 @@
1
1
  import { BehaviorOnMxFailure, BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, SuppressionListReason, Tag, Topic, TopicPreference } from "./models_0";
2
+ /**
3
+ * <p>A request to set the attributes that control how bounce and complaint events are
4
+ * processed.</p>
5
+ * @public
6
+ */
7
+ export interface PutEmailIdentityFeedbackAttributesRequest {
8
+ /**
9
+ * <p>The email identity.</p>
10
+ * @public
11
+ */
12
+ EmailIdentity: string | undefined;
13
+ /**
14
+ * <p>Sets the feedback forwarding configuration for the identity.</p>
15
+ * <p>If the value is <code>true</code>, you receive email notifications when bounce or
16
+ * complaint events occur. These notifications are sent to the address that you specified
17
+ * in the <code>Return-Path</code> header of the original email.</p>
18
+ * <p>You're required to have a method of tracking bounces and complaints. If you haven't
19
+ * set up another mechanism for receiving bounce or complaint notifications (for example,
20
+ * by setting up an event destination), you receive an email notification when these events
21
+ * occur (even if this setting is disabled).</p>
22
+ * @public
23
+ */
24
+ EmailForwardingEnabled?: boolean;
25
+ }
2
26
  /**
3
27
  * <p>An HTTP 200 response if the request succeeds, or an error message if the request
4
28
  * fails.</p>
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutEmailIdentityFeedbackAttributesRequest } from "../models/models_0";
4
- import { PutEmailIdentityFeedbackAttributesResponse } from "../models/models_1";
3
+ import {
4
+ PutEmailIdentityFeedbackAttributesRequest,
5
+ PutEmailIdentityFeedbackAttributesResponse,
6
+ } from "../models/models_1";
5
7
  import {
6
8
  ServiceInputTypes,
7
9
  ServiceOutputTypes,
@@ -347,6 +347,9 @@ export declare class LimitExceededException extends __BaseException {
347
347
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
348
348
  );
349
349
  }
350
+ export interface EventBridgeDestination {
351
+ EventBusArn: string | undefined;
352
+ }
350
353
  export interface KinesisFirehoseDestination {
351
354
  IamRoleArn: string | undefined;
352
355
  DeliveryStreamArn: string | undefined;
@@ -376,6 +379,7 @@ export interface EventDestinationDefinition {
376
379
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
377
380
  CloudWatchDestination?: CloudWatchDestination;
378
381
  SnsDestination?: SnsDestination;
382
+ EventBridgeDestination?: EventBridgeDestination;
379
383
  PinpointDestination?: PinpointDestination;
380
384
  }
381
385
  export interface CreateConfigurationSetEventDestinationRequest {
@@ -786,6 +790,7 @@ export interface EventDestination {
786
790
  KinesisFirehoseDestination?: KinesisFirehoseDestination;
787
791
  CloudWatchDestination?: CloudWatchDestination;
788
792
  SnsDestination?: SnsDestination;
793
+ EventBridgeDestination?: EventBridgeDestination;
789
794
  PinpointDestination?: PinpointDestination;
790
795
  }
791
796
  export declare const ExportSourceType: {
@@ -1397,10 +1402,6 @@ export interface PutEmailIdentityDkimSigningAttributesResponse {
1397
1402
  DkimStatus?: DkimStatus;
1398
1403
  DkimTokens?: string[];
1399
1404
  }
1400
- export interface PutEmailIdentityFeedbackAttributesRequest {
1401
- EmailIdentity: string | undefined;
1402
- EmailForwardingEnabled?: boolean;
1403
- }
1404
1405
  export declare const AccountDetailsFilterSensitiveLog: (
1405
1406
  obj: AccountDetails
1406
1407
  ) => any;
@@ -14,6 +14,10 @@ import {
14
14
  Topic,
15
15
  TopicPreference,
16
16
  } from "./models_0";
17
+ export interface PutEmailIdentityFeedbackAttributesRequest {
18
+ EmailIdentity: string | undefined;
19
+ EmailForwardingEnabled?: boolean;
20
+ }
17
21
  export interface PutEmailIdentityFeedbackAttributesResponse {}
18
22
  export interface PutEmailIdentityMailFromAttributesRequest {
19
23
  EmailIdentity: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.592.0",
4
+ "version": "3.596.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sesv2",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.592.0",
24
- "@aws-sdk/client-sts": "3.592.0",
23
+ "@aws-sdk/client-sso-oidc": "3.596.0",
24
+ "@aws-sdk/client-sts": "3.596.0",
25
25
  "@aws-sdk/core": "3.592.0",
26
- "@aws-sdk/credential-provider-node": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.596.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",