@aws-sdk/client-waf 3.933.0 → 3.935.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 +372 -371
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +360 -0
- package/dist-es/models/errors.js +239 -0
- package/dist-es/models/models_0.js +1 -599
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +496 -0
- package/dist-types/models/errors.d.ts +392 -0
- package/dist-types/models/models_0.d.ts +1 -887
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +389 -0
- package/dist-types/ts3.4/models/errors.d.ts +163 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -547
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,599 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const WafActionType = {
|
|
3
|
-
ALLOW: "ALLOW",
|
|
4
|
-
BLOCK: "BLOCK",
|
|
5
|
-
COUNT: "COUNT",
|
|
6
|
-
};
|
|
7
|
-
export const WafOverrideActionType = {
|
|
8
|
-
COUNT: "COUNT",
|
|
9
|
-
NONE: "NONE",
|
|
10
|
-
};
|
|
11
|
-
export const WafRuleType = {
|
|
12
|
-
GROUP: "GROUP",
|
|
13
|
-
RATE_BASED: "RATE_BASED",
|
|
14
|
-
REGULAR: "REGULAR",
|
|
15
|
-
};
|
|
16
|
-
export const MatchFieldType = {
|
|
17
|
-
ALL_QUERY_ARGS: "ALL_QUERY_ARGS",
|
|
18
|
-
BODY: "BODY",
|
|
19
|
-
HEADER: "HEADER",
|
|
20
|
-
METHOD: "METHOD",
|
|
21
|
-
QUERY_STRING: "QUERY_STRING",
|
|
22
|
-
SINGLE_QUERY_ARG: "SINGLE_QUERY_ARG",
|
|
23
|
-
URI: "URI",
|
|
24
|
-
};
|
|
25
|
-
export const PositionalConstraint = {
|
|
26
|
-
CONTAINS: "CONTAINS",
|
|
27
|
-
CONTAINS_WORD: "CONTAINS_WORD",
|
|
28
|
-
ENDS_WITH: "ENDS_WITH",
|
|
29
|
-
EXACTLY: "EXACTLY",
|
|
30
|
-
STARTS_WITH: "STARTS_WITH",
|
|
31
|
-
};
|
|
32
|
-
export const TextTransformation = {
|
|
33
|
-
CMD_LINE: "CMD_LINE",
|
|
34
|
-
COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE",
|
|
35
|
-
HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE",
|
|
36
|
-
LOWERCASE: "LOWERCASE",
|
|
37
|
-
NONE: "NONE",
|
|
38
|
-
URL_DECODE: "URL_DECODE",
|
|
39
|
-
};
|
|
40
|
-
export class WAFDisallowedNameException extends __BaseException {
|
|
41
|
-
name = "WAFDisallowedNameException";
|
|
42
|
-
$fault = "client";
|
|
43
|
-
constructor(opts) {
|
|
44
|
-
super({
|
|
45
|
-
name: "WAFDisallowedNameException",
|
|
46
|
-
$fault: "client",
|
|
47
|
-
...opts,
|
|
48
|
-
});
|
|
49
|
-
Object.setPrototypeOf(this, WAFDisallowedNameException.prototype);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export class WAFInternalErrorException extends __BaseException {
|
|
53
|
-
name = "WAFInternalErrorException";
|
|
54
|
-
$fault = "server";
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "WAFInternalErrorException",
|
|
58
|
-
$fault: "server",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export class WAFInvalidAccountException extends __BaseException {
|
|
65
|
-
name = "WAFInvalidAccountException";
|
|
66
|
-
$fault = "client";
|
|
67
|
-
constructor(opts) {
|
|
68
|
-
super({
|
|
69
|
-
name: "WAFInvalidAccountException",
|
|
70
|
-
$fault: "client",
|
|
71
|
-
...opts,
|
|
72
|
-
});
|
|
73
|
-
Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export const ParameterExceptionField = {
|
|
77
|
-
BYTE_MATCH_FIELD_TYPE: "BYTE_MATCH_FIELD_TYPE",
|
|
78
|
-
BYTE_MATCH_POSITIONAL_CONSTRAINT: "BYTE_MATCH_POSITIONAL_CONSTRAINT",
|
|
79
|
-
BYTE_MATCH_TEXT_TRANSFORMATION: "BYTE_MATCH_TEXT_TRANSFORMATION",
|
|
80
|
-
CHANGE_ACTION: "CHANGE_ACTION",
|
|
81
|
-
GEO_MATCH_LOCATION_TYPE: "GEO_MATCH_LOCATION_TYPE",
|
|
82
|
-
GEO_MATCH_LOCATION_VALUE: "GEO_MATCH_LOCATION_VALUE",
|
|
83
|
-
IPSET_TYPE: "IPSET_TYPE",
|
|
84
|
-
NEXT_MARKER: "NEXT_MARKER",
|
|
85
|
-
PREDICATE_TYPE: "PREDICATE_TYPE",
|
|
86
|
-
RATE_KEY: "RATE_KEY",
|
|
87
|
-
RESOURCE_ARN: "RESOURCE_ARN",
|
|
88
|
-
RULE_TYPE: "RULE_TYPE",
|
|
89
|
-
SIZE_CONSTRAINT_COMPARISON_OPERATOR: "SIZE_CONSTRAINT_COMPARISON_OPERATOR",
|
|
90
|
-
SQL_INJECTION_MATCH_FIELD_TYPE: "SQL_INJECTION_MATCH_FIELD_TYPE",
|
|
91
|
-
TAGS: "TAGS",
|
|
92
|
-
TAG_KEYS: "TAG_KEYS",
|
|
93
|
-
WAF_ACTION: "WAF_ACTION",
|
|
94
|
-
WAF_OVERRIDE_ACTION: "WAF_OVERRIDE_ACTION",
|
|
95
|
-
};
|
|
96
|
-
export const ParameterExceptionReason = {
|
|
97
|
-
ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT",
|
|
98
|
-
ILLEGAL_COMBINATION: "ILLEGAL_COMBINATION",
|
|
99
|
-
INVALID_OPTION: "INVALID_OPTION",
|
|
100
|
-
INVALID_TAG_KEY: "INVALID_TAG_KEY",
|
|
101
|
-
};
|
|
102
|
-
export class WAFInvalidParameterException extends __BaseException {
|
|
103
|
-
name = "WAFInvalidParameterException";
|
|
104
|
-
$fault = "client";
|
|
105
|
-
field;
|
|
106
|
-
parameter;
|
|
107
|
-
reason;
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "WAFInvalidParameterException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
|
|
115
|
-
this.field = opts.field;
|
|
116
|
-
this.parameter = opts.parameter;
|
|
117
|
-
this.reason = opts.reason;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export class WAFLimitsExceededException extends __BaseException {
|
|
121
|
-
name = "WAFLimitsExceededException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "WAFLimitsExceededException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export class WAFStaleDataException extends __BaseException {
|
|
133
|
-
name = "WAFStaleDataException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "WAFStaleDataException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, WAFStaleDataException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
export const GeoMatchConstraintType = {
|
|
145
|
-
Country: "Country",
|
|
146
|
-
};
|
|
147
|
-
export const GeoMatchConstraintValue = {
|
|
148
|
-
AD: "AD",
|
|
149
|
-
AE: "AE",
|
|
150
|
-
AF: "AF",
|
|
151
|
-
AG: "AG",
|
|
152
|
-
AI: "AI",
|
|
153
|
-
AL: "AL",
|
|
154
|
-
AM: "AM",
|
|
155
|
-
AO: "AO",
|
|
156
|
-
AQ: "AQ",
|
|
157
|
-
AR: "AR",
|
|
158
|
-
AS: "AS",
|
|
159
|
-
AT: "AT",
|
|
160
|
-
AU: "AU",
|
|
161
|
-
AW: "AW",
|
|
162
|
-
AX: "AX",
|
|
163
|
-
AZ: "AZ",
|
|
164
|
-
BA: "BA",
|
|
165
|
-
BB: "BB",
|
|
166
|
-
BD: "BD",
|
|
167
|
-
BE: "BE",
|
|
168
|
-
BF: "BF",
|
|
169
|
-
BG: "BG",
|
|
170
|
-
BH: "BH",
|
|
171
|
-
BI: "BI",
|
|
172
|
-
BJ: "BJ",
|
|
173
|
-
BL: "BL",
|
|
174
|
-
BM: "BM",
|
|
175
|
-
BN: "BN",
|
|
176
|
-
BO: "BO",
|
|
177
|
-
BQ: "BQ",
|
|
178
|
-
BR: "BR",
|
|
179
|
-
BS: "BS",
|
|
180
|
-
BT: "BT",
|
|
181
|
-
BV: "BV",
|
|
182
|
-
BW: "BW",
|
|
183
|
-
BY: "BY",
|
|
184
|
-
BZ: "BZ",
|
|
185
|
-
CA: "CA",
|
|
186
|
-
CC: "CC",
|
|
187
|
-
CD: "CD",
|
|
188
|
-
CF: "CF",
|
|
189
|
-
CG: "CG",
|
|
190
|
-
CH: "CH",
|
|
191
|
-
CI: "CI",
|
|
192
|
-
CK: "CK",
|
|
193
|
-
CL: "CL",
|
|
194
|
-
CM: "CM",
|
|
195
|
-
CN: "CN",
|
|
196
|
-
CO: "CO",
|
|
197
|
-
CR: "CR",
|
|
198
|
-
CU: "CU",
|
|
199
|
-
CV: "CV",
|
|
200
|
-
CW: "CW",
|
|
201
|
-
CX: "CX",
|
|
202
|
-
CY: "CY",
|
|
203
|
-
CZ: "CZ",
|
|
204
|
-
DE: "DE",
|
|
205
|
-
DJ: "DJ",
|
|
206
|
-
DK: "DK",
|
|
207
|
-
DM: "DM",
|
|
208
|
-
DO: "DO",
|
|
209
|
-
DZ: "DZ",
|
|
210
|
-
EC: "EC",
|
|
211
|
-
EE: "EE",
|
|
212
|
-
EG: "EG",
|
|
213
|
-
EH: "EH",
|
|
214
|
-
ER: "ER",
|
|
215
|
-
ES: "ES",
|
|
216
|
-
ET: "ET",
|
|
217
|
-
FI: "FI",
|
|
218
|
-
FJ: "FJ",
|
|
219
|
-
FK: "FK",
|
|
220
|
-
FM: "FM",
|
|
221
|
-
FO: "FO",
|
|
222
|
-
FR: "FR",
|
|
223
|
-
GA: "GA",
|
|
224
|
-
GB: "GB",
|
|
225
|
-
GD: "GD",
|
|
226
|
-
GE: "GE",
|
|
227
|
-
GF: "GF",
|
|
228
|
-
GG: "GG",
|
|
229
|
-
GH: "GH",
|
|
230
|
-
GI: "GI",
|
|
231
|
-
GL: "GL",
|
|
232
|
-
GM: "GM",
|
|
233
|
-
GN: "GN",
|
|
234
|
-
GP: "GP",
|
|
235
|
-
GQ: "GQ",
|
|
236
|
-
GR: "GR",
|
|
237
|
-
GS: "GS",
|
|
238
|
-
GT: "GT",
|
|
239
|
-
GU: "GU",
|
|
240
|
-
GW: "GW",
|
|
241
|
-
GY: "GY",
|
|
242
|
-
HK: "HK",
|
|
243
|
-
HM: "HM",
|
|
244
|
-
HN: "HN",
|
|
245
|
-
HR: "HR",
|
|
246
|
-
HT: "HT",
|
|
247
|
-
HU: "HU",
|
|
248
|
-
ID: "ID",
|
|
249
|
-
IE: "IE",
|
|
250
|
-
IL: "IL",
|
|
251
|
-
IM: "IM",
|
|
252
|
-
IN: "IN",
|
|
253
|
-
IO: "IO",
|
|
254
|
-
IQ: "IQ",
|
|
255
|
-
IR: "IR",
|
|
256
|
-
IS: "IS",
|
|
257
|
-
IT: "IT",
|
|
258
|
-
JE: "JE",
|
|
259
|
-
JM: "JM",
|
|
260
|
-
JO: "JO",
|
|
261
|
-
JP: "JP",
|
|
262
|
-
KE: "KE",
|
|
263
|
-
KG: "KG",
|
|
264
|
-
KH: "KH",
|
|
265
|
-
KI: "KI",
|
|
266
|
-
KM: "KM",
|
|
267
|
-
KN: "KN",
|
|
268
|
-
KP: "KP",
|
|
269
|
-
KR: "KR",
|
|
270
|
-
KW: "KW",
|
|
271
|
-
KY: "KY",
|
|
272
|
-
KZ: "KZ",
|
|
273
|
-
LA: "LA",
|
|
274
|
-
LB: "LB",
|
|
275
|
-
LC: "LC",
|
|
276
|
-
LI: "LI",
|
|
277
|
-
LK: "LK",
|
|
278
|
-
LR: "LR",
|
|
279
|
-
LS: "LS",
|
|
280
|
-
LT: "LT",
|
|
281
|
-
LU: "LU",
|
|
282
|
-
LV: "LV",
|
|
283
|
-
LY: "LY",
|
|
284
|
-
MA: "MA",
|
|
285
|
-
MC: "MC",
|
|
286
|
-
MD: "MD",
|
|
287
|
-
ME: "ME",
|
|
288
|
-
MF: "MF",
|
|
289
|
-
MG: "MG",
|
|
290
|
-
MH: "MH",
|
|
291
|
-
MK: "MK",
|
|
292
|
-
ML: "ML",
|
|
293
|
-
MM: "MM",
|
|
294
|
-
MN: "MN",
|
|
295
|
-
MO: "MO",
|
|
296
|
-
MP: "MP",
|
|
297
|
-
MQ: "MQ",
|
|
298
|
-
MR: "MR",
|
|
299
|
-
MS: "MS",
|
|
300
|
-
MT: "MT",
|
|
301
|
-
MU: "MU",
|
|
302
|
-
MV: "MV",
|
|
303
|
-
MW: "MW",
|
|
304
|
-
MX: "MX",
|
|
305
|
-
MY: "MY",
|
|
306
|
-
MZ: "MZ",
|
|
307
|
-
NA: "NA",
|
|
308
|
-
NC: "NC",
|
|
309
|
-
NE: "NE",
|
|
310
|
-
NF: "NF",
|
|
311
|
-
NG: "NG",
|
|
312
|
-
NI: "NI",
|
|
313
|
-
NL: "NL",
|
|
314
|
-
NO: "NO",
|
|
315
|
-
NP: "NP",
|
|
316
|
-
NR: "NR",
|
|
317
|
-
NU: "NU",
|
|
318
|
-
NZ: "NZ",
|
|
319
|
-
OM: "OM",
|
|
320
|
-
PA: "PA",
|
|
321
|
-
PE: "PE",
|
|
322
|
-
PF: "PF",
|
|
323
|
-
PG: "PG",
|
|
324
|
-
PH: "PH",
|
|
325
|
-
PK: "PK",
|
|
326
|
-
PL: "PL",
|
|
327
|
-
PM: "PM",
|
|
328
|
-
PN: "PN",
|
|
329
|
-
PR: "PR",
|
|
330
|
-
PS: "PS",
|
|
331
|
-
PT: "PT",
|
|
332
|
-
PW: "PW",
|
|
333
|
-
PY: "PY",
|
|
334
|
-
QA: "QA",
|
|
335
|
-
RE: "RE",
|
|
336
|
-
RO: "RO",
|
|
337
|
-
RS: "RS",
|
|
338
|
-
RU: "RU",
|
|
339
|
-
RW: "RW",
|
|
340
|
-
SA: "SA",
|
|
341
|
-
SB: "SB",
|
|
342
|
-
SC: "SC",
|
|
343
|
-
SD: "SD",
|
|
344
|
-
SE: "SE",
|
|
345
|
-
SG: "SG",
|
|
346
|
-
SH: "SH",
|
|
347
|
-
SI: "SI",
|
|
348
|
-
SJ: "SJ",
|
|
349
|
-
SK: "SK",
|
|
350
|
-
SL: "SL",
|
|
351
|
-
SM: "SM",
|
|
352
|
-
SN: "SN",
|
|
353
|
-
SO: "SO",
|
|
354
|
-
SR: "SR",
|
|
355
|
-
SS: "SS",
|
|
356
|
-
ST: "ST",
|
|
357
|
-
SV: "SV",
|
|
358
|
-
SX: "SX",
|
|
359
|
-
SY: "SY",
|
|
360
|
-
SZ: "SZ",
|
|
361
|
-
TC: "TC",
|
|
362
|
-
TD: "TD",
|
|
363
|
-
TF: "TF",
|
|
364
|
-
TG: "TG",
|
|
365
|
-
TH: "TH",
|
|
366
|
-
TJ: "TJ",
|
|
367
|
-
TK: "TK",
|
|
368
|
-
TL: "TL",
|
|
369
|
-
TM: "TM",
|
|
370
|
-
TN: "TN",
|
|
371
|
-
TO: "TO",
|
|
372
|
-
TR: "TR",
|
|
373
|
-
TT: "TT",
|
|
374
|
-
TV: "TV",
|
|
375
|
-
TW: "TW",
|
|
376
|
-
TZ: "TZ",
|
|
377
|
-
UA: "UA",
|
|
378
|
-
UG: "UG",
|
|
379
|
-
UM: "UM",
|
|
380
|
-
US: "US",
|
|
381
|
-
UY: "UY",
|
|
382
|
-
UZ: "UZ",
|
|
383
|
-
VA: "VA",
|
|
384
|
-
VC: "VC",
|
|
385
|
-
VE: "VE",
|
|
386
|
-
VG: "VG",
|
|
387
|
-
VI: "VI",
|
|
388
|
-
VN: "VN",
|
|
389
|
-
VU: "VU",
|
|
390
|
-
WF: "WF",
|
|
391
|
-
WS: "WS",
|
|
392
|
-
YE: "YE",
|
|
393
|
-
YT: "YT",
|
|
394
|
-
ZA: "ZA",
|
|
395
|
-
ZM: "ZM",
|
|
396
|
-
ZW: "ZW",
|
|
397
|
-
};
|
|
398
|
-
export const IPSetDescriptorType = {
|
|
399
|
-
IPV4: "IPV4",
|
|
400
|
-
IPV6: "IPV6",
|
|
401
|
-
};
|
|
402
|
-
export const RateKey = {
|
|
403
|
-
IP: "IP",
|
|
404
|
-
};
|
|
405
|
-
export const PredicateType = {
|
|
406
|
-
BYTE_MATCH: "ByteMatch",
|
|
407
|
-
GEO_MATCH: "GeoMatch",
|
|
408
|
-
IP_MATCH: "IPMatch",
|
|
409
|
-
REGEX_MATCH: "RegexMatch",
|
|
410
|
-
SIZE_CONSTRAINT: "SizeConstraint",
|
|
411
|
-
SQL_INJECTION_MATCH: "SqlInjectionMatch",
|
|
412
|
-
XSS_MATCH: "XssMatch",
|
|
413
|
-
};
|
|
414
|
-
export class WAFBadRequestException extends __BaseException {
|
|
415
|
-
name = "WAFBadRequestException";
|
|
416
|
-
$fault = "client";
|
|
417
|
-
constructor(opts) {
|
|
418
|
-
super({
|
|
419
|
-
name: "WAFBadRequestException",
|
|
420
|
-
$fault: "client",
|
|
421
|
-
...opts,
|
|
422
|
-
});
|
|
423
|
-
Object.setPrototypeOf(this, WAFBadRequestException.prototype);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
export class WAFTagOperationException extends __BaseException {
|
|
427
|
-
name = "WAFTagOperationException";
|
|
428
|
-
$fault = "client";
|
|
429
|
-
constructor(opts) {
|
|
430
|
-
super({
|
|
431
|
-
name: "WAFTagOperationException",
|
|
432
|
-
$fault: "client",
|
|
433
|
-
...opts,
|
|
434
|
-
});
|
|
435
|
-
Object.setPrototypeOf(this, WAFTagOperationException.prototype);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
export class WAFTagOperationInternalErrorException extends __BaseException {
|
|
439
|
-
name = "WAFTagOperationInternalErrorException";
|
|
440
|
-
$fault = "server";
|
|
441
|
-
constructor(opts) {
|
|
442
|
-
super({
|
|
443
|
-
name: "WAFTagOperationInternalErrorException",
|
|
444
|
-
$fault: "server",
|
|
445
|
-
...opts,
|
|
446
|
-
});
|
|
447
|
-
Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
export const ComparisonOperator = {
|
|
451
|
-
EQ: "EQ",
|
|
452
|
-
GE: "GE",
|
|
453
|
-
GT: "GT",
|
|
454
|
-
LE: "LE",
|
|
455
|
-
LT: "LT",
|
|
456
|
-
NE: "NE",
|
|
457
|
-
};
|
|
458
|
-
export const MigrationErrorType = {
|
|
459
|
-
ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND",
|
|
460
|
-
ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED",
|
|
461
|
-
S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION",
|
|
462
|
-
S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE",
|
|
463
|
-
S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND",
|
|
464
|
-
S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION",
|
|
465
|
-
S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR",
|
|
466
|
-
};
|
|
467
|
-
export class WAFEntityMigrationException extends __BaseException {
|
|
468
|
-
name = "WAFEntityMigrationException";
|
|
469
|
-
$fault = "client";
|
|
470
|
-
MigrationErrorType;
|
|
471
|
-
MigrationErrorReason;
|
|
472
|
-
constructor(opts) {
|
|
473
|
-
super({
|
|
474
|
-
name: "WAFEntityMigrationException",
|
|
475
|
-
$fault: "client",
|
|
476
|
-
...opts,
|
|
477
|
-
});
|
|
478
|
-
Object.setPrototypeOf(this, WAFEntityMigrationException.prototype);
|
|
479
|
-
this.MigrationErrorType = opts.MigrationErrorType;
|
|
480
|
-
this.MigrationErrorReason = opts.MigrationErrorReason;
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
export class WAFInvalidOperationException extends __BaseException {
|
|
484
|
-
name = "WAFInvalidOperationException";
|
|
485
|
-
$fault = "client";
|
|
486
|
-
constructor(opts) {
|
|
487
|
-
super({
|
|
488
|
-
name: "WAFInvalidOperationException",
|
|
489
|
-
$fault: "client",
|
|
490
|
-
...opts,
|
|
491
|
-
});
|
|
492
|
-
Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
export class WAFNonexistentItemException extends __BaseException {
|
|
496
|
-
name = "WAFNonexistentItemException";
|
|
497
|
-
$fault = "client";
|
|
498
|
-
constructor(opts) {
|
|
499
|
-
super({
|
|
500
|
-
name: "WAFNonexistentItemException",
|
|
501
|
-
$fault: "client",
|
|
502
|
-
...opts,
|
|
503
|
-
});
|
|
504
|
-
Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
export class WAFNonEmptyEntityException extends __BaseException {
|
|
508
|
-
name = "WAFNonEmptyEntityException";
|
|
509
|
-
$fault = "client";
|
|
510
|
-
constructor(opts) {
|
|
511
|
-
super({
|
|
512
|
-
name: "WAFNonEmptyEntityException",
|
|
513
|
-
$fault: "client",
|
|
514
|
-
...opts,
|
|
515
|
-
});
|
|
516
|
-
Object.setPrototypeOf(this, WAFNonEmptyEntityException.prototype);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
export class WAFReferencedItemException extends __BaseException {
|
|
520
|
-
name = "WAFReferencedItemException";
|
|
521
|
-
$fault = "client";
|
|
522
|
-
constructor(opts) {
|
|
523
|
-
super({
|
|
524
|
-
name: "WAFReferencedItemException",
|
|
525
|
-
$fault: "client",
|
|
526
|
-
...opts,
|
|
527
|
-
});
|
|
528
|
-
Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
export const ChangeTokenStatus = {
|
|
532
|
-
INSYNC: "INSYNC",
|
|
533
|
-
PENDING: "PENDING",
|
|
534
|
-
PROVISIONED: "PROVISIONED",
|
|
535
|
-
};
|
|
536
|
-
export class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
537
|
-
name = "WAFServiceLinkedRoleErrorException";
|
|
538
|
-
$fault = "client";
|
|
539
|
-
constructor(opts) {
|
|
540
|
-
super({
|
|
541
|
-
name: "WAFServiceLinkedRoleErrorException",
|
|
542
|
-
$fault: "client",
|
|
543
|
-
...opts,
|
|
544
|
-
});
|
|
545
|
-
Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
export class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
549
|
-
name = "WAFInvalidPermissionPolicyException";
|
|
550
|
-
$fault = "client";
|
|
551
|
-
constructor(opts) {
|
|
552
|
-
super({
|
|
553
|
-
name: "WAFInvalidPermissionPolicyException",
|
|
554
|
-
$fault: "client",
|
|
555
|
-
...opts,
|
|
556
|
-
});
|
|
557
|
-
Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
export const ChangeAction = {
|
|
561
|
-
DELETE: "DELETE",
|
|
562
|
-
INSERT: "INSERT",
|
|
563
|
-
};
|
|
564
|
-
export class WAFNonexistentContainerException extends __BaseException {
|
|
565
|
-
name = "WAFNonexistentContainerException";
|
|
566
|
-
$fault = "client";
|
|
567
|
-
constructor(opts) {
|
|
568
|
-
super({
|
|
569
|
-
name: "WAFNonexistentContainerException",
|
|
570
|
-
$fault: "client",
|
|
571
|
-
...opts,
|
|
572
|
-
});
|
|
573
|
-
Object.setPrototypeOf(this, WAFNonexistentContainerException.prototype);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
export class WAFInvalidRegexPatternException extends __BaseException {
|
|
577
|
-
name = "WAFInvalidRegexPatternException";
|
|
578
|
-
$fault = "client";
|
|
579
|
-
constructor(opts) {
|
|
580
|
-
super({
|
|
581
|
-
name: "WAFInvalidRegexPatternException",
|
|
582
|
-
$fault: "client",
|
|
583
|
-
...opts,
|
|
584
|
-
});
|
|
585
|
-
Object.setPrototypeOf(this, WAFInvalidRegexPatternException.prototype);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
export class WAFSubscriptionNotFoundException extends __BaseException {
|
|
589
|
-
name = "WAFSubscriptionNotFoundException";
|
|
590
|
-
$fault = "client";
|
|
591
|
-
constructor(opts) {
|
|
592
|
-
super({
|
|
593
|
-
name: "WAFSubscriptionNotFoundException",
|
|
594
|
-
$fault: "client",
|
|
595
|
-
...opts,
|
|
596
|
-
});
|
|
597
|
-
Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
|
|
598
|
-
}
|
|
599
|
-
}
|
|
1
|
+
export {};
|
|
@@ -429,7 +429,7 @@ const _s = "server";
|
|
|
429
429
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.waf";
|
|
430
430
|
const n0 = "com.amazonaws.waf";
|
|
431
431
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
432
|
-
import { WAFBadRequestException as __WAFBadRequestException, WAFDisallowedNameException as __WAFDisallowedNameException, WAFEntityMigrationException as __WAFEntityMigrationException, WAFInternalErrorException as __WAFInternalErrorException, WAFInvalidAccountException as __WAFInvalidAccountException, WAFInvalidOperationException as __WAFInvalidOperationException, WAFInvalidParameterException as __WAFInvalidParameterException, WAFInvalidPermissionPolicyException as __WAFInvalidPermissionPolicyException, WAFInvalidRegexPatternException as __WAFInvalidRegexPatternException, WAFLimitsExceededException as __WAFLimitsExceededException, WAFNonEmptyEntityException as __WAFNonEmptyEntityException, WAFNonexistentContainerException as __WAFNonexistentContainerException, WAFNonexistentItemException as __WAFNonexistentItemException, WAFReferencedItemException as __WAFReferencedItemException, WAFServiceLinkedRoleErrorException as __WAFServiceLinkedRoleErrorException, WAFStaleDataException as __WAFStaleDataException, WAFSubscriptionNotFoundException as __WAFSubscriptionNotFoundException, WAFTagOperationException as __WAFTagOperationException, WAFTagOperationInternalErrorException as __WAFTagOperationInternalErrorException, } from "../models/
|
|
432
|
+
import { WAFBadRequestException as __WAFBadRequestException, WAFDisallowedNameException as __WAFDisallowedNameException, WAFEntityMigrationException as __WAFEntityMigrationException, WAFInternalErrorException as __WAFInternalErrorException, WAFInvalidAccountException as __WAFInvalidAccountException, WAFInvalidOperationException as __WAFInvalidOperationException, WAFInvalidParameterException as __WAFInvalidParameterException, WAFInvalidPermissionPolicyException as __WAFInvalidPermissionPolicyException, WAFInvalidRegexPatternException as __WAFInvalidRegexPatternException, WAFLimitsExceededException as __WAFLimitsExceededException, WAFNonEmptyEntityException as __WAFNonEmptyEntityException, WAFNonexistentContainerException as __WAFNonexistentContainerException, WAFNonexistentItemException as __WAFNonexistentItemException, WAFReferencedItemException as __WAFReferencedItemException, WAFServiceLinkedRoleErrorException as __WAFServiceLinkedRoleErrorException, WAFStaleDataException as __WAFStaleDataException, WAFSubscriptionNotFoundException as __WAFSubscriptionNotFoundException, WAFTagOperationException as __WAFTagOperationException, WAFTagOperationInternalErrorException as __WAFTagOperationInternalErrorException, } from "../models/errors";
|
|
433
433
|
import { WAFServiceException as __WAFServiceException } from "../models/WAFServiceException";
|
|
434
434
|
export var ActivatedRule = [
|
|
435
435
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -19,5 +19,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
19
19
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
20
20
|
export type { WAFExtensionConfiguration } from "./extensionConfiguration";
|
|
21
21
|
export * from "./commands";
|
|
22
|
-
export * from "./models";
|
|
22
|
+
export * from "./models/enums";
|
|
23
|
+
export * from "./models/errors";
|
|
24
|
+
export type * from "./models/models_0";
|
|
23
25
|
export { WAFServiceException } from "./models/WAFServiceException";
|