@aws-sdk/client-firehose 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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-firehose
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-firehose
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-firehose
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FirehoseServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Firehose"), exports);
5
6
  tslib_1.__exportStar(require("./FirehoseClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var FirehoseServiceException_1 = require("./models/FirehoseServiceException");
10
+ Object.defineProperty(exports, "FirehoseServiceException", { enumerable: true, get: function () { return FirehoseServiceException_1.FirehoseServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FirehoseServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class FirehoseServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, FirehoseServiceException.prototype);
9
+ }
10
+ }
11
+ exports.FirehoseServiceException = FirehoseServiceException;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpEndpointRetryOptions = exports.HttpEndpointRequestConfiguration = exports.HttpEndpointCommonAttribute = exports.HttpEndpointConfiguration = exports.HttpEndpointBufferingHints = exports.ExtendedS3DestinationConfiguration = exports.DynamicPartitioningConfiguration = exports.RetryOptions = exports.DataFormatConversionConfiguration = exports.SchemaConfiguration = exports.OutputFormatConfiguration = exports.Serializer = exports.ParquetSerDe = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcSerDe = exports.OrcFormatVersion = exports.OrcCompression = exports.InputFormatConfiguration = exports.Deserializer = exports.OpenXJsonSerDe = exports.HiveJsonSerDe = exports.ElasticsearchDestinationConfiguration = exports.ElasticsearchRetryOptions = exports.ElasticsearchBufferingHints = exports.DeliveryStreamEncryptionConfigurationInput = exports.KeyType = exports.CopyCommand = exports.ContentEncoding = exports.AmazonopensearchserviceDestinationUpdate = exports.S3DestinationUpdate = exports.AmazonopensearchserviceDestinationDescription = exports.VpcConfigurationDescription = exports.S3DestinationDescription = exports.AmazonopensearchserviceDestinationConfiguration = exports.VpcConfiguration = exports.S3DestinationConfiguration = exports.EncryptionConfiguration = exports.KMSEncryptionConfig = exports.CompressionFormat = exports.BufferingHints = exports.AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceRetryOptions = exports.ProcessingConfiguration = exports.Processor = exports.ProcessorParameter = exports.ProcessorParameterName = exports.AmazonopensearchserviceIndexRotationPeriod = exports.CloudWatchLoggingOptions = exports.AmazonopensearchserviceBufferingHints = void 0;
4
- exports.RedshiftDestinationUpdate = exports.HttpEndpointDestinationUpdate = exports.UntagDeliveryStreamOutput = exports.UntagDeliveryStreamInput = exports.TagDeliveryStreamOutput = exports.TagDeliveryStreamInput = exports.StopDeliveryStreamEncryptionOutput = exports.StopDeliveryStreamEncryptionInput = exports.StartDeliveryStreamEncryptionOutput = exports.StartDeliveryStreamEncryptionInput = exports.PutRecordBatchOutput = exports.PutRecordBatchResponseEntry = exports.PutRecordBatchInput = exports.PutRecordOutput = exports.PutRecordInput = exports._Record = exports.ListTagsForDeliveryStreamOutput = exports.ListTagsForDeliveryStreamInput = exports.ListDeliveryStreamsOutput = exports.ListDeliveryStreamsInput = exports.ExtendedS3DestinationUpdate = exports.ElasticsearchDestinationUpdate = exports.DescribeDeliveryStreamOutput = exports.DescribeDeliveryStreamInput = exports.DeliveryStreamDescription = exports.SourceDescription = exports.KinesisStreamSourceDescription = exports.DestinationDescription = exports.SplunkDestinationDescription = exports.RedshiftDestinationDescription = exports.HttpEndpointDestinationDescription = exports.HttpEndpointDescription = exports.ExtendedS3DestinationDescription = exports.ElasticsearchDestinationDescription = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionConfiguration = exports.DeliveryStreamEncryptionStatus = exports.FailureDescription = exports.DeliveryStreamFailureType = exports.DeleteDeliveryStreamOutput = exports.DeleteDeliveryStreamInput = exports.CreateDeliveryStreamOutput = exports.CreateDeliveryStreamInput = exports.Tag = exports.SplunkDestinationConfiguration = exports.SplunkRetryOptions = exports.RedshiftDestinationConfiguration = exports.RedshiftRetryOptions = exports.KinesisStreamSourceConfiguration = exports.HttpEndpointDestinationConfiguration = void 0;
5
- exports.UpdateDestinationOutput = exports.UpdateDestinationInput = exports.SplunkDestinationUpdate = void 0;
3
+ exports.HttpEndpointRequestConfiguration = exports.HttpEndpointCommonAttribute = exports.HttpEndpointConfiguration = exports.HttpEndpointBufferingHints = exports.ExtendedS3DestinationConfiguration = exports.DynamicPartitioningConfiguration = exports.RetryOptions = exports.DataFormatConversionConfiguration = exports.SchemaConfiguration = exports.OutputFormatConfiguration = exports.Serializer = exports.ParquetSerDe = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcSerDe = exports.OrcFormatVersion = exports.OrcCompression = exports.InputFormatConfiguration = exports.Deserializer = exports.OpenXJsonSerDe = exports.HiveJsonSerDe = exports.ElasticsearchDestinationConfiguration = exports.ElasticsearchRetryOptions = exports.ElasticsearchBufferingHints = exports.DeliveryStreamEncryptionConfigurationInput = exports.KeyType = exports.CopyCommand = exports.ContentEncoding = exports.ConcurrentModificationException = exports.AmazonopensearchserviceDestinationUpdate = exports.S3DestinationUpdate = exports.AmazonopensearchserviceDestinationDescription = exports.VpcConfigurationDescription = exports.S3DestinationDescription = exports.AmazonopensearchserviceDestinationConfiguration = exports.VpcConfiguration = exports.S3DestinationConfiguration = exports.EncryptionConfiguration = exports.KMSEncryptionConfig = exports.CompressionFormat = exports.BufferingHints = exports.AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceRetryOptions = exports.ProcessingConfiguration = exports.Processor = exports.ProcessorParameter = exports.ProcessorParameterName = exports.AmazonopensearchserviceIndexRotationPeriod = exports.CloudWatchLoggingOptions = exports.AmazonopensearchserviceBufferingHints = void 0;
4
+ exports.StopDeliveryStreamEncryptionInput = exports.StartDeliveryStreamEncryptionOutput = exports.StartDeliveryStreamEncryptionInput = exports.PutRecordBatchOutput = exports.PutRecordBatchResponseEntry = exports.PutRecordBatchInput = exports.ServiceUnavailableException = exports.PutRecordOutput = exports.PutRecordInput = exports._Record = exports.ListTagsForDeliveryStreamOutput = exports.ListTagsForDeliveryStreamInput = exports.ListDeliveryStreamsOutput = exports.ListDeliveryStreamsInput = exports.ExtendedS3DestinationUpdate = exports.ElasticsearchDestinationUpdate = exports.DescribeDeliveryStreamOutput = exports.DescribeDeliveryStreamInput = exports.DeliveryStreamDescription = exports.SourceDescription = exports.KinesisStreamSourceDescription = exports.DestinationDescription = exports.SplunkDestinationDescription = exports.RedshiftDestinationDescription = exports.HttpEndpointDestinationDescription = exports.HttpEndpointDescription = exports.ExtendedS3DestinationDescription = exports.ElasticsearchDestinationDescription = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionConfiguration = exports.DeliveryStreamEncryptionStatus = exports.FailureDescription = exports.DeliveryStreamFailureType = exports.ResourceNotFoundException = exports.DeleteDeliveryStreamOutput = exports.DeleteDeliveryStreamInput = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = exports.CreateDeliveryStreamOutput = exports.CreateDeliveryStreamInput = exports.Tag = exports.SplunkDestinationConfiguration = exports.SplunkRetryOptions = exports.RedshiftDestinationConfiguration = exports.RedshiftRetryOptions = exports.KinesisStreamSourceConfiguration = exports.HttpEndpointDestinationConfiguration = exports.HttpEndpointRetryOptions = void 0;
5
+ exports.UpdateDestinationOutput = exports.UpdateDestinationInput = exports.SplunkDestinationUpdate = exports.RedshiftDestinationUpdate = exports.HttpEndpointDestinationUpdate = exports.UntagDeliveryStreamOutput = exports.UntagDeliveryStreamInput = exports.TagDeliveryStreamOutput = exports.TagDeliveryStreamInput = exports.StopDeliveryStreamEncryptionOutput = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const FirehoseServiceException_1 = require("./FirehoseServiceException");
7
8
  var AmazonopensearchserviceBufferingHints;
8
9
  (function (AmazonopensearchserviceBufferingHints) {
9
10
  AmazonopensearchserviceBufferingHints.filterSensitiveLog = (obj) => ({
@@ -139,6 +140,19 @@ var AmazonopensearchserviceDestinationUpdate;
139
140
  ...obj,
140
141
  });
141
142
  })(AmazonopensearchserviceDestinationUpdate = exports.AmazonopensearchserviceDestinationUpdate || (exports.AmazonopensearchserviceDestinationUpdate = {}));
143
+ class ConcurrentModificationException extends FirehoseServiceException_1.FirehoseServiceException {
144
+ constructor(opts) {
145
+ super({
146
+ name: "ConcurrentModificationException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ this.name = "ConcurrentModificationException";
151
+ this.$fault = "client";
152
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
153
+ }
154
+ }
155
+ exports.ConcurrentModificationException = ConcurrentModificationException;
142
156
  var ContentEncoding;
143
157
  (function (ContentEncoding) {
144
158
  ContentEncoding["GZIP"] = "GZIP";
@@ -384,6 +398,59 @@ var CreateDeliveryStreamOutput;
384
398
  ...obj,
385
399
  });
386
400
  })(CreateDeliveryStreamOutput = exports.CreateDeliveryStreamOutput || (exports.CreateDeliveryStreamOutput = {}));
401
+ class InvalidArgumentException extends FirehoseServiceException_1.FirehoseServiceException {
402
+ constructor(opts) {
403
+ super({
404
+ name: "InvalidArgumentException",
405
+ $fault: "client",
406
+ ...opts,
407
+ });
408
+ this.name = "InvalidArgumentException";
409
+ this.$fault = "client";
410
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
411
+ }
412
+ }
413
+ exports.InvalidArgumentException = InvalidArgumentException;
414
+ class InvalidKMSResourceException extends FirehoseServiceException_1.FirehoseServiceException {
415
+ constructor(opts) {
416
+ super({
417
+ name: "InvalidKMSResourceException",
418
+ $fault: "client",
419
+ ...opts,
420
+ });
421
+ this.name = "InvalidKMSResourceException";
422
+ this.$fault = "client";
423
+ Object.setPrototypeOf(this, InvalidKMSResourceException.prototype);
424
+ this.code = opts.code;
425
+ }
426
+ }
427
+ exports.InvalidKMSResourceException = InvalidKMSResourceException;
428
+ class LimitExceededException extends FirehoseServiceException_1.FirehoseServiceException {
429
+ constructor(opts) {
430
+ super({
431
+ name: "LimitExceededException",
432
+ $fault: "client",
433
+ ...opts,
434
+ });
435
+ this.name = "LimitExceededException";
436
+ this.$fault = "client";
437
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
438
+ }
439
+ }
440
+ exports.LimitExceededException = LimitExceededException;
441
+ class ResourceInUseException extends FirehoseServiceException_1.FirehoseServiceException {
442
+ constructor(opts) {
443
+ super({
444
+ name: "ResourceInUseException",
445
+ $fault: "client",
446
+ ...opts,
447
+ });
448
+ this.name = "ResourceInUseException";
449
+ this.$fault = "client";
450
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
451
+ }
452
+ }
453
+ exports.ResourceInUseException = ResourceInUseException;
387
454
  var DeleteDeliveryStreamInput;
388
455
  (function (DeleteDeliveryStreamInput) {
389
456
  DeleteDeliveryStreamInput.filterSensitiveLog = (obj) => ({
@@ -396,6 +463,19 @@ var DeleteDeliveryStreamOutput;
396
463
  ...obj,
397
464
  });
398
465
  })(DeleteDeliveryStreamOutput = exports.DeleteDeliveryStreamOutput || (exports.DeleteDeliveryStreamOutput = {}));
466
+ class ResourceNotFoundException extends FirehoseServiceException_1.FirehoseServiceException {
467
+ constructor(opts) {
468
+ super({
469
+ name: "ResourceNotFoundException",
470
+ $fault: "client",
471
+ ...opts,
472
+ });
473
+ this.name = "ResourceNotFoundException";
474
+ this.$fault = "client";
475
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
476
+ }
477
+ }
478
+ exports.ResourceNotFoundException = ResourceNotFoundException;
399
479
  var DeliveryStreamFailureType;
400
480
  (function (DeliveryStreamFailureType) {
401
481
  DeliveryStreamFailureType["CREATE_ENI_FAILED"] = "CREATE_ENI_FAILED";
@@ -589,6 +669,19 @@ var PutRecordOutput;
589
669
  ...obj,
590
670
  });
591
671
  })(PutRecordOutput = exports.PutRecordOutput || (exports.PutRecordOutput = {}));
672
+ class ServiceUnavailableException extends FirehoseServiceException_1.FirehoseServiceException {
673
+ constructor(opts) {
674
+ super({
675
+ name: "ServiceUnavailableException",
676
+ $fault: "server",
677
+ ...opts,
678
+ });
679
+ this.name = "ServiceUnavailableException";
680
+ this.$fault = "server";
681
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
682
+ }
683
+ }
684
+ exports.ServiceUnavailableException = ServiceUnavailableException;
592
685
  var PutRecordBatchInput;
593
686
  (function (PutRecordBatchInput) {
594
687
  PutRecordBatchInput.filterSensitiveLog = (obj) => ({