@aws-sdk/client-waf-regional 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 +100 -2689
- package/dist-cjs/models/WAFRegionalServiceException.js +12 -0
- package/dist-cjs/models/errors.js +274 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2032 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +130 -124
- package/dist-types/schemas/schemas_0.d.ts +28 -21
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -21
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WAFRegionalServiceException = 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 WAFRegionalServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, WAFRegionalServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.WAFRegionalServiceException = WAFRegionalServiceException;
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WAFSubscriptionNotFoundException = exports.WAFInvalidRegexPatternException = exports.WAFNonexistentContainerException = exports.WAFInvalidPermissionPolicyException = exports.WAFServiceLinkedRoleErrorException = exports.WAFReferencedItemException = exports.WAFNonEmptyEntityException = exports.WAFInvalidOperationException = exports.WAFEntityMigrationException = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFBadRequestException = exports.WAFStaleDataException = exports.WAFLimitsExceededException = exports.WAFDisallowedNameException = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.WAFInvalidAccountException = exports.WAFInternalErrorException = void 0;
|
|
4
|
+
const WAFRegionalServiceException_1 = require("./WAFRegionalServiceException");
|
|
5
|
+
class WAFInternalErrorException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
6
|
+
name = "WAFInternalErrorException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "WAFInternalErrorException",
|
|
11
|
+
$fault: "server",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.WAFInternalErrorException = WAFInternalErrorException;
|
|
18
|
+
class WAFInvalidAccountException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
19
|
+
name = "WAFInvalidAccountException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "WAFInvalidAccountException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.WAFInvalidAccountException = WAFInvalidAccountException;
|
|
31
|
+
class WAFInvalidParameterException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
32
|
+
name = "WAFInvalidParameterException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
field;
|
|
35
|
+
parameter;
|
|
36
|
+
reason;
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "WAFInvalidParameterException",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
|
|
44
|
+
this.field = opts.field;
|
|
45
|
+
this.parameter = opts.parameter;
|
|
46
|
+
this.reason = opts.reason;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.WAFInvalidParameterException = WAFInvalidParameterException;
|
|
50
|
+
class WAFNonexistentItemException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
51
|
+
name = "WAFNonexistentItemException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "WAFNonexistentItemException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.WAFNonexistentItemException = WAFNonexistentItemException;
|
|
63
|
+
class WAFUnavailableEntityException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
64
|
+
name = "WAFUnavailableEntityException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "WAFUnavailableEntityException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
Object.setPrototypeOf(this, WAFUnavailableEntityException.prototype);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.WAFUnavailableEntityException = WAFUnavailableEntityException;
|
|
76
|
+
class WAFDisallowedNameException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
77
|
+
name = "WAFDisallowedNameException";
|
|
78
|
+
$fault = "client";
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "WAFDisallowedNameException",
|
|
82
|
+
$fault: "client",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
Object.setPrototypeOf(this, WAFDisallowedNameException.prototype);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.WAFDisallowedNameException = WAFDisallowedNameException;
|
|
89
|
+
class WAFLimitsExceededException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
90
|
+
name = "WAFLimitsExceededException";
|
|
91
|
+
$fault = "client";
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "WAFLimitsExceededException",
|
|
95
|
+
$fault: "client",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.WAFLimitsExceededException = WAFLimitsExceededException;
|
|
102
|
+
class WAFStaleDataException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
103
|
+
name = "WAFStaleDataException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "WAFStaleDataException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, WAFStaleDataException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.WAFStaleDataException = WAFStaleDataException;
|
|
115
|
+
class WAFBadRequestException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
116
|
+
name = "WAFBadRequestException";
|
|
117
|
+
$fault = "client";
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "WAFBadRequestException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, WAFBadRequestException.prototype);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.WAFBadRequestException = WAFBadRequestException;
|
|
128
|
+
class WAFTagOperationException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
129
|
+
name = "WAFTagOperationException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "WAFTagOperationException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
Object.setPrototypeOf(this, WAFTagOperationException.prototype);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.WAFTagOperationException = WAFTagOperationException;
|
|
141
|
+
class WAFTagOperationInternalErrorException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
142
|
+
name = "WAFTagOperationInternalErrorException";
|
|
143
|
+
$fault = "server";
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "WAFTagOperationInternalErrorException",
|
|
147
|
+
$fault: "server",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
exports.WAFTagOperationInternalErrorException = WAFTagOperationInternalErrorException;
|
|
154
|
+
class WAFEntityMigrationException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
155
|
+
name = "WAFEntityMigrationException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
MigrationErrorType;
|
|
158
|
+
MigrationErrorReason;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "WAFEntityMigrationException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, WAFEntityMigrationException.prototype);
|
|
166
|
+
this.MigrationErrorType = opts.MigrationErrorType;
|
|
167
|
+
this.MigrationErrorReason = opts.MigrationErrorReason;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
exports.WAFEntityMigrationException = WAFEntityMigrationException;
|
|
171
|
+
class WAFInvalidOperationException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
172
|
+
name = "WAFInvalidOperationException";
|
|
173
|
+
$fault = "client";
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "WAFInvalidOperationException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
exports.WAFInvalidOperationException = WAFInvalidOperationException;
|
|
184
|
+
class WAFNonEmptyEntityException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
185
|
+
name = "WAFNonEmptyEntityException";
|
|
186
|
+
$fault = "client";
|
|
187
|
+
constructor(opts) {
|
|
188
|
+
super({
|
|
189
|
+
name: "WAFNonEmptyEntityException",
|
|
190
|
+
$fault: "client",
|
|
191
|
+
...opts,
|
|
192
|
+
});
|
|
193
|
+
Object.setPrototypeOf(this, WAFNonEmptyEntityException.prototype);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
exports.WAFNonEmptyEntityException = WAFNonEmptyEntityException;
|
|
197
|
+
class WAFReferencedItemException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
198
|
+
name = "WAFReferencedItemException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "WAFReferencedItemException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
exports.WAFReferencedItemException = WAFReferencedItemException;
|
|
210
|
+
class WAFServiceLinkedRoleErrorException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
211
|
+
name = "WAFServiceLinkedRoleErrorException";
|
|
212
|
+
$fault = "client";
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "WAFServiceLinkedRoleErrorException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
exports.WAFServiceLinkedRoleErrorException = WAFServiceLinkedRoleErrorException;
|
|
223
|
+
class WAFInvalidPermissionPolicyException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
224
|
+
name = "WAFInvalidPermissionPolicyException";
|
|
225
|
+
$fault = "client";
|
|
226
|
+
constructor(opts) {
|
|
227
|
+
super({
|
|
228
|
+
name: "WAFInvalidPermissionPolicyException",
|
|
229
|
+
$fault: "client",
|
|
230
|
+
...opts,
|
|
231
|
+
});
|
|
232
|
+
Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
exports.WAFInvalidPermissionPolicyException = WAFInvalidPermissionPolicyException;
|
|
236
|
+
class WAFNonexistentContainerException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
237
|
+
name = "WAFNonexistentContainerException";
|
|
238
|
+
$fault = "client";
|
|
239
|
+
constructor(opts) {
|
|
240
|
+
super({
|
|
241
|
+
name: "WAFNonexistentContainerException",
|
|
242
|
+
$fault: "client",
|
|
243
|
+
...opts,
|
|
244
|
+
});
|
|
245
|
+
Object.setPrototypeOf(this, WAFNonexistentContainerException.prototype);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
exports.WAFNonexistentContainerException = WAFNonexistentContainerException;
|
|
249
|
+
class WAFInvalidRegexPatternException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
250
|
+
name = "WAFInvalidRegexPatternException";
|
|
251
|
+
$fault = "client";
|
|
252
|
+
constructor(opts) {
|
|
253
|
+
super({
|
|
254
|
+
name: "WAFInvalidRegexPatternException",
|
|
255
|
+
$fault: "client",
|
|
256
|
+
...opts,
|
|
257
|
+
});
|
|
258
|
+
Object.setPrototypeOf(this, WAFInvalidRegexPatternException.prototype);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
exports.WAFInvalidRegexPatternException = WAFInvalidRegexPatternException;
|
|
262
|
+
class WAFSubscriptionNotFoundException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
|
|
263
|
+
name = "WAFSubscriptionNotFoundException";
|
|
264
|
+
$fault = "client";
|
|
265
|
+
constructor(opts) {
|
|
266
|
+
super({
|
|
267
|
+
name: "WAFSubscriptionNotFoundException",
|
|
268
|
+
$fault: "client",
|
|
269
|
+
...opts,
|
|
270
|
+
});
|
|
271
|
+
Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
exports.WAFSubscriptionNotFoundException = WAFSubscriptionNotFoundException;
|
|
@@ -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: "2016-11-28",
|
|
@@ -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.wafregional",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://waf.amazonaws.com/doc/2015-08-24/",
|
|
33
35
|
version: "2016-11-28",
|
|
34
36
|
serviceTarget: "AWSWAF_Regional_20161128",
|