@aws-sdk/client-kafka 3.934.0 → 3.936.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/dist-cjs/index.js CHANGED
@@ -117,95 +117,6 @@ let KafkaServiceException$1 = class KafkaServiceException extends smithyClient.S
117
117
  }
118
118
  };
119
119
 
120
- const VpcConnectionState = {
121
- AVAILABLE: "AVAILABLE",
122
- CREATING: "CREATING",
123
- DEACTIVATING: "DEACTIVATING",
124
- DELETING: "DELETING",
125
- FAILED: "FAILED",
126
- INACTIVE: "INACTIVE",
127
- REJECTED: "REJECTED",
128
- REJECTING: "REJECTING",
129
- };
130
- const ClusterType = {
131
- PROVISIONED: "PROVISIONED",
132
- SERVERLESS: "SERVERLESS",
133
- };
134
- const BrokerAZDistribution = {
135
- DEFAULT: "DEFAULT",
136
- };
137
- const CustomerActionStatus = {
138
- ACTION_RECOMMENDED: "ACTION_RECOMMENDED",
139
- CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
140
- NONE: "NONE",
141
- };
142
- const ClientBroker = {
143
- PLAINTEXT: "PLAINTEXT",
144
- TLS: "TLS",
145
- TLS_PLAINTEXT: "TLS_PLAINTEXT",
146
- };
147
- const EnhancedMonitoring = {
148
- DEFAULT: "DEFAULT",
149
- PER_BROKER: "PER_BROKER",
150
- PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
151
- PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
152
- };
153
- const RebalancingStatus = {
154
- ACTIVE: "ACTIVE",
155
- PAUSED: "PAUSED",
156
- };
157
- const StorageMode = {
158
- LOCAL: "LOCAL",
159
- TIERED: "TIERED",
160
- };
161
- const ClusterState = {
162
- ACTIVE: "ACTIVE",
163
- CREATING: "CREATING",
164
- DELETING: "DELETING",
165
- FAILED: "FAILED",
166
- HEALING: "HEALING",
167
- MAINTENANCE: "MAINTENANCE",
168
- REBOOTING_BROKER: "REBOOTING_BROKER",
169
- UPDATING: "UPDATING",
170
- };
171
- const UserIdentityType = {
172
- AWSACCOUNT: "AWSACCOUNT",
173
- AWSSERVICE: "AWSSERVICE",
174
- };
175
- const ConfigurationState = {
176
- ACTIVE: "ACTIVE",
177
- DELETE_FAILED: "DELETE_FAILED",
178
- DELETING: "DELETING",
179
- };
180
- const KafkaVersionStatus = {
181
- ACTIVE: "ACTIVE",
182
- DEPRECATED: "DEPRECATED",
183
- };
184
- const NodeType = {
185
- BROKER: "BROKER",
186
- };
187
- const TargetCompressionType = {
188
- GZIP: "GZIP",
189
- LZ4: "LZ4",
190
- NONE: "NONE",
191
- SNAPPY: "SNAPPY",
192
- ZSTD: "ZSTD",
193
- };
194
- const ReplicationStartingPositionType = {
195
- EARLIEST: "EARLIEST",
196
- LATEST: "LATEST",
197
- };
198
- const ReplicationTopicNameConfigurationType = {
199
- IDENTICAL: "IDENTICAL",
200
- PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
201
- };
202
- const ReplicatorState = {
203
- CREATING: "CREATING",
204
- DELETING: "DELETING",
205
- FAILED: "FAILED",
206
- RUNNING: "RUNNING",
207
- UPDATING: "UPDATING",
208
- };
209
120
  let BadRequestException$1 = class BadRequestException extends KafkaServiceException$1 {
210
121
  name = "BadRequestException";
211
122
  $fault = "client";
@@ -334,12 +245,6 @@ let ConflictException$1 = class ConflictException extends KafkaServiceException$
334
245
  this.Message = opts.Message;
335
246
  }
336
247
  };
337
- const TopicState = {
338
- ACTIVE: "ACTIVE",
339
- CREATING: "CREATING",
340
- DELETING: "DELETING",
341
- UPDATING: "UPDATING",
342
- };
343
248
 
344
249
  const _A = "Authentication";
345
250
  const _AENII = "AttachedENIId";
