@aws-sdk/client-kafka 3.933.0 → 3.935.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 +24 -0
- package/dist-cjs/index.js +441 -93
- package/dist-es/Kafka.js +6 -0
- package/dist-es/commands/DescribeTopicCommand.js +16 -0
- package/dist-es/commands/DescribeTopicPartitionsCommand.js +16 -0
- package/dist-es/commands/ListTopicsCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +95 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -218
- package/dist-es/pagination/DescribeTopicPartitionsPaginator.js +4 -0
- package/dist-es/pagination/ListTopicsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +298 -5
- package/dist-types/Kafka.d.ts +21 -0
- package/dist-types/KafkaClient.d.ts +5 -2
- package/dist-types/commands/DescribeTopicCommand.d.ts +95 -0
- package/dist-types/commands/DescribeTopicPartitionsCommand.d.ts +104 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +239 -0
- package/dist-types/models/errors.d.ts +178 -0
- package/dist-types/models/models_0.d.ts +190 -401
- package/dist-types/pagination/DescribeTopicPartitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTopicsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/Kafka.d.ts +51 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeTopicPartitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +125 -0
- package/dist-types/ts3.4/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -186
- package/dist-types/ts3.4/pagination/DescribeTopicPartitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
BrokerAZDistribution,
|
|
3
|
+
ClientBroker,
|
|
4
|
+
ClusterState,
|
|
5
|
+
ClusterType,
|
|
6
|
+
ConfigurationState,
|
|
7
|
+
CustomerActionStatus,
|
|
8
|
+
EnhancedMonitoring,
|
|
9
|
+
KafkaVersionStatus,
|
|
10
|
+
NodeType,
|
|
11
|
+
RebalancingStatus,
|
|
12
|
+
ReplicationStartingPositionType,
|
|
13
|
+
ReplicationTopicNameConfigurationType,
|
|
14
|
+
ReplicatorState,
|
|
15
|
+
StorageMode,
|
|
16
|
+
TargetCompressionType,
|
|
17
|
+
TopicState,
|
|
18
|
+
UserIdentityType,
|
|
19
|
+
VpcConnectionState,
|
|
20
|
+
} from "./enums";
|
|
3
21
|
export interface ProvisionedThroughput {
|
|
4
22
|
Enabled?: boolean | undefined;
|
|
5
23
|
VolumeThroughput?: number | undefined;
|
|
@@ -9,18 +27,6 @@ export interface BrokerEBSVolumeInfo {
|
|
|
9
27
|
ProvisionedThroughput?: ProvisionedThroughput | undefined;
|
|
10
28
|
VolumeSizeGB?: number | undefined;
|
|
11
29
|
}
|
|
12
|
-
export declare const VpcConnectionState: {
|
|
13
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
14
|
-
readonly CREATING: "CREATING";
|
|
15
|
-
readonly DEACTIVATING: "DEACTIVATING";
|
|
16
|
-
readonly DELETING: "DELETING";
|
|
17
|
-
readonly FAILED: "FAILED";
|
|
18
|
-
readonly INACTIVE: "INACTIVE";
|
|
19
|
-
readonly REJECTED: "REJECTED";
|
|
20
|
-
readonly REJECTING: "REJECTING";
|
|
21
|
-
};
|
|
22
|
-
export type VpcConnectionState =
|
|
23
|
-
(typeof VpcConnectionState)[keyof typeof VpcConnectionState];
|
|
24
30
|
export interface ClientVpcConnection {
|
|
25
31
|
Authentication?: string | undefined;
|
|
26
32
|
CreationTime?: Date | undefined;
|
|
@@ -28,16 +34,6 @@ export interface ClientVpcConnection {
|
|
|
28
34
|
VpcConnectionArn: string | undefined;
|
|
29
35
|
Owner?: string | undefined;
|
|
30
36
|
}
|
|
31
|
-
export declare const ClusterType: {
|
|
32
|
-
readonly PROVISIONED: "PROVISIONED";
|
|
33
|
-
readonly SERVERLESS: "SERVERLESS";
|
|
34
|
-
};
|
|
35
|
-
export type ClusterType = (typeof ClusterType)[keyof typeof ClusterType];
|
|
36
|
-
export declare const BrokerAZDistribution: {
|
|
37
|
-
readonly DEFAULT: "DEFAULT";
|
|
38
|
-
};
|
|
39
|
-
export type BrokerAZDistribution =
|
|
40
|
-
(typeof BrokerAZDistribution)[keyof typeof BrokerAZDistribution];
|
|
41
37
|
export interface PublicAccess {
|
|
42
38
|
Type?: string | undefined;
|
|
43
39
|
}
|
|
@@ -108,22 +104,9 @@ export interface BrokerSoftwareInfo {
|
|
|
108
104
|
ConfigurationRevision?: number | undefined;
|
|
109
105
|
KafkaVersion?: string | undefined;
|
|
110
106
|
}
|
|
111
|
-
export declare const CustomerActionStatus: {
|
|
112
|
-
readonly ACTION_RECOMMENDED: "ACTION_RECOMMENDED";
|
|
113
|
-
readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
|
|
114
|
-
readonly NONE: "NONE";
|
|
115
|
-
};
|
|
116
|
-
export type CustomerActionStatus =
|
|
117
|
-
(typeof CustomerActionStatus)[keyof typeof CustomerActionStatus];
|
|
118
107
|
export interface EncryptionAtRest {
|
|
119
108
|
DataVolumeKMSKeyId: string | undefined;
|
|
120
109
|
}
|
|
121
|
-
export declare const ClientBroker: {
|
|
122
|
-
readonly PLAINTEXT: "PLAINTEXT";
|
|
123
|
-
readonly TLS: "TLS";
|
|
124
|
-
readonly TLS_PLAINTEXT: "TLS_PLAINTEXT";
|
|
125
|
-
};
|
|
126
|
-
export type ClientBroker = (typeof ClientBroker)[keyof typeof ClientBroker];
|
|
127
110
|
export interface EncryptionInTransit {
|
|
128
111
|
ClientBroker?: ClientBroker | undefined;
|
|
129
112
|
InCluster?: boolean | undefined;
|
|
@@ -132,14 +115,6 @@ export interface EncryptionInfo {
|
|
|
132
115
|
EncryptionAtRest?: EncryptionAtRest | undefined;
|
|
133
116
|
EncryptionInTransit?: EncryptionInTransit | undefined;
|
|
134
117
|
}
|
|
135
|
-
export declare const EnhancedMonitoring: {
|
|
136
|
-
readonly DEFAULT: "DEFAULT";
|
|
137
|
-
readonly PER_BROKER: "PER_BROKER";
|
|
138
|
-
readonly PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER";
|
|
139
|
-
readonly PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION";
|
|
140
|
-
};
|
|
141
|
-
export type EnhancedMonitoring =
|
|
142
|
-
(typeof EnhancedMonitoring)[keyof typeof EnhancedMonitoring];
|
|
143
118
|
export interface CloudWatchLogs {
|
|
144
119
|
Enabled: boolean | undefined;
|
|
145
120
|
LogGroup?: string | undefined;
|
|
@@ -174,20 +149,9 @@ export interface PrometheusInfo {
|
|
|
174
149
|
export interface OpenMonitoringInfo {
|
|
175
150
|
Prometheus: PrometheusInfo | undefined;
|
|
176
151
|
}
|
|
177
|
-
export declare const RebalancingStatus: {
|
|
178
|
-
readonly ACTIVE: "ACTIVE";
|
|
179
|
-
readonly PAUSED: "PAUSED";
|
|
180
|
-
};
|
|
181
|
-
export type RebalancingStatus =
|
|
182
|
-
(typeof RebalancingStatus)[keyof typeof RebalancingStatus];
|
|
183
152
|
export interface Rebalancing {
|
|
184
153
|
Status?: RebalancingStatus | undefined;
|
|
185
154
|
}
|
|
186
|
-
export declare const StorageMode: {
|
|
187
|
-
readonly LOCAL: "LOCAL";
|
|
188
|
-
readonly TIERED: "TIERED";
|
|
189
|
-
};
|
|
190
|
-
export type StorageMode = (typeof StorageMode)[keyof typeof StorageMode];
|
|
191
155
|
export interface Provisioned {
|
|
192
156
|
BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
|
|
193
157
|
Rebalancing?: Rebalancing | undefined;
|
|
@@ -217,17 +181,6 @@ export interface Serverless {
|
|
|
217
181
|
VpcConfigs: VpcConfig[] | undefined;
|
|
218
182
|
ClientAuthentication?: ServerlessClientAuthentication | undefined;
|
|
219
183
|
}
|
|
220
|
-
export declare const ClusterState: {
|
|
221
|
-
readonly ACTIVE: "ACTIVE";
|
|
222
|
-
readonly CREATING: "CREATING";
|
|
223
|
-
readonly DELETING: "DELETING";
|
|
224
|
-
readonly FAILED: "FAILED";
|
|
225
|
-
readonly HEALING: "HEALING";
|
|
226
|
-
readonly MAINTENANCE: "MAINTENANCE";
|
|
227
|
-
readonly REBOOTING_BROKER: "REBOOTING_BROKER";
|
|
228
|
-
readonly UPDATING: "UPDATING";
|
|
229
|
-
};
|
|
230
|
-
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
231
184
|
export interface StateInfo {
|
|
232
185
|
Code?: string | undefined;
|
|
233
186
|
Message?: string | undefined;
|
|
@@ -316,12 +269,6 @@ export interface MutableClusterInfo {
|
|
|
316
269
|
BrokerCountUpdateInfo?: BrokerCountUpdateInfo | undefined;
|
|
317
270
|
Rebalancing?: Rebalancing | undefined;
|
|
318
271
|
}
|
|
319
|
-
export declare const UserIdentityType: {
|
|
320
|
-
readonly AWSACCOUNT: "AWSACCOUNT";
|
|
321
|
-
readonly AWSSERVICE: "AWSSERVICE";
|
|
322
|
-
};
|
|
323
|
-
export type UserIdentityType =
|
|
324
|
-
(typeof UserIdentityType)[keyof typeof UserIdentityType];
|
|
325
272
|
export interface UserIdentity {
|
|
326
273
|
Type?: UserIdentityType | undefined;
|
|
327
274
|
PrincipalId?: string | undefined;
|
|
@@ -364,13 +311,6 @@ export interface ConfigurationRevision {
|
|
|
364
311
|
Description?: string | undefined;
|
|
365
312
|
Revision: number | undefined;
|
|
366
313
|
}
|
|
367
|
-
export declare const ConfigurationState: {
|
|
368
|
-
readonly ACTIVE: "ACTIVE";
|
|
369
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
370
|
-
readonly DELETING: "DELETING";
|
|
371
|
-
};
|
|
372
|
-
export type ConfigurationState =
|
|
373
|
-
(typeof ConfigurationState)[keyof typeof ConfigurationState];
|
|
374
314
|
export interface Configuration {
|
|
375
315
|
Arn: string | undefined;
|
|
376
316
|
CreationTime: Date | undefined;
|
|
@@ -400,12 +340,6 @@ export interface KafkaClusterSummary {
|
|
|
400
340
|
AmazonMskCluster?: AmazonMskCluster | undefined;
|
|
401
341
|
KafkaClusterAlias?: string | undefined;
|
|
402
342
|
}
|
|
403
|
-
export declare const KafkaVersionStatus: {
|
|
404
|
-
readonly ACTIVE: "ACTIVE";
|
|
405
|
-
readonly DEPRECATED: "DEPRECATED";
|
|
406
|
-
};
|
|
407
|
-
export type KafkaVersionStatus =
|
|
408
|
-
(typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
|
|
409
343
|
export interface KafkaVersion {
|
|
410
344
|
Version?: string | undefined;
|
|
411
345
|
Status?: KafkaVersionStatus | undefined;
|
|
@@ -421,10 +355,6 @@ export interface BrokerNodeInfo {
|
|
|
421
355
|
export interface ControllerNodeInfo {
|
|
422
356
|
Endpoints?: string[] | undefined;
|
|
423
357
|
}
|
|
424
|
-
export declare const NodeType: {
|
|
425
|
-
readonly BROKER: "BROKER";
|
|
426
|
-
};
|
|
427
|
-
export type NodeType = (typeof NodeType)[keyof typeof NodeType];
|
|
428
358
|
export interface ZookeeperNodeInfo {
|
|
429
359
|
AttachedENIId?: string | undefined;
|
|
430
360
|
ClientVpcIpAddress?: string | undefined;
|
|
@@ -447,30 +377,9 @@ export interface ConsumerGroupReplication {
|
|
|
447
377
|
DetectAndCopyNewConsumerGroups?: boolean | undefined;
|
|
448
378
|
SynchroniseConsumerGroupOffsets?: boolean | undefined;
|
|
449
379
|
}
|
|
450
|
-
export declare const TargetCompressionType: {
|
|
451
|
-
readonly GZIP: "GZIP";
|
|
452
|
-
readonly LZ4: "LZ4";
|
|
453
|
-
readonly NONE: "NONE";
|
|
454
|
-
readonly SNAPPY: "SNAPPY";
|
|
455
|
-
readonly ZSTD: "ZSTD";
|
|
456
|
-
};
|
|
457
|
-
export type TargetCompressionType =
|
|
458
|
-
(typeof TargetCompressionType)[keyof typeof TargetCompressionType];
|
|
459
|
-
export declare const ReplicationStartingPositionType: {
|
|
460
|
-
readonly EARLIEST: "EARLIEST";
|
|
461
|
-
readonly LATEST: "LATEST";
|
|
462
|
-
};
|
|
463
|
-
export type ReplicationStartingPositionType =
|
|
464
|
-
(typeof ReplicationStartingPositionType)[keyof typeof ReplicationStartingPositionType];
|
|
465
380
|
export interface ReplicationStartingPosition {
|
|
466
381
|
Type?: ReplicationStartingPositionType | undefined;
|
|
467
382
|
}
|
|
468
|
-
export declare const ReplicationTopicNameConfigurationType: {
|
|
469
|
-
readonly IDENTICAL: "IDENTICAL";
|
|
470
|
-
readonly PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS";
|
|
471
|
-
};
|
|
472
|
-
export type ReplicationTopicNameConfigurationType =
|
|
473
|
-
(typeof ReplicationTopicNameConfigurationType)[keyof typeof ReplicationTopicNameConfigurationType];
|
|
474
383
|
export interface ReplicationTopicNameConfiguration {
|
|
475
384
|
Type?: ReplicationTopicNameConfigurationType | undefined;
|
|
476
385
|
}
|
|
@@ -501,15 +410,6 @@ export interface ReplicationInfoSummary {
|
|
|
501
410
|
SourceKafkaClusterAlias?: string | undefined;
|
|
502
411
|
TargetKafkaClusterAlias?: string | undefined;
|
|
503
412
|
}
|
|
504
|
-
export declare const ReplicatorState: {
|
|
505
|
-
readonly CREATING: "CREATING";
|
|
506
|
-
readonly DELETING: "DELETING";
|
|
507
|
-
readonly FAILED: "FAILED";
|
|
508
|
-
readonly RUNNING: "RUNNING";
|
|
509
|
-
readonly UPDATING: "UPDATING";
|
|
510
|
-
};
|
|
511
|
-
export type ReplicatorState =
|
|
512
|
-
(typeof ReplicatorState)[keyof typeof ReplicatorState];
|
|
513
413
|
export interface ReplicatorSummary {
|
|
514
414
|
CreationTime?: Date | undefined;
|
|
515
415
|
CurrentVersion?: string | undefined;
|
|
@@ -521,6 +421,19 @@ export interface ReplicatorSummary {
|
|
|
521
421
|
ReplicatorResourceArn?: string | undefined;
|
|
522
422
|
ReplicatorState?: ReplicatorState | undefined;
|
|
523
423
|
}
|
|
424
|
+
export interface TopicInfo {
|
|
425
|
+
TopicArn?: string | undefined;
|
|
426
|
+
TopicName?: string | undefined;
|
|
427
|
+
ReplicationFactor?: number | undefined;
|
|
428
|
+
PartitionCount?: number | undefined;
|
|
429
|
+
OutOfSyncReplicaCount?: number | undefined;
|
|
430
|
+
}
|
|
431
|
+
export interface TopicPartitionInfo {
|
|
432
|
+
Partition?: number | undefined;
|
|
433
|
+
Leader?: number | undefined;
|
|
434
|
+
Replicas?: number[] | undefined;
|
|
435
|
+
Isr?: number[] | undefined;
|
|
436
|
+
}
|
|
524
437
|
export interface UnprocessedScramSecret {
|
|
525
438
|
ErrorCode?: string | undefined;
|
|
526
439
|
ErrorMessage?: string | undefined;
|
|
@@ -534,15 +447,6 @@ export interface VpcConnection {
|
|
|
534
447
|
VpcId?: string | undefined;
|
|
535
448
|
State?: VpcConnectionState | undefined;
|
|
536
449
|
}
|
|
537
|
-
export declare class BadRequestException extends __BaseException {
|
|
538
|
-
readonly name: "BadRequestException";
|
|
539
|
-
readonly $fault: "client";
|
|
540
|
-
InvalidParameter?: string | undefined;
|
|
541
|
-
Message?: string | undefined;
|
|
542
|
-
constructor(
|
|
543
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
544
|
-
);
|
|
545
|
-
}
|
|
546
450
|
export interface BatchAssociateScramSecretRequest {
|
|
547
451
|
ClusterArn: string | undefined;
|
|
548
452
|
SecretArnList: string[] | undefined;
|
|
@@ -551,56 +455,6 @@ export interface BatchAssociateScramSecretResponse {
|
|
|
551
455
|
ClusterArn?: string | undefined;
|
|
552
456
|
UnprocessedScramSecrets?: UnprocessedScramSecret[] | undefined;
|
|
553
457
|
}
|
|
554
|
-
export declare class ForbiddenException extends __BaseException {
|
|
555
|
-
readonly name: "ForbiddenException";
|
|
556
|
-
readonly $fault: "client";
|
|
557
|
-
InvalidParameter?: string | undefined;
|
|
558
|
-
Message?: string | undefined;
|
|
559
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
560
|
-
}
|
|
561
|
-
export declare class InternalServerErrorException extends __BaseException {
|
|
562
|
-
readonly name: "InternalServerErrorException";
|
|
563
|
-
readonly $fault: "server";
|
|
564
|
-
InvalidParameter?: string | undefined;
|
|
565
|
-
Message?: string | undefined;
|
|
566
|
-
constructor(
|
|
567
|
-
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
568
|
-
);
|
|
569
|
-
}
|
|
570
|
-
export declare class NotFoundException extends __BaseException {
|
|
571
|
-
readonly name: "NotFoundException";
|
|
572
|
-
readonly $fault: "client";
|
|
573
|
-
InvalidParameter?: string | undefined;
|
|
574
|
-
Message?: string | undefined;
|
|
575
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
576
|
-
}
|
|
577
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
578
|
-
readonly name: "ServiceUnavailableException";
|
|
579
|
-
readonly $fault: "server";
|
|
580
|
-
InvalidParameter?: string | undefined;
|
|
581
|
-
Message?: string | undefined;
|
|
582
|
-
constructor(
|
|
583
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
584
|
-
);
|
|
585
|
-
}
|
|
586
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
587
|
-
readonly name: "TooManyRequestsException";
|
|
588
|
-
readonly $fault: "client";
|
|
589
|
-
InvalidParameter?: string | undefined;
|
|
590
|
-
Message?: string | undefined;
|
|
591
|
-
constructor(
|
|
592
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
593
|
-
);
|
|
594
|
-
}
|
|
595
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
596
|
-
readonly name: "UnauthorizedException";
|
|
597
|
-
readonly $fault: "client";
|
|
598
|
-
InvalidParameter?: string | undefined;
|
|
599
|
-
Message?: string | undefined;
|
|
600
|
-
constructor(
|
|
601
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
602
|
-
);
|
|
603
|
-
}
|
|
604
458
|
export interface BatchDisassociateScramSecretRequest {
|
|
605
459
|
ClusterArn: string | undefined;
|
|
606
460
|
SecretArnList: string[] | undefined;
|
|
@@ -636,13 +490,6 @@ export interface ClusterOperationV2 {
|
|
|
636
490
|
Provisioned?: ClusterOperationV2Provisioned | undefined;
|
|
637
491
|
Serverless?: ClusterOperationV2Serverless | undefined;
|
|
638
492
|
}
|
|
639
|
-
export declare class ConflictException extends __BaseException {
|
|
640
|
-
readonly name: "ConflictException";
|
|
641
|
-
readonly $fault: "client";
|
|
642
|
-
InvalidParameter?: string | undefined;
|
|
643
|
-
Message?: string | undefined;
|
|
644
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
645
|
-
}
|
|
646
493
|
export interface ConsumerGroupReplicationUpdate {
|
|
647
494
|
ConsumerGroupsToExclude: string[] | undefined;
|
|
648
495
|
ConsumerGroupsToReplicate: string[] | undefined;
|
|
@@ -845,6 +692,28 @@ export interface DescribeReplicatorResponse {
|
|
|
845
692
|
StateInfo?: ReplicationStateInfo | undefined;
|
|
846
693
|
Tags?: Record<string, string> | undefined;
|
|
847
694
|
}
|
|
695
|
+
export interface DescribeTopicRequest {
|
|
696
|
+
ClusterArn: string | undefined;
|
|
697
|
+
TopicName: string | undefined;
|
|
698
|
+
}
|
|
699
|
+
export interface DescribeTopicResponse {
|
|
700
|
+
TopicArn?: string | undefined;
|
|
701
|
+
TopicName?: string | undefined;
|
|
702
|
+
ReplicationFactor?: number | undefined;
|
|
703
|
+
PartitionCount?: number | undefined;
|
|
704
|
+
Configs?: string | undefined;
|
|
705
|
+
Status?: TopicState | undefined;
|
|
706
|
+
}
|
|
707
|
+
export interface DescribeTopicPartitionsRequest {
|
|
708
|
+
ClusterArn: string | undefined;
|
|
709
|
+
TopicName: string | undefined;
|
|
710
|
+
MaxResults?: number | undefined;
|
|
711
|
+
NextToken?: string | undefined;
|
|
712
|
+
}
|
|
713
|
+
export interface DescribeTopicPartitionsResponse {
|
|
714
|
+
Partitions?: TopicPartitionInfo[] | undefined;
|
|
715
|
+
NextToken?: string | undefined;
|
|
716
|
+
}
|
|
848
717
|
export interface DescribeVpcConnectionRequest {
|
|
849
718
|
Arn: string | undefined;
|
|
850
719
|
}
|
|
@@ -991,6 +860,16 @@ export interface ListTagsForResourceRequest {
|
|
|
991
860
|
export interface ListTagsForResourceResponse {
|
|
992
861
|
Tags?: Record<string, string> | undefined;
|
|
993
862
|
}
|
|
863
|
+
export interface ListTopicsRequest {
|
|
864
|
+
ClusterArn: string | undefined;
|
|
865
|
+
MaxResults?: number | undefined;
|
|
866
|
+
NextToken?: string | undefined;
|
|
867
|
+
TopicNameFilter?: string | undefined;
|
|
868
|
+
}
|
|
869
|
+
export interface ListTopicsResponse {
|
|
870
|
+
Topics?: TopicInfo[] | undefined;
|
|
871
|
+
NextToken?: string | undefined;
|
|
872
|
+
}
|
|
994
873
|
export interface ListVpcConnectionsRequest {
|
|
995
874
|
MaxResults?: number | undefined;
|
|
996
875
|
NextToken?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeTopicPartitionsCommandInput,
|
|
4
|
+
DescribeTopicPartitionsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeTopicPartitionsCommand";
|
|
6
|
+
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateDescribeTopicPartitions: (
|
|
8
|
+
config: KafkaPaginationConfiguration,
|
|
9
|
+
input: DescribeTopicPartitionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeTopicPartitionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTopicsCommandInput,
|
|
4
|
+
ListTopicsCommandOutput,
|
|
5
|
+
} from "../commands/ListTopicsCommand";
|
|
6
|
+
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTopics: (
|
|
8
|
+
config: KafkaPaginationConfiguration,
|
|
9
|
+
input: ListTopicsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTopicsCommandOutput>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./DescribeTopicPartitionsPaginator";
|
|
1
2
|
export * from "./Interfaces";
|
|
2
3
|
export * from "./ListClientVpcConnectionsPaginator";
|
|
3
4
|
export * from "./ListClusterOperationsPaginator";
|
|
@@ -10,4 +11,5 @@ export * from "./ListKafkaVersionsPaginator";
|
|
|
10
11
|
export * from "./ListNodesPaginator";
|
|
11
12
|
export * from "./ListReplicatorsPaginator";
|
|
12
13
|
export * from "./ListScramSecretsPaginator";
|
|
14
|
+
export * from "./ListTopicsPaginator";
|
|
13
15
|
export * from "./ListVpcConnectionsPaginator";
|
|
@@ -71,6 +71,10 @@ export declare var DescribeConfigurationRevisionRequest: StaticStructureSchema;
|
|
|
71
71
|
export declare var DescribeConfigurationRevisionResponse: StaticStructureSchema;
|
|
72
72
|
export declare var DescribeReplicatorRequest: StaticStructureSchema;
|
|
73
73
|
export declare var DescribeReplicatorResponse: StaticStructureSchema;
|
|
74
|
+
export declare var DescribeTopicPartitionsRequest: StaticStructureSchema;
|
|
75
|
+
export declare var DescribeTopicPartitionsResponse: StaticStructureSchema;
|
|
76
|
+
export declare var DescribeTopicRequest: StaticStructureSchema;
|
|
77
|
+
export declare var DescribeTopicResponse: StaticStructureSchema;
|
|
74
78
|
export declare var DescribeVpcConnectionRequest: StaticStructureSchema;
|
|
75
79
|
export declare var DescribeVpcConnectionResponse: StaticStructureSchema;
|
|
76
80
|
export declare var EBSStorageInfo: StaticStructureSchema;
|
|
@@ -119,6 +123,8 @@ export declare var ListScramSecretsRequest: StaticStructureSchema;
|
|
|
119
123
|
export declare var ListScramSecretsResponse: StaticStructureSchema;
|
|
120
124
|
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
121
125
|
export declare var ListTagsForResourceResponse: StaticStructureSchema;
|
|
126
|
+
export declare var ListTopicsRequest: StaticStructureSchema;
|
|
127
|
+
export declare var ListTopicsResponse: StaticStructureSchema;
|
|
122
128
|
export declare var ListVpcConnectionsRequest: StaticStructureSchema;
|
|
123
129
|
export declare var ListVpcConnectionsResponse: StaticStructureSchema;
|
|
124
130
|
export declare var LoggingInfo: StaticStructureSchema;
|
|
@@ -162,6 +168,8 @@ export declare var StorageInfo: StaticStructureSchema;
|
|
|
162
168
|
export declare var TagResourceRequest: StaticStructureSchema;
|
|
163
169
|
export declare var Tls: StaticStructureSchema;
|
|
164
170
|
export declare var TooManyRequestsException: StaticErrorSchema;
|
|
171
|
+
export declare var TopicInfo: StaticStructureSchema;
|
|
172
|
+
export declare var TopicPartitionInfo: StaticStructureSchema;
|
|
165
173
|
export declare var TopicReplication: StaticStructureSchema;
|
|
166
174
|
export declare var TopicReplicationUpdate: StaticStructureSchema;
|
|
167
175
|
export declare var Unauthenticated: StaticStructureSchema;
|
|
@@ -207,6 +215,7 @@ export declare var ZookeeperNodeInfo: StaticStructureSchema;
|
|
|
207
215
|
export declare var __Unit: "unit";
|
|
208
216
|
export declare var KafkaServiceException: StaticErrorSchema;
|
|
209
217
|
export declare var __listOf__double: number;
|
|
218
|
+
export declare var __listOf__integer: number;
|
|
210
219
|
export declare var __listOf__string: number;
|
|
211
220
|
export declare var __listOf__stringMax249: number;
|
|
212
221
|
export declare var __listOf__stringMax256: number;
|
|
@@ -229,6 +238,8 @@ export declare var __listOfReplicationInfo: StaticListSchema;
|
|
|
229
238
|
export declare var __listOfReplicationInfoDescription: StaticListSchema;
|
|
230
239
|
export declare var __listOfReplicationInfoSummary: StaticListSchema;
|
|
231
240
|
export declare var __listOfReplicatorSummary: StaticListSchema;
|
|
241
|
+
export declare var __listOfTopicInfo: StaticListSchema;
|
|
242
|
+
export declare var __listOfTopicPartitionInfo: StaticListSchema;
|
|
232
243
|
export declare var __listOfUnprocessedScramSecret: StaticListSchema;
|
|
233
244
|
export declare var __listOfVpcConfig: StaticListSchema;
|
|
234
245
|
export declare var __listOfVpcConnection: StaticListSchema;
|
|
@@ -252,6 +263,8 @@ export declare var DescribeClusterV2: StaticOperationSchema;
|
|
|
252
263
|
export declare var DescribeConfiguration: StaticOperationSchema;
|
|
253
264
|
export declare var DescribeConfigurationRevision: StaticOperationSchema;
|
|
254
265
|
export declare var DescribeReplicator: StaticOperationSchema;
|
|
266
|
+
export declare var DescribeTopic: StaticOperationSchema;
|
|
267
|
+
export declare var DescribeTopicPartitions: StaticOperationSchema;
|
|
255
268
|
export declare var DescribeVpcConnection: StaticOperationSchema;
|
|
256
269
|
export declare var GetBootstrapBrokers: StaticOperationSchema;
|
|
257
270
|
export declare var GetClusterPolicy: StaticOperationSchema;
|
|
@@ -268,6 +281,7 @@ export declare var ListNodes: StaticOperationSchema;
|
|
|
268
281
|
export declare var ListReplicators: StaticOperationSchema;
|
|
269
282
|
export declare var ListScramSecrets: StaticOperationSchema;
|
|
270
283
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
284
|
+
export declare var ListTopics: StaticOperationSchema;
|
|
271
285
|
export declare var ListVpcConnections: StaticOperationSchema;
|
|
272
286
|
export declare var PutClusterPolicy: StaticOperationSchema;
|
|
273
287
|
export declare var RebootBroker: StaticOperationSchema;
|
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.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kafka",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|