@aws-sdk/client-kafka 3.43.0 → 3.47.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/Kafka.js +45 -0
  3. package/dist-cjs/commands/CreateClusterV2Command.js +36 -0
  4. package/dist-cjs/commands/DescribeClusterV2Command.js +36 -0
  5. package/dist-cjs/commands/ListClustersV2Command.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoints.js +1 -0
  8. package/dist-cjs/models/models_0.js +132 -91
  9. package/dist-cjs/pagination/ListClustersV2Paginator.js +35 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +546 -2
  12. package/dist-cjs/runtimeConfig.browser.js +7 -2
  13. package/dist-cjs/runtimeConfig.js +9 -3
  14. package/dist-es/Kafka.js +45 -0
  15. package/dist-es/commands/CreateClusterV2Command.js +39 -0
  16. package/dist-es/commands/DescribeClusterV2Command.js +39 -0
  17. package/dist-es/commands/ListClustersV2Command.js +39 -0
  18. package/dist-es/commands/index.js +3 -0
  19. package/dist-es/endpoints.js +1 -0
  20. package/dist-es/models/models_0.js +92 -63
  21. package/dist-es/pagination/ListClustersV2Paginator.js +74 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +571 -0
  24. package/dist-es/runtimeConfig.browser.js +12 -3
  25. package/dist-es/runtimeConfig.js +13 -6
  26. package/dist-types/Kafka.d.ts +21 -0
  27. package/dist-types/KafkaClient.d.ts +10 -3
  28. package/dist-types/commands/CreateClusterV2Command.d.ts +35 -0
  29. package/dist-types/commands/DescribeClusterV2Command.d.ts +35 -0
  30. package/dist-types/commands/ListClustersV2Command.d.ts +35 -0
  31. package/dist-types/commands/index.d.ts +3 -0
  32. package/dist-types/models/models_0.d.ts +430 -116
  33. package/dist-types/pagination/ListClustersV2Paginator.d.ts +4 -0
  34. package/dist-types/pagination/index.d.ts +1 -0
  35. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  36. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  37. package/dist-types/runtimeConfig.d.ts +4 -3
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/ts3.4/Kafka.d.ts +15 -0
  40. package/dist-types/ts3.4/KafkaClient.d.ts +8 -3
  41. package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +255 -79
  46. package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  52. package/package.json +38 -45
@@ -18,6 +18,10 @@ export declare namespace BrokerEBSVolumeInfo {
18
18
  */
19
19
  const filterSensitiveLog: (obj: BrokerEBSVolumeInfo) => any;
20
20
  }
21
+ export declare enum ClusterType {
22
+ PROVISIONED = "PROVISIONED",
23
+ SERVERLESS = "SERVERLESS"
24
+ }
21
25
  export declare enum BrokerAZDistribution {
22
26
  DEFAULT = "DEFAULT"
23
27
  }
