@aws-sdk/client-kafka 3.42.0 → 3.46.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 (49) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/Kafka.js +60 -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/UpdateConnectivityCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoints.js +1 -0
  9. package/dist-cjs/models/models_0.js +156 -43
  10. package/dist-cjs/pagination/ListClustersV2Paginator.js +35 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +769 -52
  13. package/dist-cjs/runtimeConfig.js +0 -2
  14. package/dist-es/Kafka.js +60 -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/UpdateConnectivityCommand.js +39 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/endpoints.js +1 -0
  21. package/dist-es/models/models_0.js +108 -31
  22. package/dist-es/pagination/ListClustersV2Paginator.js +74 -0
  23. package/dist-es/pagination/index.js +1 -0
  24. package/dist-es/protocols/Aws_restJson1.js +772 -17
  25. package/dist-es/runtimeConfig.js +0 -2
  26. package/dist-types/Kafka.d.ts +29 -1
  27. package/dist-types/KafkaClient.d.ts +6 -2
  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/ListKafkaVersionsCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateConnectivityCommand.d.ts +35 -0
  33. package/dist-types/commands/index.d.ts +4 -0
  34. package/dist-types/models/models_0.d.ts +538 -87
  35. package/dist-types/pagination/ListClustersV2Paginator.d.ts +4 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  38. package/dist-types/ts3.4/Kafka.d.ts +20 -0
  39. package/dist-types/ts3.4/KafkaClient.d.ts +6 -2
  40. package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +307 -48
  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 +12 -0
  49. package/package.json +36 -43
@@ -18,11 +18,45 @@ 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
  }
24
28
  /**
25
- * <p>Contains information about the EBS storage volumes attached to Kafka broker nodes.</p>
29
+ * Public access control for brokers.
30
+ */
31
+ export interface PublicAccess {
32
+ /**
33
+ * <p>The value DISABLED indicates that public access is turned off. SERVICE_PROVIDED_EIPS indicates that public access is turned on.</p>
34
+ */
35
+ Type?: string;
36
+ }
37
+ export declare namespace PublicAccess {
38
+ /**
39
+ * @internal
40
+ */
41
+ const filterSensitiveLog: (obj: PublicAccess) => any;
42
+ }
43
+ /**
44
+ * <p>Information about the broker access configuration.</p>
45
+ */
46
+ export interface ConnectivityInfo {
47
+ /**
48
+ * <p>Public access control for brokers.</p>
49
+ */
50
+ PublicAccess?: PublicAccess;
51
+ }
52
+ export declare namespace ConnectivityInfo {
53
+ /**
54
+ * @internal
55
+ */
56
+ const filterSensitiveLog: (obj: ConnectivityInfo) => any;
57
+ }
58
+ /**
59
+ * <p>Contains information about the EBS storage volumes attached to Apache Kafka broker nodes.</p>
26
60
  */
