@aws-sdk/client-eventbridge 3.777.0 → 3.783.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.
- package/dist-cjs/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateArchiveCommand.d.ts +6 -23
- package/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeArchiveCommand.d.ts +1 -0
- package/dist-types/commands/PutEventsCommand.d.ts +4 -5
- package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -0
- package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +85 -61
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -2192,6 +2192,7 @@ var de_DescribeArchiveResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
2192
2192
|
EventCount: import_smithy_client.expectLong,
|
|
2193
2193
|
EventPattern: import_smithy_client.expectString,
|
|
2194
2194
|
EventSourceArn: import_smithy_client.expectString,
|
|
2195
|
+
KmsKeyIdentifier: import_smithy_client.expectString,
|
|
2195
2196
|
RetentionDays: import_smithy_client.expectInt32,
|
|
2196
2197
|
SizeBytes: import_smithy_client.expectLong,
|
|
2197
2198
|
State: import_smithy_client.expectString,
|
|
@@ -1412,6 +1412,7 @@ const de_DescribeArchiveResponse = (output, context) => {
|
|
|
1412
1412
|
EventCount: __expectLong,
|
|
1413
1413
|
EventPattern: __expectString,
|
|
1414
1414
|
EventSourceArn: __expectString,
|
|
1415
|
+
KmsKeyIdentifier: __expectString,
|
|
1415
1416
|
RetentionDays: __expectInt32,
|
|
1416
1417
|
SizeBytes: __expectLong,
|
|
1417
1418
|
State: __expectString,
|
|
@@ -32,29 +32,11 @@ declare const CreateArchiveCommand_base: {
|
|
|
32
32
|
* time for changes to take effect. If you do not specify a pattern to filter events sent to the
|
|
33
33
|
* archive, all events are sent to the archive except replayed events. Replayed events are not
|
|
34
34
|
* sent to an archive.</p>
|
|
35
|
-
* <
|
|
36
|
-
* <p>
|
|
37
|
-
* customer managed key
|
|
38
|
-
* <
|
|
39
|
-
*
|
|
40
|
-
* <p>You call <code>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateArchive.html">CreateArchive</a>
|
|
42
|
-
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>You call <code>
|
|
46
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
|
|
47
|
-
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>You call <code>
|
|
51
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a>
|
|
52
|
-
* </code> to set a customer managed key on an event bus with an archives or schema discovery enabled.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
55
|
-
* <p>To enable archives or schema discovery on an event bus, choose to
|
|
56
|
-
* use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
57
|
-
* </note>
|
|
35
|
+
* <important>
|
|
36
|
+
* <p>If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a
|
|
37
|
+
* customer managed key for any archives for the event bus as well. </p>
|
|
38
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
39
|
+
* </important>
|
|
58
40
|
* @example
|
|
59
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
60
42
|
* ```javascript
|
|
@@ -67,6 +49,7 @@ declare const CreateArchiveCommand_base: {
|
|
|
67
49
|
* Description: "STRING_VALUE",
|
|
68
50
|
* EventPattern: "STRING_VALUE",
|
|
69
51
|
* RetentionDays: Number("int"),
|
|
52
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
70
53
|
* };
|
|
71
54
|
* const command = new CreateArchiveCommand(input);
|
|
72
55
|
* const response = await client.send(command);
|
|
@@ -133,7 +133,7 @@ declare const CreateConnectionCommand_base: {
|
|
|
133
133
|
* @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape.
|
|
134
134
|
*
|
|
135
135
|
* @throws {@link AccessDeniedException} (client fault)
|
|
136
|
-
* <p>You do not have the necessary
|
|
136
|
+
* <p>You do not have the necessary permissions for this action.</p>
|
|
137
137
|
*
|
|
138
138
|
* @throws {@link InternalException} (server fault)
|
|
139
139
|
* <p>This exception occurs due to unexpected causes.</p>
|
|
@@ -47,6 +47,7 @@ declare const DescribeArchiveCommand_base: {
|
|
|
47
47
|
* // EventPattern: "STRING_VALUE",
|
|
48
48
|
* // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED",
|
|
49
49
|
* // StateReason: "STRING_VALUE",
|
|
50
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
50
51
|
* // RetentionDays: Number("int"),
|
|
51
52
|
* // SizeBytes: Number("long"),
|
|
52
53
|
* // EventCount: Number("long"),
|
|
@@ -28,13 +28,12 @@ declare const PutEventsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Sends custom events to Amazon EventBridge so that they can be matched to rules.</p>
|
|
31
|
-
* <p>
|
|
32
|
-
* the
|
|
33
|
-
*
|
|
31
|
+
* <p>You can batch multiple event entries into one request for efficiency.
|
|
32
|
+
* However, the total entry size must be less than 256KB. You can calculate the entry size before you send the events.
|
|
33
|
+
* For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-putevents.html#eb-putevent-size">Calculating PutEvents event entry
|
|
34
34
|
* size</a> in the <i>
|
|
35
35
|
* <i>Amazon EventBridge User Guide</i>
|
|
36
|
-
* </i>
|
|
37
|
-
* </p>
|
|
36
|
+
* </i>.</p>
|
|
38
37
|
* <p>PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the
|
|
39
38
|
* constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of
|
|
40
39
|
* 9,223,372,036,854,775,807.</p>
|
|
@@ -39,6 +39,7 @@ declare const UpdateArchiveCommand_base: {
|
|
|
39
39
|
* Description: "STRING_VALUE",
|
|
40
40
|
* EventPattern: "STRING_VALUE",
|
|
41
41
|
* RetentionDays: Number("int"),
|
|
42
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
42
43
|
* };
|
|
43
44
|
* const command = new UpdateArchiveCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
@@ -132,7 +132,7 @@ declare const UpdateConnectionCommand_base: {
|
|
|
132
132
|
* @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape.
|
|
133
133
|
*
|
|
134
134
|
* @throws {@link AccessDeniedException} (client fault)
|
|
135
|
-
* <p>You do not have the necessary
|
|
135
|
+
* <p>You do not have the necessary permissions for this action.</p>
|
|
136
136
|
*
|
|
137
137
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
138
138
|
* <p>There is concurrent modification on a rule, target, archive, or replay.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { EventBridgeServiceException as __BaseException } from "./EventBridgeServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>You do not have the necessary
|
|
4
|
+
* <p>You do not have the necessary permissions for this action.</p>
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -426,6 +426,22 @@ export interface CreateArchiveRequest {
|
|
|
426
426
|
* @public
|
|
427
427
|
*/
|
|
428
428
|
RetentionDays?: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>The identifier of the KMS
|
|
431
|
+
* customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive. The identifier can be the key
|
|
432
|
+
* Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
|
|
433
|
+
* <p>If you do not specify a customer managed key identifier, EventBridge uses an
|
|
434
|
+
* Amazon Web Services owned key to encrypt the archive.</p>
|
|
435
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html">Identify and view keys</a> in the <i>Key Management Service
|
|
436
|
+
* Developer Guide</i>. </p>
|
|
437
|
+
* <important>
|
|
438
|
+
* <p>If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a
|
|
439
|
+
* customer managed key for any archives for the event bus as well. </p>
|
|
440
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
441
|
+
* </important>
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
KmsKeyIdentifier?: string | undefined;
|
|
429
445
|
}
|
|
430
446
|
/**
|
|
431
447
|
* @public
|
|
@@ -510,12 +526,12 @@ export interface CreateConnectionBasicAuthRequestParameters {
|
|
|
510
526
|
Password: string | undefined;
|
|
511
527
|
}
|
|
512
528
|
/**
|
|
513
|
-
* <p>The Amazon Resource Name (ARN) of the resource configuration for the resource endpoint.</p>
|
|
529
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon VPC Lattice resource configuration for the resource endpoint.</p>
|
|
514
530
|
* @public
|
|
515
531
|
*/
|
|
516
532
|
export interface ConnectivityResourceConfigurationArn {
|
|
517
533
|
/**
|
|
518
|
-
* <p>The Amazon Resource Name (ARN) of the resource configuration for the resource endpoint.</p>
|
|
534
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon VPC Lattice resource configuration for the resource endpoint.</p>
|
|
519
535
|
* @public
|
|
520
536
|
*/
|
|
521
537
|
ResourceConfigurationArn: string | undefined;
|
|
@@ -748,8 +764,8 @@ export interface CreateConnectionRequest {
|
|
|
748
764
|
*/
|
|
749
765
|
AuthParameters: CreateConnectionAuthRequestParameters | undefined;
|
|
750
766
|
/**
|
|
751
|
-
* <p>For connections to private
|
|
752
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/
|
|
767
|
+
* <p>For connections to private APIs, the parameters to use for invoking the API.</p>
|
|
768
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html">Connecting to private APIs</a> in the <i>
|
|
753
769
|
* <i>Amazon EventBridge User Guide</i>
|
|
754
770
|
* </i>.</p>
|
|
755
771
|
* @public
|
|
@@ -1062,31 +1078,21 @@ export interface CreateEventBusRequest {
|
|
|
1062
1078
|
* Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
|
|
1063
1079
|
* <p>If you do not specify a customer managed key identifier, EventBridge uses an
|
|
1064
1080
|
* Amazon Web Services owned key to encrypt events on the event bus.</p>
|
|
1065
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/
|
|
1081
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html">Identify and view keys</a> in the <i>Key Management Service
|
|
1066
1082
|
* Developer Guide</i>. </p>
|
|
1067
1083
|
* <note>
|
|
1068
|
-
* <p>
|
|
1069
|
-
* customer managed key. EventBridge returns an error if
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1074
|
-
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
1075
|
-
* </li>
|
|
1076
|
-
* <li>
|
|
1077
|
-
* <p>You call <code>
|
|
1078
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
|
|
1079
|
-
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
1080
|
-
* </li>
|
|
1081
|
-
* <li>
|
|
1082
|
-
* <p>You call <code>
|
|
1083
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a>
|
|
1084
|
-
* </code> to set a customer managed key on an event bus with an archives or schema discovery enabled.</p>
|
|
1085
|
-
* </li>
|
|
1086
|
-
* </ul>
|
|
1087
|
-
* <p>To enable archives or schema discovery on an event bus, choose to
|
|
1088
|
-
* use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
1084
|
+
* <p>Schema discovery is not supported for event buses encrypted using a
|
|
1085
|
+
* customer managed key. EventBridge returns an error if you call <code>
|
|
1086
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
|
|
1087
|
+
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
1088
|
+
* <p>To enable schema discovery on an event bus, choose to
|
|
1089
|
+
* use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html">Encrypting events</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
1089
1090
|
* </note>
|
|
1091
|
+
* <important>
|
|
1092
|
+
* <p>If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a
|
|
1093
|
+
* customer managed key for any archives for the event bus as well. </p>
|
|
1094
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
1095
|
+
* </important>
|
|
1090
1096
|
* @public
|
|
1091
1097
|
*/
|
|
1092
1098
|
KmsKeyIdentifier?: string | undefined;
|
|
@@ -1490,6 +1496,13 @@ export interface DescribeArchiveResponse {
|
|
|
1490
1496
|
* @public
|
|
1491
1497
|
*/
|
|
1492
1498
|
StateReason?: string | undefined;
|
|
1499
|
+
/**
|
|
1500
|
+
* <p>The identifier of the KMS
|
|
1501
|
+
* customer managed key for EventBridge to use to encrypt this archive, if one has been specified.</p>
|
|
1502
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1505
|
+
KmsKeyIdentifier?: string | undefined;
|
|
1493
1506
|
/**
|
|
1494
1507
|
* <p>The number of days to retain events for in the archive.</p>
|
|
1495
1508
|
* @public
|
|
@@ -1558,6 +1571,10 @@ export interface DescribeConnectionResourceParameters {
|
|
|
1558
1571
|
ResourceConfigurationArn: string | undefined;
|
|
1559
1572
|
/**
|
|
1560
1573
|
* <p>For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration.</p>
|
|
1574
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html#connection-private-snra">
|
|
1575
|
+
* Managing service network resource associations for connections</a> in the <i>
|
|
1576
|
+
* <i>Amazon EventBridge User Guide</i>
|
|
1577
|
+
* </i>.</p>
|
|
1561
1578
|
* @public
|
|
1562
1579
|
*/
|
|
1563
1580
|
ResourceAssociationArn: string | undefined;
|
|
@@ -1669,8 +1686,9 @@ export interface DescribeConnectionResponse {
|
|
|
1669
1686
|
*/
|
|
1670
1687
|
Description?: string | undefined;
|
|
1671
1688
|
/**
|
|
1672
|
-
* <p>For connections to private
|
|
1673
|
-
*
|
|
1689
|
+
* <p>For connections to private APIs The parameters EventBridge uses to invoke the resource
|
|
1690
|
+
* endpoint.</p>
|
|
1691
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html">Connecting to private APIs</a> in the <i>
|
|
1674
1692
|
* <i>Amazon EventBridge User Guide</i>
|
|
1675
1693
|
* </i>.</p>
|
|
1676
1694
|
* @public
|
|
@@ -3699,32 +3717,32 @@ export interface RunCommandParameters {
|
|
|
3699
3717
|
RunCommandTargets: RunCommandTarget[] | undefined;
|
|
3700
3718
|
}
|
|
3701
3719
|
/**
|
|
3702
|
-
* <p>Name/Value pair of a parameter to start execution of a SageMaker Model Building
|
|
3720
|
+
* <p>Name/Value pair of a parameter to start execution of a SageMaker AI Model Building
|
|
3703
3721
|
* Pipeline.</p>
|
|
3704
3722
|
* @public
|
|
3705
3723
|
*/
|
|
3706
3724
|
export interface SageMakerPipelineParameter {
|
|
3707
3725
|
/**
|
|
3708
|
-
* <p>Name of parameter to start execution of a SageMaker Model Building
|
|
3726
|
+
* <p>Name of parameter to start execution of a SageMaker AI Model Building
|
|
3709
3727
|
* Pipeline.</p>
|
|
3710
3728
|
* @public
|
|
3711
3729
|
*/
|
|
3712
3730
|
Name: string | undefined;
|
|
3713
3731
|
/**
|
|
3714
|
-
* <p>Value of parameter to start execution of a SageMaker Model Building
|
|
3732
|
+
* <p>Value of parameter to start execution of a SageMaker AI Model Building
|
|
3715
3733
|
* Pipeline.</p>
|
|
3716
3734
|
* @public
|
|
3717
3735
|
*/
|
|
3718
3736
|
Value: string | undefined;
|
|
3719
3737
|
}
|
|
3720
3738
|
/**
|
|
3721
|
-
* <p>These are custom parameters to use when the target is a SageMaker Model Building
|
|
3739
|
+
* <p>These are custom parameters to use when the target is a SageMaker AI Model Building
|
|
3722
3740
|
* Pipeline that starts based on EventBridge events.</p>
|
|
3723
3741
|
* @public
|
|
3724
3742
|
*/
|
|
3725
3743
|
export interface SageMakerPipelineParameters {
|
|
3726
3744
|
/**
|
|
3727
|
-
* <p>List of Parameter names and values for SageMaker Model Building Pipeline
|
|
3745
|
+
* <p>List of Parameter names and values for SageMaker AI Model Building Pipeline
|
|
3728
3746
|
* execution.</p>
|
|
3729
3747
|
* @public
|
|
3730
3748
|
*/
|
|
@@ -3844,9 +3862,9 @@ export interface Target {
|
|
|
3844
3862
|
*/
|
|
3845
3863
|
RedshiftDataParameters?: RedshiftDataParameters | undefined;
|
|
3846
3864
|
/**
|
|
3847
|
-
* <p>Contains the SageMaker Model Building Pipeline parameters to start execution of a
|
|
3848
|
-
* SageMaker Model Building Pipeline.</p>
|
|
3849
|
-
* <p>If you specify a SageMaker Model Building Pipeline as a target, you can use this
|
|
3865
|
+
* <p>Contains the SageMaker AI Model Building Pipeline parameters to start execution of a
|
|
3866
|
+
* SageMaker AI Model Building Pipeline.</p>
|
|
3867
|
+
* <p>If you specify a SageMaker AI Model Building Pipeline as a target, you can use this
|
|
3850
3868
|
* to specify parameters to start a pipeline execution based on EventBridge events.</p>
|
|
3851
3869
|
* @public
|
|
3852
3870
|
*/
|
|
@@ -4804,6 +4822,22 @@ export interface UpdateArchiveRequest {
|
|
|
4804
4822
|
* @public
|
|
4805
4823
|
*/
|
|
4806
4824
|
RetentionDays?: number | undefined;
|
|
4825
|
+
/**
|
|
4826
|
+
* <p>The identifier of the KMS
|
|
4827
|
+
* customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive. The identifier can be the key
|
|
4828
|
+
* Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
|
|
4829
|
+
* <p>If you do not specify a customer managed key identifier, EventBridge uses an
|
|
4830
|
+
* Amazon Web Services owned key to encrypt the archive.</p>
|
|
4831
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html">Identify and view keys</a> in the <i>Key Management Service
|
|
4832
|
+
* Developer Guide</i>. </p>
|
|
4833
|
+
* <important>
|
|
4834
|
+
* <p>If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a
|
|
4835
|
+
* customer managed key for any archives for the event bus as well. </p>
|
|
4836
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
4837
|
+
* </important>
|
|
4838
|
+
* @public
|
|
4839
|
+
*/
|
|
4840
|
+
KmsKeyIdentifier?: string | undefined;
|
|
4807
4841
|
}
|
|
4808
4842
|
/**
|
|
4809
4843
|
* @public
|
|
@@ -4970,8 +5004,8 @@ export interface UpdateConnectionRequest {
|
|
|
4970
5004
|
*/
|
|
4971
5005
|
AuthParameters?: UpdateConnectionAuthRequestParameters | undefined;
|
|
4972
5006
|
/**
|
|
4973
|
-
* <p>For connections to private
|
|
4974
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/
|
|
5007
|
+
* <p>For connections to private APIs, the parameters to use for invoking the API.</p>
|
|
5008
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html">Connecting to private APIs</a> in the <i>
|
|
4975
5009
|
* <i>Amazon EventBridge User Guide</i>
|
|
4976
5010
|
* </i>.</p>
|
|
4977
5011
|
* @public
|
|
@@ -5110,31 +5144,21 @@ export interface UpdateEventBusRequest {
|
|
|
5110
5144
|
* Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
|
|
5111
5145
|
* <p>If you do not specify a customer managed key identifier, EventBridge uses an
|
|
5112
5146
|
* Amazon Web Services owned key to encrypt events on the event bus.</p>
|
|
5113
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/
|
|
5147
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html">Identify and view keys</a> in the <i>Key Management Service
|
|
5114
5148
|
* Developer Guide</i>. </p>
|
|
5115
5149
|
* <note>
|
|
5116
|
-
* <p>
|
|
5117
|
-
* customer managed key. EventBridge returns an error if
|
|
5118
|
-
*
|
|
5119
|
-
*
|
|
5120
|
-
*
|
|
5121
|
-
*
|
|
5122
|
-
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
5123
|
-
* </li>
|
|
5124
|
-
* <li>
|
|
5125
|
-
* <p>You call <code>
|
|
5126
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
|
|
5127
|
-
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
5128
|
-
* </li>
|
|
5129
|
-
* <li>
|
|
5130
|
-
* <p>You call <code>
|
|
5131
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a>
|
|
5132
|
-
* </code> to set a customer managed key on an event bus with an archives or schema discovery enabled.</p>
|
|
5133
|
-
* </li>
|
|
5134
|
-
* </ul>
|
|
5135
|
-
* <p>To enable archives or schema discovery on an event bus, choose to
|
|
5136
|
-
* use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
5150
|
+
* <p>Schema discovery is not supported for event buses encrypted using a
|
|
5151
|
+
* customer managed key. EventBridge returns an error if you call <code>
|
|
5152
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
|
|
5153
|
+
* </code> on an event bus set to use a customer managed key for encryption.</p>
|
|
5154
|
+
* <p>To enable schema discovery on an event bus, choose to
|
|
5155
|
+
* use an Amazon Web Services owned key. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html">Encrypting events</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
5137
5156
|
* </note>
|
|
5157
|
+
* <important>
|
|
5158
|
+
* <p>If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a
|
|
5159
|
+
* customer managed key for any archives for the event bus as well. </p>
|
|
5160
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
5161
|
+
* </important>
|
|
5138
5162
|
* @public
|
|
5139
5163
|
*/
|
|
5140
5164
|
KmsKeyIdentifier?: string | undefined;
|
|
@@ -160,6 +160,7 @@ export interface CreateArchiveRequest {
|
|
|
160
160
|
Description?: string | undefined;
|
|
161
161
|
EventPattern?: string | undefined;
|
|
162
162
|
RetentionDays?: number | undefined;
|
|
163
|
+
KmsKeyIdentifier?: string | undefined;
|
|
163
164
|
}
|
|
164
165
|
export interface CreateArchiveResponse {
|
|
165
166
|
ArchiveArn?: string | undefined;
|
|
@@ -434,6 +435,7 @@ export interface DescribeArchiveResponse {
|
|
|
434
435
|
EventPattern?: string | undefined;
|
|
435
436
|
State?: ArchiveState | undefined;
|
|
436
437
|
StateReason?: string | undefined;
|
|
438
|
+
KmsKeyIdentifier?: string | undefined;
|
|
437
439
|
RetentionDays?: number | undefined;
|
|
438
440
|
SizeBytes?: number | undefined;
|
|
439
441
|
EventCount?: number | undefined;
|
|
@@ -1083,6 +1085,7 @@ export interface UpdateArchiveRequest {
|
|
|
1083
1085
|
Description?: string | undefined;
|
|
1084
1086
|
EventPattern?: string | undefined;
|
|
1085
1087
|
RetentionDays?: number | undefined;
|
|
1088
|
+
KmsKeyIdentifier?: string | undefined;
|
|
1086
1089
|
}
|
|
1087
1090
|
export interface UpdateArchiveResponse {
|
|
1088
1091
|
ArchiveArn?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eventbridge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.783.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-eventbridge",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.775.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
32
32
|
"@aws-sdk/signature-v4-multi-region": "3.775.0",
|
|
33
33
|
"@aws-sdk/types": "3.775.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.1.0",
|
|
38
38
|
"@smithy/core": "^3.2.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
65
|
+
"@aws-sdk/signature-v4-crt": "3.782.0",
|
|
66
66
|
"@tsconfig/node18": "18.2.4",
|
|
67
67
|
"@types/node": "^18.19.69",
|
|
68
68
|
"concurrently": "7.0.0",
|