@aws-sdk/client-kafka 3.428.0 → 3.430.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 +40 -0
- package/dist-cjs/Kafka.js +10 -0
- package/dist-cjs/commands/CreateReplicatorCommand.js +51 -0
- package/dist-cjs/commands/DeleteReplicatorCommand.js +51 -0
- package/dist-cjs/commands/DescribeReplicatorCommand.js +51 -0
- package/dist-cjs/commands/ListReplicatorsCommand.js +51 -0
- package/dist-cjs/commands/UpdateReplicationInfoCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListReplicatorsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +591 -2
- package/dist-es/Kafka.js +10 -0
- package/dist-es/commands/CreateReplicatorCommand.js +47 -0
- package/dist-es/commands/DeleteReplicatorCommand.js +47 -0
- package/dist-es/commands/DescribeReplicatorCommand.js +47 -0
- package/dist-es/commands/ListReplicatorsCommand.js +47 -0
- package/dist-es/commands/UpdateReplicationInfoCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/pagination/ListReplicatorsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +578 -0
- package/dist-types/Kafka.d.ts +35 -0
- package/dist-types/KafkaClient.d.ts +7 -2
- package/dist-types/commands/CreateReplicatorCommand.d.ts +147 -0
- package/dist-types/commands/DeleteReplicatorCommand.d.ts +96 -0
- package/dist-types/commands/DescribeReplicatorCommand.d.ts +153 -0
- package/dist-types/commands/ListReplicatorsCommand.d.ts +121 -0
- package/dist-types/commands/UpdateReplicationInfoCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +656 -35
- package/dist-types/pagination/ListReplicatorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Kafka.d.ts +85 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +192 -35
- package/dist-types/ts3.4/pagination/ListReplicatorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +11 -11
|
@@ -24,7 +24,7 @@ export type VpcConnectionState =
|
|
|
24
24
|
export interface ClientVpcConnection {
|
|
25
25
|
Authentication?: string;
|
|
26
26
|
CreationTime?: Date;
|
|
27
|
-
State?: VpcConnectionState
|
|
27
|
+
State?: VpcConnectionState;
|
|
28
28
|
VpcConnectionArn: string | undefined;
|
|
29
29
|
Owner?: string;
|
|
30
30
|
}
|
|
@@ -73,7 +73,7 @@ export interface StorageInfo {
|
|
|
73
73
|
EbsStorageInfo?: EBSStorageInfo;
|
|
74
74
|
}
|
|
75
75
|
export interface BrokerNodeGroupInfo {
|
|
76
|
-
BrokerAZDistribution?: BrokerAZDistribution
|
|
76
|
+
BrokerAZDistribution?: BrokerAZDistribution;
|
|
77
77
|
ClientSubnets: string[] | undefined;
|
|
78
78
|
InstanceType: string | undefined;
|
|
79
79
|
SecurityGroups?: string[];
|
|
@@ -118,7 +118,7 @@ export declare const ClientBroker: {
|
|
|
118
118
|
};
|
|
119
119
|
export type ClientBroker = (typeof ClientBroker)[keyof typeof ClientBroker];
|
|
120
120
|
export interface EncryptionInTransit {
|
|
121
|
-
ClientBroker?: ClientBroker
|
|
121
|
+
ClientBroker?: ClientBroker;
|
|
122
122
|
InCluster?: boolean;
|
|
123
123
|
}
|
|
124
124
|
export interface EncryptionInfo {
|
|
@@ -177,13 +177,13 @@ export interface Provisioned {
|
|
|
177
177
|
CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
|
|
178
178
|
ClientAuthentication?: ClientAuthentication;
|
|
179
179
|
EncryptionInfo?: EncryptionInfo;
|
|
180
|
-
EnhancedMonitoring?: EnhancedMonitoring
|
|
180
|
+
EnhancedMonitoring?: EnhancedMonitoring;
|
|
181
181
|
OpenMonitoring?: OpenMonitoringInfo;
|
|
182
182
|
LoggingInfo?: LoggingInfo;
|
|
183
183
|
NumberOfBrokerNodes: number | undefined;
|
|
184
184
|
ZookeeperConnectString?: string;
|
|
185
185
|
ZookeeperConnectStringTls?: string;
|
|
186
|
-
StorageMode?: StorageMode
|
|
186
|
+
StorageMode?: StorageMode;
|
|
187
187
|
}
|
|
188
188
|
export interface ServerlessSasl {
|
|
189
189
|
Iam?: Iam;
|
|
@@ -216,12 +216,12 @@ export interface StateInfo {
|
|
|
216
216
|
}
|
|
217
217
|
export interface Cluster {
|
|
218
218
|
ActiveOperationArn?: string;
|
|
219
|
-
ClusterType?: ClusterType
|
|
219
|
+
ClusterType?: ClusterType;
|
|
220
220
|
ClusterArn?: string;
|
|
221
221
|
ClusterName?: string;
|
|
222
222
|
CreationTime?: Date;
|
|
223
223
|
CurrentVersion?: string;
|
|
224
|
-
State?: ClusterState
|
|
224
|
+
State?: ClusterState;
|
|
225
225
|
StateInfo?: StateInfo;
|
|
226
226
|
Tags?: Record<string, string>;
|
|
227
227
|
Provisioned?: Provisioned;
|
|
@@ -250,16 +250,16 @@ export interface ClusterInfo {
|
|
|
250
250
|
CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
|
|
251
251
|
CurrentVersion?: string;
|
|
252
252
|
EncryptionInfo?: EncryptionInfo;
|
|
253
|
-
EnhancedMonitoring?: EnhancedMonitoring
|
|
253
|
+
EnhancedMonitoring?: EnhancedMonitoring;
|
|
254
254
|
OpenMonitoring?: OpenMonitoring;
|
|
255
255
|
LoggingInfo?: LoggingInfo;
|
|
256
256
|
NumberOfBrokerNodes?: number;
|
|
257
|
-
State?: ClusterState
|
|
257
|
+
State?: ClusterState;
|
|
258
258
|
StateInfo?: StateInfo;
|
|
259
259
|
Tags?: Record<string, string>;
|
|
260
260
|
ZookeeperConnectString?: string;
|
|
261
261
|
ZookeeperConnectStringTls?: string;
|
|
262
|
-
StorageMode?: StorageMode
|
|
262
|
+
StorageMode?: StorageMode;
|
|
263
263
|
}
|
|
264
264
|
export interface ErrorInfo {
|
|
265
265
|
ErrorCode?: string;
|
|
@@ -280,7 +280,7 @@ export interface MutableClusterInfo {
|
|
|
280
280
|
BrokerEBSVolumeInfo?: BrokerEBSVolumeInfo[];
|
|
281
281
|
ConfigurationInfo?: ConfigurationInfo;
|
|
282
282
|
NumberOfBrokerNodes?: number;
|
|
283
|
-
EnhancedMonitoring?: EnhancedMonitoring
|
|
283
|
+
EnhancedMonitoring?: EnhancedMonitoring;
|
|
284
284
|
OpenMonitoring?: OpenMonitoring;
|
|
285
285
|
KafkaVersion?: string;
|
|
286
286
|
LoggingInfo?: LoggingInfo;
|
|
@@ -288,7 +288,7 @@ export interface MutableClusterInfo {
|
|
|
288
288
|
ClientAuthentication?: ClientAuthentication;
|
|
289
289
|
EncryptionInfo?: EncryptionInfo;
|
|
290
290
|
ConnectivityInfo?: ConnectivityInfo;
|
|
291
|
-
StorageMode?: StorageMode
|
|
291
|
+
StorageMode?: StorageMode;
|
|
292
292
|
}
|
|
293
293
|
export declare const UserIdentityType: {
|
|
294
294
|
readonly AWSACCOUNT: "AWSACCOUNT";
|
|
@@ -297,7 +297,7 @@ export declare const UserIdentityType: {
|
|
|
297
297
|
export type UserIdentityType =
|
|
298
298
|
(typeof UserIdentityType)[keyof typeof UserIdentityType];
|
|
299
299
|
export interface UserIdentity {
|
|
300
|
-
Type?: UserIdentityType
|
|
300
|
+
Type?: UserIdentityType;
|
|
301
301
|
PrincipalId?: string;
|
|
302
302
|
}
|
|
303
303
|
export interface VpcConnectionInfo {
|
|
@@ -322,7 +322,7 @@ export interface ClusterOperationInfo {
|
|
|
322
322
|
}
|
|
323
323
|
export interface ClusterOperationV2Summary {
|
|
324
324
|
ClusterArn?: string;
|
|
325
|
-
ClusterType?: ClusterType
|
|
325
|
+
ClusterType?: ClusterType;
|
|
326
326
|
StartTime?: Date;
|
|
327
327
|
EndTime?: Date;
|
|
328
328
|
OperationArn?: string;
|
|
@@ -352,7 +352,27 @@ export interface Configuration {
|
|
|
352
352
|
KafkaVersions: string[] | undefined;
|
|
353
353
|
LatestRevision: ConfigurationRevision | undefined;
|
|
354
354
|
Name: string | undefined;
|
|
355
|
-
State: ConfigurationState |
|
|
355
|
+
State: ConfigurationState | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface AmazonMskCluster {
|
|
358
|
+
MskClusterArn: string | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface KafkaClusterClientVpcConfig {
|
|
361
|
+
SecurityGroupIds?: string[];
|
|
362
|
+
SubnetIds: string[] | undefined;
|
|
363
|
+
}
|
|
364
|
+
export interface KafkaCluster {
|
|
365
|
+
AmazonMskCluster: AmazonMskCluster | undefined;
|
|
366
|
+
VpcConfig: KafkaClusterClientVpcConfig | undefined;
|
|
367
|
+
}
|
|
368
|
+
export interface KafkaClusterDescription {
|
|
369
|
+
AmazonMskCluster?: AmazonMskCluster;
|
|
370
|
+
KafkaClusterAlias?: string;
|
|
371
|
+
VpcConfig?: KafkaClusterClientVpcConfig;
|
|
372
|
+
}
|
|
373
|
+
export interface KafkaClusterSummary {
|
|
374
|
+
AmazonMskCluster?: AmazonMskCluster;
|
|
375
|
+
KafkaClusterAlias?: string;
|
|
356
376
|
}
|
|
357
377
|
export declare const KafkaVersionStatus: {
|
|
358
378
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -362,7 +382,7 @@ export type KafkaVersionStatus =
|
|
|
362
382
|
(typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
|
|
363
383
|
export interface KafkaVersion {
|
|
364
384
|
Version?: string;
|
|
365
|
-
Status?: KafkaVersionStatus
|
|
385
|
+
Status?: KafkaVersionStatus;
|
|
366
386
|
}
|
|
367
387
|
export interface BrokerNodeInfo {
|
|
368
388
|
AttachedENIId?: string;
|
|
@@ -388,9 +408,69 @@ export interface NodeInfo {
|
|
|
388
408
|
BrokerNodeInfo?: BrokerNodeInfo;
|
|
389
409
|
InstanceType?: string;
|
|
390
410
|
NodeARN?: string;
|
|
391
|
-
NodeType?: NodeType
|
|
411
|
+
NodeType?: NodeType;
|
|
392
412
|
ZookeeperNodeInfo?: ZookeeperNodeInfo;
|
|
393
413
|
}
|
|
414
|
+
export interface ConsumerGroupReplication {
|
|
415
|
+
ConsumerGroupsToExclude?: string[];
|
|
416
|
+
ConsumerGroupsToReplicate: string[] | undefined;
|
|
417
|
+
DetectAndCopyNewConsumerGroups?: boolean;
|
|
418
|
+
SynchroniseConsumerGroupOffsets?: boolean;
|
|
419
|
+
}
|
|
420
|
+
export declare const TargetCompressionType: {
|
|
421
|
+
readonly GZIP: "GZIP";
|
|
422
|
+
readonly LZ4: "LZ4";
|
|
423
|
+
readonly NONE: "NONE";
|
|
424
|
+
readonly SNAPPY: "SNAPPY";
|
|
425
|
+
readonly ZSTD: "ZSTD";
|
|
426
|
+
};
|
|
427
|
+
export type TargetCompressionType =
|
|
428
|
+
(typeof TargetCompressionType)[keyof typeof TargetCompressionType];
|
|
429
|
+
export interface TopicReplication {
|
|
430
|
+
CopyAccessControlListsForTopics?: boolean;
|
|
431
|
+
CopyTopicConfigurations?: boolean;
|
|
432
|
+
DetectAndCopyNewTopics?: boolean;
|
|
433
|
+
TopicsToExclude?: string[];
|
|
434
|
+
TopicsToReplicate: string[] | undefined;
|
|
435
|
+
}
|
|
436
|
+
export interface ReplicationInfo {
|
|
437
|
+
ConsumerGroupReplication: ConsumerGroupReplication | undefined;
|
|
438
|
+
SourceKafkaClusterArn: string | undefined;
|
|
439
|
+
TargetCompressionType: TargetCompressionType | undefined;
|
|
440
|
+
TargetKafkaClusterArn: string | undefined;
|
|
441
|
+
TopicReplication: TopicReplication | undefined;
|
|
442
|
+
}
|
|
443
|
+
export interface ReplicationInfoDescription {
|
|
444
|
+
ConsumerGroupReplication?: ConsumerGroupReplication;
|
|
445
|
+
SourceKafkaClusterAlias?: string;
|
|
446
|
+
TargetCompressionType?: TargetCompressionType;
|
|
447
|
+
TargetKafkaClusterAlias?: string;
|
|
448
|
+
TopicReplication?: TopicReplication;
|
|
449
|
+
}
|
|
450
|
+
export interface ReplicationInfoSummary {
|
|
451
|
+
SourceKafkaClusterAlias?: string;
|
|
452
|
+
TargetKafkaClusterAlias?: string;
|
|
453
|
+
}
|
|
454
|
+
export declare const ReplicatorState: {
|
|
455
|
+
readonly CREATING: "CREATING";
|
|
456
|
+
readonly DELETING: "DELETING";
|
|
457
|
+
readonly FAILED: "FAILED";
|
|
458
|
+
readonly RUNNING: "RUNNING";
|
|
459
|
+
readonly UPDATING: "UPDATING";
|
|
460
|
+
};
|
|
461
|
+
export type ReplicatorState =
|
|
462
|
+
(typeof ReplicatorState)[keyof typeof ReplicatorState];
|
|
463
|
+
export interface ReplicatorSummary {
|
|
464
|
+
CreationTime?: Date;
|
|
465
|
+
CurrentVersion?: string;
|
|
466
|
+
IsReplicatorReference?: boolean;
|
|
467
|
+
KafkaClustersSummary?: KafkaClusterSummary[];
|
|
468
|
+
ReplicationInfoSummaryList?: ReplicationInfoSummary[];
|
|
469
|
+
ReplicatorArn?: string;
|
|
470
|
+
ReplicatorName?: string;
|
|
471
|
+
ReplicatorResourceArn?: string;
|
|
472
|
+
ReplicatorState?: ReplicatorState;
|
|
473
|
+
}
|
|
394
474
|
export interface UnprocessedScramSecret {
|
|
395
475
|
ErrorCode?: string;
|
|
396
476
|
ErrorMessage?: string;
|
|
@@ -402,7 +482,7 @@ export interface VpcConnection {
|
|
|
402
482
|
CreationTime?: Date;
|
|
403
483
|
Authentication?: string;
|
|
404
484
|
VpcId?: string;
|
|
405
|
-
State?: VpcConnectionState
|
|
485
|
+
State?: VpcConnectionState;
|
|
406
486
|
}
|
|
407
487
|
export declare class BadRequestException extends __BaseException {
|
|
408
488
|
readonly name: "BadRequestException";
|
|
@@ -496,7 +576,7 @@ export interface ClusterOperationV2Serverless {
|
|
|
496
576
|
}
|
|
497
577
|
export interface ClusterOperationV2 {
|
|
498
578
|
ClusterArn?: string;
|
|
499
|
-
ClusterType?: ClusterType
|
|
579
|
+
ClusterType?: ClusterType;
|
|
500
580
|
StartTime?: Date;
|
|
501
581
|
EndTime?: Date;
|
|
502
582
|
ErrorInfo?: ErrorInfo;
|
|
@@ -513,36 +593,42 @@ export declare class ConflictException extends __BaseException {
|
|
|
513
593
|
Message?: string;
|
|
514
594
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
515
595
|
}
|
|
596
|
+
export interface ConsumerGroupReplicationUpdate {
|
|
597
|
+
ConsumerGroupsToExclude: string[] | undefined;
|
|
598
|
+
ConsumerGroupsToReplicate: string[] | undefined;
|
|
599
|
+
DetectAndCopyNewConsumerGroups: boolean | undefined;
|
|
600
|
+
SynchroniseConsumerGroupOffsets: boolean | undefined;
|
|
601
|
+
}
|
|
516
602
|
export interface CreateClusterRequest {
|
|
517
603
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
518
604
|
ClientAuthentication?: ClientAuthentication;
|
|
519
605
|
ClusterName: string | undefined;
|
|
520
606
|
ConfigurationInfo?: ConfigurationInfo;
|
|
521
607
|
EncryptionInfo?: EncryptionInfo;
|
|
522
|
-
EnhancedMonitoring?: EnhancedMonitoring
|
|
608
|
+
EnhancedMonitoring?: EnhancedMonitoring;
|
|
523
609
|
OpenMonitoring?: OpenMonitoringInfo;
|
|
524
610
|
KafkaVersion: string | undefined;
|
|
525
611
|
LoggingInfo?: LoggingInfo;
|
|
526
612
|
NumberOfBrokerNodes: number | undefined;
|
|
527
613
|
Tags?: Record<string, string>;
|
|
528
|
-
StorageMode?: StorageMode
|
|
614
|
+
StorageMode?: StorageMode;
|
|
529
615
|
}
|
|
530
616
|
export interface CreateClusterResponse {
|
|
531
617
|
ClusterArn?: string;
|
|
532
618
|
ClusterName?: string;
|
|
533
|
-
State?: ClusterState
|
|
619
|
+
State?: ClusterState;
|
|
534
620
|
}
|
|
535
621
|
export interface ProvisionedRequest {
|
|
536
622
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
537
623
|
ClientAuthentication?: ClientAuthentication;
|
|
538
624
|
ConfigurationInfo?: ConfigurationInfo;
|
|
539
625
|
EncryptionInfo?: EncryptionInfo;
|
|
540
|
-
EnhancedMonitoring?: EnhancedMonitoring
|
|
626
|
+
EnhancedMonitoring?: EnhancedMonitoring;
|
|
541
627
|
OpenMonitoring?: OpenMonitoringInfo;
|
|
542
628
|
KafkaVersion: string | undefined;
|
|
543
629
|
LoggingInfo?: LoggingInfo;
|
|
544
630
|
NumberOfBrokerNodes: number | undefined;
|
|
545
|
-
StorageMode?: StorageMode
|
|
631
|
+
StorageMode?: StorageMode;
|
|
546
632
|
}
|
|
547
633
|
export interface ServerlessRequest {
|
|
548
634
|
VpcConfigs: VpcConfig[] | undefined;
|
|
@@ -557,8 +643,8 @@ export interface CreateClusterV2Request {
|
|
|
557
643
|
export interface CreateClusterV2Response {
|
|
558
644
|
ClusterArn?: string;
|
|
559
645
|
ClusterName?: string;
|
|
560
|
-
State?: ClusterState
|
|
561
|
-
ClusterType?: ClusterType
|
|
646
|
+
State?: ClusterState;
|
|
647
|
+
ClusterType?: ClusterType;
|
|
562
648
|
}
|
|
563
649
|
export interface CreateConfigurationRequest {
|
|
564
650
|
Description?: string;
|
|
@@ -571,7 +657,20 @@ export interface CreateConfigurationResponse {
|
|
|
571
657
|
CreationTime?: Date;
|
|
572
658
|
LatestRevision?: ConfigurationRevision;
|
|
573
659
|
Name?: string;
|
|
574
|
-
State?: ConfigurationState
|
|
660
|
+
State?: ConfigurationState;
|
|
661
|
+
}
|
|
662
|
+
export interface CreateReplicatorRequest {
|
|
663
|
+
Description?: string;
|
|
664
|
+
KafkaClusters: KafkaCluster[] | undefined;
|
|
665
|
+
ReplicationInfoList: ReplicationInfo[] | undefined;
|
|
666
|
+
ReplicatorName: string | undefined;
|
|
667
|
+
ServiceExecutionRoleArn: string | undefined;
|
|
668
|
+
Tags?: Record<string, string>;
|
|
669
|
+
}
|
|
670
|
+
export interface CreateReplicatorResponse {
|
|
671
|
+
ReplicatorArn?: string;
|
|
672
|
+
ReplicatorName?: string;
|
|
673
|
+
ReplicatorState?: ReplicatorState;
|
|
575
674
|
}
|
|
576
675
|
export interface CreateVpcConnectionRequest {
|
|
577
676
|
TargetClusterArn: string | undefined;
|
|
@@ -583,7 +682,7 @@ export interface CreateVpcConnectionRequest {
|
|
|
583
682
|
}
|
|
584
683
|
export interface CreateVpcConnectionResponse {
|
|
585
684
|
VpcConnectionArn?: string;
|
|
586
|
-
State?: VpcConnectionState
|
|
685
|
+
State?: VpcConnectionState;
|
|
587
686
|
Authentication?: string;
|
|
588
687
|
VpcId?: string;
|
|
589
688
|
ClientSubnets?: string[];
|
|
@@ -597,7 +696,7 @@ export interface DeleteClusterRequest {
|
|
|
597
696
|
}
|
|
598
697
|
export interface DeleteClusterResponse {
|
|
599
698
|
ClusterArn?: string;
|
|
600
|
-
State?: ClusterState
|
|
699
|
+
State?: ClusterState;
|
|
601
700
|
}
|
|
602
701
|
export interface DeleteClusterPolicyRequest {
|
|
603
702
|
ClusterArn: string | undefined;
|
|
@@ -608,14 +707,22 @@ export interface DeleteConfigurationRequest {
|
|
|
608
707
|
}
|
|
609
708
|
export interface DeleteConfigurationResponse {
|
|
610
709
|
Arn?: string;
|
|
611
|
-
State?: ConfigurationState
|
|
710
|
+
State?: ConfigurationState;
|
|
711
|
+
}
|
|
712
|
+
export interface DeleteReplicatorRequest {
|
|
713
|
+
CurrentVersion?: string;
|
|
714
|
+
ReplicatorArn: string | undefined;
|
|
715
|
+
}
|
|
716
|
+
export interface DeleteReplicatorResponse {
|
|
717
|
+
ReplicatorArn?: string;
|
|
718
|
+
ReplicatorState?: ReplicatorState;
|
|
612
719
|
}
|
|
613
720
|
export interface DeleteVpcConnectionRequest {
|
|
614
721
|
Arn: string | undefined;
|
|
615
722
|
}
|
|
616
723
|
export interface DeleteVpcConnectionResponse {
|
|
617
724
|
VpcConnectionArn?: string;
|
|
618
|
-
State?: VpcConnectionState
|
|
725
|
+
State?: VpcConnectionState;
|
|
619
726
|
}
|
|
620
727
|
export interface DescribeClusterRequest {
|
|
621
728
|
ClusterArn: string | undefined;
|
|
@@ -651,7 +758,7 @@ export interface DescribeConfigurationResponse {
|
|
|
651
758
|
KafkaVersions?: string[];
|
|
652
759
|
LatestRevision?: ConfigurationRevision;
|
|
653
760
|
Name?: string;
|
|
654
|
-
State?: ConfigurationState
|
|
761
|
+
State?: ConfigurationState;
|
|
655
762
|
}
|
|
656
763
|
export interface DescribeConfigurationRevisionRequest {
|
|
657
764
|
Arn: string | undefined;
|
|
@@ -664,13 +771,35 @@ export interface DescribeConfigurationRevisionResponse {
|
|
|
664
771
|
Revision?: number;
|
|
665
772
|
ServerProperties?: Uint8Array;
|
|
666
773
|
}
|
|
774
|
+
export interface DescribeReplicatorRequest {
|
|
775
|
+
ReplicatorArn: string | undefined;
|
|
776
|
+
}
|
|
777
|
+
export interface ReplicationStateInfo {
|
|
778
|
+
Code?: string;
|
|
779
|
+
Message?: string;
|
|
780
|
+
}
|
|
781
|
+
export interface DescribeReplicatorResponse {
|
|
782
|
+
CreationTime?: Date;
|
|
783
|
+
CurrentVersion?: string;
|
|
784
|
+
IsReplicatorReference?: boolean;
|
|
785
|
+
KafkaClusters?: KafkaClusterDescription[];
|
|
786
|
+
ReplicationInfoList?: ReplicationInfoDescription[];
|
|
787
|
+
ReplicatorArn?: string;
|
|
788
|
+
ReplicatorDescription?: string;
|
|
789
|
+
ReplicatorName?: string;
|
|
790
|
+
ReplicatorResourceArn?: string;
|
|
791
|
+
ReplicatorState?: ReplicatorState;
|
|
792
|
+
ServiceExecutionRoleArn?: string;
|
|
793
|
+
StateInfo?: ReplicationStateInfo;
|
|
794
|
+
Tags?: Record<string, string>;
|
|
795
|
+
}
|
|
667
796
|
export interface DescribeVpcConnectionRequest {
|
|
668
797
|
Arn: string | undefined;
|
|
669
798
|
}
|
|
670
799
|
export interface DescribeVpcConnectionResponse {
|
|
671
800
|
VpcConnectionArn?: string;
|
|
672
801
|
TargetClusterArn?: string;
|
|
673
|
-
State?: VpcConnectionState
|
|
802
|
+
State?: VpcConnectionState;
|
|
674
803
|
Authentication?: string;
|
|
675
804
|
VpcId?: string;
|
|
676
805
|
Subnets?: string[];
|
|
@@ -786,6 +915,15 @@ export interface ListNodesResponse {
|
|
|
786
915
|
NextToken?: string;
|
|
787
916
|
NodeInfoList?: NodeInfo[];
|
|
788
917
|
}
|
|
918
|
+
export interface ListReplicatorsRequest {
|
|
919
|
+
MaxResults?: number;
|
|
920
|
+
NextToken?: string;
|
|
921
|
+
ReplicatorNameFilter?: string;
|
|
922
|
+
}
|
|
923
|
+
export interface ListReplicatorsResponse {
|
|
924
|
+
NextToken?: string;
|
|
925
|
+
Replicators?: ReplicatorSummary[];
|
|
926
|
+
}
|
|
789
927
|
export interface ListScramSecretsRequest {
|
|
790
928
|
ClusterArn: string | undefined;
|
|
791
929
|
MaxResults?: number;
|
|
@@ -905,7 +1043,7 @@ export interface UpdateConnectivityResponse {
|
|
|
905
1043
|
export interface UpdateMonitoringRequest {
|
|
906
1044
|
ClusterArn: string | undefined;
|
|
907
1045
|
CurrentVersion: string | undefined;
|
|
908
|
-
EnhancedMonitoring?: EnhancedMonitoring
|
|
1046
|
+
EnhancedMonitoring?: EnhancedMonitoring;
|
|
909
1047
|
OpenMonitoring?: OpenMonitoringInfo;
|
|
910
1048
|
LoggingInfo?: LoggingInfo;
|
|
911
1049
|
}
|
|
@@ -913,6 +1051,25 @@ export interface UpdateMonitoringResponse {
|
|
|
913
1051
|
ClusterArn?: string;
|
|
914
1052
|
ClusterOperationArn?: string;
|
|
915
1053
|
}
|
|
1054
|
+
export interface TopicReplicationUpdate {
|
|
1055
|
+
CopyAccessControlListsForTopics: boolean | undefined;
|
|
1056
|
+
CopyTopicConfigurations: boolean | undefined;
|
|
1057
|
+
DetectAndCopyNewTopics: boolean | undefined;
|
|
1058
|
+
TopicsToExclude: string[] | undefined;
|
|
1059
|
+
TopicsToReplicate: string[] | undefined;
|
|
1060
|
+
}
|
|
1061
|
+
export interface UpdateReplicationInfoRequest {
|
|
1062
|
+
ConsumerGroupReplication?: ConsumerGroupReplicationUpdate;
|
|
1063
|
+
CurrentVersion: string | undefined;
|
|
1064
|
+
ReplicatorArn: string | undefined;
|
|
1065
|
+
SourceKafkaClusterArn: string | undefined;
|
|
1066
|
+
TargetKafkaClusterArn: string | undefined;
|
|
1067
|
+
TopicReplication?: TopicReplicationUpdate;
|
|
1068
|
+
}
|
|
1069
|
+
export interface UpdateReplicationInfoResponse {
|
|
1070
|
+
ReplicatorArn?: string;
|
|
1071
|
+
ReplicatorState?: ReplicatorState;
|
|
1072
|
+
}
|
|
916
1073
|
export interface UpdateSecurityRequest {
|
|
917
1074
|
ClientAuthentication?: ClientAuthentication;
|
|
918
1075
|
ClusterArn: string | undefined;
|
|
@@ -927,7 +1084,7 @@ export interface UpdateStorageRequest {
|
|
|
927
1084
|
ClusterArn: string | undefined;
|
|
928
1085
|
CurrentVersion: string | undefined;
|
|
929
1086
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
930
|
-
StorageMode?: StorageMode
|
|
1087
|
+
StorageMode?: StorageMode;
|
|
931
1088
|
VolumeSizeGB?: number;
|
|
932
1089
|
}
|
|
933
1090
|
export interface UpdateStorageResponse {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListReplicatorsCommandInput,
|
|
4
|
+
ListReplicatorsCommandOutput,
|
|
5
|
+
} from "../commands/ListReplicatorsCommand";
|
|
6
|
+
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListReplicators(
|
|
8
|
+
config: KafkaPaginationConfiguration,
|
|
9
|
+
input: ListReplicatorsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListReplicatorsCommandOutput>;
|
|
@@ -8,5 +8,6 @@ export * from "./ListConfigurationRevisionsPaginator";
|
|
|
8
8
|
export * from "./ListConfigurationsPaginator";
|
|
9
9
|
export * from "./ListKafkaVersionsPaginator";
|
|
10
10
|
export * from "./ListNodesPaginator";
|
|
11
|
+
export * from "./ListReplicatorsPaginator";
|
|
11
12
|
export * from "./ListScramSecretsPaginator";
|
|
12
13
|
export * from "./ListVpcConnectionsPaginator";
|
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
CreateConfigurationCommandInput,
|
|
24
24
|
CreateConfigurationCommandOutput,
|
|
25
25
|
} from "../commands/CreateConfigurationCommand";
|
|
26
|
+
import {
|
|
27
|
+
CreateReplicatorCommandInput,
|
|
28
|
+
CreateReplicatorCommandOutput,
|
|
29
|
+
} from "../commands/CreateReplicatorCommand";
|
|
26
30
|
import {
|
|
27
31
|
CreateVpcConnectionCommandInput,
|
|
28
32
|
CreateVpcConnectionCommandOutput,
|
|
@@ -39,6 +43,10 @@ import {
|
|
|
39
43
|
DeleteConfigurationCommandInput,
|
|
40
44
|
DeleteConfigurationCommandOutput,
|
|
41
45
|
} from "../commands/DeleteConfigurationCommand";
|
|
46
|
+
import {
|
|
47
|
+
DeleteReplicatorCommandInput,
|
|
48
|
+
DeleteReplicatorCommandOutput,
|
|
49
|
+
} from "../commands/DeleteReplicatorCommand";
|
|
42
50
|
import {
|
|
43
51
|
DeleteVpcConnectionCommandInput,
|
|
44
52
|
DeleteVpcConnectionCommandOutput,
|
|
@@ -67,6 +75,10 @@ import {
|
|
|
67
75
|
DescribeConfigurationRevisionCommandInput,
|
|
68
76
|
DescribeConfigurationRevisionCommandOutput,
|
|
69
77
|
} from "../commands/DescribeConfigurationRevisionCommand";
|
|
78
|
+
import {
|
|
79
|
+
DescribeReplicatorCommandInput,
|
|
80
|
+
DescribeReplicatorCommandOutput,
|
|
81
|
+
} from "../commands/DescribeReplicatorCommand";
|
|
70
82
|
import {
|
|
71
83
|
DescribeVpcConnectionCommandInput,
|
|
72
84
|
DescribeVpcConnectionCommandOutput,
|
|
@@ -119,6 +131,10 @@ import {
|
|
|
119
131
|
ListNodesCommandInput,
|
|
120
132
|
ListNodesCommandOutput,
|
|
121
133
|
} from "../commands/ListNodesCommand";
|
|
134
|
+
import {
|
|
135
|
+
ListReplicatorsCommandInput,
|
|
136
|
+
ListReplicatorsCommandOutput,
|
|
137
|
+
} from "../commands/ListReplicatorsCommand";
|
|
122
138
|
import {
|
|
123
139
|
ListScramSecretsCommandInput,
|
|
124
140
|
ListScramSecretsCommandOutput,
|
|
@@ -183,6 +199,10 @@ import {
|
|
|
183
199
|
UpdateMonitoringCommandInput,
|
|
184
200
|
UpdateMonitoringCommandOutput,
|
|
185
201
|
} from "../commands/UpdateMonitoringCommand";
|
|
202
|
+
import {
|
|
203
|
+
UpdateReplicationInfoCommandInput,
|
|
204
|
+
UpdateReplicationInfoCommandOutput,
|
|
205
|
+
} from "../commands/UpdateReplicationInfoCommand";
|
|
186
206
|
import {
|
|
187
207
|
UpdateSecurityCommandInput,
|
|
188
208
|
UpdateSecurityCommandOutput,
|
|
@@ -211,6 +231,10 @@ export declare const se_CreateConfigurationCommand: (
|
|
|
211
231
|
input: CreateConfigurationCommandInput,
|
|
212
232
|
context: __SerdeContext
|
|
213
233
|
) => Promise<__HttpRequest>;
|
|
234
|
+
export declare const se_CreateReplicatorCommand: (
|
|
235
|
+
input: CreateReplicatorCommandInput,
|
|
236
|
+
context: __SerdeContext
|
|
237
|
+
) => Promise<__HttpRequest>;
|
|
214
238
|
export declare const se_CreateVpcConnectionCommand: (
|
|
215
239
|
input: CreateVpcConnectionCommandInput,
|
|
216
240
|
context: __SerdeContext
|
|
@@ -227,6 +251,10 @@ export declare const se_DeleteConfigurationCommand: (
|
|
|
227
251
|
input: DeleteConfigurationCommandInput,
|
|
228
252
|
context: __SerdeContext
|
|
229
253
|
) => Promise<__HttpRequest>;
|
|
254
|
+
export declare const se_DeleteReplicatorCommand: (
|
|
255
|
+
input: DeleteReplicatorCommandInput,
|
|
256
|
+
context: __SerdeContext
|
|
257
|
+
) => Promise<__HttpRequest>;
|
|
230
258
|
export declare const se_DeleteVpcConnectionCommand: (
|
|
231
259
|
input: DeleteVpcConnectionCommandInput,
|
|
232
260
|
context: __SerdeContext
|
|
@@ -255,6 +283,10 @@ export declare const se_DescribeConfigurationRevisionCommand: (
|
|
|
255
283
|
input: DescribeConfigurationRevisionCommandInput,
|
|
256
284
|
context: __SerdeContext
|
|
257
285
|
) => Promise<__HttpRequest>;
|
|
286
|
+
export declare const se_DescribeReplicatorCommand: (
|
|
287
|
+
input: DescribeReplicatorCommandInput,
|
|
288
|
+
context: __SerdeContext
|
|
289
|
+
) => Promise<__HttpRequest>;
|
|
258
290
|
export declare const se_DescribeVpcConnectionCommand: (
|
|
259
291
|
input: DescribeVpcConnectionCommandInput,
|
|
260
292
|
context: __SerdeContext
|
|
@@ -307,6 +339,10 @@ export declare const se_ListNodesCommand: (
|
|
|
307
339
|
input: ListNodesCommandInput,
|
|
308
340
|
context: __SerdeContext
|
|
309
341
|
) => Promise<__HttpRequest>;
|
|
342
|
+
export declare const se_ListReplicatorsCommand: (
|
|
343
|
+
input: ListReplicatorsCommandInput,
|
|
344
|
+
context: __SerdeContext
|
|
345
|
+
) => Promise<__HttpRequest>;
|
|
310
346
|
export declare const se_ListScramSecretsCommand: (
|
|
311
347
|
input: ListScramSecretsCommandInput,
|
|
312
348
|
context: __SerdeContext
|
|
@@ -371,6 +407,10 @@ export declare const se_UpdateMonitoringCommand: (
|
|
|
371
407
|
input: UpdateMonitoringCommandInput,
|
|
372
408
|
context: __SerdeContext
|
|
373
409
|
) => Promise<__HttpRequest>;
|
|
410
|
+
export declare const se_UpdateReplicationInfoCommand: (
|
|
411
|
+
input: UpdateReplicationInfoCommandInput,
|
|
412
|
+
context: __SerdeContext
|
|
413
|
+
) => Promise<__HttpRequest>;
|
|
374
414
|
export declare const se_UpdateSecurityCommand: (
|
|
375
415
|
input: UpdateSecurityCommandInput,
|
|
376
416
|
context: __SerdeContext
|
|
@@ -399,6 +439,10 @@ export declare const de_CreateConfigurationCommand: (
|
|
|
399
439
|
output: __HttpResponse,
|
|
400
440
|
context: __SerdeContext
|
|
401
441
|
) => Promise<CreateConfigurationCommandOutput>;
|
|
442
|
+
export declare const de_CreateReplicatorCommand: (
|
|
443
|
+
output: __HttpResponse,
|
|
444
|
+
context: __SerdeContext
|
|
445
|
+
) => Promise<CreateReplicatorCommandOutput>;
|
|
402
446
|
export declare const de_CreateVpcConnectionCommand: (
|
|
403
447
|
output: __HttpResponse,
|
|
404
448
|
context: __SerdeContext
|
|
@@ -415,6 +459,10 @@ export declare const de_DeleteConfigurationCommand: (
|
|
|
415
459
|
output: __HttpResponse,
|
|
416
460
|
context: __SerdeContext
|
|
417
461
|
) => Promise<DeleteConfigurationCommandOutput>;
|
|
462
|
+
export declare const de_DeleteReplicatorCommand: (
|
|
463
|
+
output: __HttpResponse,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<DeleteReplicatorCommandOutput>;
|
|
418
466
|
export declare const de_DeleteVpcConnectionCommand: (
|
|
419
467
|
output: __HttpResponse,
|
|
420
468
|
context: __SerdeContext
|
|
@@ -443,6 +491,10 @@ export declare const de_DescribeConfigurationRevisionCommand: (
|
|
|
443
491
|
output: __HttpResponse,
|
|
444
492
|
context: __SerdeContext
|
|
445
493
|
) => Promise<DescribeConfigurationRevisionCommandOutput>;
|
|
494
|
+
export declare const de_DescribeReplicatorCommand: (
|
|
495
|
+
output: __HttpResponse,
|
|
496
|
+
context: __SerdeContext
|
|
497
|
+
) => Promise<DescribeReplicatorCommandOutput>;
|
|
446
498
|
export declare const de_DescribeVpcConnectionCommand: (
|
|
447
499
|
output: __HttpResponse,
|
|
448
500
|
context: __SerdeContext
|
|
@@ -495,6 +547,10 @@ export declare const de_ListNodesCommand: (
|
|
|
495
547
|
output: __HttpResponse,
|
|
496
548
|
context: __SerdeContext
|
|
497
549
|
) => Promise<ListNodesCommandOutput>;
|
|
550
|
+
export declare const de_ListReplicatorsCommand: (
|
|
551
|
+
output: __HttpResponse,
|
|
552
|
+
context: __SerdeContext
|
|
553
|
+
) => Promise<ListReplicatorsCommandOutput>;
|
|
498
554
|
export declare const de_ListScramSecretsCommand: (
|
|
499
555
|
output: __HttpResponse,
|
|
500
556
|
context: __SerdeContext
|
|
@@ -559,6 +615,10 @@ export declare const de_UpdateMonitoringCommand: (
|
|
|
559
615
|
output: __HttpResponse,
|
|
560
616
|
context: __SerdeContext
|
|
561
617
|
) => Promise<UpdateMonitoringCommandOutput>;
|
|
618
|
+
export declare const de_UpdateReplicationInfoCommand: (
|
|
619
|
+
output: __HttpResponse,
|
|
620
|
+
context: __SerdeContext
|
|
621
|
+
) => Promise<UpdateReplicationInfoCommandOutput>;
|
|
562
622
|
export declare const de_UpdateSecurityCommand: (
|
|
563
623
|
output: __HttpResponse,
|
|
564
624
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafka",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.430.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.430.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.430.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
32
|
"@aws-sdk/types": "3.428.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
46
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
47
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
48
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
56
|
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|