@aws-sdk/client-kafka 3.986.0 → 3.988.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.
Files changed (33) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +117 -2455
  3. package/dist-cjs/models/KafkaServiceException.js +12 -0
  4. package/dist-cjs/models/errors.js +293 -0
  5. package/dist-cjs/runtimeConfig.shared.js +2 -0
  6. package/dist-cjs/schemas/schemas_0.js +2122 -0
  7. package/dist-es/Kafka.js +6 -0
  8. package/dist-es/commands/CreateTopicCommand.js +16 -0
  9. package/dist-es/commands/DeleteTopicCommand.js +16 -0
  10. package/dist-es/commands/UpdateTopicCommand.js +16 -0
  11. package/dist-es/commands/index.js +3 -0
  12. package/dist-es/models/errors.js +144 -0
  13. package/dist-es/runtimeConfig.shared.js +2 -0
  14. package/dist-es/schemas/schemas_0.js +182 -65
  15. package/dist-types/Kafka.d.ts +21 -0
  16. package/dist-types/KafkaClient.d.ts +5 -2
  17. package/dist-types/commands/CreateTopicCommand.d.ts +128 -0
  18. package/dist-types/commands/DeleteTopicCommand.d.ts +113 -0
  19. package/dist-types/commands/UpdateTopicCommand.d.ts +121 -0
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/models/errors.d.ts +198 -0
  22. package/dist-types/models/models_0.d.ts +130 -0
  23. package/dist-types/schemas/schemas_0.d.ts +34 -9
  24. package/dist-types/ts3.4/Kafka.d.ts +51 -0
  25. package/dist-types/ts3.4/KafkaClient.d.ts +20 -2
  26. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +47 -0
  27. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +47 -0
  28. package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +47 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  30. package/dist-types/ts3.4/models/errors.d.ts +90 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -9
  33. package/package.json +13 -13
@@ -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
+ }
@@ -1,6 +1,30 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AmazonMskCluster$: StaticStructureSchema;
3
+ export declare var KafkaServiceException$: StaticErrorSchema;
3
4
  export declare var BadRequestException$: StaticErrorSchema;
5
+ export declare var ClusterConnectivityException$: StaticErrorSchema;
6
+ export declare var ConflictException$: StaticErrorSchema;
7
+ export declare var ControllerMovedException$: StaticErrorSchema;
8
+ export declare var ForbiddenException$: StaticErrorSchema;
9
+ export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
10
+ export declare var InternalServerErrorException$: StaticErrorSchema;
11
+ export declare var KafkaRequestException$: StaticErrorSchema;
12
+ export declare var KafkaTimeoutException$: StaticErrorSchema;
13
+ export declare var NotControllerException$: StaticErrorSchema;
14
+ export declare var NotFoundException$: StaticErrorSchema;
15
+ export declare var ReassignmentInProgressException$: StaticErrorSchema;
16
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
17
+ export declare var TooManyRequestsException$: StaticErrorSchema;
18
+ export declare var TopicExistsException$: StaticErrorSchema;
19
+ export declare var UnauthorizedException$: StaticErrorSchema;
20
+ export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
21
+ /**
22
+ * TypeRegistry instances containing modeled errors.
23
+ * @internal
24
+ *
25
+ */
26
+ export declare const errorTypeRegistries: TypeRegistry[];
27
+ export declare var AmazonMskCluster$: StaticStructureSchema;
4
28
  export declare var BatchAssociateScramSecretRequest$: StaticStructureSchema;
5
29
  export declare var BatchAssociateScramSecretResponse$: StaticStructureSchema;
6
30
  export declare var BatchDisassociateScramSecretRequest$: StaticStructureSchema;
@@ -27,7 +51,6 @@ export declare var CompatibleKafkaVersion$: StaticStructureSchema;
27
51
  export declare var Configuration$: StaticStructureSchema;
28
52
  export declare var ConfigurationInfo$: StaticStructureSchema;
29
53
  export declare var ConfigurationRevision$: StaticStructureSchema;
