@aws-sdk/client-kafka 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +441 -93
  3. package/dist-es/Kafka.js +6 -0
  4. package/dist-es/commands/DescribeTopicCommand.js +16 -0
  5. package/dist-es/commands/DescribeTopicPartitionsCommand.js +16 -0
  6. package/dist-es/commands/ListTopicsCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/index.js +2 -1
  9. package/dist-es/models/enums.js +95 -0
  10. package/dist-es/models/errors.js +129 -0
  11. package/dist-es/models/models_0.js +1 -218
  12. package/dist-es/pagination/DescribeTopicPartitionsPaginator.js +4 -0
  13. package/dist-es/pagination/ListTopicsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +298 -5
  16. package/dist-types/Kafka.d.ts +21 -0
  17. package/dist-types/KafkaClient.d.ts +5 -2
  18. package/dist-types/commands/DescribeTopicCommand.d.ts +95 -0
  19. package/dist-types/commands/DescribeTopicPartitionsCommand.d.ts +104 -0
  20. package/dist-types/commands/ListTopicsCommand.d.ts +101 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/index.d.ts +3 -1
  23. package/dist-types/models/enums.d.ts +239 -0
  24. package/dist-types/models/errors.d.ts +178 -0
  25. package/dist-types/models/models_0.d.ts +190 -401
  26. package/dist-types/pagination/DescribeTopicPartitionsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/ListTopicsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +2 -0
  29. package/dist-types/schemas/schemas_0.d.ts +14 -0
  30. package/dist-types/ts3.4/Kafka.d.ts +51 -0
  31. package/dist-types/ts3.4/KafkaClient.d.ts +18 -0
  32. package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/DescribeTopicPartitionsCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +47 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  36. package/dist-types/ts3.4/index.d.ts +3 -1
  37. package/dist-types/ts3.4/models/enums.d.ts +125 -0
  38. package/dist-types/ts3.4/models/errors.d.ts +68 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +65 -186
  40. package/dist-types/ts3.4/pagination/DescribeTopicPartitionsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  44. package/package.json +12 -12
  45. package/dist-es/models/index.js +0 -1
  46. package/dist-types/models/index.d.ts +0 -1
  47. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeTopicPartitionsCommandInput, DescribeTopicPartitionsCommandOutput } from "../commands/DescribeTopicPartitionsCommand";