@@ -370,66 +374,185 @@ export declare namespace LoggingInfo {
370
374
  /**
371
375
  * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
372
376
  */
373
- export interface JmxExporter {
377
+ export interface JmxExporterInfo {
374
378
  /**
375
379
  * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
376
380
  */
377
381
  EnabledInBroker: boolean | undefined;
378
382
  }
379
- export declare namespace JmxExporter {
383
+ export declare namespace JmxExporterInfo {
380
384
  /**
381
385
  * @internal
382
386
  */
383
- const filterSensitiveLog: (obj: JmxExporter) => any;
387
+ const filterSensitiveLog: (obj: JmxExporterInfo) => any;
384
388
  }
385
389
  /**
386
390
  * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
387
391
  */
388
- export interface NodeExporter {
392
+ export interface NodeExporterInfo {
389
393
  /**
390
394
  * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
391
395
  */
392
396
  EnabledInBroker: boolean | undefined;
393
397
  }
394
- export declare namespace NodeExporter {
398
+ export declare namespace NodeExporterInfo {
395
399
  /**
396
400
  * @internal
397
401
  */
398
- const filterSensitiveLog: (obj: NodeExporter) => any;
402
+ const filterSensitiveLog: (obj: NodeExporterInfo) => any;
399
403
  }
400
404
  /**
401
405
  * <p>Prometheus settings.</p>
402
406
  */
403
- export interface Prometheus {
407
+ export interface PrometheusInfo {
404
408
  /**
405
409
  * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
406
410
  */
407
- JmxExporter?: JmxExporter;
411
+ JmxExporter?: JmxExporterInfo;
408
412
  /**
409
413
  * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
410
414
  */
411
- NodeExporter?: NodeExporter;
415
+ NodeExporter?: NodeExporterInfo;
412
416
  }
413
- export declare namespace Prometheus {
417
+ export declare namespace PrometheusInfo {
414
418
  /**
415
419
  * @internal
416
420
  */
417
- const filterSensitiveLog: (obj: Prometheus) => any;
421
+ const filterSensitiveLog: (obj: PrometheusInfo) => any;
418
422
  }
419
423
  /**
420
424
  * <p>JMX and Node monitoring for the MSK cluster.</p>
421
425
  */
422
- export interface OpenMonitoring {
426
+ export interface OpenMonitoringInfo {
423
427
  /**
424
428
  * <p>Prometheus settings.</p>
425
429
  */
426
- Prometheus: Prometheus | undefined;
430
+ Prometheus: PrometheusInfo | undefined;
427
431
  }
428
- export declare namespace OpenMonitoring {
432
+ export declare namespace OpenMonitoringInfo {
429
433
  /**
430
434
  * @internal
431
435
  */
432
- const filterSensitiveLog: (obj: OpenMonitoring) => any;
436
+ const filterSensitiveLog: (obj: OpenMonitoringInfo) => any;
437
+ }
438
+ /**
439
+ * <p>Provisioned cluster.</p>
440
+ */
441
+ export interface Provisioned {
442
+ /**
443
+ * <p>Information about the brokers.</p>
444
+ */
445
+ BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
446
+ /**
447
+ * <p>Information about the Apache Kafka version deployed on the brokers.</p>
448
+ */
449
+ CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
450
+ /**
451
+ * <p>Includes all client authentication information.</p>
452
+ */
453
+ ClientAuthentication?: ClientAuthentication;
454
+ /**
455
+ * <p>Includes all encryption-related information.</p>
456
+ */
457
+ EncryptionInfo?: EncryptionInfo;
458
+ /**
459
+ * <p>Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.</p>
460
+ */
461
+ EnhancedMonitoring?: EnhancedMonitoring | string;
462
+ /**
463
+ * <p>The settings for open monitoring.</p>
464
+ */
465
+ OpenMonitoring?: OpenMonitoringInfo;
466
+ /**
467
+ * <p>Log delivery information for the cluster.</p>
468
+ */
469
+ LoggingInfo?: LoggingInfo;
470
+ /**
471
+ * <p>The number of broker nodes in the cluster.</p>
472
+ */
473
+ NumberOfBrokerNodes: number | undefined;
474
+ /**
475
+ * <p>The connection string to use to connect to the Apache ZooKeeper cluster.</p>
476
+ */
477
+ ZookeeperConnectString?: string;
478
+ /**
479
+ * <p>The connection string to use to connect to the Apache ZooKeeper cluster on a TLS port.</p>
480
+ */
481
+ ZookeeperConnectStringTls?: string;
482
+ }
483
+ export declare namespace Provisioned {
484
+ /**
485
+ * @internal
486
+ */
487
+ const filterSensitiveLog: (obj: Provisioned) => any;
488
+ }
489
+ /**
490
+ * <p>Details for client authentication using SASL.</p>
491
+ */
492
+ export interface ServerlessSasl {
493
+ /**
494
+ * <p>Indicates whether IAM access control is enabled.</p>
495
+ */
496
+ Iam?: Iam;
497
+ }
498
+ export declare namespace ServerlessSasl {
499
+ /**
500
+ * @internal
501
+ */
502
+ const filterSensitiveLog: (obj: ServerlessSasl) => any;
503
+ }
504
+ /**
505
+ * <p>Includes all client authentication information.</p>
506
+ */
507
+ export interface ServerlessClientAuthentication {
508
+ /**
509
+ * <p>Details for ClientAuthentication using SASL.</p>
510
+ */
511
+ Sasl?: ServerlessSasl;
512
+ }
513
+ export declare namespace ServerlessClientAuthentication {
514
+ /**
515
+ * @internal
516
+ */
517
+ const filterSensitiveLog: (obj: ServerlessClientAuthentication) => any;
518
+ }
519
+ /**
520
+ * <p>The configuration of the Amazon VPCs for the cluster.</p>
521
+ */
522
+ export interface VpcConfig {
523
+ /**
524
+ * <p>The IDs of the subnets associated with the cluster.</p>
525
+ */
526
+ SubnetIds: string[] | undefined;
527
+ /**
528
+ * <p>The IDs of the security groups associated with the cluster.</p>
529
+ */
530
+ SecurityGroupIds?: string[];
531
+ }
532
+ export declare namespace VpcConfig {
533
+ /**
534
+ * @internal
535
+ */
536
+ const filterSensitiveLog: (obj: VpcConfig) => any;
537
+ }
538
+ /**
539
+ * <p>Serverless cluster.</p>
540
+ */
541
+ export interface Serverless {
542
+ /**
543
+ * <p>The configuration of the Amazon VPCs for the cluster.</p>
544
+ */
545
+ VpcConfigs: VpcConfig[] | undefined;
546
+ /**
547
+ * <p>Includes all client authentication information.</p>
548
+ */
549
+ ClientAuthentication?: ServerlessClientAuthentication;
550
+ }
551
+ export declare namespace Serverless {
552
+ /**
553
+ * @internal
554
+ */
555
+ const filterSensitiveLog: (obj: Serverless) => any;
433
556
  }
434
557
  export declare enum ClusterState {
435
558
  ACTIVE = "ACTIVE",
@@ -451,6 +574,127 @@ export declare namespace StateInfo {
451
574
  */
452
575
  const filterSensitiveLog: (obj: StateInfo) => any;
453
576
  }
577
+ /**
578
+ * <p>Returns information about a cluster.</p>
579
+ */
580
+ export interface Cluster {
581
+ /**
582
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.</p>
583
+ */
584
+ ActiveOperationArn?: string;
585
+ /**
586
+ * <p>Cluster Type.</p>
587
+ */
588
+ ClusterType?: ClusterType | string;
589
+ /**
590
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
591
+ */
592
+ ClusterArn?: string;
593
+ /**
594
+ * <p>The name of the cluster.</p>
595
+ */
596
+ ClusterName?: string;
597
+ /**
598
+ * <p>The time when the cluster was created.</p>
599
+ */
600
+ CreationTime?: Date;
601
+ /**
602
+ * <p>The current version of the MSK cluster.</p>
603
+ */
604
+ CurrentVersion?: string;
605
+ /**
606
+ * <p>The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.</p>
607
+ */
608
+ State?: ClusterState | string;
609
+ /**
610
+ * <p>State Info for the Amazon MSK cluster.</p>
611
+ */
612
+ StateInfo?: StateInfo;
613
+ /**
614
+ * <p>Tags attached to the cluster.</p>
615
+ */
616
+ Tags?: {
617
+ [key: string]: string;
618
+ };
619
+ /**
620
+ * <p>Information about the provisioned cluster.</p>
621
+ */
622
+ Provisioned?: Provisioned;
623
+ /**
624
+ * <p>Information about the serverless cluster.</p>
625
+ */
626
+ Serverless?: Serverless;
627
+ }
628
+ export declare namespace Cluster {
629
+ /**
630
+ * @internal
631
+ */
632
+ const filterSensitiveLog: (obj: Cluster) => any;
633
+ }
634
+ /**
635
+ * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
636
+ */
637
+ export interface JmxExporter {
638
+ /**
639
+ * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
640
+ */
641
+ EnabledInBroker: boolean | undefined;
642
+ }
643
+ export declare namespace JmxExporter {
644
+ /**
645
+ * @internal
646
+ */
647
+ const filterSensitiveLog: (obj: JmxExporter) => any;
648
+ }
649
+ /**
650
+ * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
651
+ */
652
+ export interface NodeExporter {
653
+ /**
654
+ * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
655
+ */
656
+ EnabledInBroker: boolean | undefined;
657
+ }
658
+ export declare namespace NodeExporter {
659
+ /**
660
+ * @internal
661
+ */
662
+ const filterSensitiveLog: (obj: NodeExporter) => any;
663
+ }
664
+ /**
665
+ * <p>Prometheus settings.</p>
666
+ */
667
+ export interface Prometheus {
668
+ /**
669
+ * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
670
+ */
671
+ JmxExporter?: JmxExporter;
672
+ /**
673
+ * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
674
+ */
675
+ NodeExporter?: NodeExporter;
676
+ }
677
+ export declare namespace Prometheus {
678
+ /**
679
+ * @internal
680
+ */
681
+ const filterSensitiveLog: (obj: Prometheus) => any;
682
+ }
683
+ /**
684
+ * <p>JMX and Node monitoring for the MSK cluster.</p>
685
+ */
686
+ export interface OpenMonitoring {
687
+ /**
688
+ * <p>Prometheus settings.</p>
689
+ */
690
+ Prometheus: Prometheus | undefined;
691
+ }
692
+ export declare namespace OpenMonitoring {
693
+ /**
694
+ * @internal
695
+ */
696
+ const filterSensitiveLog: (obj: OpenMonitoring) => any;
697
+ }
454
698
  /**
455
699
  * <p>Returns information about a cluster.</p>
456
700
  */
@@ -954,12 +1198,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
954
1198
  */
955
1199
  Message?: string;
956
1200
  }
957
- export declare namespace BadRequestException {
958
- /**
959
- * @internal
960
- */
961
- const filterSensitiveLog: (obj: BadRequestException) => any;
962
- }
963
1201
  /**
964
1202
  * <p>Associates sasl scram secrets to cluster.</p>
965
1203
  */
@@ -1010,12 +1248,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1010
1248
  */
1011
1249
  Message?: string;
1012
1250
  }
1013
- export declare namespace ForbiddenException {
1014
- /**
1015
- * @internal
1016
- */
1017
- const filterSensitiveLog: (obj: ForbiddenException) => any;
1018
- }
1019
1251
  /**
1020
1252
  * <p>Returns information about an error.</p>
1021
1253
  */
@@ -1031,12 +1263,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
1031
1263
  */
1032
1264
  Message?: string;
1033
1265
  }
1034
- export declare namespace InternalServerErrorException {
1035
- /**
1036
- * @internal
1037
- */
1038
- const filterSensitiveLog: (obj: InternalServerErrorException) => any;
1039
- }
1040
1266
  /**
1041
1267
  * <p>Returns information about an error.</p>
1042
1268
  */
@@ -1052,12 +1278,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
1052
1278
  */
1053
1279
  Message?: string;
1054
1280
  }
1055
- export declare namespace NotFoundException {
1056
- /**
1057
- * @internal
1058
- */
1059
- const filterSensitiveLog: (obj: NotFoundException) => any;
1060
- }
1061
1281
  /**
1062
1282
  * <p>Returns information about an error.</p>
1063
1283
  */
@@ -1073,12 +1293,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
1073
1293
  */
1074
1294
  Message?: string;
1075
1295
  }
1076
- export declare namespace ServiceUnavailableException {
1077
- /**
1078
- * @internal
1079
- */
1080
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
1081
- }
1082
1296
  /**
1083
1297
  * <p>Returns information about an error.</p>
1084
1298
  */
@@ -1094,12 +1308,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
1094
1308
  */
1095
1309
  Message?: string;
1096
1310
  }
1097
- export declare namespace TooManyRequestsException {
1098
- /**
1099
- * @internal
1100
- */
1101
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
1102
- }
1103
1311
  /**
1104
1312
  * <p>Returns information about an error.</p>
1105
1313
  */
@@ -1115,12 +1323,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
1115
1323
  */
1116
1324
  Message?: string;
1117
1325
  }
1118
- export declare namespace UnauthorizedException {
1119
- /**
1120
- * @internal
1121
- */
1122
- const filterSensitiveLog: (obj: UnauthorizedException) => any;
1123
- }
1124
1326
  /**
1125
1327
  * <p>Disassociates sasl scram secrets to cluster.</p>
1126
1328
  */
@@ -1171,91 +1373,91 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1171
1373
  */
1172
1374
  Message?: string;
1173
1375
  }
1174
- export declare namespace ConflictException {
1376
+ export interface CreateClusterRequest {
1175
1377
  /**
1176
- * @internal
1378
+ * <p>Information about the broker nodes in the cluster.</p>
1177
1379
  */
1178
- const filterSensitiveLog: (obj: ConflictException) => any;
1179
- }
1180
- /**
1181
- * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
1182
- */
1183
- export interface JmxExporterInfo {
1380
+ BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
1184
1381
  /**
1185
- * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
1382
+ * <p>Includes all client authentication related information.</p>
1186
1383
  */
1187
- EnabledInBroker: boolean | undefined;
1188
- }
1189
- export declare namespace JmxExporterInfo {
1384
+ ClientAuthentication?: ClientAuthentication;
1190
1385
  /**
1191
- * @internal
1386
+ * <p>The name of the cluster.</p>
1192
1387
  */
1193
- const filterSensitiveLog: (obj: JmxExporterInfo) => any;
1194
- }
1195
- /**
1196
- * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
1197
- */
1198
- export interface NodeExporterInfo {
1388
+ ClusterName: string | undefined;
1199
1389
  /**
1200
- * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
1390
+ * <p>Represents the configuration that you want MSK to use for the brokers in a cluster.</p>
1201
1391
  */
1202
- EnabledInBroker: boolean | undefined;
1203
- }
1204
- export declare namespace NodeExporterInfo {
1392
+ ConfigurationInfo?: ConfigurationInfo;
1205
1393
  /**
1206
- * @internal
1394
+ * <p>Includes all encryption-related information.</p>
1207
1395
  */
1208
- const filterSensitiveLog: (obj: NodeExporterInfo) => any;
1209
- }
1210
- /**
1211
- * <p>Prometheus settings.</p>
1212
- */
1213
- export interface PrometheusInfo {
1396
+ EncryptionInfo?: EncryptionInfo;
1214
1397
  /**
1215
- * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
1398
+ * <p>Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.</p>
1216
1399
  */
1217
- JmxExporter?: JmxExporterInfo;
1400
+ EnhancedMonitoring?: EnhancedMonitoring | string;
1218
1401
  /**
1219
- * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
1402
+ * <p>The settings for open monitoring.</p>
1220
1403
  */
1221
- NodeExporter?: NodeExporterInfo;
1404
+ OpenMonitoring?: OpenMonitoringInfo;
1405
+ /**
1406
+ * <p>The version of Apache Kafka.</p>
1407
+ */
1408
+ KafkaVersion: string | undefined;
1409
+ LoggingInfo?: LoggingInfo;
1410
+ /**
1411
+ * <p>The number of broker nodes in the cluster.</p>
1412
+ */
1413
+ NumberOfBrokerNodes: number | undefined;
1414
+ /**
1415
+ * <p>Create tags when creating the cluster.</p>
1416
+ */
1417
+ Tags?: {
1418
+ [key: string]: string;
1419
+ };
1222
1420
  }
1223
- export declare namespace PrometheusInfo {
1421
+ export declare namespace CreateClusterRequest {
1224
1422
  /**
1225
1423
  * @internal
1226
1424
  */
1227
- const filterSensitiveLog: (obj: PrometheusInfo) => any;
1425
+ const filterSensitiveLog: (obj: CreateClusterRequest) => any;
1228
1426
  }
1229
- /**
1230
- * <p>JMX and Node monitoring for the MSK cluster.</p>
1231
- */
1232
- export interface OpenMonitoringInfo {
1427
+ export interface CreateClusterResponse {
1233
1428
  /**
1234
- * <p>Prometheus settings.</p>
1429
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
1235
1430
  */
1236
- Prometheus: PrometheusInfo | undefined;
1431
+ ClusterArn?: string;
1432
+ /**
1433
+ * <p>The name of the MSK cluster.</p>
1434
+ */
1435
+ ClusterName?: string;
1436
+ /**
1437
+ * <p>The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.</p>
1438
+ */
1439
+ State?: ClusterState | string;
1237
1440
  }
1238
- export declare namespace OpenMonitoringInfo {
1441
+ export declare namespace CreateClusterResponse {
1239
1442
  /**
1240
1443
  * @internal
1241
1444
  */
1242
- const filterSensitiveLog: (obj: OpenMonitoringInfo) => any;
1445
+ const filterSensitiveLog: (obj: CreateClusterResponse) => any;
1243
1446
  }
1244
- export interface CreateClusterRequest {
1447
+ /**
1448
+ * <p>Provisioned cluster request.</p>
1449
+ */
1450
+ export interface ProvisionedRequest {
1245
1451
  /**
1246
- * <p>Information about the broker nodes in the cluster.</p>
1452
+ * <p>Information about the brokers.</p>
1247
1453
  */
1248
1454
  BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
1249
1455
  /**
1250
- * <p>Includes all client authentication related information.</p>
1456
+ * <p>Includes all client authentication information.</p>
1251
1457
  */
1252
1458
  ClientAuthentication?: ClientAuthentication;
1253
1459
  /**
1254
- * <p>The name of the cluster.</p>
1255
- */
1256
- ClusterName: string | undefined;
1257
- /**
1258
- * <p>Represents the configuration that you want MSK to use for the brokers in a cluster.</p>
1460
+ * <p>Represents the configuration that you want Amazon MSK to use for the brokers in a cluster.</p>
1259
1461
  */
1260
1462
  ConfigurationInfo?: ConfigurationInfo;
1261
1463
  /**
@@ -1271,28 +1473,70 @@ export interface CreateClusterRequest {
1271
1473
  */
1272
1474
  OpenMonitoring?: OpenMonitoringInfo;
1273
1475
  /**
1274
- * <p>The version of Apache Kafka.</p>
1476
+ * <p>The Apache Kafka version that you want for the cluster.</p>
1275
1477
  */
1276
1478
  KafkaVersion: string | undefined;
1479
+ /**
1480
+ * <p>Log delivery information for the cluster.</p>
1481
+ */
1277
1482
  LoggingInfo?: LoggingInfo;
1278
1483
  /**
1279
1484
  * <p>The number of broker nodes in the cluster.</p>
1280
1485
  */
1281
1486
  NumberOfBrokerNodes: number | undefined;
1487
+ }
1488
+ export declare namespace ProvisionedRequest {
1282
1489
  /**
1283
- * <p>Create tags when creating the cluster.</p>
1490
+ * @internal
1491
+ */
1492
+ const filterSensitiveLog: (obj: ProvisionedRequest) => any;
1493
+ }
1494
+ /**
1495
+ * <p>Serverless cluster request.</p>
1496
+ */
1497
+ export interface ServerlessRequest {
1498
+ /**
1499
+ * <p>The configuration of the Amazon VPCs for the cluster.</p>
1500
+ */
1501
+ VpcConfigs: VpcConfig[] | undefined;
1502
+ /**
1503
+ * <p>Includes all client authentication information.</p>
1504
+ */
1505
+ ClientAuthentication?: ServerlessClientAuthentication;
1506
+ }
1507
+ export declare namespace ServerlessRequest {
1508
+ /**
1509
+ * @internal
1510
+ */
1511
+ const filterSensitiveLog: (obj: ServerlessRequest) => any;
1512
+ }
1513
+ export interface CreateClusterV2Request {
1514
+ /**
1515
+ * <p>The name of the cluster.</p>
1516
+ */
1517
+ ClusterName: string | undefined;
1518
+ /**
1519
+ * <p>A map of tags that you want the cluster to have.</p>
1284
1520
  */
1285
1521
  Tags?: {
1286
1522
  [key: string]: string;
1287
1523
  };
1524
+ /**
1525
+ * <p>Information about the provisioned cluster.</p>
1526
+ */
1527
+ Provisioned?: ProvisionedRequest;
1528
+ /**
1529
+ * <p>Information about the serverless cluster.</p>
1530
+ */
1531
+ Serverless?: ServerlessRequest;
1288
1532
  }
1289
- export declare namespace CreateClusterRequest {
1533
+ export declare namespace CreateClusterV2Request {
1290
1534
  /**
1291
1535
  * @internal
1292
1536
  */
1293
- const filterSensitiveLog: (obj: CreateClusterRequest) => any;
1537
+ const filterSensitiveLog: (obj: CreateClusterV2Request) => any;
1294
1538
  }
1295
- export interface CreateClusterResponse {
1539
+ export interface CreateClusterV2Response {
1296
1540
  /**
1297
1541
  * <p>The Amazon Resource Name (ARN) of the cluster.</p>
1298
1542
  */
@@ -1305,12 +1549,16 @@ export interface CreateClusterResponse {
1305
1549
  * <p>The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.</p>
1306
1550
  */
1307
1551
  State?: ClusterState | string;
1552
+ /**
1553
+ * <p>The type of the cluster. The possible states are PROVISIONED or SERVERLESS.</p>
1554
+ */
1555
+ ClusterType?: ClusterType | string;
1308
1556
  }
1309
- export declare namespace CreateClusterResponse {
1557
+ export declare namespace CreateClusterV2Response {
1310
1558
  /**
1311
1559
  * @internal
1312
1560
  */
1313
- const filterSensitiveLog: (obj: CreateClusterResponse) => any;
1561
+ const filterSensitiveLog: (obj: CreateClusterV2Response) => any;
1314
1562
  }
1315
1563
  export interface CreateConfigurationRequest {
1316
1564
  /**
@@ -1473,6 +1721,30 @@ export declare namespace DescribeClusterOperationResponse {
1473
1721
  */
1474
1722
  const filterSensitiveLog: (obj: DescribeClusterOperationResponse) => any;
1475
1723
  }
1724
+ export interface DescribeClusterV2Request {
1725
+ /**
1726
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
1727
+ */
1728
+ ClusterArn: string | undefined;
1729
+ }
1730
+ export declare namespace DescribeClusterV2Request {
1731
+ /**
1732
+ * @internal
1733
+ */
1734
+ const filterSensitiveLog: (obj: DescribeClusterV2Request) => any;
1735
+ }
1736
+ export interface DescribeClusterV2Response {
1737
+ /**
1738
+ * <p>The cluster information.</p>
1739
+ */
1740
+ ClusterInfo?: Cluster;
1741
+ }
1742
+ export declare namespace DescribeClusterV2Response {
1743
+ /**
1744
+ * @internal
1745
+ */
1746
+ const filterSensitiveLog: (obj: DescribeClusterV2Response) => any;
1747
+ }
1476
1748
  export interface DescribeConfigurationRequest {
1477
1749
  /**
1478
1750
  * <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.</p>
@@ -1713,6 +1985,48 @@ export declare namespace ListClustersResponse {
1713
1985
  */
1714
1986
  const filterSensitiveLog: (obj: ListClustersResponse) => any;
1715
1987
  }
1988
+ export interface ListClustersV2Request {
1989
+ /**
1990
+ * <p>Specify a prefix of the names of the clusters that you want to list. The service lists all the clusters whose names start with this prefix.</p>
1991
+ */
1992
+ ClusterNameFilter?: string;
1993
+ /**
1994
+ * <p>Specify either PROVISIONED or SERVERLESS.</p>
1995
+ */
1996
+ ClusterTypeFilter?: string;
1997
+ /**
1998
+ * <p>The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.</p>
1999
+ */
2000
+ MaxResults?: number;
2001
+ /**
2002
+ * <p>The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response.
2003
+ * To get the next batch, provide this token in your next request.</p>
2004
+ */
2005
+ NextToken?: string;
2006
+ }
2007
+ export declare namespace ListClustersV2Request {
2008
+ /**
2009
+ * @internal
2010
+ */
2011
+ const filterSensitiveLog: (obj: ListClustersV2Request) => any;
2012
+ }
2013
+ export interface ListClustersV2Response {
2014
+ /**
2015
+ * <p>Information on each of the MSK clusters in the response.</p>
2016
+ */
2017
+ ClusterInfoList?: Cluster[];
2018
+ /**
2019
+ * <p>The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response.
2020
+ * To get another batch of clusters, provide this token in your next request.</p>
2021
+ */
2022
+ NextToken?: string;
2023
+ }
2024
+ export declare namespace ListClustersV2Response {
2025
+ /**
2026
+ * @internal
2027
+ */
2028
+ const filterSensitiveLog: (obj: ListClustersV2Response) => any;
2029
+ }
1716
2030
  export interface ListConfigurationRevisionsRequest {
1717
2031
  /**
1718
2032
  * <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.</p>