@aws-sdk/client-kafka 3.985.0 → 3.987.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/README.md CHANGED
@@ -243,6 +243,13 @@ CreateReplicator
243
243
  </details>
244
244
  <details>
245
245
  <summary>
246
+ CreateTopic
247
+ </summary>
248
+
249
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/CreateTopicCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/CreateTopicCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/CreateTopicCommandOutput/)
250
+ </details>
251
+ <details>
252
+ <summary>
246
253
  CreateVpcConnection
247
254
  </summary>
248
255
 
@@ -278,6 +285,13 @@ DeleteReplicator
278
285
  </details>
279
286
  <details>
280
287
  <summary>
288
+ DeleteTopic
289
+ </summary>
290
+
291
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/DeleteTopicCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DeleteTopicCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DeleteTopicCommandOutput/)
292
+ </details>
293
+ <details>
294
+ <summary>
281
295
  DeleteVpcConnection
282
296
  </summary>
283
297
 
@@ -591,3 +605,10 @@ UpdateStorage
591
605
 
592
606
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/UpdateStorageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateStorageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateStorageCommandOutput/)
593
607
  </details>
608
+ <details>
609
+ <summary>
610
+ UpdateTopic
611
+ </summary>
612
+
613
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/UpdateTopicCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateTopicCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/UpdateTopicCommandOutput/)
614
+ </details>
package/dist-cjs/index.js CHANGED
@@ -229,6 +229,22 @@ class UnauthorizedException extends KafkaServiceException {
229
229
  this.Message = opts.Message;
230
230
  }
231
231
  }
232
+ class ClusterConnectivityException extends KafkaServiceException {
233
+ name = "ClusterConnectivityException";
234
+ $fault = "client";
235
+ InvalidParameter;
236
+ Message;
237
+ constructor(opts) {
238
+ super({
239
+ name: "ClusterConnectivityException",
240
+ $fault: "client",
241
+ ...opts,
242
+ });
243
+ Object.setPrototypeOf(this, ClusterConnectivityException.prototype);
244
+ this.InvalidParameter = opts.InvalidParameter;
245
+ this.Message = opts.Message;
246
+ }
247
+ }
232
248
  class ConflictException extends KafkaServiceException {
233
249
  name = "ConflictException";
234
250
  $fault = "client";
@@ -245,6 +261,134 @@ class ConflictException extends KafkaServiceException {
245
261
  this.Message = opts.Message;
246
262
  }
247
263
  }
