@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
package/dist-es/Kafka.js CHANGED
@@ -18,6 +18,8 @@ import { DescribeClusterV2Command, } from "./commands/DescribeClusterV2Command";
18
18
  import { DescribeConfigurationCommand, } from "./commands/DescribeConfigurationCommand";
19
19
  import { DescribeConfigurationRevisionCommand, } from "./commands/DescribeConfigurationRevisionCommand";
20
20
  import { DescribeReplicatorCommand, } from "./commands/DescribeReplicatorCommand";
21
+ import { DescribeTopicCommand, } from "./commands/DescribeTopicCommand";
22
+ import { DescribeTopicPartitionsCommand, } from "./commands/DescribeTopicPartitionsCommand";
21
23
  import { DescribeVpcConnectionCommand, } from "./commands/DescribeVpcConnectionCommand";
22
24
  import { GetBootstrapBrokersCommand, } from "./commands/GetBootstrapBrokersCommand";
23
25
  import { GetClusterPolicyCommand, } from "./commands/GetClusterPolicyCommand";
@@ -34,6 +36,7 @@ import { ListNodesCommand } from "./commands/ListNodesCommand";
34
36
  import { ListReplicatorsCommand, } from "./commands/ListReplicatorsCommand";
35
37
  import { ListScramSecretsCommand, } from "./commands/ListScramSecretsCommand";
36
38
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
39
+ import { ListTopicsCommand } from "./commands/ListTopicsCommand";
37
40
  import { ListVpcConnectionsCommand, } from "./commands/ListVpcConnectionsCommand";
38
41
  import { PutClusterPolicyCommand, } from "./commands/PutClusterPolicyCommand";
39
42
  import { RebootBrokerCommand, } from "./commands/RebootBrokerCommand";
@@ -73,6 +76,8 @@ const commands = {
73
76
  DescribeConfigurationCommand,
74
77
  DescribeConfigurationRevisionCommand,
75
78
  DescribeReplicatorCommand,
79
+ DescribeTopicCommand,
80
+ DescribeTopicPartitionsCommand,
76
81
  DescribeVpcConnectionCommand,
77
82
  GetBootstrapBrokersCommand,
78
83
  GetClusterPolicyCommand,
@@ -89,6 +94,7 @@ const commands = {
89
94
  ListReplicatorsCommand,
90
95
  ListScramSecretsCommand,
91
96
  ListTagsForResourceCommand,
97
+ ListTopicsCommand,
92
98
  ListVpcConnectionsCommand,
93
99
  PutClusterPolicyCommand,
94
100
  RebootBrokerCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeTopic } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeTopicCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("Kafka", "DescribeTopic", {})
13
+ .n("KafkaClient", "DescribeTopicCommand")
14
+ .sc(DescribeTopic)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeTopicPartitions } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeTopicPartitionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("Kafka", "DescribeTopicPartitions", {})
13
+ .n("KafkaClient", "DescribeTopicPartitionsCommand")
14
+ .sc(DescribeTopicPartitions)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListTopics } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListTopicsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("Kafka", "ListTopics", {})
13
+ .n("KafkaClient", "ListTopicsCommand")
14
+ .sc(ListTopics)
15
+ .build() {
16
+ }
@@ -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";
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./KafkaClient";
2
2
  export * from "./Kafka";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { KafkaServiceException } from "./models/KafkaServiceException";
