@aws-sdk/client-kafka 3.933.0 → 3.934.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 +351 -4
- 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/models/models_0.js +6 -0
- 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 +297 -4
- 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/models/models_0.d.ts +205 -0
- 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/models/models_0.d.ts +52 -0
- 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 +5 -5
|
@@ -66,6 +66,10 @@ export declare var DescribeConfigurationRevisionRequest: StaticStructureSchema;
|
|
|
66
66
|
export declare var DescribeConfigurationRevisionResponse: StaticStructureSchema;
|
|
67
67
|
export declare var DescribeReplicatorRequest: StaticStructureSchema;
|
|
68
68
|
export declare var DescribeReplicatorResponse: StaticStructureSchema;
|
|
69
|
+
export declare var DescribeTopicPartitionsRequest: StaticStructureSchema;
|
|
70
|
+
export declare var DescribeTopicPartitionsResponse: StaticStructureSchema;
|
|
71
|
+
export declare var DescribeTopicRequest: StaticStructureSchema;
|
|
72
|
+
export declare var DescribeTopicResponse: StaticStructureSchema;
|
|
69
73
|
export declare var DescribeVpcConnectionRequest: StaticStructureSchema;
|
|
70
74
|
export declare var DescribeVpcConnectionResponse: StaticStructureSchema;
|
|
71
75
|
export declare var EBSStorageInfo: StaticStructureSchema;
|
|
@@ -114,6 +118,8 @@ export declare var ListScramSecretsRequest: StaticStructureSchema;
|
|
|
114
118
|
export declare var ListScramSecretsResponse: StaticStructureSchema;
|
|
115
119
|
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
116
120
|
export declare var ListTagsForResourceResponse: StaticStructureSchema;
|
|
121
|
+
export declare var ListTopicsRequest: StaticStructureSchema;
|
|
122
|
+
export declare var ListTopicsResponse: StaticStructureSchema;
|
|
117
123
|
export declare var ListVpcConnectionsRequest: StaticStructureSchema;
|
|
118
124
|
export declare var ListVpcConnectionsResponse: StaticStructureSchema;
|
|
119
125
|
export declare var LoggingInfo: StaticStructureSchema;
|
|
@@ -157,6 +163,8 @@ export declare var StorageInfo: StaticStructureSchema;
|
|
|
157
163
|
export declare var TagResourceRequest: StaticStructureSchema;
|
|
158
164
|
export declare var Tls: StaticStructureSchema;
|
|
159
165
|
export declare var TooManyRequestsException: StaticErrorSchema;
|
|
166
|
+
export declare var TopicInfo: StaticStructureSchema;
|
|
167
|
+
export declare var TopicPartitionInfo: StaticStructureSchema;
|
|
160
168
|
export declare var TopicReplication: StaticStructureSchema;
|
|
161
169
|
export declare var TopicReplicationUpdate: StaticStructureSchema;
|
|
162
170
|
export declare var Unauthenticated: StaticStructureSchema;
|
|
@@ -202,6 +210,7 @@ export declare var ZookeeperNodeInfo: StaticStructureSchema;
|
|
|
202
210
|
export declare var __Unit: "unit";
|
|
203
211
|
export declare var KafkaServiceException: StaticErrorSchema;
|
|
204
212
|
export declare var __listOf__double: number;
|
|
213
|
+
export declare var __listOf__integer: number;
|
|
205
214
|
export declare var __listOf__string: number;
|
|
206
215
|
export declare var __listOf__stringMax249: number;
|
|
207
216
|
export declare var __listOf__stringMax256: number;
|
|
@@ -224,6 +233,8 @@ export declare var __listOfReplicationInfo: StaticListSchema;
|
|
|
224
233
|
export declare var __listOfReplicationInfoDescription: StaticListSchema;
|
|
225
234
|
export declare var __listOfReplicationInfoSummary: StaticListSchema;
|
|
226
235
|
export declare var __listOfReplicatorSummary: StaticListSchema;
|
|
236
|
+
export declare var __listOfTopicInfo: StaticListSchema;
|
|
237
|
+
export declare var __listOfTopicPartitionInfo: StaticListSchema;
|
|
227
238
|
export declare var __listOfUnprocessedScramSecret: StaticListSchema;
|
|
228
239
|
export declare var __listOfVpcConfig: StaticListSchema;
|
|
229
240
|
export declare var __listOfVpcConnection: StaticListSchema;
|
|
@@ -247,6 +258,8 @@ export declare var DescribeClusterV2: StaticOperationSchema;
|
|
|
247
258
|
export declare var DescribeConfiguration: StaticOperationSchema;
|
|
248
259
|
export declare var DescribeConfigurationRevision: StaticOperationSchema;
|
|
249
260
|
export declare var DescribeReplicator: StaticOperationSchema;
|
|
261
|
+
export declare var DescribeTopic: StaticOperationSchema;
|
|
262
|
+
export declare var DescribeTopicPartitions: StaticOperationSchema;
|
|
250
263
|
export declare var DescribeVpcConnection: StaticOperationSchema;
|
|
251
264
|
export declare var GetBootstrapBrokers: StaticOperationSchema;
|
|
252
265
|
export declare var GetClusterPolicy: StaticOperationSchema;
|
|
@@ -263,6 +276,7 @@ export declare var ListNodes: StaticOperationSchema;
|
|
|
263
276
|
export declare var ListReplicators: StaticOperationSchema;
|
|
264
277
|
export declare var ListScramSecrets: StaticOperationSchema;
|
|
265
278
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
279
|
+
export declare var ListTopics: StaticOperationSchema;
|
|
266
280
|
export declare var ListVpcConnections: StaticOperationSchema;
|
|
267
281
|
export declare var PutClusterPolicy: StaticOperationSchema;
|
|
268
282
|
export declare var RebootBroker: StaticOperationSchema;
|
|
@@ -75,6 +75,14 @@ import {
|
|
|
75
75
|
DescribeReplicatorCommandInput,
|
|
76
76
|
DescribeReplicatorCommandOutput,
|
|
77
77
|
} from "./commands/DescribeReplicatorCommand";
|
|
78
|
+
import {
|
|
79
|
+
DescribeTopicCommandInput,
|
|
80
|
+
DescribeTopicCommandOutput,
|
|
81
|
+
} from "./commands/DescribeTopicCommand";
|
|
82
|
+
import {
|
|
83
|
+
DescribeTopicPartitionsCommandInput,
|
|
84
|
+
DescribeTopicPartitionsCommandOutput,
|
|
85
|
+
} from "./commands/DescribeTopicPartitionsCommand";
|
|
78
86
|
import {
|
|
79
87
|
DescribeVpcConnectionCommandInput,
|
|
80
88
|
DescribeVpcConnectionCommandOutput,
|
|
@@ -139,6 +147,10 @@ import {
|
|
|
139
147
|
ListTagsForResourceCommandInput,
|
|
140
148
|
ListTagsForResourceCommandOutput,
|
|
141
149
|
} from "./commands/ListTagsForResourceCommand";
|
|
150
|
+
import {
|
|
151
|
+
ListTopicsCommandInput,
|
|
152
|
+
ListTopicsCommandOutput,
|
|
153
|
+
} from "./commands/ListTopicsCommand";
|
|
142
154
|
import {
|
|
143
155
|
ListVpcConnectionsCommandInput,
|
|
144
156
|
ListVpcConnectionsCommandOutput,
|
|
@@ -460,6 +472,32 @@ export interface Kafka {
|
|
|
460
472
|
options: __HttpHandlerOptions,
|
|
461
473
|
cb: (err: any, data?: DescribeReplicatorCommandOutput) => void
|
|
462
474
|
): void;
|
|
475
|
+
describeTopic(
|
|
476
|
+
args: DescribeTopicCommandInput,
|
|
477
|
+
options?: __HttpHandlerOptions
|
|
478
|
+
): Promise<DescribeTopicCommandOutput>;
|
|
479
|
+
describeTopic(
|
|
480
|
+
args: DescribeTopicCommandInput,
|
|
481
|
+
cb: (err: any, data?: DescribeTopicCommandOutput) => void
|
|
482
|
+
): void;
|
|
483
|
+
describeTopic(
|
|
484
|
+
args: DescribeTopicCommandInput,
|
|
485
|
+
options: __HttpHandlerOptions,
|
|
486
|
+
cb: (err: any, data?: DescribeTopicCommandOutput) => void
|
|
487
|
+
): void;
|
|
488
|
+
describeTopicPartitions(
|
|
489
|
+
args: DescribeTopicPartitionsCommandInput,
|
|
490
|
+
options?: __HttpHandlerOptions
|
|
491
|
+
): Promise<DescribeTopicPartitionsCommandOutput>;
|
|
492
|
+
describeTopicPartitions(
|
|
493
|
+
args: DescribeTopicPartitionsCommandInput,
|
|
494
|
+
cb: (err: any, data?: DescribeTopicPartitionsCommandOutput) => void
|
|
495
|
+
): void;
|
|
496
|
+
describeTopicPartitions(
|
|
497
|
+
args: DescribeTopicPartitionsCommandInput,
|
|
498
|
+
options: __HttpHandlerOptions,
|
|
499
|
+
cb: (err: any, data?: DescribeTopicPartitionsCommandOutput) => void
|
|
500
|
+
): void;
|
|
463
501
|
describeVpcConnection(
|
|
464
502
|
args: DescribeVpcConnectionCommandInput,
|
|
465
503
|
options?: __HttpHandlerOptions
|
|
@@ -674,6 +712,19 @@ export interface Kafka {
|
|
|
674
712
|
options: __HttpHandlerOptions,
|
|
675
713
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
676
714
|
): void;
|
|
715
|
+
listTopics(
|
|
716
|
+
args: ListTopicsCommandInput,
|
|
717
|
+
options?: __HttpHandlerOptions
|
|
718
|
+
): Promise<ListTopicsCommandOutput>;
|
|
719
|
+
listTopics(
|
|
720
|
+
args: ListTopicsCommandInput,
|
|
721
|
+
cb: (err: any, data?: ListTopicsCommandOutput) => void
|
|
722
|
+
): void;
|
|
723
|
+
listTopics(
|
|
724
|
+
args: ListTopicsCommandInput,
|
|
725
|
+
options: __HttpHandlerOptions,
|
|
726
|
+
cb: (err: any, data?: ListTopicsCommandOutput) => void
|
|
727
|
+
): void;
|
|
677
728
|
listVpcConnections(): Promise<ListVpcConnectionsCommandOutput>;
|
|
678
729
|
listVpcConnections(
|
|
679
730
|
args: ListVpcConnectionsCommandInput,
|
|
@@ -124,6 +124,14 @@ import {
|
|
|
124
124
|
DescribeReplicatorCommandInput,
|
|
125
125
|
DescribeReplicatorCommandOutput,
|
|
126
126
|
} from "./commands/DescribeReplicatorCommand";
|
|
127
|
+
import {
|
|
128
|
+
DescribeTopicCommandInput,
|
|
129
|
+
DescribeTopicCommandOutput,
|
|
130
|
+
} from "./commands/DescribeTopicCommand";
|
|
131
|
+
import {
|
|
132
|
+
DescribeTopicPartitionsCommandInput,
|
|
133
|
+
DescribeTopicPartitionsCommandOutput,
|
|
134
|
+
} from "./commands/DescribeTopicPartitionsCommand";
|
|
127
135
|
import {
|
|
128
136
|
DescribeVpcConnectionCommandInput,
|
|
129
137
|
DescribeVpcConnectionCommandOutput,
|
|
@@ -188,6 +196,10 @@ import {
|
|
|
188
196
|
ListTagsForResourceCommandInput,
|
|
189
197
|
ListTagsForResourceCommandOutput,
|
|
190
198
|
} from "./commands/ListTagsForResourceCommand";
|
|
199
|
+
import {
|
|
200
|
+
ListTopicsCommandInput,
|
|
201
|
+
ListTopicsCommandOutput,
|
|
202
|
+
} from "./commands/ListTopicsCommand";
|
|
191
203
|
import {
|
|
192
204
|
ListVpcConnectionsCommandInput,
|
|
193
205
|
ListVpcConnectionsCommandOutput,
|
|
@@ -287,6 +299,8 @@ export type ServiceInputTypes =
|
|
|
287
299
|
| DescribeConfigurationCommandInput
|
|
288
300
|
| DescribeConfigurationRevisionCommandInput
|
|
289
301
|
| DescribeReplicatorCommandInput
|
|
302
|
+
| DescribeTopicCommandInput
|
|
303
|
+
| DescribeTopicPartitionsCommandInput
|
|
290
304
|
| DescribeVpcConnectionCommandInput
|
|
291
305
|
| GetBootstrapBrokersCommandInput
|
|
292
306
|
| GetClusterPolicyCommandInput
|
|
@@ -303,6 +317,7 @@ export type ServiceInputTypes =
|
|
|
303
317
|
| ListReplicatorsCommandInput
|
|
304
318
|
| ListScramSecretsCommandInput
|
|
305
319
|
| ListTagsForResourceCommandInput
|
|
320
|
+
| ListTopicsCommandInput
|
|
306
321
|
| ListVpcConnectionsCommandInput
|
|
307
322
|
| PutClusterPolicyCommandInput
|
|
308
323
|
| RebootBrokerCommandInput
|
|
@@ -341,6 +356,8 @@ export type ServiceOutputTypes =
|
|
|
341
356
|
| DescribeConfigurationCommandOutput
|
|
342
357
|
| DescribeConfigurationRevisionCommandOutput
|
|
343
358
|
| DescribeReplicatorCommandOutput
|
|
359
|
+
| DescribeTopicCommandOutput
|
|
360
|
+
| DescribeTopicPartitionsCommandOutput
|
|
344
361
|
| DescribeVpcConnectionCommandOutput
|
|
345
362
|
| GetBootstrapBrokersCommandOutput
|
|
346
363
|
| GetClusterPolicyCommandOutput
|
|
@@ -357,6 +374,7 @@ export type ServiceOutputTypes =
|
|
|
357
374
|
| ListReplicatorsCommandOutput
|
|
358
375
|
| ListScramSecretsCommandOutput
|
|
359
376
|
| ListTagsForResourceCommandOutput
|
|
377
|
+
| ListTopicsCommandOutput
|
|
360
378
|
| ListVpcConnectionsCommandOutput
|
|
361
379
|
| PutClusterPolicyCommandOutput
|
|
362
380
|
| RebootBrokerCommandOutput
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KafkaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KafkaClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeTopicRequest,
|
|
10
|
+
DescribeTopicResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeTopicCommandInput extends DescribeTopicRequest {}
|
|
15
|
+
export interface DescribeTopicCommandOutput
|
|
16
|
+
extends DescribeTopicResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DescribeTopicCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DescribeTopicCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DescribeTopicCommandInput,
|
|
23
|
+
DescribeTopicCommandOutput,
|
|
24
|
+
KafkaClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: DescribeTopicCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeTopicCommandInput,
|
|
32
|
+
DescribeTopicCommandOutput,
|
|
33
|
+
KafkaClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DescribeTopicCommand extends DescribeTopicCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: DescribeTopicRequest;
|
|
43
|
+
output: DescribeTopicResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: DescribeTopicCommandInput;
|
|
47
|
+
output: DescribeTopicCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KafkaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KafkaClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeTopicPartitionsRequest,
|
|
10
|
+
DescribeTopicPartitionsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeTopicPartitionsCommandInput
|
|
15
|
+
extends DescribeTopicPartitionsRequest {}
|
|
16
|
+
export interface DescribeTopicPartitionsCommandOutput
|
|
17
|
+
extends DescribeTopicPartitionsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeTopicPartitionsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeTopicPartitionsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeTopicPartitionsCommandInput,
|
|
24
|
+
DescribeTopicPartitionsCommandOutput,
|
|
25
|
+
KafkaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DescribeTopicPartitionsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeTopicPartitionsCommandInput,
|
|
33
|
+
DescribeTopicPartitionsCommandOutput,
|
|
34
|
+
KafkaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeTopicPartitionsCommand extends DescribeTopicPartitionsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeTopicPartitionsRequest;
|
|
44
|
+
output: DescribeTopicPartitionsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeTopicPartitionsCommandInput;
|
|
48
|
+
output: DescribeTopicPartitionsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KafkaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KafkaClient";
|
|
8
|
+
import { ListTopicsRequest, ListTopicsResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListTopicsCommandInput extends ListTopicsRequest {}
|
|
12
|
+
export interface ListTopicsCommandOutput
|
|
13
|
+
extends ListTopicsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListTopicsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListTopicsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListTopicsCommandInput,
|
|
20
|
+
ListTopicsCommandOutput,
|
|
21
|
+
KafkaClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: ListTopicsCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListTopicsCommandInput,
|
|
29
|
+
ListTopicsCommandOutput,
|
|
30
|
+
KafkaClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListTopicsCommand extends ListTopicsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListTopicsRequest;
|
|
40
|
+
output: ListTopicsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListTopicsCommandInput;
|
|
44
|
+
output: ListTopicsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -17,6 +17,8 @@ export * from "./DescribeClusterV2Command";
|
|
|
17
17
|
export * from "./DescribeConfigurationCommand";
|
|
18
18
|
export * from "./DescribeConfigurationRevisionCommand";
|
|
19
19
|
export * from "./DescribeReplicatorCommand";
|
|
20
|
+
export * from "./DescribeTopicCommand";
|
|
21
|
+
export * from "./DescribeTopicPartitionsCommand";
|
|
20
22
|
export * from "./DescribeVpcConnectionCommand";
|
|
21
23
|
export * from "./GetBootstrapBrokersCommand";
|
|
22
24
|
export * from "./GetClusterPolicyCommand";
|
|
@@ -33,6 +35,7 @@ export * from "./ListNodesCommand";
|
|
|
33
35
|
export * from "./ListReplicatorsCommand";
|
|
34
36
|
export * from "./ListScramSecretsCommand";
|
|
35
37
|
export * from "./ListTagsForResourceCommand";
|
|
38
|
+
export * from "./ListTopicsCommand";
|
|
36
39
|
export * from "./ListVpcConnectionsCommand";
|
|
37
40
|
export * from "./PutClusterPolicyCommand";
|
|
38
41
|
export * from "./RebootBrokerCommand";
|
|
@@ -521,6 +521,19 @@ export interface ReplicatorSummary {
|
|
|
521
521
|
ReplicatorResourceArn?: string | undefined;
|
|
522
522
|
ReplicatorState?: ReplicatorState | undefined;
|
|
523
523
|
}
|
|
524
|
+
export interface TopicInfo {
|
|
525
|
+
TopicArn?: string | undefined;
|
|
526
|
+
TopicName?: string | undefined;
|
|
527
|
+
ReplicationFactor?: number | undefined;
|
|
528
|
+
PartitionCount?: number | undefined;
|
|
529
|
+
OutOfSyncReplicaCount?: number | undefined;
|
|
530
|
+
}
|
|
531
|
+
export interface TopicPartitionInfo {
|
|
532
|
+
Partition?: number | undefined;
|
|
533
|
+
Leader?: number | undefined;
|
|
534
|
+
Replicas?: number[] | undefined;
|
|
535
|
+
Isr?: number[] | undefined;
|
|
536
|
+
}
|
|
524
537
|
export interface UnprocessedScramSecret {
|
|
525
538
|
ErrorCode?: string | undefined;
|
|
526
539
|
ErrorMessage?: string | undefined;
|
|
@@ -845,6 +858,35 @@ export interface DescribeReplicatorResponse {
|
|
|
845
858
|
StateInfo?: ReplicationStateInfo | undefined;
|
|
846
859
|
Tags?: Record<string, string> | undefined;
|
|
847
860
|
}
|
|
861
|
+
export interface DescribeTopicRequest {
|
|
862
|
+
ClusterArn: string | undefined;
|
|
863
|
+
TopicName: string | undefined;
|
|
864
|
+
}
|
|
865
|
+
export declare const TopicState: {
|
|
866
|
+
readonly ACTIVE: "ACTIVE";
|
|
867
|
+
readonly CREATING: "CREATING";
|
|
868
|
+
readonly DELETING: "DELETING";
|
|
869
|
+
readonly UPDATING: "UPDATING";
|
|
870
|
+
};
|
|
871
|
+
export type TopicState = (typeof TopicState)[keyof typeof TopicState];
|
|
872
|
+
export interface DescribeTopicResponse {
|
|
873
|
+
TopicArn?: string | undefined;
|
|
874
|
+
TopicName?: string | undefined;
|
|
875
|
+
ReplicationFactor?: number | undefined;
|
|
876
|
+
PartitionCount?: number | undefined;
|
|
877
|
+
Configs?: string | undefined;
|
|
878
|
+
Status?: TopicState | undefined;
|
|
879
|
+
}
|
|
880
|
+
export interface DescribeTopicPartitionsRequest {
|
|
881
|
+
ClusterArn: string | undefined;
|
|
882
|
+
TopicName: string | undefined;
|
|
883
|
+
MaxResults?: number | undefined;
|
|
884
|
+
NextToken?: string | undefined;
|
|
885
|
+
}
|
|
886
|
+
export interface DescribeTopicPartitionsResponse {
|
|
887
|
+
Partitions?: TopicPartitionInfo[] | undefined;
|
|
888
|
+
NextToken?: string | undefined;
|
|
889
|
+
}
|
|
848
890
|
export interface DescribeVpcConnectionRequest {
|
|
849
891
|
Arn: string | undefined;
|
|
850
892
|
}
|
|
@@ -991,6 +1033,16 @@ export interface ListTagsForResourceRequest {
|
|
|
991
1033
|
export interface ListTagsForResourceResponse {
|
|
992
1034
|
Tags?: Record<string, string> | undefined;
|
|
993
1035
|
}
|
|
1036
|
+
export interface ListTopicsRequest {
|
|
1037
|
+
ClusterArn: string | undefined;
|
|
1038
|
+
MaxResults?: number | undefined;
|
|
1039
|
+
NextToken?: string | undefined;
|
|
1040
|
+
TopicNameFilter?: string | undefined;
|
|
1041
|
+
}
|
|
1042
|
+
export interface ListTopicsResponse {
|
|
1043
|
+
Topics?: TopicInfo[] | undefined;
|
|
1044
|
+
NextToken?: string | undefined;
|
|
1045
|
+
}
|
|
994
1046
|
export interface ListVpcConnectionsRequest {
|
|
995
1047
|
MaxResults?: number | undefined;
|
|
996
1048
|
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.934.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,17 +20,17 @@
|
|
|
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.934.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.934.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.934.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.934.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|