3
+ import { KafkaPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeTopicPartitions: (config: KafkaPaginationConfiguration, input: DescribeTopicPartitionsCommandInput, ...rest: any[]) => Paginator<DescribeTopicPartitionsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTopicsCommandInput, ListTopicsCommandOutput } from "../commands/ListTopicsCommand";
3
+ import { KafkaPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListTopics: (config: KafkaPaginationConfiguration, input: ListTopicsCommandInput, ...rest: any[]) => 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";
@@ -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";
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { KafkaExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { KafkaServiceException } from "./models/KafkaServiceException";
@@ -0,0 +1,125 @@
1
+ export declare const VpcConnectionState: {
2
+ readonly AVAILABLE: "AVAILABLE";
3
+ readonly CREATING: "CREATING";
4
+ readonly DEACTIVATING: "DEACTIVATING";
5
+ readonly DELETING: "DELETING";
6
+ readonly FAILED: "FAILED";
7
+ readonly INACTIVE: "INACTIVE";
8
+ readonly REJECTED: "REJECTED";
9
+ readonly REJECTING: "REJECTING";
10
+ };
11
+ export type VpcConnectionState =
12
+ (typeof VpcConnectionState)[keyof typeof VpcConnectionState];
13
+ export declare const ClusterType: {
14
+ readonly PROVISIONED: "PROVISIONED";
15
+ readonly SERVERLESS: "SERVERLESS";
16
+ };
17
+ export type ClusterType = (typeof ClusterType)[keyof typeof ClusterType];
18
+ export declare const BrokerAZDistribution: {
19
+ readonly DEFAULT: "DEFAULT";
20
+ };
21
+ export type BrokerAZDistribution =
22
+ (typeof BrokerAZDistribution)[keyof typeof BrokerAZDistribution];
23
+ export declare const CustomerActionStatus: {
24
+ readonly ACTION_RECOMMENDED: "ACTION_RECOMMENDED";
25
+ readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
26
+ readonly NONE: "NONE";
27
+ };
28
+ export type CustomerActionStatus =
29
+ (typeof CustomerActionStatus)[keyof typeof CustomerActionStatus];
30
+ export declare const ClientBroker: {
31
+ readonly PLAINTEXT: "PLAINTEXT";
32
+ readonly TLS: "TLS";
33
+ readonly TLS_PLAINTEXT: "TLS_PLAINTEXT";
34
+ };
35
+ export type ClientBroker = (typeof ClientBroker)[keyof typeof ClientBroker];
36
+ export declare const EnhancedMonitoring: {
37
+ readonly DEFAULT: "DEFAULT";
38
+ readonly PER_BROKER: "PER_BROKER";
39
+ readonly PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER";
40
+ readonly PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION";
41
+ };
42
+ export type EnhancedMonitoring =
43
+ (typeof EnhancedMonitoring)[keyof typeof EnhancedMonitoring];
44
+ export declare const RebalancingStatus: {
45
+ readonly ACTIVE: "ACTIVE";
46
+ readonly PAUSED: "PAUSED";
47
+ };
48
+ export type RebalancingStatus =
49
+ (typeof RebalancingStatus)[keyof typeof RebalancingStatus];
50
+ export declare const StorageMode: {
51
+ readonly LOCAL: "LOCAL";
52
+ readonly TIERED: "TIERED";
53
+ };
54
+ export type StorageMode = (typeof StorageMode)[keyof typeof StorageMode];
55
+ export declare const ClusterState: {
56
+ readonly ACTIVE: "ACTIVE";
57
+ readonly CREATING: "CREATING";
58
+ readonly DELETING: "DELETING";
59
+ readonly FAILED: "FAILED";
60
+ readonly HEALING: "HEALING";
61
+ readonly MAINTENANCE: "MAINTENANCE";
62
+ readonly REBOOTING_BROKER: "REBOOTING_BROKER";
63
+ readonly UPDATING: "UPDATING";
64
+ };
65
+ export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
66
+ export declare const UserIdentityType: {
67
+ readonly AWSACCOUNT: "AWSACCOUNT";
68
+ readonly AWSSERVICE: "AWSSERVICE";
69
+ };
70
+ export type UserIdentityType =
71
+ (typeof UserIdentityType)[keyof typeof UserIdentityType];
72
+ export declare const ConfigurationState: {
73
+ readonly ACTIVE: "ACTIVE";
74
+ readonly DELETE_FAILED: "DELETE_FAILED";
75
+ readonly DELETING: "DELETING";
76
+ };
77
+ export type ConfigurationState =
78
+ (typeof ConfigurationState)[keyof typeof ConfigurationState];
79
+ export declare const KafkaVersionStatus: {
80
+ readonly ACTIVE: "ACTIVE";
81
+ readonly DEPRECATED: "DEPRECATED";
82
+ };
83
+ export type KafkaVersionStatus =
84
+ (typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
85
+ export declare const NodeType: {
86
+ readonly BROKER: "BROKER";
87
+ };
88
+ export type NodeType = (typeof NodeType)[keyof typeof NodeType];
89
+ export declare const TargetCompressionType: {
90
+ readonly GZIP: "GZIP";
91
+ readonly LZ4: "LZ4";
92
+ readonly NONE: "NONE";
93
+ readonly SNAPPY: "SNAPPY";
94
+ readonly ZSTD: "ZSTD";
95
+ };
96
+ export type TargetCompressionType =
97
+ (typeof TargetCompressionType)[keyof typeof TargetCompressionType];
98
+ export declare const ReplicationStartingPositionType: {
99
+ readonly EARLIEST: "EARLIEST";
100
+ readonly LATEST: "LATEST";
101
+ };
102
+ export type ReplicationStartingPositionType =
103
+ (typeof ReplicationStartingPositionType)[keyof typeof ReplicationStartingPositionType];
104
+ export declare const ReplicationTopicNameConfigurationType: {
105
+ readonly IDENTICAL: "IDENTICAL";
106
+ readonly PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS";
107
+ };
108
+ export type ReplicationTopicNameConfigurationType =
109
+ (typeof ReplicationTopicNameConfigurationType)[keyof typeof ReplicationTopicNameConfigurationType];
110
+ export declare const ReplicatorState: {
111
+ readonly CREATING: "CREATING";
112
+ readonly DELETING: "DELETING";
113
+ readonly FAILED: "FAILED";
114
+ readonly RUNNING: "RUNNING";
115
+ readonly UPDATING: "UPDATING";
116
+ };
117
+ export type ReplicatorState =
118
+ (typeof ReplicatorState)[keyof typeof ReplicatorState];
119
+ export declare const TopicState: {
120
+ readonly ACTIVE: "ACTIVE";
121
+ readonly CREATING: "CREATING";
122
+ readonly DELETING: "DELETING";
123
+ readonly UPDATING: "UPDATING";
124
+ };
125
+ export type TopicState = (typeof TopicState)[keyof typeof TopicState];
@@ -0,0 +1,68 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ InvalidParameter?: string | undefined;
7
+ Message?: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ForbiddenException extends __BaseException {
13
+ readonly name: "ForbiddenException";
14
+ readonly $fault: "client";
15
+ InvalidParameter?: string | undefined;
16
+ Message?: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
18
+ }
19
+ export declare class InternalServerErrorException extends __BaseException {
20
+ readonly name: "InternalServerErrorException";
21
+ readonly $fault: "server";
22
+ InvalidParameter?: string | undefined;
23
+ Message?: string | undefined;
24
+ constructor(
25
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
26
+ );
27
+ }
28
+ export declare class NotFoundException extends __BaseException {
29
+ readonly name: "NotFoundException";
30
+ readonly $fault: "client";
31
+ InvalidParameter?: string | undefined;
32
+ Message?: string | undefined;
33
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
34
+ }
35
+ export declare class ServiceUnavailableException extends __BaseException {
36
+ readonly name: "ServiceUnavailableException";
37
+ readonly $fault: "server";
38
+ InvalidParameter?: string | undefined;
39
+ Message?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
42
+ );
43
+ }
44
+ export declare class TooManyRequestsException extends __BaseException {
45
+ readonly name: "TooManyRequestsException";
46
+ readonly $fault: "client";
47
+ InvalidParameter?: string | undefined;
48
+ Message?: string | undefined;
49
+ constructor(
50
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
51
+ );
52
+ }
53
+ export declare class UnauthorizedException extends __BaseException {
54
+ readonly name: "UnauthorizedException";
55
+ readonly $fault: "client";
56
+ InvalidParameter?: string | undefined;
57
+ Message?: string | undefined;
58
+ constructor(
59
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
60
+ );
61
+ }
62
+ export declare class ConflictException extends __BaseException {
63
+ readonly name: "ConflictException";
64
+ readonly $fault: "client";
65
+ InvalidParameter?: string | undefined;
66
+ Message?: string | undefined;
67
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
68
+ }