@aws-sdk/client-eventbridge 3.787.0 → 3.790.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 CHANGED
@@ -2208,6 +2208,7 @@ var de_DescribeConnectionResponse = /* @__PURE__ */ __name((output, context) =>
2208
2208
  CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
2209
2209
  Description: import_smithy_client.expectString,
2210
2210
  InvocationConnectivityParameters: import_smithy_client._json,
2211
+ KmsKeyIdentifier: import_smithy_client.expectString,
2211
2212
  LastAuthorizedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastAuthorizedTime"),
2212
2213
  LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),
2213
2214
  Name: import_smithy_client.expectString,
@@ -1428,6 +1428,7 @@ const de_DescribeConnectionResponse = (output, context) => {
1428
1428
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1429
1429
  Description: __expectString,
1430
1430
  InvocationConnectivityParameters: _json,
1431
+ KmsKeyIdentifier: __expectString,
1431
1432
  LastAuthorizedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1432
1433
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1433
1434
  Name: __expectString,
@@ -114,6 +114,7 @@ declare const CreateConnectionCommand_base: {
114
114
  * ResourceConfigurationArn: "STRING_VALUE", // required
115
115
  * },
116
116
  * },
117
+ * KmsKeyIdentifier: "STRING_VALUE",
117
118
  * };
118
119
  * const command = new CreateConnectionCommand(input);
119
120
  * const response = await client.send(command);
@@ -53,6 +53,7 @@ declare const DescribeConnectionCommand_base: {
53
53
  * // StateReason: "STRING_VALUE",
54
54
  * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY",
55
55
  * // SecretArn: "STRING_VALUE",
56
+ * // KmsKeyIdentifier: "STRING_VALUE",
56
57
  * // AuthParameters: { // ConnectionAuthResponseParameters
57
58
  * // BasicAuthParameters: { // ConnectionBasicAuthResponseParameters
58
59
  * // Username: "STRING_VALUE",
@@ -112,6 +112,7 @@ declare const UpdateConnectionCommand_base: {
112
112
  * ResourceConfigurationArn: "STRING_VALUE", // required
113
113
  * },
114
114
  * },
115
+ * KmsKeyIdentifier: "STRING_VALUE",
115
116
  * };
116
117
  * const command = new UpdateConnectionCommand(input);
117
118
  * const response = await client.send(command);
@@ -771,6 +771,17 @@ export interface CreateConnectionRequest {
771
771
  * @public
772
772
  */
773
773
  InvocationConnectivityParameters?: ConnectivityResourceParameters | undefined;
774
+ /**
775
+ * <p>The identifier of the KMS
776
+ * customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection. The identifier can be the key
777
+ * Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
778
+ * <p>If you do not specify a customer managed key identifier, EventBridge uses an
779
+ * Amazon Web Services owned key to encrypt the connection.</p>
780
+ * <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
781
+ * Developer Guide</i>. </p>
782
+ * @public
783
+ */
784
+ KmsKeyIdentifier?: string | undefined;
774
785
  }
775
786
  /**
776
787
  * @public
@@ -1082,9 +1093,19 @@ export interface CreateEventBusRequest {
1082
1093
  * Developer Guide</i>. </p>
1083
1094
  * <note>
1084
1095
  * <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>
1096
+ * customer managed key. EventBridge returns an error if: </p>
1097
+ * <ul>
1098
+ * <li>
1099
+ * <p>You call <code>
1100
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
1101
+ * </code> on an event bus set to use a customer managed key for encryption.</p>
1102
+ * </li>
1103
+ * <li>
1104
+ * <p>You call <code>
1105
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a>
1106
+ * </code> to set a customer managed key on an event bus with schema discovery enabled.</p>
1107
+ * </li>
1108
+ * </ul>
1088
1109
  * <p>To enable schema discovery on an event bus, choose to
1089
1110
  * 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>
1090
1111
  * </note>
@@ -1715,6 +1736,13 @@ export interface DescribeConnectionResponse {
1715
1736
  * @public
1716
1737
  */
