@aws-sdk/client-firehose 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/FirehoseServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +96 -3
- package/dist-cjs/protocols/Aws_json1_1.js +132 -400
- package/dist-es/index.js +1 -0
- package/dist-es/models/FirehoseServiceException.js +12 -0
- package/dist-es/models/models_0.js +87 -1
- package/dist-es/protocols/Aws_json1_1.js +264 -428
- package/dist-types/FirehoseClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/FirehoseServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +39 -35
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/FirehoseClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/FirehoseServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
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.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-firehose
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-firehose
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **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))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
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.
|
|
4
|
-
exports.
|
|
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) => ({
|