30
- export declare var ConflictException$: StaticErrorSchema;
31
54
  export declare var ConnectivityInfo$: StaticStructureSchema;
32
55
  export declare var ConsumerGroupReplication$: StaticStructureSchema;
33
56
  export declare var ConsumerGroupReplicationUpdate$: StaticStructureSchema;
@@ -40,6 +63,8 @@ export declare var CreateConfigurationRequest$: StaticStructureSchema;
40
63
  export declare var CreateConfigurationResponse$: StaticStructureSchema;
41
64
  export declare var CreateReplicatorRequest$: StaticStructureSchema;
42
65
  export declare var CreateReplicatorResponse$: StaticStructureSchema;
66
+ export declare var CreateTopicRequest$: StaticStructureSchema;
67
+ export declare var CreateTopicResponse$: StaticStructureSchema;
43
68
  export declare var CreateVpcConnectionRequest$: StaticStructureSchema;
44
69
  export declare var CreateVpcConnectionResponse$: StaticStructureSchema;
45
70
  export declare var DeleteClusterPolicyRequest$: StaticStructureSchema;
@@ -50,6 +75,8 @@ export declare var DeleteConfigurationRequest$: StaticStructureSchema;
50
75
  export declare var DeleteConfigurationResponse$: StaticStructureSchema;
51
76
  export declare var DeleteReplicatorRequest$: StaticStructureSchema;
52
77
  export declare var DeleteReplicatorResponse$: StaticStructureSchema;
78
+ export declare var DeleteTopicRequest$: StaticStructureSchema;
79
+ export declare var DeleteTopicResponse$: StaticStructureSchema;
53
80
  export declare var DeleteVpcConnectionRequest$: StaticStructureSchema;
54
81
  export declare var DeleteVpcConnectionResponse$: StaticStructureSchema;
55
82
  export declare var DescribeClusterOperationRequest$: StaticStructureSchema;
@@ -78,7 +105,6 @@ export declare var EncryptionInfo$: StaticStructureSchema;
78
105
  export declare var EncryptionInTransit$: StaticStructureSchema;
79
106
  export declare var ErrorInfo$: StaticStructureSchema;
80
107
  export declare var Firehose$: StaticStructureSchema;
81
- export declare var ForbiddenException$: StaticErrorSchema;
82
108
  export declare var GetBootstrapBrokersRequest$: StaticStructureSchema;
83
109
  export declare var GetBootstrapBrokersResponse$: StaticStructureSchema;
84
110
  export declare var GetClusterPolicyRequest$: StaticStructureSchema;
@@ -86,7 +112,6 @@ export declare var GetClusterPolicyResponse$: StaticStructureSchema;
86
112
  export declare var GetCompatibleKafkaVersionsRequest$: StaticStructureSchema;
87
113
  export declare var GetCompatibleKafkaVersionsResponse$: StaticStructureSchema;
88
114
  export declare var Iam$: StaticStructureSchema;
89
- export declare var InternalServerErrorException$: StaticErrorSchema;
90
115
  export declare var JmxExporter$: StaticStructureSchema;
91
116
  export declare var JmxExporterInfo$: StaticStructureSchema;
92
117
  export declare var KafkaCluster$: StaticStructureSchema;
@@ -127,7 +152,6 @@ export declare var MutableClusterInfo$: StaticStructureSchema;
127
152
  export declare var NodeExporter$: StaticStructureSchema;
128
153
  export declare var NodeExporterInfo$: StaticStructureSchema;
129
154
  export declare var NodeInfo$: StaticStructureSchema;
130
- export declare var NotFoundException$: StaticErrorSchema;
131
155
  export declare var OpenMonitoring$: StaticStructureSchema;
132
156
  export declare var OpenMonitoringInfo$: StaticStructureSchema;
133
157
  export declare var Prometheus$: StaticStructureSchema;
@@ -157,18 +181,15 @@ export declare var Serverless$: StaticStructureSchema;
157
181
  export declare var ServerlessClientAuthentication$: StaticStructureSchema;
