@aws-sdk/client-kafka 3.985.0 → 3.987.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 +21 -0
- package/dist-cjs/index.js +330 -6
- package/dist-es/Kafka.js +6 -0
- package/dist-es/commands/CreateTopicCommand.js +16 -0
- package/dist-es/commands/DeleteTopicCommand.js +16 -0
- package/dist-es/commands/UpdateTopicCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/errors.js +144 -0
- package/dist-es/schemas/schemas_0.js +118 -7
- package/dist-types/Kafka.d.ts +21 -0
- package/dist-types/KafkaClient.d.ts +5 -2
- package/dist-types/commands/CreateTopicCommand.d.ts +128 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +113 -0
- package/dist-types/commands/UpdateTopicCommand.d.ts +121 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/errors.d.ts +198 -0
- package/dist-types/models/models_0.d.ts +130 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/Kafka.d.ts +51 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/errors.d.ts +90 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +2 -2
|
@@ -2286,6 +2286,56 @@ export interface CreateReplicatorResponse {
|
|
|
2286
2286
|
*/
|
|
2287
2287
|
ReplicatorState?: ReplicatorState | undefined;
|
|
2288
2288
|
}
|
|
2289
|
+
/**
|
|
2290
|
+
* @public
|
|
2291
|
+
*/
|
|
2292
|
+
export interface CreateTopicRequest {
|
|
2293
|
+
/**
|
|
2294
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
|
|
2295
|
+
* @public
|
|
2296
|
+
*/
|
|
2297
|
+
ClusterArn: string | undefined;
|
|
2298
|
+
/**
|
|
2299
|
+
* <p>The name of the topic to create.</p>
|
|
2300
|
+
* @public
|
|
2301
|
+
*/
|
|
2302
|
+
TopicName: string | undefined;
|
|
2303
|
+
/**
|
|
2304
|
+
* <p>The number of partitions for the topic.</p>
|
|
2305
|
+
* @public
|
|
2306
|
+
*/
|
|
2307
|
+
PartitionCount: number | undefined;
|
|
2308
|
+
/**
|
|
2309
|
+
* <p>The replication factor for the topic.</p>
|
|
2310
|
+
* @public
|
|
2311
|
+
*/
|
|
2312
|
+
ReplicationFactor: number | undefined;
|
|
2313
|
+
/**
|
|
2314
|
+
* <p>Topic configurations encoded as a Base64 string.</p>
|
|
2315
|
+
* @public
|
|
2316
|
+
*/
|
|
2317
|
+
Configs?: string | undefined;
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* @public
|
|
2321
|
+
*/
|
|
2322
|
+
export interface CreateTopicResponse {
|
|
2323
|
+
/**
|
|
2324
|
+
* <p>The Amazon Resource Name (ARN) of the topic.</p>
|
|
2325
|
+
* @public
|
|
2326
|
+
*/
|
|
2327
|
+
TopicArn?: string | undefined;
|
|
2328
|
+
/**
|
|
2329
|
+
* <p>The name of the topic that was created.</p>
|
|
2330
|
+
* @public
|
|
2331
|
+
*/
|
|
2332
|
+
TopicName?: string | undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* <p>The status of the topic creation.</p>
|
|
2335
|
+
* @public
|
|
2336
|
+
*/
|
|
2337
|
+
Status?: TopicState | undefined;
|
|
2338
|
+
}
|
|
2289
2339
|
/**
|
|
2290
2340
|
* @public
|
|
2291
2341
|
*/
|
|
@@ -2466,6 +2516,41 @@ export interface DeleteReplicatorResponse {
|
|
|
2466
2516
|
*/
|
|
2467
2517
|
ReplicatorState?: ReplicatorState | undefined;
|
|
2468
2518
|
}
|
|
2519
|
+
/**
|
|
2520
|
+
* @public
|
|
2521
|
+
*/
|
|
2522
|
+
export interface DeleteTopicRequest {
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
|
|
2525
|
+
* @public
|
|
2526
|
+
*/
|
|
2527
|
+
ClusterArn: string | undefined;
|
|
2528
|
+
/**
|
|
2529
|
+
* <p>The name of the topic to delete.</p>
|
|
2530
|
+
* @public
|
|
2531
|
+
*/
|
|
2532
|
+
TopicName: string | undefined;
|
|
2533
|
+
}
|
|
2534
|
+
/**
|
|
2535
|
+
* @public
|
|
2536
|
+
*/
|
|
2537
|
+
export interface DeleteTopicResponse {
|
|
2538
|
+
/**
|
|
2539
|
+
* <p>The Amazon Resource Name (ARN) of the topic.</p>
|
|
2540
|
+
* @public
|
|
2541
|
+
*/
|
|
2542
|
+
TopicArn?: string | undefined;
|
|
2543
|
+
/**
|
|
2544
|
+
* <p>The name of the topic that was deleted.</p>
|
|
2545
|
+
* @public
|
|
2546
|
+
*/
|
|
2547
|
+
TopicName?: string | undefined;
|
|
2548
|
+
/**
|
|
2549
|
+
* <p>The status of the topic deletion.</p>
|
|
2550
|
+
* @public
|
|
2551
|
+
*/
|
|
2552
|
+
Status?: TopicState | undefined;
|
|
2553
|
+
}
|
|
2469
2554
|
/**
|
|
2470
2555
|
* @public
|
|
2471
2556
|
*/
|
|
@@ -4130,3 +4215,48 @@ export interface UpdateStorageResponse {
|
|
|
4130
4215
|
*/
|
|
4131
4216
|
ClusterOperationArn?: string | undefined;
|
|
4132
4217
|
}
|
|
4218
|
+
/**
|
|
4219
|
+
* @public
|
|
4220
|
+
*/
|
|
4221
|
+
export interface UpdateTopicRequest {
|
|
4222
|
+
/**
|
|
4223
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
|
|
4224
|
+
* @public
|
|
4225
|
+
*/
|
|
4226
|
+
ClusterArn: string | undefined;
|
|
4227
|
+
/**
|
|
4228
|
+
* <p>The name of the topic to update configuration for.</p>
|
|
4229
|
+
* @public
|
|
4230
|
+
*/
|
|
4231
|
+
TopicName: string | undefined;
|
|
4232
|
+
/**
|
|
4233
|
+
* <p>The new topic configurations encoded as a Base64 string.</p>
|
|
4234
|
+
* @public
|
|
4235
|
+
*/
|
|
4236
|
+
Configs?: string | undefined;
|
|
4237
|
+
/**
|
|
4238
|
+
* <p>The new total number of partitions for the topic.</p>
|
|
4239
|
+
* @public
|
|
4240
|
+
*/
|
|
4241
|
+
PartitionCount?: number | undefined;
|
|
4242
|
+
}
|
|
4243
|
+
/**
|
|
4244
|
+
* @public
|
|
4245
|
+
*/
|
|
4246
|
+
export interface UpdateTopicResponse {
|
|
4247
|
+
/**
|
|
4248
|
+
* <p>The Amazon Resource Name (ARN) of the topic.</p>
|
|
4249
|
+
* @public
|
|
4250
|
+
*/
|
|
4251
|
+
TopicArn?: string | undefined;
|
|
4252
|
+
/**
|
|
4253
|
+
* <p>The name of the topic whose configuration was updated.</p>
|
|
4254
|
+
* @public
|
|
4255
|
+
*/
|
|
4256
|
+
TopicName?: string | undefined;
|
|
4257
|
+
/**
|
|
4258
|
+
* <p>The status of the topic update.</p>
|
|
4259
|
+
* @public
|
|
4260
|
+
*/
|
|
4261
|
+
Status?: TopicState | undefined;
|
|
4262
|
+
}
|
|
@@ -15,6 +15,7 @@ export declare var ClientAuthentication$: StaticStructureSchema;
|
|
|
15
15
|
export declare var ClientVpcConnection$: StaticStructureSchema;
|
|
16
16
|
export declare var CloudWatchLogs$: StaticStructureSchema;
|
|
17
17
|
export declare var Cluster$: StaticStructureSchema;
|
|
18
|
+
export declare var ClusterConnectivityException$: StaticErrorSchema;
|
|
18
19
|
export declare var ClusterInfo$: StaticStructureSchema;
|
|
19
20
|
export declare var ClusterOperationInfo$: StaticStructureSchema;
|
|
20
21
|
export declare var ClusterOperationStep$: StaticStructureSchema;
|
|
@@ -31,6 +32,7 @@ export declare var ConflictException$: StaticErrorSchema;
|
|
|
31
32
|
export declare var ConnectivityInfo$: StaticStructureSchema;
|
|
32
33
|
export declare var ConsumerGroupReplication$: StaticStructureSchema;
|
|
33
34
|
export declare var ConsumerGroupReplicationUpdate$: StaticStructureSchema;
|
|
35
|
+
export declare var ControllerMovedException$: StaticErrorSchema;
|
|
34
36
|
export declare var ControllerNodeInfo$: StaticStructureSchema;
|
|
35
37
|
export declare var CreateClusterRequest$: StaticStructureSchema;
|
|
36
38
|
export declare var CreateClusterResponse$: StaticStructureSchema;
|
|
@@ -40,6 +42,8 @@ export declare var CreateConfigurationRequest$: StaticStructureSchema;
|
|
|
40
42
|
export declare var CreateConfigurationResponse$: StaticStructureSchema;
|
|
41
43
|
export declare var CreateReplicatorRequest$: StaticStructureSchema;
|
|
42
44
|
export declare var CreateReplicatorResponse$: StaticStructureSchema;
|
|
45
|
+
export declare var CreateTopicRequest$: StaticStructureSchema;
|
|
46
|
+
export declare var CreateTopicResponse$: StaticStructureSchema;
|
|
43
47
|
export declare var CreateVpcConnectionRequest$: StaticStructureSchema;
|
|
44
48
|
export declare var CreateVpcConnectionResponse$: StaticStructureSchema;
|
|
45
49
|
export declare var DeleteClusterPolicyRequest$: StaticStructureSchema;
|
|
@@ -50,6 +54,8 @@ export declare var DeleteConfigurationRequest$: StaticStructureSchema;
|
|
|
50
54
|
export declare var DeleteConfigurationResponse$: StaticStructureSchema;
|
|
51
55
|
export declare var DeleteReplicatorRequest$: StaticStructureSchema;
|
|
52
56
|
export declare var DeleteReplicatorResponse$: StaticStructureSchema;
|
|
57
|
+
export declare var DeleteTopicRequest$: StaticStructureSchema;
|
|
58
|
+
export declare var DeleteTopicResponse$: StaticStructureSchema;
|
|
53
59
|
export declare var DeleteVpcConnectionRequest$: StaticStructureSchema;
|
|
54
60
|
export declare var DeleteVpcConnectionResponse$: StaticStructureSchema;
|
|
55
61
|
export declare var DescribeClusterOperationRequest$: StaticStructureSchema;
|
|
@@ -85,6 +91,7 @@ export declare var GetClusterPolicyRequest$: StaticStructureSchema;
|
|
|
85
91
|
export declare var GetClusterPolicyResponse$: StaticStructureSchema;
|
|
86
92
|
export declare var GetCompatibleKafkaVersionsRequest$: StaticStructureSchema;
|
|
87
93
|
export declare var GetCompatibleKafkaVersionsResponse$: StaticStructureSchema;
|
|
94
|
+
export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
|
|
88
95
|
export declare var Iam$: StaticStructureSchema;
|
|
89
96
|
export declare var InternalServerErrorException$: StaticErrorSchema;
|
|
90
97
|
export declare var JmxExporter$: StaticStructureSchema;
|
|
@@ -93,6 +100,8 @@ export declare var KafkaCluster$: StaticStructureSchema;
|
|
|
93
100
|
export declare var KafkaClusterClientVpcConfig$: StaticStructureSchema;
|
|
94
101
|
export declare var KafkaClusterDescription$: StaticStructureSchema;
|
|
95
102
|
export declare var KafkaClusterSummary$: StaticStructureSchema;
|
|
103
|
+
export declare var KafkaRequestException$: StaticErrorSchema;
|
|
104
|
+
export declare var KafkaTimeoutException$: StaticErrorSchema;
|
|
96
105
|
export declare var KafkaVersion$: StaticStructureSchema;
|
|
97
106
|
export declare var ListClientVpcConnectionsRequest$: StaticStructureSchema;
|
|
98
107
|
export declare var ListClientVpcConnectionsResponse$: StaticStructureSchema;
|
|
@@ -127,6 +136,7 @@ export declare var MutableClusterInfo$: StaticStructureSchema;
|
|
|
127
136
|
export declare var NodeExporter$: StaticStructureSchema;
|
|
128
137
|
export declare var NodeExporterInfo$: StaticStructureSchema;
|
|
129
138
|
export declare var NodeInfo$: StaticStructureSchema;
|
|
139
|
+
export declare var NotControllerException$: StaticErrorSchema;
|
|
130
140
|
export declare var NotFoundException$: StaticErrorSchema;
|
|
131
141
|
export declare var OpenMonitoring$: StaticStructureSchema;
|
|
132
142
|
export declare var OpenMonitoringInfo$: StaticStructureSchema;
|
|
@@ -138,6 +148,7 @@ export declare var ProvisionedThroughput$: StaticStructureSchema;
|
|
|
138
148
|
export declare var PublicAccess$: StaticStructureSchema;
|
|
139
149
|
export declare var PutClusterPolicyRequest$: StaticStructureSchema;
|
|
140
150
|
export declare var PutClusterPolicyResponse$: StaticStructureSchema;
|
|
151
|
+
export declare var ReassignmentInProgressException$: StaticErrorSchema;
|
|
141
152
|
export declare var Rebalancing$: StaticStructureSchema;
|
|
142
153
|
export declare var RebootBrokerRequest$: StaticStructureSchema;
|
|
143
154
|
export declare var RebootBrokerResponse$: StaticStructureSchema;
|
|
@@ -163,12 +174,14 @@ export declare var StorageInfo$: StaticStructureSchema;
|
|
|
163
174
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
164
175
|
export declare var Tls$: StaticStructureSchema;
|
|
165
176
|
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
177
|
+
export declare var TopicExistsException$: StaticErrorSchema;
|
|
166
178
|
export declare var TopicInfo$: StaticStructureSchema;
|
|
167
179
|
export declare var TopicPartitionInfo$: StaticStructureSchema;
|
|
168
180
|
export declare var TopicReplication$: StaticStructureSchema;
|
|
169
181
|
export declare var TopicReplicationUpdate$: StaticStructureSchema;
|
|
170
182
|
export declare var Unauthenticated$: StaticStructureSchema;
|
|
171
183
|
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
184
|
+
export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
|
|
172
185
|
export declare var UnprocessedScramSecret$: StaticStructureSchema;
|
|
173
186
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
174
187
|
export declare var UpdateBrokerCountRequest$: StaticStructureSchema;
|
|
@@ -195,6 +208,8 @@ export declare var UpdateSecurityRequest$: StaticStructureSchema;
|
|
|
195
208
|
export declare var UpdateSecurityResponse$: StaticStructureSchema;
|
|
196
209
|
export declare var UpdateStorageRequest$: StaticStructureSchema;
|
|
197
210
|
export declare var UpdateStorageResponse$: StaticStructureSchema;
|
|
211
|
+
export declare var UpdateTopicRequest$: StaticStructureSchema;
|
|
212
|
+
export declare var UpdateTopicResponse$: StaticStructureSchema;
|
|
198
213
|
export declare var UserIdentity$: StaticStructureSchema;
|
|
199
214
|
export declare var VpcConfig$: StaticStructureSchema;
|
|
200
215
|
export declare var VpcConnection$: StaticStructureSchema;
|
|
@@ -214,11 +229,13 @@ export declare var CreateCluster$: StaticOperationSchema;
|
|
|
214
229
|
export declare var CreateClusterV2$: StaticOperationSchema;
|
|
215
230
|
export declare var CreateConfiguration$: StaticOperationSchema;
|
|
216
231
|
export declare var CreateReplicator$: StaticOperationSchema;
|
|
232
|
+
export declare var CreateTopic$: StaticOperationSchema;
|
|
217
233
|
export declare var CreateVpcConnection$: StaticOperationSchema;
|
|
218
234
|
export declare var DeleteCluster$: StaticOperationSchema;
|
|
219
235
|
export declare var DeleteClusterPolicy$: StaticOperationSchema;
|
|
220
236
|
export declare var DeleteConfiguration$: StaticOperationSchema;
|
|
221
237
|
export declare var DeleteReplicator$: StaticOperationSchema;
|
|
238
|
+
export declare var DeleteTopic$: StaticOperationSchema;
|
|
222
239
|
export declare var DeleteVpcConnection$: StaticOperationSchema;
|
|
223
240
|
export declare var DescribeCluster$: StaticOperationSchema;
|
|
224
241
|
export declare var DescribeClusterOperation$: StaticOperationSchema;
|
|
@@ -264,3 +281,4 @@ export declare var UpdateRebalancing$: StaticOperationSchema;
|
|
|
264
281
|
export declare var UpdateReplicationInfo$: StaticOperationSchema;
|
|
265
282
|
export declare var UpdateSecurity$: StaticOperationSchema;
|
|
266
283
|
export declare var UpdateStorage$: StaticOperationSchema;
|
|
284
|
+
export declare var UpdateTopic$: StaticOperationSchema;
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
CreateReplicatorCommandInput,
|
|
28
28
|
CreateReplicatorCommandOutput,
|
|
29
29
|
} from "./commands/CreateReplicatorCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateTopicCommandInput,
|
|
32
|
+
CreateTopicCommandOutput,
|
|
33
|
+
} from "./commands/CreateTopicCommand";
|
|
30
34
|
import {
|
|
31
35
|
CreateVpcConnectionCommandInput,
|
|
32
36
|
CreateVpcConnectionCommandOutput,
|
|
@@ -47,6 +51,10 @@ import {
|
|
|
47
51
|
DeleteReplicatorCommandInput,
|
|
48
52
|
DeleteReplicatorCommandOutput,
|
|
49
53
|
} from "./commands/DeleteReplicatorCommand";
|
|
54
|
+
import {
|
|
55
|
+
DeleteTopicCommandInput,
|
|
56
|
+
DeleteTopicCommandOutput,
|
|
57
|
+
} from "./commands/DeleteTopicCommand";
|
|
50
58
|
import {
|
|
51
59
|
DeleteVpcConnectionCommandInput,
|
|
52
60
|
DeleteVpcConnectionCommandOutput,
|
|
@@ -227,6 +235,10 @@ import {
|
|
|
227
235
|
UpdateStorageCommandInput,
|
|
228
236
|
UpdateStorageCommandOutput,
|
|
229
237
|
} from "./commands/UpdateStorageCommand";
|
|
238
|
+
import {
|
|
239
|
+
UpdateTopicCommandInput,
|
|
240
|
+
UpdateTopicCommandOutput,
|
|
241
|
+
} from "./commands/UpdateTopicCommand";
|
|
230
242
|
import { KafkaClient } from "./KafkaClient";
|
|
231
243
|
export interface Kafka {
|
|
232
244
|
batchAssociateScramSecret(
|
|
@@ -307,6 +319,19 @@ export interface Kafka {
|
|
|
307
319
|
options: __HttpHandlerOptions,
|
|
308
320
|
cb: (err: any, data?: CreateReplicatorCommandOutput) => void
|
|
309
321
|
): void;
|
|
322
|
+
createTopic(
|
|
323
|
+
args: CreateTopicCommandInput,
|
|
324
|
+
options?: __HttpHandlerOptions
|
|
325
|
+
): Promise<CreateTopicCommandOutput>;
|
|
326
|
+
createTopic(
|
|
327
|
+
args: CreateTopicCommandInput,
|
|
328
|
+
cb: (err: any, data?: CreateTopicCommandOutput) => void
|
|
329
|
+
): void;
|
|
330
|
+
createTopic(
|
|
331
|
+
args: CreateTopicCommandInput,
|
|
332
|
+
options: __HttpHandlerOptions,
|
|
333
|
+
cb: (err: any, data?: CreateTopicCommandOutput) => void
|
|
334
|
+
): void;
|
|
310
335
|
createVpcConnection(
|
|
311
336
|
args: CreateVpcConnectionCommandInput,
|
|
312
337
|
options?: __HttpHandlerOptions
|
|
@@ -372,6 +397,19 @@ export interface Kafka {
|
|
|
372
397
|
options: __HttpHandlerOptions,
|
|
373
398
|
cb: (err: any, data?: DeleteReplicatorCommandOutput) => void
|
|
374
399
|
): void;
|
|
400
|
+
deleteTopic(
|
|
401
|
+
args: DeleteTopicCommandInput,
|
|
402
|
+
options?: __HttpHandlerOptions
|
|
403
|
+
): Promise<DeleteTopicCommandOutput>;
|
|
404
|
+
deleteTopic(
|
|
405
|
+
args: DeleteTopicCommandInput,
|
|
406
|
+
cb: (err: any, data?: DeleteTopicCommandOutput) => void
|
|
407
|
+
): void;
|
|
408
|
+
deleteTopic(
|
|
409
|
+
args: DeleteTopicCommandInput,
|
|
410
|
+
options: __HttpHandlerOptions,
|
|
411
|
+
cb: (err: any, data?: DeleteTopicCommandOutput) => void
|
|
412
|
+
): void;
|
|
375
413
|
deleteVpcConnection(
|
|
376
414
|
args: DeleteVpcConnectionCommandInput,
|
|
377
415
|
options?: __HttpHandlerOptions
|
|
@@ -964,6 +1002,19 @@ export interface Kafka {
|
|
|
964
1002
|
options: __HttpHandlerOptions,
|
|
965
1003
|
cb: (err: any, data?: UpdateStorageCommandOutput) => void
|
|
966
1004
|
): void;
|
|
1005
|
+
updateTopic(
|
|
1006
|
+
args: UpdateTopicCommandInput,
|
|
1007
|
+
options?: __HttpHandlerOptions
|
|
1008
|
+
): Promise<UpdateTopicCommandOutput>;
|
|
1009
|
+
updateTopic(
|
|
1010
|
+
args: UpdateTopicCommandInput,
|
|
1011
|
+
cb: (err: any, data?: UpdateTopicCommandOutput) => void
|
|
1012
|
+
): void;
|
|
1013
|
+
updateTopic(
|
|
1014
|
+
args: UpdateTopicCommandInput,
|
|
1015
|
+
options: __HttpHandlerOptions,
|
|
1016
|
+
cb: (err: any, data?: UpdateTopicCommandOutput) => void
|
|
1017
|
+
): void;
|
|
967
1018
|
paginateDescribeTopicPartitions(
|
|
968
1019
|
args: DescribeTopicPartitionsCommandInput,
|
|
969
1020
|
paginationConfig?: Pick<
|
|
@@ -69,6 +69,10 @@ import {
|
|
|
69
69
|
CreateReplicatorCommandInput,
|
|
70
70
|
CreateReplicatorCommandOutput,
|
|
71
71
|
} from "./commands/CreateReplicatorCommand";
|
|
72
|
+
import {
|
|
73
|
+
CreateTopicCommandInput,
|
|
74
|
+
CreateTopicCommandOutput,
|
|
75
|
+
} from "./commands/CreateTopicCommand";
|
|
72
76
|
import {
|
|
73
77
|
CreateVpcConnectionCommandInput,
|
|
74
78
|
CreateVpcConnectionCommandOutput,
|
|
@@ -89,6 +93,10 @@ import {
|
|
|
89
93
|
DeleteReplicatorCommandInput,
|
|
90
94
|
DeleteReplicatorCommandOutput,
|
|
91
95
|
} from "./commands/DeleteReplicatorCommand";
|
|
96
|
+
import {
|
|
97
|
+
DeleteTopicCommandInput,
|
|
98
|
+
DeleteTopicCommandOutput,
|
|
99
|
+
} from "./commands/DeleteTopicCommand";
|
|
92
100
|
import {
|
|
93
101
|
DeleteVpcConnectionCommandInput,
|
|
94
102
|
DeleteVpcConnectionCommandOutput,
|
|
@@ -269,6 +277,10 @@ import {
|
|
|
269
277
|
UpdateStorageCommandInput,
|
|
270
278
|
UpdateStorageCommandOutput,
|
|
271
279
|
} from "./commands/UpdateStorageCommand";
|
|
280
|
+
import {
|
|
281
|
+
UpdateTopicCommandInput,
|
|
282
|
+
UpdateTopicCommandOutput,
|
|
283
|
+
} from "./commands/UpdateTopicCommand";
|
|
272
284
|
import {
|
|
273
285
|
ClientInputEndpointParameters,
|
|
274
286
|
ClientResolvedEndpointParameters,
|
|
@@ -283,11 +295,13 @@ export type ServiceInputTypes =
|
|
|
283
295
|
| CreateClusterV2CommandInput
|
|
284
296
|
| CreateConfigurationCommandInput
|
|
285
297
|
| CreateReplicatorCommandInput
|
|
298
|
+
| CreateTopicCommandInput
|
|
286
299
|
| CreateVpcConnectionCommandInput
|
|
287
300
|
| DeleteClusterCommandInput
|
|
288
301
|
| DeleteClusterPolicyCommandInput
|
|
289
302
|
| DeleteConfigurationCommandInput
|
|
290
303
|
| DeleteReplicatorCommandInput
|
|
304
|
+
| DeleteTopicCommandInput
|
|
291
305
|
| DeleteVpcConnectionCommandInput
|
|
292
306
|
| DescribeClusterCommandInput
|
|
293
307
|
| DescribeClusterOperationCommandInput
|
|
@@ -332,7 +346,8 @@ export type ServiceInputTypes =
|
|
|
332
346
|
| UpdateRebalancingCommandInput
|
|
333
347
|
| UpdateReplicationInfoCommandInput
|
|
334
348
|
| UpdateSecurityCommandInput
|
|
335
|
-
| UpdateStorageCommandInput
|
|
349
|
+
| UpdateStorageCommandInput
|
|
350
|
+
| UpdateTopicCommandInput;
|
|
336
351
|
export type ServiceOutputTypes =
|
|
337
352
|
| BatchAssociateScramSecretCommandOutput
|
|
338
353
|
| BatchDisassociateScramSecretCommandOutput
|
|
@@ -340,11 +355,13 @@ export type ServiceOutputTypes =
|
|
|
340
355
|
| CreateClusterV2CommandOutput
|
|
341
356
|
| CreateConfigurationCommandOutput
|
|
342
357
|
| CreateReplicatorCommandOutput
|
|
358
|
+
| CreateTopicCommandOutput
|
|
343
359
|
| CreateVpcConnectionCommandOutput
|
|
344
360
|
| DeleteClusterCommandOutput
|
|
345
361
|
| DeleteClusterPolicyCommandOutput
|
|
346
362
|
| DeleteConfigurationCommandOutput
|
|
347
363
|
| DeleteReplicatorCommandOutput
|
|
364
|
+
| DeleteTopicCommandOutput
|
|
348
365
|
| DeleteVpcConnectionCommandOutput
|
|
349
366
|
| DescribeClusterCommandOutput
|
|
350
367
|
| DescribeClusterOperationCommandOutput
|
|
@@ -389,7 +406,8 @@ export type ServiceOutputTypes =
|
|
|
389
406
|
| UpdateRebalancingCommandOutput
|
|
390
407
|
| UpdateReplicationInfoCommandOutput
|
|
391
408
|
| UpdateSecurityCommandOutput
|
|
392
|
-
| UpdateStorageCommandOutput
|
|
409
|
+
| UpdateStorageCommandOutput
|
|
410
|
+
| UpdateTopicCommandOutput;
|
|
393
411
|
export interface ClientDefaults
|
|
394
412
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
395
413
|
requestHandler?: __HttpHandlerUserInput;
|
|
@@ -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 { CreateTopicRequest, CreateTopicResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface CreateTopicCommandInput extends CreateTopicRequest {}
|
|
12
|
+
export interface CreateTopicCommandOutput
|
|
13
|
+
extends CreateTopicResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const CreateTopicCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: CreateTopicCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
CreateTopicCommandInput,
|
|
20
|
+
CreateTopicCommandOutput,
|
|
21
|
+
KafkaClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: CreateTopicCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
CreateTopicCommandInput,
|
|
29
|
+
CreateTopicCommandOutput,
|
|
30
|
+
KafkaClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class CreateTopicCommand extends CreateTopicCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CreateTopicRequest;
|
|
40
|
+
output: CreateTopicResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CreateTopicCommandInput;
|
|
44
|
+
output: CreateTopicCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 { DeleteTopicRequest, DeleteTopicResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteTopicCommandInput extends DeleteTopicRequest {}
|
|
12
|
+
export interface DeleteTopicCommandOutput
|
|
13
|
+
extends DeleteTopicResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const DeleteTopicCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteTopicCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
DeleteTopicCommandInput,
|
|
20
|
+
DeleteTopicCommandOutput,
|
|
21
|
+
KafkaClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: DeleteTopicCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
DeleteTopicCommandInput,
|
|
29
|
+
DeleteTopicCommandOutput,
|
|
30
|
+
KafkaClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class DeleteTopicCommand extends DeleteTopicCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: DeleteTopicRequest;
|
|
40
|
+
output: DeleteTopicResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: DeleteTopicCommandInput;
|
|
44
|
+
output: DeleteTopicCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 { UpdateTopicRequest, UpdateTopicResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface UpdateTopicCommandInput extends UpdateTopicRequest {}
|
|
12
|
+
export interface UpdateTopicCommandOutput
|
|
13
|
+
extends UpdateTopicResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const UpdateTopicCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateTopicCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
UpdateTopicCommandInput,
|
|
20
|
+
UpdateTopicCommandOutput,
|
|
21
|
+
KafkaClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: UpdateTopicCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
UpdateTopicCommandInput,
|
|
29
|
+
UpdateTopicCommandOutput,
|
|
30
|
+
KafkaClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class UpdateTopicCommand extends UpdateTopicCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: UpdateTopicRequest;
|
|
40
|
+
output: UpdateTopicResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: UpdateTopicCommandInput;
|
|
44
|
+
output: UpdateTopicCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -4,11 +4,13 @@ export * from "./CreateClusterCommand";
|
|
|
4
4
|
export * from "./CreateClusterV2Command";
|
|
5
5
|
export * from "./CreateConfigurationCommand";
|
|
6
6
|
export * from "./CreateReplicatorCommand";
|
|
7
|
+
export * from "./CreateTopicCommand";
|
|
7
8
|
export * from "./CreateVpcConnectionCommand";
|
|
8
9
|
export * from "./DeleteClusterCommand";
|
|
9
10
|
export * from "./DeleteClusterPolicyCommand";
|
|
10
11
|
export * from "./DeleteConfigurationCommand";
|
|
11
12
|
export * from "./DeleteReplicatorCommand";
|
|
13
|
+
export * from "./DeleteTopicCommand";
|
|
12
14
|
export * from "./DeleteVpcConnectionCommand";
|
|
13
15
|
export * from "./DescribeClusterCommand";
|
|
14
16
|
export * from "./DescribeClusterOperationCommand";
|
|
@@ -54,3 +56,4 @@ export * from "./UpdateRebalancingCommand";
|
|
|
54
56
|
export * from "./UpdateReplicationInfoCommand";
|
|
55
57
|
export * from "./UpdateSecurityCommand";
|
|
56
58
|
export * from "./UpdateStorageCommand";
|
|
59
|
+
export * from "./UpdateTopicCommand";
|
|
@@ -59,6 +59,15 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
59
59
|
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
|
+
export declare class ClusterConnectivityException extends __BaseException {
|
|
63
|
+
readonly name: "ClusterConnectivityException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
InvalidParameter?: string | undefined;
|
|
66
|
+
Message?: string | undefined;
|
|
67
|
+
constructor(
|
|
68
|
+
opts: __ExceptionOptionType<ClusterConnectivityException, __BaseException>
|
|
69
|
+
);
|
|
70
|
+
}
|
|
62
71
|
export declare class ConflictException extends __BaseException {
|
|
63
72
|
readonly name: "ConflictException";
|
|
64
73
|
readonly $fault: "client";
|
|
@@ -66,3 +75,84 @@ export declare class ConflictException extends __BaseException {
|
|
|
66
75
|
Message?: string | undefined;
|
|
67
76
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
68
77
|
}
|
|
78
|
+
export declare class ControllerMovedException extends __BaseException {
|
|
79
|
+
readonly name: "ControllerMovedException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
InvalidParameter?: string | undefined;
|
|
82
|
+
Message?: string | undefined;
|
|
83
|
+
constructor(
|
|
84
|
+
opts: __ExceptionOptionType<ControllerMovedException, __BaseException>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
export declare class GroupSubscribedToTopicException extends __BaseException {
|
|
88
|
+
readonly name: "GroupSubscribedToTopicException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
InvalidParameter?: string | undefined;
|
|
91
|
+
Message?: string | undefined;
|
|
92
|
+
constructor(
|
|
93
|
+
opts: __ExceptionOptionType<
|
|
94
|
+
GroupSubscribedToTopicException,
|
|
95
|
+
__BaseException
|
|
96
|
+
>
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
export declare class KafkaRequestException extends __BaseException {
|
|
100
|
+
readonly name: "KafkaRequestException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
InvalidParameter?: string | undefined;
|
|
103
|
+
Message?: string | undefined;
|
|
104
|
+
constructor(
|
|
105
|
+
opts: __ExceptionOptionType<KafkaRequestException, __BaseException>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
export declare class KafkaTimeoutException extends __BaseException {
|
|
109
|
+
readonly name: "KafkaTimeoutException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
InvalidParameter?: string | undefined;
|
|
112
|
+
Message?: string | undefined;
|
|
113
|
+
constructor(
|
|
114
|
+
opts: __ExceptionOptionType<KafkaTimeoutException, __BaseException>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
export declare class NotControllerException extends __BaseException {
|
|
118
|
+
readonly name: "NotControllerException";
|
|
119
|
+
readonly $fault: "client";
|
|
120
|
+
InvalidParameter?: string | undefined;
|
|
121
|
+
Message?: string | undefined;
|
|
122
|
+
constructor(
|
|
123
|
+
opts: __ExceptionOptionType<NotControllerException, __BaseException>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
export declare class ReassignmentInProgressException extends __BaseException {
|
|
127
|
+
readonly name: "ReassignmentInProgressException";
|
|
128
|
+
readonly $fault: "client";
|
|
129
|
+
InvalidParameter?: string | undefined;
|
|
130
|
+
Message?: string | undefined;
|
|
131
|
+
constructor(
|
|
132
|
+
opts: __ExceptionOptionType<
|
|
133
|
+
ReassignmentInProgressException,
|
|
134
|
+
__BaseException
|
|
135
|
+
>
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
export declare class TopicExistsException extends __BaseException {
|
|
139
|
+
readonly name: "TopicExistsException";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
InvalidParameter?: string | undefined;
|
|
142
|
+
Message?: string | undefined;
|
|
143
|
+
constructor(
|
|
144
|
+
opts: __ExceptionOptionType<TopicExistsException, __BaseException>
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
export declare class UnknownTopicOrPartitionException extends __BaseException {
|
|
148
|
+
readonly name: "UnknownTopicOrPartitionException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
InvalidParameter?: string | undefined;
|
|
151
|
+
Message?: string | undefined;
|
|
152
|
+
constructor(
|
|
153
|
+
opts: __ExceptionOptionType<
|
|
154
|
+
UnknownTopicOrPartitionException,
|
|
155
|
+
__BaseException
|
|
156
|
+
>
|
|
157
|
+
);
|
|
158
|
+
}
|