@aws-sdk/client-waf 3.301.0 → 3.303.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.
@@ -1,48 +1,42 @@
1
1
  import { WAFServiceException as __BaseException } from "./WAFServiceException";
2
- export var WafActionType;
3
- (function (WafActionType) {
4
- WafActionType["ALLOW"] = "ALLOW";
5
- WafActionType["BLOCK"] = "BLOCK";
6
- WafActionType["COUNT"] = "COUNT";
7
- })(WafActionType || (WafActionType = {}));
8
- export var WafOverrideActionType;
9
- (function (WafOverrideActionType) {
10
- WafOverrideActionType["COUNT"] = "COUNT";
11
- WafOverrideActionType["NONE"] = "NONE";
12
- })(WafOverrideActionType || (WafOverrideActionType = {}));
13
- export var WafRuleType;
14
- (function (WafRuleType) {
15
- WafRuleType["GROUP"] = "GROUP";
16
- WafRuleType["RATE_BASED"] = "RATE_BASED";
17
- WafRuleType["REGULAR"] = "REGULAR";
18
- })(WafRuleType || (WafRuleType = {}));
19
- export var MatchFieldType;
20
- (function (MatchFieldType) {
21
- MatchFieldType["ALL_QUERY_ARGS"] = "ALL_QUERY_ARGS";
22
- MatchFieldType["BODY"] = "BODY";
23
- MatchFieldType["HEADER"] = "HEADER";
24
- MatchFieldType["METHOD"] = "METHOD";
25
- MatchFieldType["QUERY_STRING"] = "QUERY_STRING";
26
- MatchFieldType["SINGLE_QUERY_ARG"] = "SINGLE_QUERY_ARG";
27
- MatchFieldType["URI"] = "URI";
28
- })(MatchFieldType || (MatchFieldType = {}));
29
- export var PositionalConstraint;
30
- (function (PositionalConstraint) {
31
- PositionalConstraint["CONTAINS"] = "CONTAINS";
32
- PositionalConstraint["CONTAINS_WORD"] = "CONTAINS_WORD";
33
- PositionalConstraint["ENDS_WITH"] = "ENDS_WITH";
34
- PositionalConstraint["EXACTLY"] = "EXACTLY";
35
- PositionalConstraint["STARTS_WITH"] = "STARTS_WITH";
36
- })(PositionalConstraint || (PositionalConstraint = {}));
37
- export var TextTransformation;
38
- (function (TextTransformation) {
39
- TextTransformation["CMD_LINE"] = "CMD_LINE";
40
- TextTransformation["COMPRESS_WHITE_SPACE"] = "COMPRESS_WHITE_SPACE";
41
- TextTransformation["HTML_ENTITY_DECODE"] = "HTML_ENTITY_DECODE";
42
- TextTransformation["LOWERCASE"] = "LOWERCASE";
43
- TextTransformation["NONE"] = "NONE";
44
- TextTransformation["URL_DECODE"] = "URL_DECODE";
45
- })(TextTransformation || (TextTransformation = {}));
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
+ };
46
40
  export class WAFDisallowedNameException extends __BaseException {
47
41
  constructor(opts) {
48
42
  super({
@@ -79,34 +73,32 @@ export class WAFInvalidAccountException extends __BaseException {
79
73
  Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
80
74
  }
81
75
  }
82
- export var ParameterExceptionField;
83
- (function (ParameterExceptionField) {
84
- ParameterExceptionField["BYTE_MATCH_FIELD_TYPE"] = "BYTE_MATCH_FIELD_TYPE";
85
- ParameterExceptionField["BYTE_MATCH_POSITIONAL_CONSTRAINT"] = "BYTE_MATCH_POSITIONAL_CONSTRAINT";
86
- ParameterExceptionField["BYTE_MATCH_TEXT_TRANSFORMATION"] = "BYTE_MATCH_TEXT_TRANSFORMATION";
87
- ParameterExceptionField["CHANGE_ACTION"] = "CHANGE_ACTION";
88
- ParameterExceptionField["GEO_MATCH_LOCATION_TYPE"] = "GEO_MATCH_LOCATION_TYPE";
89
- ParameterExceptionField["GEO_MATCH_LOCATION_VALUE"] = "GEO_MATCH_LOCATION_VALUE";
90
- ParameterExceptionField["IPSET_TYPE"] = "IPSET_TYPE";
91
- ParameterExceptionField["NEXT_MARKER"] = "NEXT_MARKER";
92
- ParameterExceptionField["PREDICATE_TYPE"] = "PREDICATE_TYPE";
93
- ParameterExceptionField["RATE_KEY"] = "RATE_KEY";
94
- ParameterExceptionField["RESOURCE_ARN"] = "RESOURCE_ARN";
95
- ParameterExceptionField["RULE_TYPE"] = "RULE_TYPE";
96
- ParameterExceptionField["SIZE_CONSTRAINT_COMPARISON_OPERATOR"] = "SIZE_CONSTRAINT_COMPARISON_OPERATOR";
97
- ParameterExceptionField["SQL_INJECTION_MATCH_FIELD_TYPE"] = "SQL_INJECTION_MATCH_FIELD_TYPE";
98
- ParameterExceptionField["TAGS"] = "TAGS";
99
- ParameterExceptionField["TAG_KEYS"] = "TAG_KEYS";
100
- ParameterExceptionField["WAF_ACTION"] = "WAF_ACTION";
101
- ParameterExceptionField["WAF_OVERRIDE_ACTION"] = "WAF_OVERRIDE_ACTION";
102
- })(ParameterExceptionField || (ParameterExceptionField = {}));
103
- export var ParameterExceptionReason;
104
- (function (ParameterExceptionReason) {
105
- ParameterExceptionReason["ILLEGAL_ARGUMENT"] = "ILLEGAL_ARGUMENT";
106
- ParameterExceptionReason["ILLEGAL_COMBINATION"] = "ILLEGAL_COMBINATION";
107
- ParameterExceptionReason["INVALID_OPTION"] = "INVALID_OPTION";
108
- ParameterExceptionReason["INVALID_TAG_KEY"] = "INVALID_TAG_KEY";
109
- })(ParameterExceptionReason || (ParameterExceptionReason = {}));
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
+ };
110
102
  export class WAFInvalidParameterException extends __BaseException {
111
103
  constructor(opts) {
112
104
  super({
@@ -146,281 +138,276 @@ export class WAFStaleDataException extends __BaseException {
146
138
  Object.setPrototypeOf(this, WAFStaleDataException.prototype);
147
139
  }
148
140
  }
149
- export var GeoMatchConstraintType;
150
- (function (GeoMatchConstraintType) {
151
- GeoMatchConstraintType["Country"] = "Country";
152
- })(GeoMatchConstraintType || (GeoMatchConstraintType = {}));
153
- export var GeoMatchConstraintValue;
154
- (function (GeoMatchConstraintValue) {
155
- GeoMatchConstraintValue["AD"] = "AD";
156
- GeoMatchConstraintValue["AE"] = "AE";
157
- GeoMatchConstraintValue["AF"] = "AF";
158
- GeoMatchConstraintValue["AG"] = "AG";
159
- GeoMatchConstraintValue["AI"] = "AI";
160
- GeoMatchConstraintValue["AL"] = "AL";
161
- GeoMatchConstraintValue["AM"] = "AM";
162
- GeoMatchConstraintValue["AO"] = "AO";
163
- GeoMatchConstraintValue["AQ"] = "AQ";
164
- GeoMatchConstraintValue["AR"] = "AR";
165
- GeoMatchConstraintValue["AS"] = "AS";
166
- GeoMatchConstraintValue["AT"] = "AT";
167
- GeoMatchConstraintValue["AU"] = "AU";
168
- GeoMatchConstraintValue["AW"] = "AW";
169
- GeoMatchConstraintValue["AX"] = "AX";
170
- GeoMatchConstraintValue["AZ"] = "AZ";
171
- GeoMatchConstraintValue["BA"] = "BA";
172
- GeoMatchConstraintValue["BB"] = "BB";
173
- GeoMatchConstraintValue["BD"] = "BD";
174
- GeoMatchConstraintValue["BE"] = "BE";
175
- GeoMatchConstraintValue["BF"] = "BF";
176
- GeoMatchConstraintValue["BG"] = "BG";
177
- GeoMatchConstraintValue["BH"] = "BH";
178
- GeoMatchConstraintValue["BI"] = "BI";
179
- GeoMatchConstraintValue["BJ"] = "BJ";
180
- GeoMatchConstraintValue["BL"] = "BL";
181
- GeoMatchConstraintValue["BM"] = "BM";
182
- GeoMatchConstraintValue["BN"] = "BN";
183
- GeoMatchConstraintValue["BO"] = "BO";
184
- GeoMatchConstraintValue["BQ"] = "BQ";
185
- GeoMatchConstraintValue["BR"] = "BR";
186
- GeoMatchConstraintValue["BS"] = "BS";
187
- GeoMatchConstraintValue["BT"] = "BT";
188
- GeoMatchConstraintValue["BV"] = "BV";
189
- GeoMatchConstraintValue["BW"] = "BW";
190
- GeoMatchConstraintValue["BY"] = "BY";
191
- GeoMatchConstraintValue["BZ"] = "BZ";
192
- GeoMatchConstraintValue["CA"] = "CA";
193
- GeoMatchConstraintValue["CC"] = "CC";
194
- GeoMatchConstraintValue["CD"] = "CD";
195
- GeoMatchConstraintValue["CF"] = "CF";
196
- GeoMatchConstraintValue["CG"] = "CG";
197
- GeoMatchConstraintValue["CH"] = "CH";
198
- GeoMatchConstraintValue["CI"] = "CI";
199
- GeoMatchConstraintValue["CK"] = "CK";
200
- GeoMatchConstraintValue["CL"] = "CL";
201
- GeoMatchConstraintValue["CM"] = "CM";
202
- GeoMatchConstraintValue["CN"] = "CN";
203
- GeoMatchConstraintValue["CO"] = "CO";
204
- GeoMatchConstraintValue["CR"] = "CR";
205
- GeoMatchConstraintValue["CU"] = "CU";
206
- GeoMatchConstraintValue["CV"] = "CV";
207
- GeoMatchConstraintValue["CW"] = "CW";
208
- GeoMatchConstraintValue["CX"] = "CX";
209
- GeoMatchConstraintValue["CY"] = "CY";
210
- GeoMatchConstraintValue["CZ"] = "CZ";
211
- GeoMatchConstraintValue["DE"] = "DE";
212
- GeoMatchConstraintValue["DJ"] = "DJ";
213
- GeoMatchConstraintValue["DK"] = "DK";
214
- GeoMatchConstraintValue["DM"] = "DM";
215
- GeoMatchConstraintValue["DO"] = "DO";
216
- GeoMatchConstraintValue["DZ"] = "DZ";
217
- GeoMatchConstraintValue["EC"] = "EC";
218
- GeoMatchConstraintValue["EE"] = "EE";
219
- GeoMatchConstraintValue["EG"] = "EG";
220
- GeoMatchConstraintValue["EH"] = "EH";
221
- GeoMatchConstraintValue["ER"] = "ER";
222
- GeoMatchConstraintValue["ES"] = "ES";
223
- GeoMatchConstraintValue["ET"] = "ET";
224
- GeoMatchConstraintValue["FI"] = "FI";
225
- GeoMatchConstraintValue["FJ"] = "FJ";
226
- GeoMatchConstraintValue["FK"] = "FK";
227
- GeoMatchConstraintValue["FM"] = "FM";
228
- GeoMatchConstraintValue["FO"] = "FO";
229
- GeoMatchConstraintValue["FR"] = "FR";
230
- GeoMatchConstraintValue["GA"] = "GA";
231
- GeoMatchConstraintValue["GB"] = "GB";
232
- GeoMatchConstraintValue["GD"] = "GD";
233
- GeoMatchConstraintValue["GE"] = "GE";
234
- GeoMatchConstraintValue["GF"] = "GF";
235
- GeoMatchConstraintValue["GG"] = "GG";
236
- GeoMatchConstraintValue["GH"] = "GH";
237
- GeoMatchConstraintValue["GI"] = "GI";
238
- GeoMatchConstraintValue["GL"] = "GL";
239
- GeoMatchConstraintValue["GM"] = "GM";
240
- GeoMatchConstraintValue["GN"] = "GN";
241
- GeoMatchConstraintValue["GP"] = "GP";
242
- GeoMatchConstraintValue["GQ"] = "GQ";
243
- GeoMatchConstraintValue["GR"] = "GR";
244
- GeoMatchConstraintValue["GS"] = "GS";
245
- GeoMatchConstraintValue["GT"] = "GT";
246
- GeoMatchConstraintValue["GU"] = "GU";
247
- GeoMatchConstraintValue["GW"] = "GW";
248
- GeoMatchConstraintValue["GY"] = "GY";
249
- GeoMatchConstraintValue["HK"] = "HK";
250
- GeoMatchConstraintValue["HM"] = "HM";
251
- GeoMatchConstraintValue["HN"] = "HN";
252
- GeoMatchConstraintValue["HR"] = "HR";
253
- GeoMatchConstraintValue["HT"] = "HT";
254
- GeoMatchConstraintValue["HU"] = "HU";
255
- GeoMatchConstraintValue["ID"] = "ID";
256
- GeoMatchConstraintValue["IE"] = "IE";
257
- GeoMatchConstraintValue["IL"] = "IL";
258
- GeoMatchConstraintValue["IM"] = "IM";
259
- GeoMatchConstraintValue["IN"] = "IN";
260
- GeoMatchConstraintValue["IO"] = "IO";
261
- GeoMatchConstraintValue["IQ"] = "IQ";
262
- GeoMatchConstraintValue["IR"] = "IR";
263
- GeoMatchConstraintValue["IS"] = "IS";
264
- GeoMatchConstraintValue["IT"] = "IT";
265
- GeoMatchConstraintValue["JE"] = "JE";
266
- GeoMatchConstraintValue["JM"] = "JM";
267
- GeoMatchConstraintValue["JO"] = "JO";
268
- GeoMatchConstraintValue["JP"] = "JP";
269
- GeoMatchConstraintValue["KE"] = "KE";
270
- GeoMatchConstraintValue["KG"] = "KG";
271
- GeoMatchConstraintValue["KH"] = "KH";
272
- GeoMatchConstraintValue["KI"] = "KI";
273
- GeoMatchConstraintValue["KM"] = "KM";
274
- GeoMatchConstraintValue["KN"] = "KN";
275
- GeoMatchConstraintValue["KP"] = "KP";
276
- GeoMatchConstraintValue["KR"] = "KR";
277
- GeoMatchConstraintValue["KW"] = "KW";
278
- GeoMatchConstraintValue["KY"] = "KY";
279
- GeoMatchConstraintValue["KZ"] = "KZ";
280
- GeoMatchConstraintValue["LA"] = "LA";
281
- GeoMatchConstraintValue["LB"] = "LB";
282
- GeoMatchConstraintValue["LC"] = "LC";
283
- GeoMatchConstraintValue["LI"] = "LI";
284
- GeoMatchConstraintValue["LK"] = "LK";
285
- GeoMatchConstraintValue["LR"] = "LR";
286
- GeoMatchConstraintValue["LS"] = "LS";
287
- GeoMatchConstraintValue["LT"] = "LT";
288
- GeoMatchConstraintValue["LU"] = "LU";
289
- GeoMatchConstraintValue["LV"] = "LV";
290
- GeoMatchConstraintValue["LY"] = "LY";
291
- GeoMatchConstraintValue["MA"] = "MA";
292
- GeoMatchConstraintValue["MC"] = "MC";
293
- GeoMatchConstraintValue["MD"] = "MD";
294
- GeoMatchConstraintValue["ME"] = "ME";
295
- GeoMatchConstraintValue["MF"] = "MF";
296
- GeoMatchConstraintValue["MG"] = "MG";
297
- GeoMatchConstraintValue["MH"] = "MH";
298
- GeoMatchConstraintValue["MK"] = "MK";
299
- GeoMatchConstraintValue["ML"] = "ML";
300
- GeoMatchConstraintValue["MM"] = "MM";
301
- GeoMatchConstraintValue["MN"] = "MN";
302
- GeoMatchConstraintValue["MO"] = "MO";
303
- GeoMatchConstraintValue["MP"] = "MP";
304
- GeoMatchConstraintValue["MQ"] = "MQ";
305
- GeoMatchConstraintValue["MR"] = "MR";
306
- GeoMatchConstraintValue["MS"] = "MS";
307
- GeoMatchConstraintValue["MT"] = "MT";
308
- GeoMatchConstraintValue["MU"] = "MU";
309
- GeoMatchConstraintValue["MV"] = "MV";
310
- GeoMatchConstraintValue["MW"] = "MW";
311
- GeoMatchConstraintValue["MX"] = "MX";
312
- GeoMatchConstraintValue["MY"] = "MY";
313
- GeoMatchConstraintValue["MZ"] = "MZ";
314
- GeoMatchConstraintValue["NA"] = "NA";
315
- GeoMatchConstraintValue["NC"] = "NC";
316
- GeoMatchConstraintValue["NE"] = "NE";
317
- GeoMatchConstraintValue["NF"] = "NF";
318
- GeoMatchConstraintValue["NG"] = "NG";
319
- GeoMatchConstraintValue["NI"] = "NI";
320
- GeoMatchConstraintValue["NL"] = "NL";
321
- GeoMatchConstraintValue["NO"] = "NO";
322
- GeoMatchConstraintValue["NP"] = "NP";
323
- GeoMatchConstraintValue["NR"] = "NR";
324
- GeoMatchConstraintValue["NU"] = "NU";
325
- GeoMatchConstraintValue["NZ"] = "NZ";
326
- GeoMatchConstraintValue["OM"] = "OM";
327
- GeoMatchConstraintValue["PA"] = "PA";
328
- GeoMatchConstraintValue["PE"] = "PE";
329
- GeoMatchConstraintValue["PF"] = "PF";
330
- GeoMatchConstraintValue["PG"] = "PG";
331
- GeoMatchConstraintValue["PH"] = "PH";
332
- GeoMatchConstraintValue["PK"] = "PK";
333
- GeoMatchConstraintValue["PL"] = "PL";
334
- GeoMatchConstraintValue["PM"] = "PM";
335
- GeoMatchConstraintValue["PN"] = "PN";
336
- GeoMatchConstraintValue["PR"] = "PR";
337
- GeoMatchConstraintValue["PS"] = "PS";
338
- GeoMatchConstraintValue["PT"] = "PT";
339
- GeoMatchConstraintValue["PW"] = "PW";
340
- GeoMatchConstraintValue["PY"] = "PY";
341
- GeoMatchConstraintValue["QA"] = "QA";
342
- GeoMatchConstraintValue["RE"] = "RE";
343
- GeoMatchConstraintValue["RO"] = "RO";
344
- GeoMatchConstraintValue["RS"] = "RS";
345
- GeoMatchConstraintValue["RU"] = "RU";
346
- GeoMatchConstraintValue["RW"] = "RW";
347
- GeoMatchConstraintValue["SA"] = "SA";
348
- GeoMatchConstraintValue["SB"] = "SB";
349
- GeoMatchConstraintValue["SC"] = "SC";
350
- GeoMatchConstraintValue["SD"] = "SD";
351
- GeoMatchConstraintValue["SE"] = "SE";
352
- GeoMatchConstraintValue["SG"] = "SG";
353
- GeoMatchConstraintValue["SH"] = "SH";
354
- GeoMatchConstraintValue["SI"] = "SI";
355
- GeoMatchConstraintValue["SJ"] = "SJ";
356
- GeoMatchConstraintValue["SK"] = "SK";
357
- GeoMatchConstraintValue["SL"] = "SL";
358
- GeoMatchConstraintValue["SM"] = "SM";
359
- GeoMatchConstraintValue["SN"] = "SN";
360
- GeoMatchConstraintValue["SO"] = "SO";
361
- GeoMatchConstraintValue["SR"] = "SR";
362
- GeoMatchConstraintValue["SS"] = "SS";
363
- GeoMatchConstraintValue["ST"] = "ST";
364
- GeoMatchConstraintValue["SV"] = "SV";
365
- GeoMatchConstraintValue["SX"] = "SX";
366
- GeoMatchConstraintValue["SY"] = "SY";
367
- GeoMatchConstraintValue["SZ"] = "SZ";
368
- GeoMatchConstraintValue["TC"] = "TC";
369
- GeoMatchConstraintValue["TD"] = "TD";
370
- GeoMatchConstraintValue["TF"] = "TF";
371
- GeoMatchConstraintValue["TG"] = "TG";
372
- GeoMatchConstraintValue["TH"] = "TH";
373
- GeoMatchConstraintValue["TJ"] = "TJ";
374
- GeoMatchConstraintValue["TK"] = "TK";
375
- GeoMatchConstraintValue["TL"] = "TL";
376
- GeoMatchConstraintValue["TM"] = "TM";
377
- GeoMatchConstraintValue["TN"] = "TN";
378
- GeoMatchConstraintValue["TO"] = "TO";
379
- GeoMatchConstraintValue["TR"] = "TR";
380
- GeoMatchConstraintValue["TT"] = "TT";
381
- GeoMatchConstraintValue["TV"] = "TV";
382
- GeoMatchConstraintValue["TW"] = "TW";
383
- GeoMatchConstraintValue["TZ"] = "TZ";
384
- GeoMatchConstraintValue["UA"] = "UA";
385
- GeoMatchConstraintValue["UG"] = "UG";
386
- GeoMatchConstraintValue["UM"] = "UM";
387
- GeoMatchConstraintValue["US"] = "US";
388
- GeoMatchConstraintValue["UY"] = "UY";
389
- GeoMatchConstraintValue["UZ"] = "UZ";
390
- GeoMatchConstraintValue["VA"] = "VA";
391
- GeoMatchConstraintValue["VC"] = "VC";
392
- GeoMatchConstraintValue["VE"] = "VE";
393
- GeoMatchConstraintValue["VG"] = "VG";
394
- GeoMatchConstraintValue["VI"] = "VI";
395
- GeoMatchConstraintValue["VN"] = "VN";
396
- GeoMatchConstraintValue["VU"] = "VU";
397
- GeoMatchConstraintValue["WF"] = "WF";
398
- GeoMatchConstraintValue["WS"] = "WS";
399
- GeoMatchConstraintValue["YE"] = "YE";
400
- GeoMatchConstraintValue["YT"] = "YT";
401
- GeoMatchConstraintValue["ZA"] = "ZA";
402
- GeoMatchConstraintValue["ZM"] = "ZM";
403
- GeoMatchConstraintValue["ZW"] = "ZW";
404
- })(GeoMatchConstraintValue || (GeoMatchConstraintValue = {}));
405
- export var IPSetDescriptorType;
406
- (function (IPSetDescriptorType) {
407
- IPSetDescriptorType["IPV4"] = "IPV4";
408
- IPSetDescriptorType["IPV6"] = "IPV6";
409
- })(IPSetDescriptorType || (IPSetDescriptorType = {}));
410
- export var RateKey;
411
- (function (RateKey) {
412
- RateKey["IP"] = "IP";
413
- })(RateKey || (RateKey = {}));
414
- export var PredicateType;
415
- (function (PredicateType) {
416
- PredicateType["BYTE_MATCH"] = "ByteMatch";
417
- PredicateType["GEO_MATCH"] = "GeoMatch";
418
- PredicateType["IP_MATCH"] = "IPMatch";
419
- PredicateType["REGEX_MATCH"] = "RegexMatch";
420
- PredicateType["SIZE_CONSTRAINT"] = "SizeConstraint";
421
- PredicateType["SQL_INJECTION_MATCH"] = "SqlInjectionMatch";
422
- PredicateType["XSS_MATCH"] = "XssMatch";
423
- })(PredicateType || (PredicateType = {}));
141
+ export const GeoMatchConstraintType = {
142
+ Country: "Country",
143
+ };
144
+ export const GeoMatchConstraintValue = {
145
+ AD: "AD",
146
+ AE: "AE",
147
+ AF: "AF",
148
+ AG: "AG",
149
+ AI: "AI",
150
+ AL: "AL",
151
+ AM: "AM",
152
+ AO: "AO",
153
+ AQ: "AQ",
154
+ AR: "AR",
155
+ AS: "AS",
156
+ AT: "AT",
157
+ AU: "AU",
158
+ AW: "AW",
159
+ AX: "AX",
160
+ AZ: "AZ",
161
+ BA: "BA",
162
+ BB: "BB",
163
+ BD: "BD",
164
+ BE: "BE",
165
+ BF: "BF",
166
+ BG: "BG",
167
+ BH: "BH",
168
+ BI: "BI",
169
+ BJ: "BJ",
170
+ BL: "BL",
171
+ BM: "BM",
172
+ BN: "BN",
173
+ BO: "BO",
174
+ BQ: "BQ",
175
+ BR: "BR",
176
+ BS: "BS",
177
+ BT: "BT",
178
+ BV: "BV",
179
+ BW: "BW",
180
+ BY: "BY",
181
+ BZ: "BZ",
182
+ CA: "CA",
183
+ CC: "CC",
184
+ CD: "CD",
185
+ CF: "CF",
186
+ CG: "CG",
187
+ CH: "CH",
188
+ CI: "CI",
189
+ CK: "CK",
190
+ CL: "CL",
191
+ CM: "CM",
192
+ CN: "CN",
193
+ CO: "CO",
194
+ CR: "CR",
195
+ CU: "CU",
196
+ CV: "CV",
197
+ CW: "CW",
198
+ CX: "CX",
199
+ CY: "CY",
200
+ CZ: "CZ",
201
+ DE: "DE",
202
+ DJ: "DJ",
203
+ DK: "DK",
204
+ DM: "DM",
205
+ DO: "DO",
206
+ DZ: "DZ",
207
+ EC: "EC",
208
+ EE: "EE",
209
+ EG: "EG",
210
+ EH: "EH",
211
+ ER: "ER",
212
+ ES: "ES",
213
+ ET: "ET",
214
+ FI: "FI",
215
+ FJ: "FJ",
216
+ FK: "FK",
217
+ FM: "FM",
218
+ FO: "FO",
219
+ FR: "FR",
220
+ GA: "GA",
221
+ GB: "GB",
222
+ GD: "GD",
223
+ GE: "GE",
224
+ GF: "GF",
225
+ GG: "GG",
226
+ GH: "GH",
227
+ GI: "GI",
228
+ GL: "GL",
229
+ GM: "GM",
230
+ GN: "GN",
231
+ GP: "GP",
232
+ GQ: "GQ",
233
+ GR: "GR",
234
+ GS: "GS",
235
+ GT: "GT",
236
+ GU: "GU",
237
+ GW: "GW",
238
+ GY: "GY",
239
+ HK: "HK",
240
+ HM: "HM",
241
+ HN: "HN",
242
+ HR: "HR",
243
+ HT: "HT",
244
+ HU: "HU",
245
+ ID: "ID",
246
+ IE: "IE",
247
+ IL: "IL",
248
+ IM: "IM",
249
+ IN: "IN",
250
+ IO: "IO",
251
+ IQ: "IQ",
252
+ IR: "IR",
253
+ IS: "IS",
254
+ IT: "IT",
255
+ JE: "JE",
256
+ JM: "JM",
257
+ JO: "JO",
258
+ JP: "JP",
259
+ KE: "KE",
260
+ KG: "KG",
261
+ KH: "KH",
262
+ KI: "KI",
263
+ KM: "KM",
264
+ KN: "KN",
265
+ KP: "KP",
266
+ KR: "KR",
267
+ KW: "KW",
268
+ KY: "KY",
269
+ KZ: "KZ",
270
+ LA: "LA",
271
+ LB: "LB",
272
+ LC: "LC",
273
+ LI: "LI",
274
+ LK: "LK",
275
+ LR: "LR",
276
+ LS: "LS",
277
+ LT: "LT",
278
+ LU: "LU",
279
+ LV: "LV",
280
+ LY: "LY",
281
+ MA: "MA",
282
+ MC: "MC",
283
+ MD: "MD",
284
+ ME: "ME",
285
+ MF: "MF",
286
+ MG: "MG",
287
+ MH: "MH",
288
+ MK: "MK",
289
+ ML: "ML",
290
+ MM: "MM",
291
+ MN: "MN",
292
+ MO: "MO",
293
+ MP: "MP",
294
+ MQ: "MQ",
295
+ MR: "MR",
296
+ MS: "MS",
297
+ MT: "MT",
298
+ MU: "MU",
299
+ MV: "MV",
300
+ MW: "MW",
301
+ MX: "MX",
302
+ MY: "MY",
303
+ MZ: "MZ",
304
+ NA: "NA",
305
+ NC: "NC",
306
+ NE: "NE",
307
+ NF: "NF",
308
+ NG: "NG",
309
+ NI: "NI",
310
+ NL: "NL",
311
+ NO: "NO",
312
+ NP: "NP",
313
+ NR: "NR",
314
+ NU: "NU",
315
+ NZ: "NZ",
316
+ OM: "OM",
317
+ PA: "PA",
318
+ PE: "PE",
319
+ PF: "PF",
320
+ PG: "PG",
321
+ PH: "PH",
322
+ PK: "PK",
323
+ PL: "PL",
324
+ PM: "PM",
325
+ PN: "PN",
326
+ PR: "PR",
327
+ PS: "PS",
328
+ PT: "PT",
329
+ PW: "PW",
330
+ PY: "PY",
331
+ QA: "QA",
332
+ RE: "RE",
333
+ RO: "RO",
334
+ RS: "RS",
335
+ RU: "RU",
336
+ RW: "RW",
337
+ SA: "SA",
338
+ SB: "SB",
339
+ SC: "SC",
340
+ SD: "SD",
341
+ SE: "SE",
342
+ SG: "SG",
343
+ SH: "SH",
344
+ SI: "SI",
345
+ SJ: "SJ",
346
+ SK: "SK",
347
+ SL: "SL",
348
+ SM: "SM",
349
+ SN: "SN",
350
+ SO: "SO",
351
+ SR: "SR",
352
+ SS: "SS",
353
+ ST: "ST",
354
+ SV: "SV",
355
+ SX: "SX",
356
+ SY: "SY",
357
+ SZ: "SZ",
358
+ TC: "TC",
359
+ TD: "TD",
360
+ TF: "TF",
361
+ TG: "TG",
362
+ TH: "TH",
363
+ TJ: "TJ",
364
+ TK: "TK",
365
+ TL: "TL",
366
+ TM: "TM",
367
+ TN: "TN",
368
+ TO: "TO",
369
+ TR: "TR",
370
+ TT: "TT",
371
+ TV: "TV",
372
+ TW: "TW",
373
+ TZ: "TZ",
374
+ UA: "UA",
375
+ UG: "UG",
376
+ UM: "UM",
377
+ US: "US",
378
+ UY: "UY",
379
+ UZ: "UZ",
380
+ VA: "VA",
381
+ VC: "VC",
382
+ VE: "VE",
383
+ VG: "VG",
384
+ VI: "VI",
385
+ VN: "VN",
386
+ VU: "VU",
387
+ WF: "WF",
388
+ WS: "WS",
389
+ YE: "YE",
390
+ YT: "YT",
391
+ ZA: "ZA",
392
+ ZM: "ZM",
393
+ ZW: "ZW",
394
+ };
395
+ export const IPSetDescriptorType = {
396
+ IPV4: "IPV4",
397
+ IPV6: "IPV6",
398
+ };
399
+ export const RateKey = {
400
+ IP: "IP",
401
+ };
402
+ export const PredicateType = {
403
+ BYTE_MATCH: "ByteMatch",
404
+ GEO_MATCH: "GeoMatch",
405
+ IP_MATCH: "IPMatch",
406
+ REGEX_MATCH: "RegexMatch",
407
+ SIZE_CONSTRAINT: "SizeConstraint",
408
+ SQL_INJECTION_MATCH: "SqlInjectionMatch",
409
+ XSS_MATCH: "XssMatch",
410
+ };
424
411
  export class WAFBadRequestException extends __BaseException {
425
412
  constructor(opts) {
426
413
  super({
@@ -457,25 +444,23 @@ export class WAFTagOperationInternalErrorException extends __BaseException {
457
444
  Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
458
445
  }
459
446
  }
460
- export var ComparisonOperator;
461
- (function (ComparisonOperator) {
462
- ComparisonOperator["EQ"] = "EQ";
463
- ComparisonOperator["GE"] = "GE";
464
- ComparisonOperator["GT"] = "GT";
465
- ComparisonOperator["LE"] = "LE";
466
- ComparisonOperator["LT"] = "LT";
467
- ComparisonOperator["NE"] = "NE";
468
- })(ComparisonOperator || (ComparisonOperator = {}));
469
- export var MigrationErrorType;
470
- (function (MigrationErrorType) {
471
- MigrationErrorType["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
472
- MigrationErrorType["ENTITY_NOT_SUPPORTED"] = "ENTITY_NOT_SUPPORTED";
473
- MigrationErrorType["S3_BUCKET_INVALID_REGION"] = "S3_BUCKET_INVALID_REGION";
474
- MigrationErrorType["S3_BUCKET_NOT_ACCESSIBLE"] = "S3_BUCKET_NOT_ACCESSIBLE";
475
- MigrationErrorType["S3_BUCKET_NOT_FOUND"] = "S3_BUCKET_NOT_FOUND";
476
- MigrationErrorType["S3_BUCKET_NO_PERMISSION"] = "S3_BUCKET_NO_PERMISSION";
477
- MigrationErrorType["S3_INTERNAL_ERROR"] = "S3_INTERNAL_ERROR";
478
- })(MigrationErrorType || (MigrationErrorType = {}));
447
+ export const ComparisonOperator = {
448
+ EQ: "EQ",
449
+ GE: "GE",
450
+ GT: "GT",
451
+ LE: "LE",
452
+ LT: "LT",
453
+ NE: "NE",
454
+ };
455
+ export const MigrationErrorType = {
456
+ ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND",
457
+ ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED",
458
+ S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION",
459
+ S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE",
460
+ S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND",
461
+ S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION",
462
+ S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR",
463
+ };
479
464
  export class WAFEntityMigrationException extends __BaseException {
480
465
  constructor(opts) {
481
466
  super({
@@ -538,12 +523,11 @@ export class WAFReferencedItemException extends __BaseException {
538
523
  Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
539
524
  }
540
525
  }
541
- export var ChangeTokenStatus;
542
- (function (ChangeTokenStatus) {
543
- ChangeTokenStatus["INSYNC"] = "INSYNC";
544
- ChangeTokenStatus["PENDING"] = "PENDING";
545
- ChangeTokenStatus["PROVISIONED"] = "PROVISIONED";
546
- })(ChangeTokenStatus || (ChangeTokenStatus = {}));
526
+ export const ChangeTokenStatus = {
527
+ INSYNC: "INSYNC",
528
+ PENDING: "PENDING",
529
+ PROVISIONED: "PROVISIONED",
530
+ };
547
531
  export class WAFServiceLinkedRoleErrorException extends __BaseException {
548
532
  constructor(opts) {
549
533
  super({
@@ -568,11 +552,10 @@ export class WAFInvalidPermissionPolicyException extends __BaseException {
568
552
  Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
569
553
  }
570
554
  }
571
- export var ChangeAction;
572
- (function (ChangeAction) {
573
- ChangeAction["DELETE"] = "DELETE";
574
- ChangeAction["INSERT"] = "INSERT";
575
- })(ChangeAction || (ChangeAction = {}));
555
+ export const ChangeAction = {
556
+ DELETE: "DELETE",
557
+ INSERT: "INSERT",
558
+ };
576
559
  export class WAFNonexistentContainerException extends __BaseException {
577
560
  constructor(opts) {
578
561
  super({