158
182
  export declare var ServerlessRequest$: StaticStructureSchema;
159
183
  export declare var ServerlessSasl$: StaticStructureSchema;
160
- export declare var ServiceUnavailableException$: StaticErrorSchema;
161
184
  export declare var StateInfo$: StaticStructureSchema;
162
185
  export declare var StorageInfo$: StaticStructureSchema;
163
186
  export declare var TagResourceRequest$: StaticStructureSchema;
164
187
  export declare var Tls$: StaticStructureSchema;
165
- export declare var TooManyRequestsException$: StaticErrorSchema;
166
188
  export declare var TopicInfo$: StaticStructureSchema;
167
189
  export declare var TopicPartitionInfo$: StaticStructureSchema;
168
190
  export declare var TopicReplication$: StaticStructureSchema;
169
191
  export declare var TopicReplicationUpdate$: StaticStructureSchema;
170
192
  export declare var Unauthenticated$: StaticStructureSchema;
171
- export declare var UnauthorizedException$: StaticErrorSchema;
172
193
  export declare var UnprocessedScramSecret$: StaticStructureSchema;
173
194
  export declare var UntagResourceRequest$: StaticStructureSchema;
174
195
  export declare var UpdateBrokerCountRequest$: StaticStructureSchema;
@@ -195,6 +216,8 @@ export declare var UpdateSecurityRequest$: StaticStructureSchema;
195
216
  export declare var UpdateSecurityResponse$: StaticStructureSchema;
196
217
  export declare var UpdateStorageRequest$: StaticStructureSchema;
197
218
  export declare var UpdateStorageResponse$: StaticStructureSchema;
219
+ export declare var UpdateTopicRequest$: StaticStructureSchema;
220
+ export declare var UpdateTopicResponse$: StaticStructureSchema;
198
221
  export declare var UserIdentity$: StaticStructureSchema;
199
222
  export declare var VpcConfig$: StaticStructureSchema;
200
223
  export declare var VpcConnection$: StaticStructureSchema;
@@ -207,18 +230,19 @@ export declare var VpcConnectivitySasl$: StaticStructureSchema;
207
230
  export declare var VpcConnectivityScram$: StaticStructureSchema;
208
231
  export declare var VpcConnectivityTls$: StaticStructureSchema;
209
232
  export declare var ZookeeperNodeInfo$: StaticStructureSchema;
210
- export declare var KafkaServiceException$: StaticErrorSchema;
211
233
  export declare var BatchAssociateScramSecret$: StaticOperationSchema;
212
234
  export declare var BatchDisassociateScramSecret$: StaticOperationSchema;
213
235
  export declare var CreateCluster$: StaticOperationSchema;
214
236
  export declare var CreateClusterV2$: StaticOperationSchema;
215
237
  export declare var CreateConfiguration$: StaticOperationSchema;
216
238
  export declare var CreateReplicator$: StaticOperationSchema;
239
+ export declare var CreateTopic$: StaticOperationSchema;
217
240
  export declare var CreateVpcConnection$: StaticOperationSchema;
218
241
  export declare var DeleteCluster$: StaticOperationSchema;
219
242
  export declare var DeleteClusterPolicy$: StaticOperationSchema;
220
243
  export declare var DeleteConfiguration$: StaticOperationSchema;
221
244
  export declare var DeleteReplicator$: StaticOperationSchema;
245
+ export declare var DeleteTopic$: StaticOperationSchema;
222
246
  export declare var DeleteVpcConnection$: StaticOperationSchema;
223
247
  export declare var DescribeCluster$: StaticOperationSchema;
224
248
  export declare var DescribeClusterOperation$: StaticOperationSchema;
@@ -264,3 +288,4 @@ export declare var UpdateRebalancing$: StaticOperationSchema;
264
288
  export declare var UpdateReplicationInfo$: StaticOperationSchema;
265
289
  export declare var UpdateSecurity$: StaticOperationSchema;
266
290
  export declare var UpdateStorage$: StaticOperationSchema;
291
+ 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";