@aws-sdk/client-firehose 3.52.0 → 3.53.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
@@ -2,3 +2,4 @@ export * from "./Firehose";
2
2
  export * from "./FirehoseClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { FirehoseServiceException } from "./models/FirehoseServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var FirehoseServiceException = (function (_super) {
4
+ __extends(FirehoseServiceException, _super);
5
+ function FirehoseServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, FirehoseServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return FirehoseServiceException;
11
+ }(__ServiceException));
12
+ export { FirehoseServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { FirehoseServiceException as __BaseException } from "./FirehoseServiceException";
3
4
  export var AmazonopensearchserviceBufferingHints;
4
5
  (function (AmazonopensearchserviceBufferingHints) {
5
6
  AmazonopensearchserviceBufferingHints.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -101,6 +102,18 @@ export var AmazonopensearchserviceDestinationUpdate;
101
102
  (function (AmazonopensearchserviceDestinationUpdate) {
102
103
  AmazonopensearchserviceDestinationUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
103
104
  })(AmazonopensearchserviceDestinationUpdate || (AmazonopensearchserviceDestinationUpdate = {}));
105
+ var ConcurrentModificationException = (function (_super) {
106
+ __extends(ConcurrentModificationException, _super);
107
+ function ConcurrentModificationException(opts) {
108
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
109
+ _this.name = "ConcurrentModificationException";
110
+ _this.$fault = "client";
111
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
112
+ return _this;
113
+ }
114
+ return ConcurrentModificationException;
115
+ }(__BaseException));
116
+ export { ConcurrentModificationException };
104
117
  export var ContentEncoding;
105
118
  (function (ContentEncoding) {
106
119
  ContentEncoding["GZIP"] = "GZIP";
@@ -271,6 +284,55 @@ export var CreateDeliveryStreamOutput;
271
284
  (function (CreateDeliveryStreamOutput) {
272
285
  CreateDeliveryStreamOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
273
286
  })(CreateDeliveryStreamOutput || (CreateDeliveryStreamOutput = {}));
287
+ var InvalidArgumentException = (function (_super) {
288
+ __extends(InvalidArgumentException, _super);
289
+ function InvalidArgumentException(opts) {
290
+ var _this = _super.call(this, __assign({ name: "InvalidArgumentException", $fault: "client" }, opts)) || this;
291
+ _this.name = "InvalidArgumentException";
292
+ _this.$fault = "client";
293
+ Object.setPrototypeOf(_this, InvalidArgumentException.prototype);
294
+ return _this;
295
+ }
296
+ return InvalidArgumentException;
297
+ }(__BaseException));
298
+ export { InvalidArgumentException };
299
+ var InvalidKMSResourceException = (function (_super) {
300
+ __extends(InvalidKMSResourceException, _super);
301
+ function InvalidKMSResourceException(opts) {
302
+ var _this = _super.call(this, __assign({ name: "InvalidKMSResourceException", $fault: "client" }, opts)) || this;
303
+ _this.name = "InvalidKMSResourceException";
304
+ _this.$fault = "client";
305
+ Object.setPrototypeOf(_this, InvalidKMSResourceException.prototype);
306
+ _this.code = opts.code;
307
+ return _this;
308
+ }
309
+ return InvalidKMSResourceException;
310
+ }(__BaseException));
311
+ export { InvalidKMSResourceException };
312
+ var LimitExceededException = (function (_super) {
313
+ __extends(LimitExceededException, _super);
314
+ function LimitExceededException(opts) {
315
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
316
+ _this.name = "LimitExceededException";
317
+ _this.$fault = "client";
318
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
319
+ return _this;
320
+ }
321
+ return LimitExceededException;
322
+ }(__BaseException));
323
+ export { LimitExceededException };
324
+ var ResourceInUseException = (function (_super) {
325
+ __extends(ResourceInUseException, _super);
326
+ function ResourceInUseException(opts) {
327
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
328
+ _this.name = "ResourceInUseException";
329
+ _this.$fault = "client";
330
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
331
+ return _this;
332
+ }
333
+ return ResourceInUseException;
334
+ }(__BaseException));
335
+ export { ResourceInUseException };
274
336
  export var DeleteDeliveryStreamInput;
275
337
  (function (DeleteDeliveryStreamInput) {
276
338
  DeleteDeliveryStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -279,6 +341,18 @@ export var DeleteDeliveryStreamOutput;
279
341
  (function (DeleteDeliveryStreamOutput) {
280
342
  DeleteDeliveryStreamOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
281
343
  })(DeleteDeliveryStreamOutput || (DeleteDeliveryStreamOutput = {}));
344
+ var ResourceNotFoundException = (function (_super) {
345
+ __extends(ResourceNotFoundException, _super);
346
+ function ResourceNotFoundException(opts) {
347
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
348
+ _this.name = "ResourceNotFoundException";
349
+ _this.$fault = "client";
350
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
351
+ return _this;
352
+ }
353
+ return ResourceNotFoundException;
354
+ }(__BaseException));
355
+ export { ResourceNotFoundException };
282
356
  export var DeliveryStreamFailureType;
283
357
  (function (DeliveryStreamFailureType) {
284
358
  DeliveryStreamFailureType["CREATE_ENI_FAILED"] = "CREATE_ENI_FAILED";
@@ -418,6 +492,18 @@ export var PutRecordOutput;
418
492
  (function (PutRecordOutput) {
419
493
  PutRecordOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
420
494
  })(PutRecordOutput || (PutRecordOutput = {}));
495
+ var ServiceUnavailableException = (function (_super) {
496
+ __extends(ServiceUnavailableException, _super);
497
+ function ServiceUnavailableException(opts) {
498
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
499
+ _this.name = "ServiceUnavailableException";
500
+ _this.$fault = "server";
501
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
502
+ return _this;
503
+ }
504
+ return ServiceUnavailableException;
505
+ }(__BaseException));
506
+ export { ServiceUnavailableException };
421
507
  export var PutRecordBatchInput;
422
508
  (function (PutRecordBatchInput) {
423
509
  PutRecordBatchInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };