@aws-sdk/client-network-firewall 3.986.0 → 3.988.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 +98 -2956
- package/dist-cjs/models/NetworkFirewallServiceException.js +12 -0
- package/dist-cjs/models/errors.js +184 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2376 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +82 -76
- package/dist-types/schemas/schemas_0.d.ts +20 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -13
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NetworkFirewallServiceException = 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 NetworkFirewallServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, NetworkFirewallServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.NetworkFirewallServiceException = NetworkFirewallServiceException;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceOwnerCheckException = exports.LogDestinationPermissionException = exports.InvalidResourcePolicyException = exports.UnsupportedOperationException = exports.LimitExceededException = exports.InvalidTokenException = exports.InvalidOperationException = exports.InsufficientCapacityException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InternalServerError = void 0;
|
|
4
|
+
const NetworkFirewallServiceException_1 = require("./NetworkFirewallServiceException");
|
|
5
|
+
class InternalServerError extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
6
|
+
name = "InternalServerError";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "InternalServerError",
|
|
12
|
+
$fault: "server",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.InternalServerError = InternalServerError;
|
|
20
|
+
class InvalidRequestException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
21
|
+
name = "InvalidRequestException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InvalidRequestException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
35
|
+
class ResourceNotFoundException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
36
|
+
name = "ResourceNotFoundException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ResourceNotFoundException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
50
|
+
class ThrottlingException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
51
|
+
name = "ThrottlingException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ThrottlingException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ThrottlingException = ThrottlingException;
|
|
65
|
+
class InsufficientCapacityException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
66
|
+
name = "InsufficientCapacityException";
|
|
67
|
+
$fault = "server";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "InsufficientCapacityException",
|
|
72
|
+
$fault: "server",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.InsufficientCapacityException = InsufficientCapacityException;
|
|
80
|
+
class InvalidOperationException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
81
|
+
name = "InvalidOperationException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "InvalidOperationException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.InvalidOperationException = InvalidOperationException;
|
|
95
|
+
class InvalidTokenException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
96
|
+
name = "InvalidTokenException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "InvalidTokenException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.InvalidTokenException = InvalidTokenException;
|
|
110
|
+
class LimitExceededException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
111
|
+
name = "LimitExceededException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
Message;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "LimitExceededException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.LimitExceededException = LimitExceededException;
|
|
125
|
+
class UnsupportedOperationException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
126
|
+
name = "UnsupportedOperationException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
Message;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "UnsupportedOperationException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
136
|
+
this.Message = opts.Message;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
140
|
+
class InvalidResourcePolicyException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
141
|
+
name = "InvalidResourcePolicyException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "InvalidResourcePolicyException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.InvalidResourcePolicyException = InvalidResourcePolicyException;
|
|
155
|
+
class LogDestinationPermissionException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
156
|
+
name = "LogDestinationPermissionException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "LogDestinationPermissionException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, LogDestinationPermissionException.prototype);
|
|
166
|
+
this.Message = opts.Message;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.LogDestinationPermissionException = LogDestinationPermissionException;
|
|
170
|
+
class ResourceOwnerCheckException extends NetworkFirewallServiceException_1.NetworkFirewallServiceException {
|
|
171
|
+
name = "ResourceOwnerCheckException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
Message;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "ResourceOwnerCheckException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, ResourceOwnerCheckException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.ResourceOwnerCheckException = ResourceOwnerCheckException;
|
|
@@ -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: "2020-11-12",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.networkfirewall",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2020-11-12",
|
|
33
35
|
serviceTarget: "NetworkFirewall_20201112",
|
|
34
36
|
},
|