1717
1738
  SecretArn?: string | undefined;
1739
+ /**
1740
+ * <p>The identifier of the KMS
1741
+ * customer managed key for EventBridge to use to encrypt the connection, if one has been specified.</p>
1742
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-connections.html">Encrypting connections</a> in the <i>Amazon EventBridge User Guide</i>.</p>
1743
+ * @public
1744
+ */
1745
+ KmsKeyIdentifier?: string | undefined;
1718
1746
  /**
1719
1747
  * <p>The parameters to use for authorization for the connection.</p>
1720
1748
  * @public
@@ -5011,6 +5039,17 @@ export interface UpdateConnectionRequest {
5011
5039
  * @public
5012
5040
  */
5013
5041
  InvocationConnectivityParameters?: ConnectivityResourceParameters | undefined;
5042
+ /**
5043
+ * <p>The identifier of the KMS
5044
+ * customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection. The identifier can be the key
5045
+ * Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p>
5046
+ * <p>If you do not specify a customer managed key identifier, EventBridge uses an
5047
+ * Amazon Web Services owned key to encrypt the connection.</p>
5048
+ * <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
5049
+ * Developer Guide</i>. </p>
5050
+ * @public
5051
+ */
5052
+ KmsKeyIdentifier?: string | undefined;
5014
5053
  }
5015
5054
  /**
5016
5055
  * @public
@@ -5148,9 +5187,19 @@ export interface UpdateEventBusRequest {
5148
5187
  * Developer Guide</i>. </p>
5149
5188
  * <note>
5150
5189
  * <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>
5190
+ * customer managed key. EventBridge returns an error if: </p>
5191
+ * <ul>
5192
+ * <li>
5193
+ * <p>You call <code>
5194
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer">CreateDiscoverer</a>
5195
+ * </code> on an event bus set to use a customer managed key for encryption.</p>
5196
+ * </li>
5197
+ * <li>
5198
+ * <p>You call <code>
5199
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html">UpdatedEventBus</a>
5200
+ * </code> to set a customer managed key on an event bus with schema discovery enabled.</p>
5201
+ * </li>
5202
+ * </ul>
5154
5203
  * <p>To enable schema discovery on an event bus, choose to
5155
5204
  * 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>
5156
5205
  * </note>
@@ -248,6 +248,7 @@ export interface CreateConnectionRequest {
248
248
  AuthorizationType: ConnectionAuthorizationType | undefined;
249
249
  AuthParameters: CreateConnectionAuthRequestParameters | undefined;
250
250
  InvocationConnectivityParameters?: ConnectivityResourceParameters | undefined;
251
+ KmsKeyIdentifier?: string | undefined;
251
252
  }
252
253
  export declare const ConnectionState: {
253
254
  readonly ACTIVE: "ACTIVE";
@@ -484,6 +485,7 @@ export interface DescribeConnectionResponse {
484
485
  StateReason?: string | undefined;
485
486
  AuthorizationType?: ConnectionAuthorizationType | undefined;
486
487
  SecretArn?: string | undefined;
488
+ KmsKeyIdentifier?: string | undefined;
487
489
  AuthParameters?: ConnectionAuthResponseParameters | undefined;
488
490
  CreationTime?: Date | undefined;
489
491
  LastModifiedTime?: Date | undefined;
@@ -1126,6 +1128,7 @@ export interface UpdateConnectionRequest {
1126
1128
  AuthorizationType?: ConnectionAuthorizationType | undefined;
1127
1129
  AuthParameters?: UpdateConnectionAuthRequestParameters | undefined;
1128
1130
  InvocationConnectivityParameters?: ConnectivityResourceParameters | undefined;
1131
+ KmsKeyIdentifier?: string | undefined;
1129
1132
  }
1130
1133
  export interface UpdateConnectionResponse {
1131
1134
  ConnectionArn?: 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.787.0",
4
+ "version": "3.790.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",