264
+ class ControllerMovedException extends KafkaServiceException {
265
+ name = "ControllerMovedException";
266
+ $fault = "client";
267
+ InvalidParameter;
268
+ Message;
269
+ constructor(opts) {
270
+ super({
271
+ name: "ControllerMovedException",
272
+ $fault: "client",
273
+ ...opts,
274
+ });
275
+ Object.setPrototypeOf(this, ControllerMovedException.prototype);
276
+ this.InvalidParameter = opts.InvalidParameter;
277
+ this.Message = opts.Message;
278
+ }
279
+ }
280
+ class GroupSubscribedToTopicException extends KafkaServiceException {
281
+ name = "GroupSubscribedToTopicException";
282
+ $fault = "client";
283
+ InvalidParameter;
284
+ Message;
285
+ constructor(opts) {
286
+ super({
287
+ name: "GroupSubscribedToTopicException",
288
+ $fault: "client",
289
+ ...opts,
290
+ });
291
+ Object.setPrototypeOf(this, GroupSubscribedToTopicException.prototype);
292
+ this.InvalidParameter = opts.InvalidParameter;
293
+ this.Message = opts.Message;
294
+ }
295
+ }
296
+ class KafkaRequestException extends KafkaServiceException {
297
+ name = "KafkaRequestException";
298
+ $fault = "client";
299
+ InvalidParameter;
300
+ Message;
301
+ constructor(opts) {
302
+ super({
303
+ name: "KafkaRequestException",
304
+ $fault: "client",
305
+ ...opts,
306
+ });
307
+ Object.setPrototypeOf(this, KafkaRequestException.prototype);
308
+ this.InvalidParameter = opts.InvalidParameter;
309
+ this.Message = opts.Message;
310
+ }
311
+ }
312
+ class KafkaTimeoutException extends KafkaServiceException {
313
+ name = "KafkaTimeoutException";
314
+ $fault = "client";
315
+ InvalidParameter;
316
+ Message;
317
+ constructor(opts) {
318
+ super({
319
+ name: "KafkaTimeoutException",
320
+ $fault: "client",
321
+ ...opts,
322
+ });
323
+ Object.setPrototypeOf(this, KafkaTimeoutException.prototype);
324
+ this.InvalidParameter = opts.InvalidParameter;
325
+ this.Message = opts.Message;
326
+ }
327
+ }
328
+ class NotControllerException extends KafkaServiceException {
329
+ name = "NotControllerException";
330
+ $fault = "client";
331
+ InvalidParameter;
332
+ Message;
333
+ constructor(opts) {
334
+ super({
335
+ name: "NotControllerException",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ Object.setPrototypeOf(this, NotControllerException.prototype);
340
+ this.InvalidParameter = opts.InvalidParameter;
341
+ this.Message = opts.Message;
342
+ }
343
+ }
344
+ class ReassignmentInProgressException extends KafkaServiceException {
345
+ name = "ReassignmentInProgressException";
346
+ $fault = "client";
347
+ InvalidParameter;
348
+ Message;
349
+ constructor(opts) {
350
+ super({
351
+ name: "ReassignmentInProgressException",
352
+ $fault: "client",
353
+ ...opts,
354
+ });
355
+ Object.setPrototypeOf(this, ReassignmentInProgressException.prototype);
356
+ this.InvalidParameter = opts.InvalidParameter;
357
+ this.Message = opts.Message;
358
+ }
359
+ }
360
+ class TopicExistsException extends KafkaServiceException {
361
+ name = "TopicExistsException";
362
+ $fault = "client";
363
+ InvalidParameter;
364
+ Message;
365
+ constructor(opts) {
366
+ super({
367
+ name: "TopicExistsException",
368
+ $fault: "client",
369
+ ...opts,
370
+ });
371
+ Object.setPrototypeOf(this, TopicExistsException.prototype);
372
+ this.InvalidParameter = opts.InvalidParameter;
373
+ this.Message = opts.Message;
374
+ }
375
+ }
376
+ class UnknownTopicOrPartitionException extends KafkaServiceException {
377
+ name = "UnknownTopicOrPartitionException";
378
+ $fault = "client";
379
+ InvalidParameter;
380
+ Message;
381
+ constructor(opts) {
382
+ super({
383
+ name: "UnknownTopicOrPartitionException",
384
+ $fault: "client",
385
+ ...opts,
386
+ });
387
+ Object.setPrototypeOf(this, UnknownTopicOrPartitionException.prototype);
388
+ this.InvalidParameter = opts.InvalidParameter;
389
+ this.Message = opts.Message;
390
+ }
391
+ }
248
392
 
249
393
  const _A = "Authentication";
250
394
  const _AENII = "AttachedENIId";
@@ -290,6 +434,7 @@ const _CB = "ClientBroker";
290
434
  const _CBI = "CreatedBrokerIds";
291
435
  const _CBSI = "CurrentBrokerSoftwareInfo";
292
436
  const _CC = "CreateCluster";
437
+ const _CCE = "ClusterConnectivityException";
293
438
  const _CCR = "CreateClusterRequest";
294
439
  const _CCRr = "CreateClusterResponse";
295
440
  const _CCRre = "CreateConfigurationRequest";
@@ -309,6 +454,7 @@ const _CIl = "ClusterInfo";
309
454
  const _CIo = "ConfigurationInfo";
310
455
  const _CKV = "CompatibleKafkaVersion";
311
456
  const _CKVo = "CompatibleKafkaVersions";
457
+ const _CME = "ControllerMovedException";
312
458
  const _CN = "ClusterName";
313
459
  const _CNF = "ClusterNameFilter";
314
460
  const _CNI = "ControllerNodeInfo";
@@ -331,7 +477,10 @@ const _CSl = "ClientSubnet";
331
477
  const _CT = "CreationTime";
332
478
  const _CTC = "CopyTopicConfigurations";
333
479
  const _CTF = "ClusterTypeFilter";
480
+ const _CTR = "CreateTopicRequest";
481
+ const _CTRr = "CreateTopicResponse";
334
482
  const _CTl = "ClusterType";
483
+ const _CTr = "CreateTopic";
335
484
  const _CV = "CurrentVersion";
336
485
  const _CVC = "ClientVpcConnection";
337
486
  const _CVCR = "CreateVpcConnectionRequest";
@@ -382,12 +531,15 @@ const _DRRes = "DescribeReplicatorRequest";
382
531
  const _DRResc = "DescribeReplicatorResponse";
383
532
  const _DRe = "DescribeReplicator";
384
533
  const _DS = "DeliveryStream";
385
- const _DT = "DescribeTopic";
534
+ const _DT = "DeleteTopic";
386
535
  const _DTP = "DescribeTopicPartitions";
387
536
  const _DTPR = "DescribeTopicPartitionsRequest";
388
537
  const _DTPRe = "DescribeTopicPartitionsResponse";
389
- const _DTR = "DescribeTopicRequest";
390
- const _DTRe = "DescribeTopicResponse";
538
+ const _DTR = "DeleteTopicRequest";
539
+ const _DTRe = "DeleteTopicResponse";
540
+ const _DTRes = "DescribeTopicRequest";
541
+ const _DTResc = "DescribeTopicResponse";
542
+ const _DTe = "DescribeTopic";
391
543
  const _DVC = "DeleteVpcConnection";
392
544
  const _DVCR = "DeleteVpcConnectionRequest";
393
545
  const _DVCRe = "DeleteVpcConnectionResponse";
@@ -420,6 +572,7 @@ const _GCKVRe = "GetCompatibleKafkaVersionsResponse";
420
572
  const _GCP = "GetClusterPolicy";
421
573
  const _GCPR = "GetClusterPolicyRequest";
422
574
  const _GCPRe = "GetClusterPolicyResponse";
575
+ const _GSTTE = "GroupSubscribedToTopicException";
423
576
  const _I = "Iam";
424
577
  const _IC = "InCluster";
425
578
  const _IP = "InvalidParameter";
@@ -437,6 +590,8 @@ const _KCD = "KafkaClusterDescription";
437
590
  const _KCS = "KafkaClusterSummary";
438
591
  const _KCSa = "KafkaClustersSummary";
439
592
  const _KCa = "KafkaCluster";
593
+ const _KRE = "KafkaRequestException";
594
+ const _KTE = "KafkaTimeoutException";
440
595
  const _KV = "KafkaVersion";
441
596
  const _KVa = "KafkaVersions";
442
597
  const _L = "Leader";
@@ -491,6 +646,7 @@ const _MCI = "MutableClusterInfo";
491
646
  const _MR = "MaxResults";
492
647
  const _N = "Name";
493
648
  const _NARN = "NodeARN";
649
+ const _NCE = "NotControllerException";
494
650
  const _NE = "NodeExporter";
495
651
  const _NEI = "NodeExporterInfo";
496
652
  const _NFE = "NotFoundException";
@@ -536,6 +692,7 @@ const _RF = "ReplicationFactor";
536
692
  const _RI = "ReplicationInfo";
537
693
  const _RID = "ReplicationInfoDescription";
538
694
  const _RIL = "ReplicationInfoList";
695
+ const _RIPE = "ReassignmentInProgressException";
539
696
  const _RIS = "ReplicationInfoSummary";
540
697
  const _RISL = "ReplicationInfoSummaryList";
541
698
  const _RN = "ReplicatorName";
@@ -587,6 +744,7 @@ const _TBEBSVI = "TargetBrokerEBSVolumeInfo";
587
744
  const _TCA = "TargetClusterArn";
588
745
  const _TCI = "TargetClusterInfo";
589
746
  const _TCT = "TargetCompressionType";
747
+ const _TEE = "TopicExistsException";
590
748
  const _TI = "TopicInfo";
591
749
  const _TIT = "TargetInstanceType";
592
750
  const _TK = "TagKeys";
@@ -652,6 +810,10 @@ const _USRpda = "UpdateStorageResponse";
652
810
  const _USS = "UnprocessedScramSecrets";
653
811
  const _USSn = "UnprocessedScramSecret";
654
812
  const _USp = "UpdateStorage";
813
+ const _UT = "UpdateTopic";
814
+ const _UTOPE = "UnknownTopicOrPartitionException";
815
+ const _UTR = "UpdateTopicRequest";
816
+ const _UTRp = "UpdateTopicResponse";
655
817
  const _V = "Version";
656
818
  const _VC = "VpcConnectivity";
657
819
  const _VCA = "VpcConnectionArn";
@@ -1000,6 +1162,12 @@ var Cluster$ = [3, n0, _C,
1000
1162
  [_AOA, _CTl, _CA, _CN, _CT, _CV, _St, _SIt, _Ta, _P, _Se],
1001
1163
  [[0, { [_jN]: _aOA }], [0, { [_jN]: _cTl }], [0, { [_jN]: _cA }], [0, { [_jN]: _cN }], [5, { [_jN]: _cT }], [0, { [_jN]: _cV }], [0, { [_jN]: _st }], [() => StateInfo$, { [_jN]: _sIt }], [128 | 0, { [_jN]: _ta }], [() => Provisioned$, { [_jN]: _p }], [() => Serverless$, { [_jN]: _se }]]
1002
1164
  ];
1165
+ var ClusterConnectivityException$ = [-3, n0, _CCE,
1166
+ { [_e]: _c, [_hE]: 409 },
1167
+ [_IP, _M],
1168
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1169
+ ];
1170
+ schema.TypeRegistry.for(n0).registerError(ClusterConnectivityException$, ClusterConnectivityException);
1003
1171
  var ClusterInfo$ = [3, n0, _CIl,
1004
1172
  0,
1005
1173
  [_AOA, _BNGI, _R, _CAl, _CA, _CN, _CT, _CBSI, _CV, _EI, _EM, _OM, _LI, _NOBN, _St, _SIt, _Ta, _ZCS, _ZCST, _SM, _CAS],
@@ -1081,6 +1249,12 @@ var ConsumerGroupReplicationUpdate$ = [3, n0, _CGRU,
1081
1249
  [_CGTE, _CGTR, _DACNCG, _SCGO],
1082
1250
  [[64 | 0, { [_jN]: _cGTE }], [64 | 0, { [_jN]: _cGTR }], [2, { [_jN]: _dACNCG }], [2, { [_jN]: _sCGO }]], 4
1083
1251
  ];
1252
+ var ControllerMovedException$ = [-3, n0, _CME,
1253
+ { [_e]: _c, [_hE]: 409 },
1254
+ [_IP, _M],
1255
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1256
+ ];
1257
+ schema.TypeRegistry.for(n0).registerError(ControllerMovedException$, ControllerMovedException);
1084
1258
  var ControllerNodeInfo$ = [3, n0, _CNI,
1085
1259
  0,
1086
1260
  [_E],
@@ -1126,6 +1300,16 @@ var CreateReplicatorResponse$ = [3, n0, _CRRr,
1126
1300
  [_RA, _RN, _RS],
1127
1301
  [[0, { [_jN]: _rA }], [0, { [_jN]: _rN }], [0, { [_jN]: _rS }]]
1128
1302
  ];
1303
+ var CreateTopicRequest$ = [3, n0, _CTR,
1304
+ 0,
1305
+ [_CA, _TN, _PC, _RF, _Con],
1306
+ [[0, 1], [0, { [_jN]: _tN }], [1, { [_jN]: _pC }], [1, { [_jN]: _rF }], [0, { [_jN]: _co }]], 4
1307
+ ];
1308
+ var CreateTopicResponse$ = [3, n0, _CTRr,
1309
+ 0,
1310
+ [_TA, _TN, _Sta],
1311
+ [[0, { [_jN]: _tA }], [0, { [_jN]: _tN }], [0, { [_jN]: _sta }]]
1312
+ ];
1129
1313
  var CreateVpcConnectionRequest$ = [3, n0, _CVCR,
1130
1314
  0,
1131
1315
  [_TCA, _A, _VI, _CS, _SG, _Ta],
@@ -1176,6 +1360,16 @@ var DeleteReplicatorResponse$ = [3, n0, _DRRe,
1176
1360
  [_RA, _RS],
1177
1361
  [[0, { [_jN]: _rA }], [0, { [_jN]: _rS }]]
1178
1362
  ];
1363
+ var DeleteTopicRequest$ = [3, n0, _DTR,
1364
+ 0,
1365
+ [_CA, _TN],
1366
+ [[0, 1], [0, 1]], 2
1367
+ ];
1368
+ var DeleteTopicResponse$ = [3, n0, _DTRe,
1369
+ 0,
1370
+ [_TA, _TN, _Sta],
1371
+ [[0, { [_jN]: _tA }], [0, { [_jN]: _tN }], [0, { [_jN]: _sta }]]
1372
+ ];
1179
1373
  var DeleteVpcConnectionRequest$ = [3, n0, _DVCR,
1180
1374
  0,
1181
1375
  [_Ar],
@@ -1266,12 +1460,12 @@ var DescribeTopicPartitionsResponse$ = [3, n0, _DTPRe,
1266
1460
  [_Pa, _NT],
1267
1461
  [[() => __listOfTopicPartitionInfo, { [_jN]: _pa }], [0, { [_jN]: _nT }]]
1268
1462
  ];
1269
- var DescribeTopicRequest$ = [3, n0, _DTR,
1463
+ var DescribeTopicRequest$ = [3, n0, _DTRes,
1270
1464
  0,
1271
1465
  [_CA, _TN],
1272
1466
  [[0, 1], [0, 1]], 2
1273
1467
  ];
1274
- var DescribeTopicResponse$ = [3, n0, _DTRe,
1468
+ var DescribeTopicResponse$ = [3, n0, _DTResc,
1275
1469
  0,
1276
1470
  [_TA, _TN, _RF, _PC, _Con, _Sta],
1277
1471
  [[0, { [_jN]: _tA }], [0, { [_jN]: _tN }], [1, { [_jN]: _rF }], [1, { [_jN]: _pC }], [0, { [_jN]: _co }], [0, { [_jN]: _sta }]]
@@ -1352,6 +1546,12 @@ var GetCompatibleKafkaVersionsResponse$ = [3, n0, _GCKVRe,
1352
1546
  [_CKVo],
1353
1547
  [[() => __listOfCompatibleKafkaVersion, { [_jN]: _cKV }]]
1354
1548
  ];
1549
+ var GroupSubscribedToTopicException$ = [-3, n0, _GSTTE,
1550
+ { [_e]: _c, [_hE]: 409 },
1551
+ [_IP, _M],
1552
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1553
+ ];
1554
+ schema.TypeRegistry.for(n0).registerError(GroupSubscribedToTopicException$, GroupSubscribedToTopicException);
1355
1555
  var Iam$ = [3, n0, _I,
1356
1556
  0,
1357
1557
  [_En],
@@ -1393,6 +1593,18 @@ var KafkaClusterSummary$ = [3, n0, _KCS,
1393
1593
  [_AMC, _KCA],
1394
1594
  [[() => AmazonMskCluster$, { [_jN]: _aMC }], [0, { [_jN]: _kCA }]]
1395
1595
  ];
1596
+ var KafkaRequestException$ = [-3, n0, _KRE,
1597
+ { [_e]: _c, [_hE]: 400 },
1598
+ [_IP, _M],
1599
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1600
+ ];
1601
+ schema.TypeRegistry.for(n0).registerError(KafkaRequestException$, KafkaRequestException);
1602
+ var KafkaTimeoutException$ = [-3, n0, _KTE,
1603
+ { [_e]: _c, [_hE]: 409 },
1604
+ [_IP, _M],
1605
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1606
+ ];
1607
+ schema.TypeRegistry.for(n0).registerError(KafkaTimeoutException$, KafkaTimeoutException);
1396
1608
  var KafkaVersion$ = [3, n0, _KV,
1397
1609
  0,
1398
1610
  [_V, _Sta],
@@ -1563,6 +1775,12 @@ var NodeInfo$ = [3, n0, _NI,
1563
1775
  [_ATCT, _BNI, _CNI, _IT, _NARN, _NTo, _ZNI],
1564
1776
  [[0, { [_jN]: _aTCT }], [() => BrokerNodeInfo$, { [_jN]: _bNI }], [() => ControllerNodeInfo$, { [_jN]: _cNI }], [0, { [_jN]: _iT }], [0, { [_jN]: _nARN }], [0, { [_jN]: _nTo }], [() => ZookeeperNodeInfo$, { [_jN]: _zNI }]]
1565
1777
  ];
1778
+ var NotControllerException$ = [-3, n0, _NCE,
1779
+ { [_e]: _c, [_hE]: 409 },
1780
+ [_IP, _M],
1781
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1782
+ ];
1783
+ schema.TypeRegistry.for(n0).registerError(NotControllerException$, NotControllerException);
1566
1784
  var NotFoundException$ = [-3, n0, _NFE,
1567
1785
  { [_e]: _c, [_hE]: 404 },
1568
1786
  [_IP, _M],
@@ -1619,6 +1837,12 @@ var PutClusterPolicyResponse$ = [3, n0, _PCPRu,
1619
1837
  [_CV],
1620
1838
  [[0, { [_jN]: _cV }]]
1621
1839
  ];
1840
+ var ReassignmentInProgressException$ = [-3, n0, _RIPE,
1841
+ { [_e]: _c, [_hE]: 409 },
1842
+ [_IP, _M],
1843
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1844
+ ];
1845
+ schema.TypeRegistry.for(n0).registerError(ReassignmentInProgressException$, ReassignmentInProgressException);
1622
1846
  var Rebalancing$ = [3, n0, _R,
1623
1847
  0,
1624
1848
  [_Sta],
@@ -1746,6 +1970,12 @@ var TooManyRequestsException$ = [-3, n0, _TMRE,
1746
1970
  [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1747
1971
  ];
1748
1972
  schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
1973
+ var TopicExistsException$ = [-3, n0, _TEE,
1974
+ { [_e]: _c, [_hE]: 409 },
1975
+ [_IP, _M],
1976
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1977
+ ];
1978
+ schema.TypeRegistry.for(n0).registerError(TopicExistsException$, TopicExistsException);
1749
1979
  var TopicInfo$ = [3, n0, _TI,
1750
1980
  0,
1751
1981
  [_TA, _TN, _RF, _PC, _OOSRC],
@@ -1777,6 +2007,12 @@ var UnauthorizedException$ = [-3, n0, _UE,
1777
2007
  [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1778
2008
  ];
1779
2009
  schema.TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
2010
+ var UnknownTopicOrPartitionException$ = [-3, n0, _UTOPE,
2011
+ { [_e]: _c, [_hE]: 404 },
2012
+ [_IP, _M],
2013
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
2014
+ ];
2015
+ schema.TypeRegistry.for(n0).registerError(UnknownTopicOrPartitionException$, UnknownTopicOrPartitionException);
1780
2016
  var UnprocessedScramSecret$ = [3, n0, _USSn,
1781
2017
  0,
1782
2018
  [_EC, _EMr, _SA],
@@ -1907,6 +2143,16 @@ var UpdateStorageResponse$ = [3, n0, _USRpda,
1907
2143
  [_CA, _COA],
1908
2144
  [[0, { [_jN]: _cA }], [0, { [_jN]: _cOA }]]
1909
2145
  ];
2146
+ var UpdateTopicRequest$ = [3, n0, _UTR,
2147
+ 0,
2148
+ [_CA, _TN, _Con, _PC],
2149
+ [[0, 1], [0, 1], [0, { [_jN]: _co }], [1, { [_jN]: _pC }]], 2
2150
+ ];
2151
+ var UpdateTopicResponse$ = [3, n0, _UTRp,
2152
+ 0,
2153
+ [_TA, _TN, _Sta],
2154
+ [[0, { [_jN]: _tA }], [0, { [_jN]: _tN }], [0, { [_jN]: _sta }]]
2155
+ ];
1910
2156
  var UserIdentity$ = [3, n0, _UI,
1911
2157
  0,
1912
2158
  [_Ty, _PIr],
@@ -2084,6 +2330,9 @@ var CreateConfiguration$ = [9, n0, _CCr,
2084
2330
  var CreateReplicator$ = [9, n0, _CRr,
2085
2331
  { [_h]: ["POST", "/replication/v1/replicators", 200] }, () => CreateReplicatorRequest$, () => CreateReplicatorResponse$
2086
2332
  ];
2333
+ var CreateTopic$ = [9, n0, _CTr,
2334
+ { [_h]: ["POST", "/v1/clusters/{ClusterArn}/topics", 200] }, () => CreateTopicRequest$, () => CreateTopicResponse$
2335
+ ];
2087
2336
  var CreateVpcConnection$ = [9, n0, _CVCr,
2088
2337
  { [_h]: ["POST", "/v1/vpc-connection", 200] }, () => CreateVpcConnectionRequest$, () => CreateVpcConnectionResponse$
2089
2338
  ];
@@ -2099,6 +2348,9 @@ var DeleteConfiguration$ = [9, n0, _DCe,
2099
2348
  var DeleteReplicator$ = [9, n0, _DR,
2100
2349
  { [_h]: ["DELETE", "/replication/v1/replicators/{ReplicatorArn}", 200] }, () => DeleteReplicatorRequest$, () => DeleteReplicatorResponse$
2101
2350
  ];
2351
+ var DeleteTopic$ = [9, n0, _DT,
2352
+ { [_h]: ["DELETE", "/v1/clusters/{ClusterArn}/topics/{TopicName}", 200] }, () => DeleteTopicRequest$, () => DeleteTopicResponse$
2353
+ ];
2102
2354
  var DeleteVpcConnection$ = [9, n0, _DVC,
2103
2355
  { [_h]: ["DELETE", "/v1/vpc-connection/{Arn}", 200] }, () => DeleteVpcConnectionRequest$, () => DeleteVpcConnectionResponse$
2104
2356
  ];
@@ -2123,7 +2375,7 @@ var DescribeConfigurationRevision$ = [9, n0, _DCRescrib,
2123
2375
  var DescribeReplicator$ = [9, n0, _DRe,
2124
2376
  { [_h]: ["GET", "/replication/v1/replicators/{ReplicatorArn}", 200] }, () => DescribeReplicatorRequest$, () => DescribeReplicatorResponse$
2125
2377
  ];
2126
- var DescribeTopic$ = [9, n0, _DT,
2378
+ var DescribeTopic$ = [9, n0, _DTe,
2127
2379
  { [_h]: ["GET", "/v1/clusters/{ClusterArn}/topics/{TopicName}", 200] }, () => DescribeTopicRequest$, () => DescribeTopicResponse$
2128
2380
  ];
2129
2381
  var DescribeTopicPartitions$ = [9, n0, _DTP,
@@ -2234,6 +2486,9 @@ var UpdateSecurity$ = [9, n0, _US,
2234
2486
  var UpdateStorage$ = [9, n0, _USp,
2235
2487
  { [_h]: ["PUT", "/v1/clusters/{ClusterArn}/storage", 200] }, () => UpdateStorageRequest$, () => UpdateStorageResponse$
2236
2488
  ];
2489
+ var UpdateTopic$ = [9, n0, _UT,
2490
+ { [_h]: ["PUT", "/v1/clusters/{ClusterArn}/topics/{TopicName}", 200] }, () => UpdateTopicRequest$, () => UpdateTopicResponse$
2491
+ ];
2237
2492
 
2238
2493
  class BatchAssociateScramSecretCommand extends smithyClient.Command
2239
2494
  .classBuilder()
@@ -2307,6 +2562,18 @@ class CreateReplicatorCommand extends smithyClient.Command
2307
2562
  .build() {
2308
2563
  }
2309
2564
 
2565
+ class CreateTopicCommand extends smithyClient.Command
2566
+ .classBuilder()
2567
+ .ep(commonParams)
2568
+ .m(function (Command, cs, config, o) {
2569
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2570
+ })
2571
+ .s("Kafka", "CreateTopic", {})
2572
+ .n("KafkaClient", "CreateTopicCommand")
2573
+ .sc(CreateTopic$)
2574
+ .build() {
2575
+ }
2576
+
2310
2577
  class CreateVpcConnectionCommand extends smithyClient.Command
2311
2578
  .classBuilder()
2312
2579
  .ep(commonParams)
@@ -2367,6 +2634,18 @@ class DeleteReplicatorCommand extends smithyClient.Command
2367
2634
  .build() {
2368
2635
  }
2369
2636
 
2637
+ class DeleteTopicCommand extends smithyClient.Command
2638
+ .classBuilder()
2639
+ .ep(commonParams)
2640
+ .m(function (Command, cs, config, o) {
2641
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2642
+ })
2643
+ .s("Kafka", "DeleteTopic", {})
2644
+ .n("KafkaClient", "DeleteTopicCommand")
2645
+ .sc(DeleteTopic$)
2646
+ .build() {
2647
+ }
2648
+
2370
2649
  class DeleteVpcConnectionCommand extends smithyClient.Command
2371
2650
  .classBuilder()
2372
2651
  .ep(commonParams)
@@ -2907,6 +3186,18 @@ class UpdateStorageCommand extends smithyClient.Command
2907
3186
  .build() {
2908
3187
  }
2909
3188
 
3189
+ class UpdateTopicCommand extends smithyClient.Command
3190
+ .classBuilder()
3191
+ .ep(commonParams)
3192
+ .m(function (Command, cs, config, o) {
3193
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3194
+ })
3195
+ .s("Kafka", "UpdateTopic", {})
3196
+ .n("KafkaClient", "UpdateTopicCommand")
3197
+ .sc(UpdateTopic$)
3198
+ .build() {
3199
+ }
3200
+
2910
3201
  const paginateDescribeTopicPartitions = core.createPaginator(KafkaClient, DescribeTopicPartitionsCommand, "NextToken", "NextToken", "MaxResults");
2911
3202
 
2912
3203
  const paginateListClientVpcConnections = core.createPaginator(KafkaClient, ListClientVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -2942,11 +3233,13 @@ const commands = {
2942
3233
  CreateClusterV2Command,
2943
3234
  CreateConfigurationCommand,
2944
3235
  CreateReplicatorCommand,
3236
+ CreateTopicCommand,
2945
3237
  CreateVpcConnectionCommand,
2946
3238
  DeleteClusterCommand,
2947
3239
  DeleteClusterPolicyCommand,
2948
3240
  DeleteConfigurationCommand,
2949
3241
  DeleteReplicatorCommand,
3242
+ DeleteTopicCommand,
2950
3243
  DeleteVpcConnectionCommand,
2951
3244
  DescribeClusterCommand,
2952
3245
  DescribeClusterOperationCommand,
@@ -2992,6 +3285,7 @@ const commands = {
2992
3285
  UpdateReplicationInfoCommand,
2993
3286
  UpdateSecurityCommand,
2994
3287
  UpdateStorageCommand,
3288
+ UpdateTopicCommand,
2995
3289
  };
2996
3290
  const paginators = {
2997
3291
  paginateDescribeTopicPartitions,
@@ -3140,6 +3434,8 @@ exports.ClientBroker = ClientBroker;
3140
3434
  exports.ClientVpcConnection$ = ClientVpcConnection$;
3141
3435
  exports.CloudWatchLogs$ = CloudWatchLogs$;
3142
3436
  exports.Cluster$ = Cluster$;
3437
+ exports.ClusterConnectivityException = ClusterConnectivityException;
3438
+ exports.ClusterConnectivityException$ = ClusterConnectivityException$;
3143
3439
  exports.ClusterInfo$ = ClusterInfo$;
3144
3440
  exports.ClusterOperationInfo$ = ClusterOperationInfo$;
3145
3441
  exports.ClusterOperationStep$ = ClusterOperationStep$;
@@ -3160,6 +3456,8 @@ exports.ConflictException$ = ConflictException$;
3160
3456
  exports.ConnectivityInfo$ = ConnectivityInfo$;
3161
3457
  exports.ConsumerGroupReplication$ = ConsumerGroupReplication$;
3162
3458
  exports.ConsumerGroupReplicationUpdate$ = ConsumerGroupReplicationUpdate$;
3459
+ exports.ControllerMovedException = ControllerMovedException;
3460
+ exports.ControllerMovedException$ = ControllerMovedException$;
3163
3461
  exports.ControllerNodeInfo$ = ControllerNodeInfo$;
3164
3462
  exports.CreateCluster$ = CreateCluster$;
3165
3463
  exports.CreateClusterCommand = CreateClusterCommand;
@@ -3177,6 +3475,10 @@ exports.CreateReplicator$ = CreateReplicator$;
3177
3475
  exports.CreateReplicatorCommand = CreateReplicatorCommand;
3178
3476
  exports.CreateReplicatorRequest$ = CreateReplicatorRequest$;
3179
3477
  exports.CreateReplicatorResponse$ = CreateReplicatorResponse$;
3478
+ exports.CreateTopic$ = CreateTopic$;
3479
+ exports.CreateTopicCommand = CreateTopicCommand;
3480
+ exports.CreateTopicRequest$ = CreateTopicRequest$;
3481
+ exports.CreateTopicResponse$ = CreateTopicResponse$;
3180
3482
  exports.CreateVpcConnection$ = CreateVpcConnection$;
3181
3483
  exports.CreateVpcConnectionCommand = CreateVpcConnectionCommand;
3182
3484
  exports.CreateVpcConnectionRequest$ = CreateVpcConnectionRequest$;
@@ -3198,6 +3500,10 @@ exports.DeleteReplicator$ = DeleteReplicator$;
3198
3500
  exports.DeleteReplicatorCommand = DeleteReplicatorCommand;
3199
3501
  exports.DeleteReplicatorRequest$ = DeleteReplicatorRequest$;
3200
3502
  exports.DeleteReplicatorResponse$ = DeleteReplicatorResponse$;
3503
+ exports.DeleteTopic$ = DeleteTopic$;
3504
+ exports.DeleteTopicCommand = DeleteTopicCommand;
3505
+ exports.DeleteTopicRequest$ = DeleteTopicRequest$;
3506
+ exports.DeleteTopicResponse$ = DeleteTopicResponse$;
3201
3507
  exports.DeleteVpcConnection$ = DeleteVpcConnection$;
3202
3508
  exports.DeleteVpcConnectionCommand = DeleteVpcConnectionCommand;
3203
3509
  exports.DeleteVpcConnectionRequest$ = DeleteVpcConnectionRequest$;
@@ -3263,6 +3569,8 @@ exports.GetCompatibleKafkaVersions$ = GetCompatibleKafkaVersions$;
3263
3569
  exports.GetCompatibleKafkaVersionsCommand = GetCompatibleKafkaVersionsCommand;
3264
3570
  exports.GetCompatibleKafkaVersionsRequest$ = GetCompatibleKafkaVersionsRequest$;
3265
3571
  exports.GetCompatibleKafkaVersionsResponse$ = GetCompatibleKafkaVersionsResponse$;
3572
+ exports.GroupSubscribedToTopicException = GroupSubscribedToTopicException;
3573
+ exports.GroupSubscribedToTopicException$ = GroupSubscribedToTopicException$;
3266
3574
  exports.Iam$ = Iam$;
3267
3575
  exports.InternalServerErrorException = InternalServerErrorException;
3268
3576
  exports.InternalServerErrorException$ = InternalServerErrorException$;
@@ -3274,8 +3582,12 @@ exports.KafkaCluster$ = KafkaCluster$;
3274
3582
  exports.KafkaClusterClientVpcConfig$ = KafkaClusterClientVpcConfig$;
3275
3583
  exports.KafkaClusterDescription$ = KafkaClusterDescription$;
3276
3584
  exports.KafkaClusterSummary$ = KafkaClusterSummary$;
3585
+ exports.KafkaRequestException = KafkaRequestException;
3586
+ exports.KafkaRequestException$ = KafkaRequestException$;
3277
3587
  exports.KafkaServiceException = KafkaServiceException;
3278
3588
  exports.KafkaServiceException$ = KafkaServiceException$;
3589
+ exports.KafkaTimeoutException = KafkaTimeoutException;
3590
+ exports.KafkaTimeoutException$ = KafkaTimeoutException$;
3279
3591
  exports.KafkaVersion$ = KafkaVersion$;
3280
3592
  exports.KafkaVersionStatus = KafkaVersionStatus;
3281
3593
  exports.ListClientVpcConnections$ = ListClientVpcConnections$;
@@ -3340,6 +3652,8 @@ exports.NodeExporter$ = NodeExporter$;
3340
3652
  exports.NodeExporterInfo$ = NodeExporterInfo$;
3341
3653
  exports.NodeInfo$ = NodeInfo$;
3342
3654
  exports.NodeType = NodeType;
3655
+ exports.NotControllerException = NotControllerException;
3656
+ exports.NotControllerException$ = NotControllerException$;
3343
3657
  exports.NotFoundException = NotFoundException;
3344
3658
  exports.NotFoundException$ = NotFoundException$;
3345
3659
  exports.OpenMonitoring$ = OpenMonitoring$;
@@ -3354,6 +3668,8 @@ exports.PutClusterPolicy$ = PutClusterPolicy$;
3354
3668
  exports.PutClusterPolicyCommand = PutClusterPolicyCommand;
3355
3669
  exports.PutClusterPolicyRequest$ = PutClusterPolicyRequest$;
3356
3670
  exports.PutClusterPolicyResponse$ = PutClusterPolicyResponse$;
3671
+ exports.ReassignmentInProgressException = ReassignmentInProgressException;
3672
+ exports.ReassignmentInProgressException$ = ReassignmentInProgressException$;
3357
3673
  exports.Rebalancing$ = Rebalancing$;
3358
3674
  exports.RebalancingStatus = RebalancingStatus;
3359
3675
  exports.RebootBroker$ = RebootBroker$;
@@ -3393,6 +3709,8 @@ exports.TargetCompressionType = TargetCompressionType;
3393
3709
  exports.Tls$ = Tls$;
3394
3710
  exports.TooManyRequestsException = TooManyRequestsException;
3395
3711
  exports.TooManyRequestsException$ = TooManyRequestsException$;
3712
+ exports.TopicExistsException = TopicExistsException;
3713
+ exports.TopicExistsException$ = TopicExistsException$;
3396
3714
  exports.TopicInfo$ = TopicInfo$;
3397
3715
  exports.TopicPartitionInfo$ = TopicPartitionInfo$;
3398
3716
  exports.TopicReplication$ = TopicReplication$;
@@ -3401,6 +3719,8 @@ exports.TopicState = TopicState;
3401
3719
  exports.Unauthenticated$ = Unauthenticated$;
3402
3720
  exports.UnauthorizedException = UnauthorizedException;
3403
3721
  exports.UnauthorizedException$ = UnauthorizedException$;
3722
+ exports.UnknownTopicOrPartitionException = UnknownTopicOrPartitionException;
3723
+ exports.UnknownTopicOrPartitionException$ = UnknownTopicOrPartitionException$;
3404
3724
  exports.UnprocessedScramSecret$ = UnprocessedScramSecret$;
3405
3725
  exports.UntagResource$ = UntagResource$;
3406
3726
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -3453,6 +3773,10 @@ exports.UpdateStorage$ = UpdateStorage$;
3453
3773
  exports.UpdateStorageCommand = UpdateStorageCommand;
3454
3774
  exports.UpdateStorageRequest$ = UpdateStorageRequest$;
3455
3775
  exports.UpdateStorageResponse$ = UpdateStorageResponse$;
3776
+ exports.UpdateTopic$ = UpdateTopic$;
3777
+ exports.UpdateTopicCommand = UpdateTopicCommand;
3778
+ exports.UpdateTopicRequest$ = UpdateTopicRequest$;
3779
+ exports.UpdateTopicResponse$ = UpdateTopicResponse$;
3456
3780
  exports.UserIdentity$ = UserIdentity$;
3457
3781
  exports.UserIdentityType = UserIdentityType;
3458
3782
  exports.VpcConfig$ = VpcConfig$;