27
61
  export interface EBSStorageInfo {
28
62
  /**
@@ -52,7 +86,7 @@ export declare namespace StorageInfo {
52
86
  const filterSensitiveLog: (obj: StorageInfo) => any;
53
87
  }
54
88
  /**
55
- * <p>Describes the setup to be used for Kafka broker nodes in the cluster.</p>
89
+ * <p>Describes the setup to be used for Apache Kafka broker nodes in the cluster.</p>
56
90
  */
57
91
  export interface BrokerNodeGroupInfo {
58
92
  /**
@@ -65,7 +99,7 @@ export interface BrokerNodeGroupInfo {
65
99
  */
66
100
  ClientSubnets: string[] | undefined;
67
101
  /**
68
- * <p>The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge,
102
+ * <p>The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge,
69
103
  * kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.</p>
70
104
  */
71
105
  InstanceType: string | undefined;
@@ -77,6 +111,10 @@ export interface BrokerNodeGroupInfo {
77
111
  * <p>Contains information about storage volumes attached to MSK broker nodes.</p>
78
112
  */
79
113
  StorageInfo?: StorageInfo;
114
+ /**
115
+ * <p>Information about the broker access configuration.</p>
116
+ */
117
+ ConnectivityInfo?: ConnectivityInfo;
80
118
  }
81
119
  export declare namespace BrokerNodeGroupInfo {
82
120
  /**
@@ -142,7 +180,7 @@ export interface Tls {
142
180
  */
143
181
  CertificateAuthorityArnList?: string[];
144
182
  /**
145
- * <p>Specifies whether you want to enable or disable TLS authentication.</p>
183
+ * <p>Specifies whether you want to turn on or turn off TLS authentication.</p>
146
184
  */
147
185
  Enabled?: boolean;
148
186
  }
@@ -154,7 +192,7 @@ export declare namespace Tls {
154
192
  }
155
193
  export interface Unauthenticated {
156
194
  /**
157
- * <p>Specifies whether you want to enable or disable unauthenticated traffic to your cluster.</p>
195
+ * <p>Specifies whether you want to turn on or turn off unauthenticated traffic to your cluster.</p>
158
196
  */
159
197
  Enabled?: boolean;
160
198
  }
@@ -334,68 +372,187 @@ export declare namespace LoggingInfo {
334
372
  const filterSensitiveLog: (obj: LoggingInfo) => any;
335
373
  }
336
374
  /**
337
- * <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
375
+ * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
338
376
  */
339
- export interface JmxExporter {
377
+ export interface JmxExporterInfo {
340
378
  /**
341
- * <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
379
+ * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
342
380
  */
343
381
  EnabledInBroker: boolean | undefined;
344
382
  }
345
- export declare namespace JmxExporter {
383
+ export declare namespace JmxExporterInfo {
346
384
  /**
347
385
  * @internal
348
386
  */
349
- const filterSensitiveLog: (obj: JmxExporter) => any;
387
+ const filterSensitiveLog: (obj: JmxExporterInfo) => any;
350
388
  }
351
389
  /**
352
- * <p>Indicates whether you want to enable or disable the Node Exporter.</p>
390
+ * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
353
391
  */
354
- export interface NodeExporter {
392
+ export interface NodeExporterInfo {
355
393
  /**
356
- * <p>Indicates whether you want to enable or disable the Node Exporter.</p>
394
+ * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
357
395
  */
358
396
  EnabledInBroker: boolean | undefined;
359
397
  }
360
- export declare namespace NodeExporter {
398
+ export declare namespace NodeExporterInfo {
361
399
  /**
362
400
  * @internal
363
401
  */
364
- const filterSensitiveLog: (obj: NodeExporter) => any;
402
+ const filterSensitiveLog: (obj: NodeExporterInfo) => any;
365
403
  }
366
404
  /**
367
405
  * <p>Prometheus settings.</p>
368
406
  */
369
- export interface Prometheus {
407
+ export interface PrometheusInfo {
370
408
  /**
371
- * <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
409
+ * <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
372
410
  */
373
- JmxExporter?: JmxExporter;
411
+ JmxExporter?: JmxExporterInfo;
374
412
  /**
375
- * <p>Indicates whether you want to enable or disable the Node Exporter.</p>
413
+ * <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
376
414
  */
377
- NodeExporter?: NodeExporter;
415
+ NodeExporter?: NodeExporterInfo;
378
416
  }
379
- export declare namespace Prometheus {
417
+ export declare namespace PrometheusInfo {
380
418
  /**
381
419
  * @internal
382
420
  */
383
- const filterSensitiveLog: (obj: Prometheus) => any;
421
+ const filterSensitiveLog: (obj: PrometheusInfo) => any;
384
422
  }
385
423
  /**
386
424
  * <p>JMX and Node monitoring for the MSK cluster.</p>
387
425
  */
388
- export interface OpenMonitoring {
426
+ export interface OpenMonitoringInfo {
389
427
  /**
390
428
  * <p>Prometheus settings.</p>
391
429
  */
392
- Prometheus: Prometheus | undefined;
430
+ Prometheus: PrometheusInfo | undefined;
393
431
  }
394
- export declare namespace OpenMonitoring {
432
+ export declare namespace OpenMonitoringInfo {
395
433
  /**
396
434
  * @internal
397
435
  */
398
- 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;
399
556
  }
400
557
  export declare enum ClusterState {
401
558
  ACTIVE = "ACTIVE",
@@ -417,6 +574,127 @@ export declare namespace StateInfo {
417
574
  */
418
575
  const filterSensitiveLog: (obj: StateInfo) => any;
419
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
+ }
420
698
  /**
421
699
  * <p>Returns information about a cluster.</p>
422
700
  */
@@ -446,7 +724,7 @@ export interface ClusterInfo {
446
724
  */
447
725
  CreationTime?: Date;
448
726
  /**
449
- * <p>Information about the version of software currently deployed on the Kafka brokers in the cluster.</p>
727
+ * <p>Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.</p>
450
728
  */
451
729
  CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
452
730
  /**
@@ -593,7 +871,7 @@ export interface MutableClusterInfo {
593
871
  */
594
872
  OpenMonitoring?: OpenMonitoring;
595
873
  /**
596
- * <p>The Kafka version.</p>
874
+ * <p>The Apache Kafka version.</p>
597
875
  */
598
876
  KafkaVersion?: string;
599
877
  /**
@@ -612,6 +890,10 @@ export interface MutableClusterInfo {
612
890
  * <p>Includes all encryption-related information.</p>
613
891
  */
614
892
  EncryptionInfo?: EncryptionInfo;
893
+ /**
894
+ * <p>Information about the broker access configuration.</p>
895
+ */
896
+ ConnectivityInfo?: ConnectivityInfo;
615
897
  }
616
898
  export declare namespace MutableClusterInfo {
617
899
  /**
@@ -675,15 +957,15 @@ export declare namespace ClusterOperationInfo {
675
957
  const filterSensitiveLog: (obj: ClusterOperationInfo) => any;
676
958
  }
677
959
  /**
678
- * <p>Contains source Kafka versions and compatible target Kafka versions.</p>
960
+ * <p>Contains source Apache Kafka versions and compatible target Apache Kafka versions.</p>
679
961
  */
680
962
  export interface CompatibleKafkaVersion {
681
963
  /**
682
- * <p>A Kafka version.</p>
964
+ * <p>An Apache Kafka version.</p>
683
965
  */
684
966
  SourceVersion?: string;
685
967
  /**
686
- * <p>A list of Kafka versions.</p>
968
+ * <p>A list of Apache Kafka versions.</p>
687
969
  */
688
970
  TargetVersions?: string[];
689
971
  }
@@ -795,7 +1077,7 @@ export interface BrokerNodeInfo {
795
1077
  */
796
1078
  ClientVpcIpAddress?: string;
797
1079
  /**
798
- * <p>Information about the version of software currently deployed on the Kafka brokers in the cluster.</p>
1080
+ * <p>Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.</p>
799
1081
  */
800
1082
  CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
801
1083
  /**
@@ -1139,85 +1421,91 @@ export declare namespace ConflictException {
1139
1421
  */
1140
1422
  const filterSensitiveLog: (obj: ConflictException) => any;
1141
1423
  }
1142
- /**
1143
- * <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
1144
- */
1145
- export interface JmxExporterInfo {
1424
+ export interface CreateClusterRequest {
1146
1425
  /**
1147
- * <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
1426
+ * <p>Information about the broker nodes in the cluster.</p>
1148
1427
  */
1149
- EnabledInBroker: boolean | undefined;
1150
- }
1151
- export declare namespace JmxExporterInfo {
1428
+ BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
1152
1429
  /**
1153
- * @internal
1430
+ * <p>Includes all client authentication related information.</p>
1154
1431
  */
1155
- const filterSensitiveLog: (obj: JmxExporterInfo) => any;
1156
- }
1157
- /**
1158
- * <p>Indicates whether you want to enable or disable the Node Exporter.</p>
1159
- */
1160
- export interface NodeExporterInfo {
1432
+ ClientAuthentication?: ClientAuthentication;
1161
1433
  /**
1162
- * <p>Indicates whether you want to enable or disable the Node Exporter.</p>
1434
+ * <p>The name of the cluster.</p>
1163
1435
  */
1164
- EnabledInBroker: boolean | undefined;
1165
- }
1166
- export declare namespace NodeExporterInfo {
1436
+ ClusterName: string | undefined;
1167
1437
  /**
1168
- * @internal
1438
+ * <p>Represents the configuration that you want MSK to use for the brokers in a cluster.</p>
1169
1439
  */
1170
- const filterSensitiveLog: (obj: NodeExporterInfo) => any;
1171
- }
1172
- /**
1173
- * <p>Prometheus settings.</p>
1174
- */
1175
- export interface PrometheusInfo {
1440
+ ConfigurationInfo?: ConfigurationInfo;
1176
1441
  /**
1177
- * <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
1442
+ * <p>Includes all encryption-related information.</p>
1178
1443
  */
1179
- JmxExporter?: JmxExporterInfo;
1444
+ EncryptionInfo?: EncryptionInfo;
1180
1445
  /**
1181
- * <p>Indicates whether you want to enable or disable the Node Exporter.</p>
1446
+ * <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>
1182
1447
  */
1183
- NodeExporter?: NodeExporterInfo;
1448
+ EnhancedMonitoring?: EnhancedMonitoring | string;
1449
+ /**
1450
+ * <p>The settings for open monitoring.</p>
1451
+ */
1452
+ OpenMonitoring?: OpenMonitoringInfo;
1453
+ /**
1454
+ * <p>The version of Apache Kafka.</p>
1455
+ */
1456
+ KafkaVersion: string | undefined;
1457
+ LoggingInfo?: LoggingInfo;
1458
+ /**
1459
+ * <p>The number of broker nodes in the cluster.</p>
1460
+ */
1461
+ NumberOfBrokerNodes: number | undefined;
1462
+ /**
1463
+ * <p>Create tags when creating the cluster.</p>
1464
+ */
1465
+ Tags?: {
1466
+ [key: string]: string;
1467
+ };
1184
1468
  }
1185
- export declare namespace PrometheusInfo {
1469
+ export declare namespace CreateClusterRequest {
1186
1470
  /**
1187
1471
  * @internal
1188
1472
  */
1189
- const filterSensitiveLog: (obj: PrometheusInfo) => any;
1473
+ const filterSensitiveLog: (obj: CreateClusterRequest) => any;
1190
1474
  }
1191
- /**
1192
- * <p>JMX and Node monitoring for the MSK cluster.</p>
1193
- */
1194
- export interface OpenMonitoringInfo {
1475
+ export interface CreateClusterResponse {
1195
1476
  /**
1196
- * <p>Prometheus settings.</p>
1477
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
1197
1478
  */
1198
- Prometheus: PrometheusInfo | undefined;
1479
+ ClusterArn?: string;
1480
+ /**
1481
+ * <p>The name of the MSK cluster.</p>
1482
+ */
1483
+ ClusterName?: string;
1484
+ /**
1485
+ * <p>The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.</p>
1486
+ */
1487
+ State?: ClusterState | string;
1199
1488
  }
1200
- export declare namespace OpenMonitoringInfo {
1489
+ export declare namespace CreateClusterResponse {
1201
1490
  /**
1202
1491
  * @internal
1203
1492
  */
1204
- const filterSensitiveLog: (obj: OpenMonitoringInfo) => any;
1493
+ const filterSensitiveLog: (obj: CreateClusterResponse) => any;
1205
1494
  }
1206
- export interface CreateClusterRequest {
1495
+ /**
1496
+ * <p>Provisioned cluster request.</p>
1497
+ */
1498
+ export interface ProvisionedRequest {
1207
1499
  /**
1208
- * <p>Information about the broker nodes in the cluster.</p>
1500
+ * <p>Information about the brokers.</p>
1209
1501
  */
1210
1502
  BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
1211
1503
  /**
1212
- * <p>Includes all client authentication related information.</p>
1504
+ * <p>Includes all client authentication information.</p>
1213
1505
  */
1214
1506
  ClientAuthentication?: ClientAuthentication;
1215
1507
  /**
1216
- * <p>The name of the cluster.</p>
1217
- */
1218
- ClusterName: string | undefined;
1219
- /**
1220
- * <p>Represents the configuration that you want MSK to use for the brokers in a cluster.</p>
1508
+ * <p>Represents the configuration that you want Amazon MSK to use for the brokers in a cluster.</p>
1221
1509
  */
1222
1510
  ConfigurationInfo?: ConfigurationInfo;
1223
1511
  /**
@@ -1233,28 +1521,70 @@ export interface CreateClusterRequest {
1233
1521
  */
1234
1522
  OpenMonitoring?: OpenMonitoringInfo;
1235
1523
  /**
1236
- * <p>The version of Apache Kafka.</p>
1524
+ * <p>The Apache Kafka version that you want for the cluster.</p>
1237
1525
  */
1238
1526
  KafkaVersion: string | undefined;
1527
+ /**
1528
+ * <p>Log delivery information for the cluster.</p>
1529
+ */
1239
1530
  LoggingInfo?: LoggingInfo;
1240
1531
  /**
1241
1532
  * <p>The number of broker nodes in the cluster.</p>
1242
1533
  */
1243
1534
  NumberOfBrokerNodes: number | undefined;
1535
+ }
1536
+ export declare namespace ProvisionedRequest {
1244
1537
  /**
1245
- * <p>Create tags when creating the cluster.</p>
1538
+ * @internal
1539
+ */
1540
+ const filterSensitiveLog: (obj: ProvisionedRequest) => any;
1541
+ }
1542
+ /**
1543
+ * <p>Serverless cluster request.</p>
1544
+ */
1545
+ export interface ServerlessRequest {
1546
+ /**
1547
+ * <p>The configuration of the Amazon VPCs for the cluster.</p>
1548
+ */
1549
+ VpcConfigs: VpcConfig[] | undefined;
1550
+ /**
1551
+ * <p>Includes all client authentication information.</p>
1552
+ */
1553
+ ClientAuthentication?: ServerlessClientAuthentication;
1554
+ }
1555
+ export declare namespace ServerlessRequest {
1556
+ /**
1557
+ * @internal
1558
+ */
1559
+ const filterSensitiveLog: (obj: ServerlessRequest) => any;
1560
+ }
1561
+ export interface CreateClusterV2Request {
1562
+ /**
1563
+ * <p>The name of the cluster.</p>
1564
+ */
1565
+ ClusterName: string | undefined;
1566
+ /**
1567
+ * <p>A map of tags that you want the cluster to have.</p>
1246
1568
  */
1247
1569
  Tags?: {
1248
1570
  [key: string]: string;
1249
1571
  };
1572
+ /**
1573
+ * <p>Information about the provisioned cluster.</p>
1574
+ */
1575
+ Provisioned?: ProvisionedRequest;
1576
+ /**
1577
+ * <p>Information about the serverless cluster.</p>
1578
+ */
1579
+ Serverless?: ServerlessRequest;
1250
1580
  }
1251
- export declare namespace CreateClusterRequest {
1581
+ export declare namespace CreateClusterV2Request {
1252
1582
  /**
1253
1583
  * @internal
1254
1584
  */
1255
- const filterSensitiveLog: (obj: CreateClusterRequest) => any;
1585
+ const filterSensitiveLog: (obj: CreateClusterV2Request) => any;
1256
1586
  }
1257
- export interface CreateClusterResponse {
1587
+ export interface CreateClusterV2Response {
1258
1588
  /**
1259
1589
  * <p>The Amazon Resource Name (ARN) of the cluster.</p>
1260
1590
  */
@@ -1267,12 +1597,16 @@ export interface CreateClusterResponse {
1267
1597
  * <p>The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.</p>
1268
1598
  */
1269
1599
  State?: ClusterState | string;
1600
+ /**
1601
+ * <p>The type of the cluster. The possible states are PROVISIONED or SERVERLESS.</p>
1602
+ */
1603
+ ClusterType?: ClusterType | string;
1270
1604
  }
1271
- export declare namespace CreateClusterResponse {
1605
+ export declare namespace CreateClusterV2Response {
1272
1606
  /**
1273
1607
  * @internal
1274
1608
  */
1275
- const filterSensitiveLog: (obj: CreateClusterResponse) => any;
1609
+ const filterSensitiveLog: (obj: CreateClusterV2Response) => any;
1276
1610
  }
1277
1611
  export interface CreateConfigurationRequest {
1278
1612
  /**
@@ -1435,6 +1769,30 @@ export declare namespace DescribeClusterOperationResponse {
1435
1769
  */
1436
1770
  const filterSensitiveLog: (obj: DescribeClusterOperationResponse) => any;
1437
1771
  }
1772
+ export interface DescribeClusterV2Request {
1773
+ /**
1774
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
1775
+ */
1776
+ ClusterArn: string | undefined;
1777
+ }
1778
+ export declare namespace DescribeClusterV2Request {
1779
+ /**
1780
+ * @internal
1781
+ */
1782
+ const filterSensitiveLog: (obj: DescribeClusterV2Request) => any;
1783
+ }
1784
+ export interface DescribeClusterV2Response {
1785
+ /**
1786
+ * <p>The cluster information.</p>
1787
+ */
1788
+ ClusterInfo?: Cluster;
1789
+ }
1790
+ export declare namespace DescribeClusterV2Response {
1791
+ /**
1792
+ * @internal
1793
+ */
1794
+ const filterSensitiveLog: (obj: DescribeClusterV2Response) => any;
1795
+ }
1438
1796
  export interface DescribeConfigurationRequest {
1439
1797
  /**
1440
1798
  * <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.</p>
@@ -1557,6 +1915,18 @@ export interface GetBootstrapBrokersResponse {
1557
1915
  * <p>A string that contains one or more DNS names (or IP addresses) and SASL IAM port pairs.</p>
1558
1916
  */
1559
1917
  BootstrapBrokerStringSaslIam?: string;
1918
+ /**
1919
+ * <p>A string containing one or more DNS names (or IP) and TLS port pairs.</p>
1920
+ */
1921
+ BootstrapBrokerStringPublicTls?: string;
1922
+ /**
1923
+ * <p>A string containing one or more DNS names (or IP) and Sasl Scram port pairs.</p>
1924
+ */
1925
+ BootstrapBrokerStringPublicSaslScram?: string;
1926
+ /**
1927
+ * <p>A string that contains one or more DNS names (or IP addresses) and SASL IAM port pairs.</p>
1928
+ */
1929
+ BootstrapBrokerStringPublicSaslIam?: string;
1560
1930
  }
1561
1931
  export declare namespace GetBootstrapBrokersResponse {
1562
1932
  /**
@@ -1663,6 +2033,48 @@ export declare namespace ListClustersResponse {
1663
2033
  */
1664
2034
  const filterSensitiveLog: (obj: ListClustersResponse) => any;
1665
2035
  }
2036
+ export interface ListClustersV2Request {
2037
+ /**
2038
+ * <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>
2039
+ */
2040
+ ClusterNameFilter?: string;
2041
+ /**
2042
+ * <p>Specify either PROVISIONED or SERVERLESS.</p>
2043
+ */
2044
+ ClusterTypeFilter?: string;
2045
+ /**
2046
+ * <p>The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.</p>
2047
+ */
2048
+ MaxResults?: number;
2049
+ /**
2050
+ * <p>The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response.
2051
+ * To get the next batch, provide this token in your next request.</p>
2052
+ */
2053
+ NextToken?: string;
2054
+ }
2055
+ export declare namespace ListClustersV2Request {
2056
+ /**
2057
+ * @internal
2058
+ */
2059
+ const filterSensitiveLog: (obj: ListClustersV2Request) => any;
2060
+ }
2061
+ export interface ListClustersV2Response {
2062
+ /**
2063
+ * <p>Information on each of the MSK clusters in the response.</p>
2064
+ */
2065
+ ClusterInfoList?: Cluster[];
2066
+ /**
2067
+ * <p>The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response.
2068
+ * To get another batch of clusters, provide this token in your next request.</p>
2069
+ */
2070
+ NextToken?: string;
2071
+ }
2072
+ export declare namespace ListClustersV2Response {
2073
+ /**
2074
+ * @internal
2075
+ */
2076
+ const filterSensitiveLog: (obj: ListClustersV2Response) => any;
2077
+ }
1666
2078
  export interface ListConfigurationRevisionsRequest {
1667
2079
  /**
1668
2080
  * <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.</p>
@@ -2169,6 +2581,45 @@ export declare namespace UpdateConfigurationResponse {
2169
2581
  */
2170
2582
  const filterSensitiveLog: (obj: UpdateConfigurationResponse) => any;
2171
2583
  }
2584
+ /**
2585
+ * Request body for UpdateConnectivity.
2586
+ */
2587
+ export interface UpdateConnectivityRequest {
2588
+ /**
2589
+ * <p>The Amazon Resource Name (ARN) of the configuration.</p>
2590
+ */
2591
+ ClusterArn: string | undefined;
2592
+ /**
2593
+ * <p>Information about the broker access configuration.</p>
2594
+ */
2595
+ ConnectivityInfo: ConnectivityInfo | undefined;
2596
+ /**
2597
+ * <p>The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.</p>
2598
+ */
2599
+ CurrentVersion: string | undefined;
2600
+ }
2601
+ export declare namespace UpdateConnectivityRequest {
2602
+ /**
2603
+ * @internal
2604
+ */
2605
+ const filterSensitiveLog: (obj: UpdateConnectivityRequest) => any;
2606
+ }
2607
+ export interface UpdateConnectivityResponse {
2608
+ /**
2609
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
2610
+ */
2611
+ ClusterArn?: string;
2612
+ /**
2613
+ * <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
2614
+ */
2615
+ ClusterOperationArn?: string;
2616
+ }
2617
+ export declare namespace UpdateConnectivityResponse {
2618
+ /**
2619
+ * @internal
2620
+ */
2621
+ const filterSensitiveLog: (obj: UpdateConnectivityResponse) => any;
2622
+ }
2172
2623
  /**
2173
2624
  * Request body for UpdateMonitoring.
2174
2625
  */