@aws-sdk/client-firehose 3.987.0 → 3.989.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 +31 -1388
- package/dist-cjs/models/FirehoseServiceException.js +12 -0
- package/dist-cjs/models/errors.js +112 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1135 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +58 -52
- package/dist-types/schemas/schemas_0.d.ts +16 -9
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -9
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FirehoseServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class FirehoseServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, FirehoseServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.FirehoseServiceException = FirehoseServiceException;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceUnavailableException = exports.InvalidSourceException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = exports.ConcurrentModificationException = void 0;
|
|
4
|
+
const FirehoseServiceException_1 = require("./FirehoseServiceException");
|
|
5
|
+
class ConcurrentModificationException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
6
|
+
name = "ConcurrentModificationException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ConcurrentModificationException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
18
|
+
class InvalidArgumentException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
19
|
+
name = "InvalidArgumentException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InvalidArgumentException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
31
|
+
class InvalidKMSResourceException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
32
|
+
name = "InvalidKMSResourceException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
code;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InvalidKMSResourceException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InvalidKMSResourceException.prototype);
|
|
42
|
+
this.code = opts.code;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.InvalidKMSResourceException = InvalidKMSResourceException;
|
|
46
|
+
class LimitExceededException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
47
|
+
name = "LimitExceededException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "LimitExceededException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.LimitExceededException = LimitExceededException;
|
|
59
|
+
class ResourceInUseException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
60
|
+
name = "ResourceInUseException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ResourceInUseException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
72
|
+
class ResourceNotFoundException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
73
|
+
name = "ResourceNotFoundException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ResourceNotFoundException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
85
|
+
class InvalidSourceException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
86
|
+
name = "InvalidSourceException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
code;
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "InvalidSourceException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, InvalidSourceException.prototype);
|
|
96
|
+
this.code = opts.code;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.InvalidSourceException = InvalidSourceException;
|
|
100
|
+
class ServiceUnavailableException extends FirehoseServiceException_1.FirehoseServiceException {
|
|
101
|
+
name = "ServiceUnavailableException";
|
|
102
|
+
$fault = "server";
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ServiceUnavailableException",
|
|
106
|
+
$fault: "server",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2015-08-04",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.firehose",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://firehose.amazonaws.com/doc/2015-08-04",
|
|
33
35
|
version: "2015-08-04",
|
|
34
36
|
serviceTarget: "Firehose_20150804",
|