@aws-sdk/client-kafka 3.51.0 → 3.54.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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./KafkaClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KafkaServiceException } from "./models/KafkaServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var KafkaServiceException = (function (_super) {
4
+ __extends(KafkaServiceException, _super);
5
+ function KafkaServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, KafkaServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return KafkaServiceException;
11
+ }(__ServiceException));
12
+ export { KafkaServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
2
3
  export var ProvisionedThroughput;
3
4
  (function (ProvisionedThroughput) {
4
5
  ProvisionedThroughput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -255,6 +256,20 @@ export var UnprocessedScramSecret;
255
256
  (function (UnprocessedScramSecret) {
256
257
  UnprocessedScramSecret.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
257
258
  })(UnprocessedScramSecret || (UnprocessedScramSecret = {}));
259
+ var BadRequestException = (function (_super) {
260
+ __extends(BadRequestException, _super);
261
+ function BadRequestException(opts) {
262
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
263
+ _this.name = "BadRequestException";
264
+ _this.$fault = "client";
265
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
266
+ _this.InvalidParameter = opts.InvalidParameter;
267
+ _this.Message = opts.Message;
268
+ return _this;
269
+ }
270
+ return BadRequestException;
271
+ }(__BaseException));
272
+ export { BadRequestException };
258
273
  export var BatchAssociateScramSecretRequest;
259
274
  (function (BatchAssociateScramSecretRequest) {
260
275
  BatchAssociateScramSecretRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -263,6 +278,90 @@ export var BatchAssociateScramSecretResponse;
263
278
  (function (BatchAssociateScramSecretResponse) {
264
279
  BatchAssociateScramSecretResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
265
280
  })(BatchAssociateScramSecretResponse || (BatchAssociateScramSecretResponse = {}));
281
+ var ForbiddenException = (function (_super) {
282
+ __extends(ForbiddenException, _super);
283
+ function ForbiddenException(opts) {
284
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
285
+ _this.name = "ForbiddenException";
286
+ _this.$fault = "client";
287
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
288
+ _this.InvalidParameter = opts.InvalidParameter;
289
+ _this.Message = opts.Message;
290
+ return _this;
291
+ }
292
+ return ForbiddenException;
293
+ }(__BaseException));
294
+ export { ForbiddenException };
295
+ var InternalServerErrorException = (function (_super) {
296
+ __extends(InternalServerErrorException, _super);
297
+ function InternalServerErrorException(opts) {
298
+ var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
299
+ _this.name = "InternalServerErrorException";
300
+ _this.$fault = "server";
301
+ Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
302
+ _this.InvalidParameter = opts.InvalidParameter;
303
+ _this.Message = opts.Message;
304
+ return _this;
305
+ }
306
+ return InternalServerErrorException;
307
+ }(__BaseException));
308
+ export { InternalServerErrorException };
309
+ var NotFoundException = (function (_super) {
310
+ __extends(NotFoundException, _super);
311
+ function NotFoundException(opts) {
312
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
313
+ _this.name = "NotFoundException";
314
+ _this.$fault = "client";
315
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
316
+ _this.InvalidParameter = opts.InvalidParameter;
317
+ _this.Message = opts.Message;
318
+ return _this;
319
+ }
320
+ return NotFoundException;
321
+ }(__BaseException));
322
+ export { NotFoundException };
323
+ var ServiceUnavailableException = (function (_super) {
324
+ __extends(ServiceUnavailableException, _super);
325
+ function ServiceUnavailableException(opts) {
326
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
327
+ _this.name = "ServiceUnavailableException";
328
+ _this.$fault = "server";
329
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
330
+ _this.InvalidParameter = opts.InvalidParameter;
331
+ _this.Message = opts.Message;
332
+ return _this;
333
+ }
334
+ return ServiceUnavailableException;
335
+ }(__BaseException));
336
+ export { ServiceUnavailableException };
337
+ var TooManyRequestsException = (function (_super) {
338
+ __extends(TooManyRequestsException, _super);
339
+ function TooManyRequestsException(opts) {
340
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
341
+ _this.name = "TooManyRequestsException";
342
+ _this.$fault = "client";
343
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
344
+ _this.InvalidParameter = opts.InvalidParameter;
345
+ _this.Message = opts.Message;
346
+ return _this;
347
+ }
348
+ return TooManyRequestsException;
349
+ }(__BaseException));
350
+ export { TooManyRequestsException };
351
+ var UnauthorizedException = (function (_super) {
352
+ __extends(UnauthorizedException, _super);
353
+ function UnauthorizedException(opts) {
354
+ var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
355
+ _this.name = "UnauthorizedException";
356
+ _this.$fault = "client";
357
+ Object.setPrototypeOf(_this, UnauthorizedException.prototype);
358
+ _this.InvalidParameter = opts.InvalidParameter;
359
+ _this.Message = opts.Message;
360
+ return _this;
361
+ }
362
+ return UnauthorizedException;
363
+ }(__BaseException));
364
+ export { UnauthorizedException };
266
365
  export var BatchDisassociateScramSecretRequest;
267
366
  (function (BatchDisassociateScramSecretRequest) {
268
367
  BatchDisassociateScramSecretRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -271,6 +370,20 @@ export var BatchDisassociateScramSecretResponse;
271
370
  (function (BatchDisassociateScramSecretResponse) {
272
371
  BatchDisassociateScramSecretResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
273
372
  })(BatchDisassociateScramSecretResponse || (BatchDisassociateScramSecretResponse = {}));
373
+ var ConflictException = (function (_super) {
374
+ __extends(ConflictException, _super);
375
+ function ConflictException(opts) {
376
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
377
+ _this.name = "ConflictException";
378
+ _this.$fault = "client";
379
+ Object.setPrototypeOf(_this, ConflictException.prototype);
380
+ _this.InvalidParameter = opts.InvalidParameter;
381
+ _this.Message = opts.Message;
382
+ return _this;
383
+ }
384
+ return ConflictException;
385
+ }(__BaseException));
386
+ export { ConflictException };
274
387
  export var CreateClusterRequest;
275
388
  (function (CreateClusterRequest) {
276
389
  CreateClusterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };