@aws-sdk/client-kafka 3.43.0 → 3.44.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/CHANGELOG.md +11 -0
- package/dist-cjs/Kafka.js +45 -0
- package/dist-cjs/commands/CreateClusterV2Command.js +36 -0
- package/dist-cjs/commands/DescribeClusterV2Command.js +36 -0
- package/dist-cjs/commands/ListClustersV2Command.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +132 -43
- package/dist-cjs/pagination/ListClustersV2Paginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +546 -2
- package/dist-es/Kafka.js +45 -0
- package/dist-es/commands/CreateClusterV2Command.js +39 -0
- package/dist-es/commands/DescribeClusterV2Command.js +39 -0
- package/dist-es/commands/ListClustersV2Command.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +92 -31
- package/dist-es/pagination/ListClustersV2Paginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +571 -0
- package/dist-types/Kafka.d.ts +21 -0
- package/dist-types/KafkaClient.d.ts +5 -2
- package/dist-types/commands/CreateClusterV2Command.d.ts +35 -0
- package/dist-types/commands/DescribeClusterV2Command.d.ts +35 -0
- package/dist-types/commands/ListClustersV2Command.d.ts +35 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +432 -70
- package/dist-types/pagination/ListClustersV2Paginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Kafka.d.ts +15 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +256 -48
- package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
383
|
+
export declare namespace JmxExporterInfo {
|
|
380
384
|
/**
|
|
381
385
|
* @internal
|
|
382
386
|
*/
|
|
383
|
-
const filterSensitiveLog: (obj:
|
|
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
|
|
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
|
|
398
|
+
export declare namespace NodeExporterInfo {
|
|
395
399
|
/**
|
|
396
400
|
* @internal
|
|
397
401
|
*/
|
|
398
|
-
const filterSensitiveLog: (obj:
|
|
402
|
+
const filterSensitiveLog: (obj: NodeExporterInfo) => any;
|
|
399
403
|
}
|
|
400
404
|
/**
|
|
401
405
|
* <p>Prometheus settings.</p>
|
|
402
406
|
*/
|
|
403
|
-
export interface
|
|
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?:
|
|
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?:
|
|
415
|
+
NodeExporter?: NodeExporterInfo;
|
|
412
416
|
}
|
|
413
|
-
export declare namespace
|
|
417
|
+
export declare namespace PrometheusInfo {
|
|
414
418
|
/**
|
|
415
419
|
* @internal
|
|
416
420
|
*/
|
|
417
|
-
const filterSensitiveLog: (obj:
|
|
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
|
|
426
|
+
export interface OpenMonitoringInfo {
|
|
423
427
|
/**
|
|
424
428
|
* <p>Prometheus settings.</p>
|
|
425
429
|
*/
|
|
426
|
-
Prometheus:
|
|
430
|
+
Prometheus: PrometheusInfo | undefined;
|
|
427
431
|
}
|
|
428
|
-
export declare namespace
|
|
432
|
+
export declare namespace OpenMonitoringInfo {
|
|
429
433
|
/**
|
|
430
434
|
* @internal
|
|
431
435
|
*/
|
|
432
|
-
const filterSensitiveLog: (obj:
|
|
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
|
*/
|
|
@@ -1177,85 +1421,91 @@ export declare namespace ConflictException {
|
|
|
1177
1421
|
*/
|
|
1178
1422
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
1179
1423
|
}
|
|
1180
|
-
|
|
1181
|
-
* <p>Indicates whether you want to turn on or turn off the JMX Exporter.</p>
|
|
1182
|
-
*/
|
|
1183
|
-
export interface JmxExporterInfo {
|
|
1424
|
+
export interface CreateClusterRequest {
|
|
1184
1425
|
/**
|
|
1185
|
-
* <p>
|
|
1426
|
+
* <p>Information about the broker nodes in the cluster.</p>
|
|
1186
1427
|
*/
|
|
1187
|
-
|
|
1188
|
-
}
|
|
1189
|
-
export declare namespace JmxExporterInfo {
|
|
1428
|
+
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
1190
1429
|
/**
|
|
1191
|
-
*
|
|
1430
|
+
* <p>Includes all client authentication related information.</p>
|
|
1192
1431
|
*/
|
|
1193
|
-
|
|
1194
|
-
}
|
|
1195
|
-
/**
|
|
1196
|
-
* <p>Indicates whether you want to turn on or turn off the Node Exporter.</p>
|
|
1197
|
-
*/
|
|
1198
|
-
export interface NodeExporterInfo {
|
|
1432
|
+
ClientAuthentication?: ClientAuthentication;
|
|
1199
1433
|
/**
|
|
1200
|
-
* <p>
|
|
1434
|
+
* <p>The name of the cluster.</p>
|
|
1201
1435
|
*/
|
|
1202
|
-
|
|
1203
|
-
}
|
|
1204
|
-
export declare namespace NodeExporterInfo {
|
|
1436
|
+
ClusterName: string | undefined;
|
|
1205
1437
|
/**
|
|
1206
|
-
*
|
|
1438
|
+
* <p>Represents the configuration that you want MSK to use for the brokers in a cluster.</p>
|
|
1207
1439
|
*/
|
|
1208
|
-
|
|
1209
|
-
}
|
|
1210
|
-
/**
|
|
1211
|
-
* <p>Prometheus settings.</p>
|
|
1212
|
-
*/
|
|
1213
|
-
export interface PrometheusInfo {
|
|
1440
|
+
ConfigurationInfo?: ConfigurationInfo;
|
|
1214
1441
|
/**
|
|
1215
|
-
* <p>
|
|
1442
|
+
* <p>Includes all encryption-related information.</p>
|
|
1216
1443
|
*/
|
|
1217
|
-
|
|
1444
|
+
EncryptionInfo?: EncryptionInfo;
|
|
1218
1445
|
/**
|
|
1219
|
-
* <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>
|
|
1220
1447
|
*/
|
|
1221
|
-
|
|
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
|
+
};
|
|
1222
1468
|
}
|
|
1223
|
-
export declare namespace
|
|
1469
|
+
export declare namespace CreateClusterRequest {
|
|
1224
1470
|
/**
|
|
1225
1471
|
* @internal
|
|
1226
1472
|
*/
|
|
1227
|
-
const filterSensitiveLog: (obj:
|
|
1473
|
+
const filterSensitiveLog: (obj: CreateClusterRequest) => any;
|
|
1228
1474
|
}
|
|
1229
|
-
|
|
1230
|
-
* <p>JMX and Node monitoring for the MSK cluster.</p>
|
|
1231
|
-
*/
|
|
1232
|
-
export interface OpenMonitoringInfo {
|
|
1475
|
+
export interface CreateClusterResponse {
|
|
1233
1476
|
/**
|
|
1234
|
-
* <p>
|
|
1477
|
+
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
1235
1478
|
*/
|
|
1236
|
-
|
|
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;
|
|
1237
1488
|
}
|
|
1238
|
-
export declare namespace
|
|
1489
|
+
export declare namespace CreateClusterResponse {
|
|
1239
1490
|
/**
|
|
1240
1491
|
* @internal
|
|
1241
1492
|
*/
|
|
1242
|
-
const filterSensitiveLog: (obj:
|
|
1493
|
+
const filterSensitiveLog: (obj: CreateClusterResponse) => any;
|
|
1243
1494
|
}
|
|
1244
|
-
|
|
1495
|
+
/**
|
|
1496
|
+
* <p>Provisioned cluster request.</p>
|
|
1497
|
+
*/
|
|
1498
|
+
export interface ProvisionedRequest {
|
|
1245
1499
|
/**
|
|
1246
|
-
* <p>Information about the
|
|
1500
|
+
* <p>Information about the brokers.</p>
|
|
1247
1501
|
*/
|
|
1248
1502
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
1249
1503
|
/**
|
|
1250
|
-
* <p>Includes all client authentication
|
|
1504
|
+
* <p>Includes all client authentication information.</p>
|
|
1251
1505
|
*/
|
|
1252
1506
|
ClientAuthentication?: ClientAuthentication;
|
|
1253
1507
|
/**
|
|
1254
|
-
* <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>
|
|
1508
|
+
* <p>Represents the configuration that you want Amazon MSK to use for the brokers in a cluster.</p>
|
|
1259
1509
|
*/
|
|
1260
1510
|
ConfigurationInfo?: ConfigurationInfo;
|
|
1261
1511
|
/**
|
|
@@ -1271,28 +1521,70 @@ export interface CreateClusterRequest {
|
|
|
1271
1521
|
*/
|
|
1272
1522
|
OpenMonitoring?: OpenMonitoringInfo;
|
|
1273
1523
|
/**
|
|
1274
|
-
* <p>The version
|
|
1524
|
+
* <p>The Apache Kafka version that you want for the cluster.</p>
|
|
1275
1525
|
*/
|
|
1276
1526
|
KafkaVersion: string | undefined;
|
|
1527
|
+
/**
|
|
1528
|
+
* <p>Log delivery information for the cluster.</p>
|
|
1529
|
+
*/
|
|
1277
1530
|
LoggingInfo?: LoggingInfo;
|
|
1278
1531
|
/**
|
|
1279
1532
|
* <p>The number of broker nodes in the cluster.</p>
|
|
1280
1533
|
*/
|
|
1281
1534
|
NumberOfBrokerNodes: number | undefined;
|
|
1535
|
+
}
|
|
1536
|
+
export declare namespace ProvisionedRequest {
|
|
1282
1537
|
/**
|
|
1283
|
-
*
|
|
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>
|
|
1284
1568
|
*/
|
|
1285
1569
|
Tags?: {
|
|
1286
1570
|
[key: string]: string;
|
|
1287
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;
|
|
1288
1580
|
}
|
|
1289
|
-
export declare namespace
|
|
1581
|
+
export declare namespace CreateClusterV2Request {
|
|
1290
1582
|
/**
|
|
1291
1583
|
* @internal
|
|
1292
1584
|
*/
|
|
1293
|
-
const filterSensitiveLog: (obj:
|
|
1585
|
+
const filterSensitiveLog: (obj: CreateClusterV2Request) => any;
|
|
1294
1586
|
}
|
|
1295
|
-
export interface
|
|
1587
|
+
export interface CreateClusterV2Response {
|
|
1296
1588
|
/**
|
|
1297
1589
|
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
1298
1590
|
*/
|
|
@@ -1305,12 +1597,16 @@ export interface CreateClusterResponse {
|
|
|
1305
1597
|
* <p>The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.</p>
|
|
1306
1598
|
*/
|
|
1307
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;
|
|
1308
1604
|
}
|
|
1309
|
-
export declare namespace
|
|
1605
|
+
export declare namespace CreateClusterV2Response {
|
|
1310
1606
|
/**
|
|
1311
1607
|
* @internal
|
|
1312
1608
|
*/
|
|
1313
|
-
const filterSensitiveLog: (obj:
|
|
1609
|
+
const filterSensitiveLog: (obj: CreateClusterV2Response) => any;
|
|
1314
1610
|
}
|
|
1315
1611
|
export interface CreateConfigurationRequest {
|
|
1316
1612
|
/**
|
|
@@ -1473,6 +1769,30 @@ export declare namespace DescribeClusterOperationResponse {
|
|
|
1473
1769
|
*/
|
|
1474
1770
|
const filterSensitiveLog: (obj: DescribeClusterOperationResponse) => any;
|
|
1475
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
|
+
}
|
|
1476
1796
|
export interface DescribeConfigurationRequest {
|
|
1477
1797
|
/**
|
|
1478
1798
|
* <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.</p>
|
|
@@ -1713,6 +2033,48 @@ export declare namespace ListClustersResponse {
|
|
|
1713
2033
|
*/
|
|
1714
2034
|
const filterSensitiveLog: (obj: ListClustersResponse) => any;
|
|
1715
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
|
+
}
|
|
1716
2078
|
export interface ListConfigurationRevisionsRequest {
|
|
1717
2079
|
/**
|
|
1718
2080
|
* <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.</p>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListClustersV2CommandInput, ListClustersV2CommandOutput } from "../commands/ListClustersV2Command";
|
|
3
|
+
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListClustersV2(config: KafkaPaginationConfiguration, input: ListClustersV2CommandInput, ...additionalArguments: any): Paginator<ListClustersV2CommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListClusterOperationsPaginator";
|
|
3
3
|
export * from "./ListClustersPaginator";
|
|
4
|
+
export * from "./ListClustersV2Paginator";
|
|
4
5
|
export * from "./ListConfigurationRevisionsPaginator";
|
|
5
6
|
export * from "./ListConfigurationsPaginator";
|
|
6
7
|
export * from "./ListKafkaVersionsPaginator";
|