@@ -7698,6 +7603,102 @@ const paginateListTopics = core.createPaginator(KafkaClient, ListTopicsCommand,
7698
7603
 
7699
7604
  const paginateListVpcConnections = core.createPaginator(KafkaClient, ListVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
7700
7605
 
7606
+ const VpcConnectionState = {
7607
+ AVAILABLE: "AVAILABLE",
7608
+ CREATING: "CREATING",
7609
+ DEACTIVATING: "DEACTIVATING",
7610
+ DELETING: "DELETING",
7611
+ FAILED: "FAILED",
7612
+ INACTIVE: "INACTIVE",
7613
+ REJECTED: "REJECTED",
7614
+ REJECTING: "REJECTING",
7615
+ };
7616
+ const ClusterType = {
7617
+ PROVISIONED: "PROVISIONED",
7618
+ SERVERLESS: "SERVERLESS",
7619
+ };
7620
+ const BrokerAZDistribution = {
7621
+ DEFAULT: "DEFAULT",
7622
+ };
7623
+ const CustomerActionStatus = {
7624
+ ACTION_RECOMMENDED: "ACTION_RECOMMENDED",
7625
+ CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
7626
+ NONE: "NONE",
7627
+ };
7628
+ const ClientBroker = {
7629
+ PLAINTEXT: "PLAINTEXT",
7630
+ TLS: "TLS",
7631
+ TLS_PLAINTEXT: "TLS_PLAINTEXT",
7632
+ };
7633
+ const EnhancedMonitoring = {
7634
+ DEFAULT: "DEFAULT",
7635
+ PER_BROKER: "PER_BROKER",
7636
+ PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
7637
+ PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
7638
+ };
7639
+ const RebalancingStatus = {
7640
+ ACTIVE: "ACTIVE",
7641
+ PAUSED: "PAUSED",
7642
+ };
7643
+ const StorageMode = {
7644
+ LOCAL: "LOCAL",
7645
+ TIERED: "TIERED",
7646
+ };
7647
+ const ClusterState = {
7648
+ ACTIVE: "ACTIVE",
7649
+ CREATING: "CREATING",
7650
+ DELETING: "DELETING",
7651
+ FAILED: "FAILED",
7652
+ HEALING: "HEALING",
7653
+ MAINTENANCE: "MAINTENANCE",
7654
+ REBOOTING_BROKER: "REBOOTING_BROKER",
7655
+ UPDATING: "UPDATING",
7656
+ };
7657
+ const UserIdentityType = {
7658
+ AWSACCOUNT: "AWSACCOUNT",
7659
+ AWSSERVICE: "AWSSERVICE",
7660
+ };
7661
+ const ConfigurationState = {
7662
+ ACTIVE: "ACTIVE",
7663
+ DELETE_FAILED: "DELETE_FAILED",
7664
+ DELETING: "DELETING",
7665
+ };
7666
+ const KafkaVersionStatus = {
7667
+ ACTIVE: "ACTIVE",
7668
+ DEPRECATED: "DEPRECATED",
7669
+ };
7670
+ const NodeType = {
7671
+ BROKER: "BROKER",
7672
+ };
7673
+ const TargetCompressionType = {
7674
+ GZIP: "GZIP",
7675
+ LZ4: "LZ4",
7676
+ NONE: "NONE",
7677
+ SNAPPY: "SNAPPY",
7678
+ ZSTD: "ZSTD",
7679
+ };
7680
+ const ReplicationStartingPositionType = {
7681
+ EARLIEST: "EARLIEST",
7682
+ LATEST: "LATEST",
7683
+ };
7684
+ const ReplicationTopicNameConfigurationType = {
7685
+ IDENTICAL: "IDENTICAL",
7686
+ PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
7687
+ };
7688
+ const ReplicatorState = {
7689
+ CREATING: "CREATING",
7690
+ DELETING: "DELETING",
7691
+ FAILED: "FAILED",
7692
+ RUNNING: "RUNNING",
7693
+ UPDATING: "UPDATING",
7694
+ };
7695
+ const TopicState = {
7696
+ ACTIVE: "ACTIVE",
7697
+ CREATING: "CREATING",
7698
+ DELETING: "DELETING",
7699
+ UPDATING: "UPDATING",
7700
+ };
7701
+
7701
7702
  Object.defineProperty(exports, "$Command", {
7702
7703
  enumerable: true,
7703
7704
  get: function () { return smithyClient.Command; }
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,224 +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
- }
219
- export const TopicState = {
220
- ACTIVE: "ACTIVE",
221
- CREATING: "CREATING",
222
- DELETING: "DELETING",
223
- UPDATING: "UPDATING",
224
- };
1
+ export {};
@@ -672,7 +672,7 @@ const _zNI = "zookeeperNodeInfo";
672
672
  const _zV = "zookeeperVersion";
673
673
  const n0 = "com.amazonaws.kafka";
674
674
  import { TypeRegistry } from "@smithy/core/schema";
675
- import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, UnauthorizedException as __UnauthorizedException, } from "../models/index";
675
+ import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, UnauthorizedException as __UnauthorizedException, } from "../models/errors";
676
676
  import { KafkaServiceException as __KafkaServiceException } from "../models/KafkaServiceException";
677
677
  export var AmazonMskCluster = [
678
678
  3,
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { KafkaExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { KafkaServiceException } from "./models/KafkaServiceException";