@@ -0,0 +1,95 @@
1
+ export const VpcConnectionState = {
2
+ AVAILABLE: "AVAILABLE",
3
+ CREATING: "CREATING",
4
+ DEACTIVATING: "DEACTIVATING",
5
+ DELETING: "DELETING",
6
+ FAILED: "FAILED",
7
+ INACTIVE: "INACTIVE",
8
+ REJECTED: "REJECTED",
9
+ REJECTING: "REJECTING",
10
+ };
11
+ export const ClusterType = {
12
+ PROVISIONED: "PROVISIONED",
13
+ SERVERLESS: "SERVERLESS",
14
+ };
15
+ export const BrokerAZDistribution = {
16
+ DEFAULT: "DEFAULT",
17
+ };
18
+ export const CustomerActionStatus = {
19
+ ACTION_RECOMMENDED: "ACTION_RECOMMENDED",
20
+ CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
21
+ NONE: "NONE",
22
+ };
23
+ export const ClientBroker = {
24
+ PLAINTEXT: "PLAINTEXT",
25
+ TLS: "TLS",
26
+ TLS_PLAINTEXT: "TLS_PLAINTEXT",
27
+ };
28
+ export const EnhancedMonitoring = {
29
+ DEFAULT: "DEFAULT",
30
+ PER_BROKER: "PER_BROKER",
31
+ PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
32
+ PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
33
+ };
34
+ export const RebalancingStatus = {
35
+ ACTIVE: "ACTIVE",
36
+ PAUSED: "PAUSED",
37
+ };
38
+ export const StorageMode = {
39
+ LOCAL: "LOCAL",
40
+ TIERED: "TIERED",
41
+ };
42
+ export const ClusterState = {
43
+ ACTIVE: "ACTIVE",
44
+ CREATING: "CREATING",
45
+ DELETING: "DELETING",
46
+ FAILED: "FAILED",
47
+ HEALING: "HEALING",
48
+ MAINTENANCE: "MAINTENANCE",
49
+ REBOOTING_BROKER: "REBOOTING_BROKER",
50
+ UPDATING: "UPDATING",
51
+ };
52
+ export const UserIdentityType = {
53
+ AWSACCOUNT: "AWSACCOUNT",
54
+ AWSSERVICE: "AWSSERVICE",
55
+ };
56
+ export const ConfigurationState = {
57
+ ACTIVE: "ACTIVE",
58
+ DELETE_FAILED: "DELETE_FAILED",
59
+ DELETING: "DELETING",
60
+ };
61
+ export const KafkaVersionStatus = {
62
+ ACTIVE: "ACTIVE",
63
+ DEPRECATED: "DEPRECATED",
64
+ };
65
+ export const NodeType = {
66
+ BROKER: "BROKER",
67
+ };
68
+ export const TargetCompressionType = {
69
+ GZIP: "GZIP",
70
+ LZ4: "LZ4",
71
+ NONE: "NONE",
72
+ SNAPPY: "SNAPPY",
73
+ ZSTD: "ZSTD",
74
+ };
75
+ export const ReplicationStartingPositionType = {
76
+ EARLIEST: "EARLIEST",
77
+ LATEST: "LATEST",
78
+ };
79
+ export const ReplicationTopicNameConfigurationType = {
80
+ IDENTICAL: "IDENTICAL",
81
+ PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
82
+ };
83
+ export const ReplicatorState = {
84
+ CREATING: "CREATING",
85
+ DELETING: "DELETING",
86
+ FAILED: "FAILED",
87
+ RUNNING: "RUNNING",
88
+ UPDATING: "UPDATING",
89
+ };
90
+ export const TopicState = {
91
+ ACTIVE: "ACTIVE",
92
+ CREATING: "CREATING",
93
+ DELETING: "DELETING",
94
+ UPDATING: "UPDATING",
95
+ };
@@ -0,0 +1,129 @@
1
+ import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
2
+ export class BadRequestException extends __BaseException {
3
+ name = "BadRequestException";
4
+ $fault = "client";
5
+ InvalidParameter;
6
+ Message;
7
+ constructor(opts) {
8
+ super({
9
+ name: "BadRequestException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ Object.setPrototypeOf(this, BadRequestException.prototype);
14
+ this.InvalidParameter = opts.InvalidParameter;
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ export class ForbiddenException extends __BaseException {
19
+ name = "ForbiddenException";
20
+ $fault = "client";
21
+ InvalidParameter;
22
+ Message;
23
+ constructor(opts) {
24
+ super({
25
+ name: "ForbiddenException",
26
+ $fault: "client",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
30
+ this.InvalidParameter = opts.InvalidParameter;
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ export class InternalServerErrorException extends __BaseException {
35
+ name = "InternalServerErrorException";
36
+ $fault = "server";
37
+ InvalidParameter;
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "InternalServerErrorException",
42
+ $fault: "server",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
46
+ this.InvalidParameter = opts.InvalidParameter;
47
+ this.Message = opts.Message;
48
+ }
49
+ }
50
+ export class NotFoundException extends __BaseException {
51
+ name = "NotFoundException";
52
+ $fault = "client";
53
+ InvalidParameter;
54
+ Message;
55
+ constructor(opts) {
56
+ super({
57
+ name: "NotFoundException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, NotFoundException.prototype);
62
+ this.InvalidParameter = opts.InvalidParameter;
63
+ this.Message = opts.Message;
64
+ }
65
+ }
66
+ export class ServiceUnavailableException extends __BaseException {
67
+ name = "ServiceUnavailableException";
68
+ $fault = "server";
69
+ InvalidParameter;
70
+ Message;
71
+ constructor(opts) {
72
+ super({
73
+ name: "ServiceUnavailableException",
74
+ $fault: "server",
75
+ ...opts,
76
+ });
77
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
78
+ this.InvalidParameter = opts.InvalidParameter;
79
+ this.Message = opts.Message;
80
+ }
81
+ }
82
+ export class TooManyRequestsException extends __BaseException {
83
+ name = "TooManyRequestsException";
84
+ $fault = "client";
85
+ InvalidParameter;
86
+ Message;
87
+ constructor(opts) {
88
+ super({
89
+ name: "TooManyRequestsException",
90
+ $fault: "client",
91
+ ...opts,
92
+ });
93
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
94
+ this.InvalidParameter = opts.InvalidParameter;
95
+ this.Message = opts.Message;
96
+ }
97
+ }
98
+ export class UnauthorizedException extends __BaseException {
99
+ name = "UnauthorizedException";
100
+ $fault = "client";
101
+ InvalidParameter;
102
+ Message;
103
+ constructor(opts) {
104
+ super({
105
+ name: "UnauthorizedException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
110
+ this.InvalidParameter = opts.InvalidParameter;
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ export class ConflictException extends __BaseException {
115
+ name = "ConflictException";
116
+ $fault = "client";
117
+ InvalidParameter;
118
+ Message;
119
+ constructor(opts) {
120
+ super({
121
+ name: "ConflictException",
122
+ $fault: "client",
123
+ ...opts,
124
+ });
125
+ Object.setPrototypeOf(this, ConflictException.prototype);
126
+ this.InvalidParameter = opts.InvalidParameter;
127
+ this.Message = opts.Message;
128
+ }
129
+ }
@@ -1,218 +1 @@
1
- import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
2
- export const VpcConnectionState = {
3
- AVAILABLE: "AVAILABLE",
4
- CREATING: "CREATING",
5
- DEACTIVATING: "DEACTIVATING",
6
- DELETING: "DELETING",
7
- FAILED: "FAILED",
8
- INACTIVE: "INACTIVE",
9
- REJECTED: "REJECTED",
10
- REJECTING: "REJECTING",
11
- };
12
- export const ClusterType = {
13
- PROVISIONED: "PROVISIONED",
14
- SERVERLESS: "SERVERLESS",
15
- };
16
- export const BrokerAZDistribution = {
17
- DEFAULT: "DEFAULT",
18
- };
19
- export const CustomerActionStatus = {
20
- ACTION_RECOMMENDED: "ACTION_RECOMMENDED",
21
- CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
22
- NONE: "NONE",
23
- };
24
- export const ClientBroker = {
25
- PLAINTEXT: "PLAINTEXT",
26
- TLS: "TLS",
27
- TLS_PLAINTEXT: "TLS_PLAINTEXT",
28
- };
29
- export const EnhancedMonitoring = {
30
- DEFAULT: "DEFAULT",
31
- PER_BROKER: "PER_BROKER",
32
- PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
33
- PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
34
- };
35
- export const RebalancingStatus = {
36
- ACTIVE: "ACTIVE",
37
- PAUSED: "PAUSED",
38
- };
39
- export const StorageMode = {
40
- LOCAL: "LOCAL",
41
- TIERED: "TIERED",
42
- };
43
- export const ClusterState = {
44
- ACTIVE: "ACTIVE",
45
- CREATING: "CREATING",
46
- DELETING: "DELETING",
47
- FAILED: "FAILED",
48
- HEALING: "HEALING",
49
- MAINTENANCE: "MAINTENANCE",
50
- REBOOTING_BROKER: "REBOOTING_BROKER",
51
- UPDATING: "UPDATING",
52
- };
53
- export const UserIdentityType = {
54
- AWSACCOUNT: "AWSACCOUNT",
55
- AWSSERVICE: "AWSSERVICE",
56
- };
57
- export const ConfigurationState = {
58
- ACTIVE: "ACTIVE",
59
- DELETE_FAILED: "DELETE_FAILED",
60
- DELETING: "DELETING",
61
- };
62
- export const KafkaVersionStatus = {
63
- ACTIVE: "ACTIVE",
64
- DEPRECATED: "DEPRECATED",
65
- };
66
- export const NodeType = {
67
- BROKER: "BROKER",
68
- };
69
- export const TargetCompressionType = {
70
- GZIP: "GZIP",
71
- LZ4: "LZ4",
72
- NONE: "NONE",
73
- SNAPPY: "SNAPPY",
74
- ZSTD: "ZSTD",
75
- };
76
- export const ReplicationStartingPositionType = {
77
- EARLIEST: "EARLIEST",
78
- LATEST: "LATEST",
79
- };
80
- export const ReplicationTopicNameConfigurationType = {
81
- IDENTICAL: "IDENTICAL",
82
- PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
83
- };
84
- export const ReplicatorState = {
85
- CREATING: "CREATING",
86
- DELETING: "DELETING",
87
- FAILED: "FAILED",
88
- RUNNING: "RUNNING",
89
- UPDATING: "UPDATING",
90
- };
91
- export class BadRequestException extends __BaseException {
92
- name = "BadRequestException";
93
- $fault = "client";
94
- InvalidParameter;
95
- Message;
96
- constructor(opts) {
97
- super({
98
- name: "BadRequestException",
99
- $fault: "client",
100
- ...opts,
101
- });
102
- Object.setPrototypeOf(this, BadRequestException.prototype);
103
- this.InvalidParameter = opts.InvalidParameter;
104
- this.Message = opts.Message;
105
- }
106
- }
107
- export class ForbiddenException extends __BaseException {
108
- name = "ForbiddenException";
109
- $fault = "client";
110
- InvalidParameter;
111
- Message;
112
- constructor(opts) {
113
- super({
114
- name: "ForbiddenException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- Object.setPrototypeOf(this, ForbiddenException.prototype);
119
- this.InvalidParameter = opts.InvalidParameter;
120
- this.Message = opts.Message;
121
- }
122
- }
123
- export class InternalServerErrorException extends __BaseException {
124
- name = "InternalServerErrorException";
125
- $fault = "server";
126
- InvalidParameter;
127
- Message;
128
- constructor(opts) {
129
- super({
130
- name: "InternalServerErrorException",
131
- $fault: "server",
132
- ...opts,
133
- });
134
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
135
- this.InvalidParameter = opts.InvalidParameter;
136
- this.Message = opts.Message;
137
- }
138
- }
139
- export class NotFoundException extends __BaseException {
140
- name = "NotFoundException";
141
- $fault = "client";
142
- InvalidParameter;
143
- Message;
144
- constructor(opts) {
145
- super({
146
- name: "NotFoundException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- Object.setPrototypeOf(this, NotFoundException.prototype);
151
- this.InvalidParameter = opts.InvalidParameter;
152
- this.Message = opts.Message;
153
- }
154
- }
155
- export class ServiceUnavailableException extends __BaseException {
156
- name = "ServiceUnavailableException";
157
- $fault = "server";
158
- InvalidParameter;
159
- Message;
160
- constructor(opts) {
161
- super({
162
- name: "ServiceUnavailableException",
163
- $fault: "server",
164
- ...opts,
165
- });
166
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
167
- this.InvalidParameter = opts.InvalidParameter;
168
- this.Message = opts.Message;
169
- }
170
- }
171
- export class TooManyRequestsException extends __BaseException {
172
- name = "TooManyRequestsException";
173
- $fault = "client";
174
- InvalidParameter;
175
- Message;
176
- constructor(opts) {
177
- super({
178
- name: "TooManyRequestsException",
179
- $fault: "client",
180
- ...opts,
181
- });
182
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
183
- this.InvalidParameter = opts.InvalidParameter;
184
- this.Message = opts.Message;
185
- }
186
- }
187
- export class UnauthorizedException extends __BaseException {
188
- name = "UnauthorizedException";
189
- $fault = "client";
190
- InvalidParameter;
191
- Message;
192
- constructor(opts) {
193
- super({
194
- name: "UnauthorizedException",
195
- $fault: "client",
196
- ...opts,
197
- });
198
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
199
- this.InvalidParameter = opts.InvalidParameter;
200
- this.Message = opts.Message;
201
- }
202
- }
203
- export class ConflictException extends __BaseException {
204
- name = "ConflictException";
205
- $fault = "client";
206
- InvalidParameter;
207
- Message;
208
- constructor(opts) {
209
- super({
210
- name: "ConflictException",
211
- $fault: "client",
212
- ...opts,
213
- });
214
- Object.setPrototypeOf(this, ConflictException.prototype);
215
- this.InvalidParameter = opts.InvalidParameter;
216
- this.Message = opts.Message;
217
- }
218
- }
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeTopicPartitionsCommand, } from "../commands/DescribeTopicPartitionsCommand";
3
+ import { KafkaClient } from "../KafkaClient";
4
+ export const paginateDescribeTopicPartitions = createPaginator(KafkaClient, DescribeTopicPartitionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListTopicsCommand } from "../commands/ListTopicsCommand";
3
+ import { KafkaClient } from "../KafkaClient";
4
+ export const paginateListTopics = createPaginator(KafkaClient, ListTopicsCommand, "NextToken", "NextToken", "MaxResults");
@@ -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";