@aws-sdk/client-kafka 3.577.0 → 3.582.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
@@ -2510,6 +2510,12 @@ var se_VpcConnectivityTls = /* @__PURE__ */ __name((input, context) => {
2510
2510
  enabled: [, , `Enabled`]
2511
2511
  });
2512
2512
  }, "se_VpcConnectivityTls");
2513
+ var de___listOf__double = /* @__PURE__ */ __name((output, context) => {
2514
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2515
+ return (0, import_smithy_client.limitedParseDouble)(entry);
2516
+ });
2517
+ return retVal;
2518
+ }, "de___listOf__double");
2513
2519
  var de___listOfBrokerEBSVolumeInfo = /* @__PURE__ */ __name((output, context) => {
2514
2520
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2515
2521
  return de_BrokerEBSVolumeInfo(entry, context);
@@ -2635,6 +2641,12 @@ var de_AmazonMskCluster = /* @__PURE__ */ __name((output, context) => {
2635
2641
  MskClusterArn: [, import_smithy_client.expectString, `mskClusterArn`]
2636
2642
  });
2637
2643
  }, "de_AmazonMskCluster");
2644
+ var de_BrokerCountUpdateInfo = /* @__PURE__ */ __name((output, context) => {
2645
+ return (0, import_smithy_client.take)(output, {
2646
+ CreatedBrokerIds: [, (_) => de___listOf__double(_, context), `createdBrokerIds`],
2647
+ DeletedBrokerIds: [, (_) => de___listOf__double(_, context), `deletedBrokerIds`]
2648
+ });
2649
+ }, "de_BrokerCountUpdateInfo");
2638
2650
  var de_BrokerEBSVolumeInfo = /* @__PURE__ */ __name((output, context) => {
2639
2651
  return (0, import_smithy_client.take)(output, {
2640
2652
  KafkaBrokerNodeId: [, import_smithy_client.expectString, `kafkaBrokerNodeId`],
@@ -2929,6 +2941,7 @@ var de_LoggingInfo = /* @__PURE__ */ __name((output, context) => {
2929
2941
  }, "de_LoggingInfo");
2930
2942
  var de_MutableClusterInfo = /* @__PURE__ */ __name((output, context) => {
2931
2943
  return (0, import_smithy_client.take)(output, {
2944
+ BrokerCountUpdateInfo: [, (_) => de_BrokerCountUpdateInfo(_, context), `brokerCountUpdateInfo`],
2932
2945
  BrokerEBSVolumeInfo: [, (_) => de___listOfBrokerEBSVolumeInfo(_, context), `brokerEBSVolumeInfo`],
2933
2946
  ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
2934
2947
  ConfigurationInfo: [, (_) => de_ConfigurationInfo(_, context), `configurationInfo`],
@@ -1955,6 +1955,14 @@ const se_VpcConnectivityTls = (input, context) => {
1955
1955
  enabled: [, , `Enabled`],
1956
1956
  });
1957
1957
  };
1958
+ const de___listOf__double = (output, context) => {
1959
+ const retVal = (output || [])
1960
+ .filter((e) => e != null)
1961
+ .map((entry) => {
1962
+ return __limitedParseDouble(entry);
1963
+ });
1964
+ return retVal;
1965
+ };
1958
1966
  const de___listOfBrokerEBSVolumeInfo = (output, context) => {
1959
1967
  const retVal = (output || [])
1960
1968
  .filter((e) => e != null)
@@ -2120,6 +2128,12 @@ const de_AmazonMskCluster = (output, context) => {
2120
2128
  MskClusterArn: [, __expectString, `mskClusterArn`],
2121
2129
  });
2122
2130
  };
2131
+ const de_BrokerCountUpdateInfo = (output, context) => {
2132
+ return take(output, {
2133
+ CreatedBrokerIds: [, (_) => de___listOf__double(_, context), `createdBrokerIds`],
2134
+ DeletedBrokerIds: [, (_) => de___listOf__double(_, context), `deletedBrokerIds`],
2135
+ });
2136
+ };
2123
2137
  const de_BrokerEBSVolumeInfo = (output, context) => {
2124
2138
  return take(output, {
2125
2139
  KafkaBrokerNodeId: [, __expectString, `kafkaBrokerNodeId`],
@@ -2414,6 +2428,7 @@ const de_LoggingInfo = (output, context) => {
2414
2428
  };
2415
2429
  const de_MutableClusterInfo = (output, context) => {
2416
2430
  return take(output, {
2431
+ BrokerCountUpdateInfo: [, (_) => de_BrokerCountUpdateInfo(_, context), `brokerCountUpdateInfo`],
2417
2432
  BrokerEBSVolumeInfo: [, (_) => de___listOfBrokerEBSVolumeInfo(_, context), `brokerEBSVolumeInfo`],
2418
2433
  ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
2419
2434
  ConfigurationInfo: [, (_) => de_ConfigurationInfo(_, context), `configurationInfo`],
@@ -154,6 +154,14 @@ declare const DescribeClusterOperationCommand_base: {
154
154
  * // },
155
155
  * // },
156
156
  * // StorageMode: "LOCAL" || "TIERED",
157
+ * // BrokerCountUpdateInfo: { // BrokerCountUpdateInfo
158
+ * // CreatedBrokerIds: [ // __listOf__double
159
+ * // Number("double"),
160
+ * // ],
161
+ * // DeletedBrokerIds: [
162
+ * // Number("double"),
163
+ * // ],
164
+ * // },
157
165
  * // },
158
166
  * // TargetClusterInfo: {
159
167
  * // BrokerEBSVolumeInfo: [
@@ -250,6 +258,14 @@ declare const DescribeClusterOperationCommand_base: {
250
258
  * // },
251
259
  * // },
252
260
  * // StorageMode: "LOCAL" || "TIERED",
261
+ * // BrokerCountUpdateInfo: {
262
+ * // CreatedBrokerIds: [
263
+ * // Number("double"),
264
+ * // ],
265
+ * // DeletedBrokerIds: [
266
+ * // Number("double"),
267
+ * // ],
268
+ * // },
253
269
  * // },
254
270
  * // VpcConnectionInfo: { // VpcConnectionInfo
255
271
  * // VpcConnectionArn: "STRING_VALUE",
@@ -155,6 +155,14 @@ declare const DescribeClusterOperationV2Command_base: {
155
155
  * // },
156
156
  * // },
157
157
  * // StorageMode: "LOCAL" || "TIERED",
158
+ * // BrokerCountUpdateInfo: { // BrokerCountUpdateInfo
159
+ * // CreatedBrokerIds: [ // __listOf__double
160
+ * // Number("double"),
161
+ * // ],
162
+ * // DeletedBrokerIds: [
163
+ * // Number("double"),
164
+ * // ],
165
+ * // },
158
166
  * // },
159
167
  * // TargetClusterInfo: {
160
168
  * // BrokerEBSVolumeInfo: [
@@ -251,6 +259,14 @@ declare const DescribeClusterOperationV2Command_base: {
251
259
  * // },
252
260
  * // },
253
261
  * // StorageMode: "LOCAL" || "TIERED",
262
+ * // BrokerCountUpdateInfo: {
263
+ * // CreatedBrokerIds: [
264
+ * // Number("double"),
265
+ * // ],
266
+ * // DeletedBrokerIds: [
267
+ * // Number("double"),
268
+ * // ],
269
+ * // },
254
270
  * // },
255
271
  * // VpcConnectionInfo: { // VpcConnectionInfo
256
272
  * // VpcConnectionArn: "STRING_VALUE",
@@ -157,6 +157,14 @@ declare const ListClusterOperationsCommand_base: {
157
157
  * // },
158
158
  * // },
159
159
  * // StorageMode: "LOCAL" || "TIERED",
160
+ * // BrokerCountUpdateInfo: { // BrokerCountUpdateInfo
161
+ * // CreatedBrokerIds: [ // __listOf__double
162
+ * // Number("double"),
163
+ * // ],
164
+ * // DeletedBrokerIds: [
165
+ * // Number("double"),
166
+ * // ],
167
+ * // },
160
168
  * // },
161
169
  * // TargetClusterInfo: {
162
170
  * // BrokerEBSVolumeInfo: [
@@ -253,6 +261,14 @@ declare const ListClusterOperationsCommand_base: {
253
261
  * // },
254
262
  * // },
255
263
  * // StorageMode: "LOCAL" || "TIERED",
264
+ * // BrokerCountUpdateInfo: {
265
+ * // CreatedBrokerIds: [
266
+ * // Number("double"),
267
+ * // ],
268
+ * // DeletedBrokerIds: [
269
+ * // Number("double"),
270
+ * // ],
271
+ * // },
256
272
  * // },
257
273
  * // VpcConnectionInfo: { // VpcConnectionInfo
258
274
  * // VpcConnectionArn: "STRING_VALUE",
@@ -972,6 +972,22 @@ export interface ClusterOperationStep {
972
972
  */
973
973
  StepName?: string;
974
974
  }
975
+ /**
976
+ * <p>Information regarding UpdateBrokerCount.</p>
977
+ * @public
978
+ */
979
+ export interface BrokerCountUpdateInfo {
980
+ /**
981
+ * <p>Kafka Broker IDs of brokers being created.</p>
982
+ * @public
983
+ */
984
+ CreatedBrokerIds?: number[];
985
+ /**
986
+ * <p>Kafka Broker IDs of brokers being deleted.</p>
987
+ * @public
988
+ */
989
+ DeletedBrokerIds?: number[];
990
+ }
975
991
  /**
976
992
  * <p>Specifies the configuration to use for the brokers.</p>
977
993
  * @public
@@ -1053,6 +1069,11 @@ export interface MutableClusterInfo {
1053
1069
  * @public
1054
1070
  */
1055
1071
  StorageMode?: StorageMode;
1072
+ /**
1073
+ * <p>Describes brokers being changed during a broker count update.</p>
1074
+ * @public
1075
+ */
1076
+ BrokerCountUpdateInfo?: BrokerCountUpdateInfo;
1056
1077
  }
1057
1078
  /**
1058
1079
  * @public
@@ -281,6 +281,10 @@ export interface ClusterOperationStep {
281
281
  StepInfo?: ClusterOperationStepInfo;
282
282
  StepName?: string;
283
283
  }
284
+ export interface BrokerCountUpdateInfo {
285
+ CreatedBrokerIds?: number[];
286
+ DeletedBrokerIds?: number[];
287
+ }
284
288
  export interface ConfigurationInfo {
285
289
  Arn: string | undefined;
286
290
  Revision: number | undefined;
@@ -298,6 +302,7 @@ export interface MutableClusterInfo {
298
302
  EncryptionInfo?: EncryptionInfo;
299
303
  ConnectivityInfo?: ConnectivityInfo;
300
304
  StorageMode?: StorageMode;
305
+ BrokerCountUpdateInfo?: BrokerCountUpdateInfo;
301
306
  }
302
307
  export declare const UserIdentityType: {
303
308
  readonly AWSACCOUNT: "AWSACCOUNT";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kafka",
3
3
  "description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
4
- "version": "3.577.0",
4
+ "version": "3.582.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-kafka",
@@ -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.577.0",
24
- "@aws-sdk/client-sts": "3.577.0",
25
- "@aws-sdk/core": "3.576.0",
26
- "@aws-sdk/credential-provider-node": "3.577.0",
23
+ "@aws-sdk/client-sso-oidc": "3.582.0",
24
+ "@aws-sdk/client-sts": "3.582.0",
25
+ "@aws-sdk/core": "3.582.0",
26
+ "@aws-sdk/credential-provider-node": "3.582.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",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.577.0",
36
36
  "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.0",
38
- "@smithy/fetch-http-handler": "^3.0.0",
37
+ "@smithy/core": "^2.0.1",
38
+ "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
42
  "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.0",
43
+ "@smithy/middleware-retry": "^3.0.1",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
46
  "@smithy/node-config-provider": "^3.0.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.0",
49
+ "@smithy/smithy-client": "^3.0.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.0",
56
- "@smithy/util-defaults-mode-node": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.1",
56
+ "@smithy/util-defaults-mode-node": "^3.0.1",
57
57
  "@smithy/util-endpoints": "^2.0.0",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",