@aws-sdk/client-waf-regional 3.301.0 → 3.306.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,21 +1,18 @@
1
1
  import { WAFRegionalServiceException as __BaseException } from "./WAFRegionalServiceException";
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 = {}));
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
+ };
19
16
  export class WAFInternalErrorException extends __BaseException {
20
17
  constructor(opts) {
21
18
  super({
@@ -40,34 +37,32 @@ export class WAFInvalidAccountException extends __BaseException {
40
37
  Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
41
38
  }
42
39
  }
43
- export var ParameterExceptionField;
44
- (function (ParameterExceptionField) {
45
- ParameterExceptionField["BYTE_MATCH_FIELD_TYPE"] = "BYTE_MATCH_FIELD_TYPE";
46
- ParameterExceptionField["BYTE_MATCH_POSITIONAL_CONSTRAINT"] = "BYTE_MATCH_POSITIONAL_CONSTRAINT";
47
- ParameterExceptionField["BYTE_MATCH_TEXT_TRANSFORMATION"] = "BYTE_MATCH_TEXT_TRANSFORMATION";
48
- ParameterExceptionField["CHANGE_ACTION"] = "CHANGE_ACTION";
49
- ParameterExceptionField["GEO_MATCH_LOCATION_TYPE"] = "GEO_MATCH_LOCATION_TYPE";
50
- ParameterExceptionField["GEO_MATCH_LOCATION_VALUE"] = "GEO_MATCH_LOCATION_VALUE";
51
- ParameterExceptionField["IPSET_TYPE"] = "IPSET_TYPE";
52
- ParameterExceptionField["NEXT_MARKER"] = "NEXT_MARKER";
53
- ParameterExceptionField["PREDICATE_TYPE"] = "PREDICATE_TYPE";
54
- ParameterExceptionField["RATE_KEY"] = "RATE_KEY";
55
- ParameterExceptionField["RESOURCE_ARN"] = "RESOURCE_ARN";
56
- ParameterExceptionField["RULE_TYPE"] = "RULE_TYPE";
57
- ParameterExceptionField["SIZE_CONSTRAINT_COMPARISON_OPERATOR"] = "SIZE_CONSTRAINT_COMPARISON_OPERATOR";
58
- ParameterExceptionField["SQL_INJECTION_MATCH_FIELD_TYPE"] = "SQL_INJECTION_MATCH_FIELD_TYPE";
59
- ParameterExceptionField["TAGS"] = "TAGS";
60
- ParameterExceptionField["TAG_KEYS"] = "TAG_KEYS";
61
- ParameterExceptionField["WAF_ACTION"] = "WAF_ACTION";
62
- ParameterExceptionField["WAF_OVERRIDE_ACTION"] = "WAF_OVERRIDE_ACTION";
63
- })(ParameterExceptionField || (ParameterExceptionField = {}));
64
- export var ParameterExceptionReason;
65
- (function (ParameterExceptionReason) {
66
- ParameterExceptionReason["ILLEGAL_ARGUMENT"] = "ILLEGAL_ARGUMENT";
67
- ParameterExceptionReason["ILLEGAL_COMBINATION"] = "ILLEGAL_COMBINATION";
68
- ParameterExceptionReason["INVALID_OPTION"] = "INVALID_OPTION";
69
- ParameterExceptionReason["INVALID_TAG_KEY"] = "INVALID_TAG_KEY";
70
- })(ParameterExceptionReason || (ParameterExceptionReason = {}));
40
+ export const ParameterExceptionField = {
41
+ BYTE_MATCH_FIELD_TYPE: "BYTE_MATCH_FIELD_TYPE",
42
+ BYTE_MATCH_POSITIONAL_CONSTRAINT: "BYTE_MATCH_POSITIONAL_CONSTRAINT",
43
+ BYTE_MATCH_TEXT_TRANSFORMATION: "BYTE_MATCH_TEXT_TRANSFORMATION",
44
+ CHANGE_ACTION: "CHANGE_ACTION",
45
+ GEO_MATCH_LOCATION_TYPE: "GEO_MATCH_LOCATION_TYPE",
46
+ GEO_MATCH_LOCATION_VALUE: "GEO_MATCH_LOCATION_VALUE",
47
+ IPSET_TYPE: "IPSET_TYPE",
48
+ NEXT_MARKER: "NEXT_MARKER",
49
+ PREDICATE_TYPE: "PREDICATE_TYPE",
50
+ RATE_KEY: "RATE_KEY",
51
+ RESOURCE_ARN: "RESOURCE_ARN",
52
+ RULE_TYPE: "RULE_TYPE",
53
+ SIZE_CONSTRAINT_COMPARISON_OPERATOR: "SIZE_CONSTRAINT_COMPARISON_OPERATOR",
54
+ SQL_INJECTION_MATCH_FIELD_TYPE: "SQL_INJECTION_MATCH_FIELD_TYPE",
55
+ TAGS: "TAGS",
56
+ TAG_KEYS: "TAG_KEYS",
57
+ WAF_ACTION: "WAF_ACTION",
58
+ WAF_OVERRIDE_ACTION: "WAF_OVERRIDE_ACTION",
59
+ };
60
+ export const ParameterExceptionReason = {
61
+ ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT",
62
+ ILLEGAL_COMBINATION: "ILLEGAL_COMBINATION",
63
+ INVALID_OPTION: "INVALID_OPTION",
64
+ INVALID_TAG_KEY: "INVALID_TAG_KEY",
65
+ };
71
66
  export class WAFInvalidParameterException extends __BaseException {
72
67
  constructor(opts) {
73
68
  super({
@@ -107,33 +102,30 @@ export class WAFUnavailableEntityException extends __BaseException {
107
102
  Object.setPrototypeOf(this, WAFUnavailableEntityException.prototype);
108
103
  }
109
104
  }
110
- export var MatchFieldType;
111
- (function (MatchFieldType) {
112
- MatchFieldType["ALL_QUERY_ARGS"] = "ALL_QUERY_ARGS";
113
- MatchFieldType["BODY"] = "BODY";
114
- MatchFieldType["HEADER"] = "HEADER";
115
- MatchFieldType["METHOD"] = "METHOD";
116
- MatchFieldType["QUERY_STRING"] = "QUERY_STRING";
117
- MatchFieldType["SINGLE_QUERY_ARG"] = "SINGLE_QUERY_ARG";
118
- MatchFieldType["URI"] = "URI";
119
- })(MatchFieldType || (MatchFieldType = {}));
120
- export var PositionalConstraint;
121
- (function (PositionalConstraint) {
122
- PositionalConstraint["CONTAINS"] = "CONTAINS";
123
- PositionalConstraint["CONTAINS_WORD"] = "CONTAINS_WORD";
124
- PositionalConstraint["ENDS_WITH"] = "ENDS_WITH";
125
- PositionalConstraint["EXACTLY"] = "EXACTLY";
126
- PositionalConstraint["STARTS_WITH"] = "STARTS_WITH";
127
- })(PositionalConstraint || (PositionalConstraint = {}));
128
- export var TextTransformation;
129
- (function (TextTransformation) {
130
- TextTransformation["CMD_LINE"] = "CMD_LINE";
131
- TextTransformation["COMPRESS_WHITE_SPACE"] = "COMPRESS_WHITE_SPACE";
132
- TextTransformation["HTML_ENTITY_DECODE"] = "HTML_ENTITY_DECODE";
133
- TextTransformation["LOWERCASE"] = "LOWERCASE";
134
- TextTransformation["NONE"] = "NONE";
135
- TextTransformation["URL_DECODE"] = "URL_DECODE";
136
- })(TextTransformation || (TextTransformation = {}));
105
+ export const MatchFieldType = {
106
+ ALL_QUERY_ARGS: "ALL_QUERY_ARGS",
107
+ BODY: "BODY",
108
+ HEADER: "HEADER",
109
+ METHOD: "METHOD",
110
+ QUERY_STRING: "QUERY_STRING",
111
+ SINGLE_QUERY_ARG: "SINGLE_QUERY_ARG",
112
+ URI: "URI",
113
+ };
114
+ export const PositionalConstraint = {
115
+ CONTAINS: "CONTAINS",
116
+ CONTAINS_WORD: "CONTAINS_WORD",
117
+ ENDS_WITH: "ENDS_WITH",
118
+ EXACTLY: "EXACTLY",
119
+ STARTS_WITH: "STARTS_WITH",
120
+ };
121
+ export const TextTransformation = {
122
+ CMD_LINE: "CMD_LINE",
123
+ COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE",
124
+ HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE",
125
+ LOWERCASE: "LOWERCASE",
126
+ NONE: "NONE",
127
+ URL_DECODE: "URL_DECODE",
128
+ };
137
129
  export class WAFDisallowedNameException extends __BaseException {
138
130
  constructor(opts) {
139
131
  super({
@@ -170,281 +162,276 @@ export class WAFStaleDataException extends __BaseException {
170
162
  Object.setPrototypeOf(this, WAFStaleDataException.prototype);
171
163
  }
172
164
  }
173
- export var GeoMatchConstraintType;
174
- (function (GeoMatchConstraintType) {
175
- GeoMatchConstraintType["Country"] = "Country";
176
- })(GeoMatchConstraintType || (GeoMatchConstraintType = {}));
177
- export var GeoMatchConstraintValue;
178
- (function (GeoMatchConstraintValue) {
179
- GeoMatchConstraintValue["AD"] = "AD";
180
- GeoMatchConstraintValue["AE"] = "AE";
181
- GeoMatchConstraintValue["AF"] = "AF";
182
- GeoMatchConstraintValue["AG"] = "AG";
183
- GeoMatchConstraintValue["AI"] = "AI";
184
- GeoMatchConstraintValue["AL"] = "AL";
185
- GeoMatchConstraintValue["AM"] = "AM";
186
- GeoMatchConstraintValue["AO"] = "AO";
187
- GeoMatchConstraintValue["AQ"] = "AQ";
188
- GeoMatchConstraintValue["AR"] = "AR";
189
- GeoMatchConstraintValue["AS"] = "AS";
190
- GeoMatchConstraintValue["AT"] = "AT";
191
- GeoMatchConstraintValue["AU"] = "AU";
192
- GeoMatchConstraintValue["AW"] = "AW";
193
- GeoMatchConstraintValue["AX"] = "AX";
194
- GeoMatchConstraintValue["AZ"] = "AZ";
195
- GeoMatchConstraintValue["BA"] = "BA";
196
- GeoMatchConstraintValue["BB"] = "BB";
197
- GeoMatchConstraintValue["BD"] = "BD";
198
- GeoMatchConstraintValue["BE"] = "BE";
199
- GeoMatchConstraintValue["BF"] = "BF";
200
- GeoMatchConstraintValue["BG"] = "BG";
201
- GeoMatchConstraintValue["BH"] = "BH";
202
- GeoMatchConstraintValue["BI"] = "BI";
203
- GeoMatchConstraintValue["BJ"] = "BJ";
204
- GeoMatchConstraintValue["BL"] = "BL";
205
- GeoMatchConstraintValue["BM"] = "BM";
206
- GeoMatchConstraintValue["BN"] = "BN";
207
- GeoMatchConstraintValue["BO"] = "BO";
208
- GeoMatchConstraintValue["BQ"] = "BQ";
209
- GeoMatchConstraintValue["BR"] = "BR";
210
- GeoMatchConstraintValue["BS"] = "BS";
211
- GeoMatchConstraintValue["BT"] = "BT";
212
- GeoMatchConstraintValue["BV"] = "BV";
213
- GeoMatchConstraintValue["BW"] = "BW";
214
- GeoMatchConstraintValue["BY"] = "BY";
215
- GeoMatchConstraintValue["BZ"] = "BZ";
216
- GeoMatchConstraintValue["CA"] = "CA";
217
- GeoMatchConstraintValue["CC"] = "CC";
218
- GeoMatchConstraintValue["CD"] = "CD";
219
- GeoMatchConstraintValue["CF"] = "CF";
220
- GeoMatchConstraintValue["CG"] = "CG";
221
- GeoMatchConstraintValue["CH"] = "CH";
222
- GeoMatchConstraintValue["CI"] = "CI";
223
- GeoMatchConstraintValue["CK"] = "CK";
224
- GeoMatchConstraintValue["CL"] = "CL";
225
- GeoMatchConstraintValue["CM"] = "CM";
226
- GeoMatchConstraintValue["CN"] = "CN";
227
- GeoMatchConstraintValue["CO"] = "CO";
228
- GeoMatchConstraintValue["CR"] = "CR";
229
- GeoMatchConstraintValue["CU"] = "CU";
230
- GeoMatchConstraintValue["CV"] = "CV";
231
- GeoMatchConstraintValue["CW"] = "CW";
232
- GeoMatchConstraintValue["CX"] = "CX";
233
- GeoMatchConstraintValue["CY"] = "CY";
234
- GeoMatchConstraintValue["CZ"] = "CZ";
235
- GeoMatchConstraintValue["DE"] = "DE";
236
- GeoMatchConstraintValue["DJ"] = "DJ";
237
- GeoMatchConstraintValue["DK"] = "DK";
238
- GeoMatchConstraintValue["DM"] = "DM";
239
- GeoMatchConstraintValue["DO"] = "DO";
240
- GeoMatchConstraintValue["DZ"] = "DZ";
241
- GeoMatchConstraintValue["EC"] = "EC";
242
- GeoMatchConstraintValue["EE"] = "EE";
243
- GeoMatchConstraintValue["EG"] = "EG";
244
- GeoMatchConstraintValue["EH"] = "EH";
245
- GeoMatchConstraintValue["ER"] = "ER";
246
- GeoMatchConstraintValue["ES"] = "ES";
247
- GeoMatchConstraintValue["ET"] = "ET";
248
- GeoMatchConstraintValue["FI"] = "FI";
249
- GeoMatchConstraintValue["FJ"] = "FJ";
250
- GeoMatchConstraintValue["FK"] = "FK";
251
- GeoMatchConstraintValue["FM"] = "FM";
252
- GeoMatchConstraintValue["FO"] = "FO";
253
- GeoMatchConstraintValue["FR"] = "FR";
254
- GeoMatchConstraintValue["GA"] = "GA";
255
- GeoMatchConstraintValue["GB"] = "GB";
256
- GeoMatchConstraintValue["GD"] = "GD";
257
- GeoMatchConstraintValue["GE"] = "GE";
258
- GeoMatchConstraintValue["GF"] = "GF";
259
- GeoMatchConstraintValue["GG"] = "GG";
260
- GeoMatchConstraintValue["GH"] = "GH";
261
- GeoMatchConstraintValue["GI"] = "GI";
262
- GeoMatchConstraintValue["GL"] = "GL";
263
- GeoMatchConstraintValue["GM"] = "GM";
264
- GeoMatchConstraintValue["GN"] = "GN";
265
- GeoMatchConstraintValue["GP"] = "GP";
266
- GeoMatchConstraintValue["GQ"] = "GQ";
267
- GeoMatchConstraintValue["GR"] = "GR";
268
- GeoMatchConstraintValue["GS"] = "GS";
269
- GeoMatchConstraintValue["GT"] = "GT";
270
- GeoMatchConstraintValue["GU"] = "GU";
271
- GeoMatchConstraintValue["GW"] = "GW";
272
- GeoMatchConstraintValue["GY"] = "GY";
273
- GeoMatchConstraintValue["HK"] = "HK";
274
- GeoMatchConstraintValue["HM"] = "HM";
275
- GeoMatchConstraintValue["HN"] = "HN";
276
- GeoMatchConstraintValue["HR"] = "HR";
277
- GeoMatchConstraintValue["HT"] = "HT";
278
- GeoMatchConstraintValue["HU"] = "HU";
279
- GeoMatchConstraintValue["ID"] = "ID";
280
- GeoMatchConstraintValue["IE"] = "IE";
281
- GeoMatchConstraintValue["IL"] = "IL";
282
- GeoMatchConstraintValue["IM"] = "IM";
283
- GeoMatchConstraintValue["IN"] = "IN";
284
- GeoMatchConstraintValue["IO"] = "IO";
285
- GeoMatchConstraintValue["IQ"] = "IQ";
286
- GeoMatchConstraintValue["IR"] = "IR";
287
- GeoMatchConstraintValue["IS"] = "IS";
288
- GeoMatchConstraintValue["IT"] = "IT";
289
- GeoMatchConstraintValue["JE"] = "JE";
290
- GeoMatchConstraintValue["JM"] = "JM";
291
- GeoMatchConstraintValue["JO"] = "JO";
292
- GeoMatchConstraintValue["JP"] = "JP";
293
- GeoMatchConstraintValue["KE"] = "KE";
294
- GeoMatchConstraintValue["KG"] = "KG";
295
- GeoMatchConstraintValue["KH"] = "KH";
296
- GeoMatchConstraintValue["KI"] = "KI";
297
- GeoMatchConstraintValue["KM"] = "KM";
298
- GeoMatchConstraintValue["KN"] = "KN";
299
- GeoMatchConstraintValue["KP"] = "KP";
300
- GeoMatchConstraintValue["KR"] = "KR";
301
- GeoMatchConstraintValue["KW"] = "KW";
302
- GeoMatchConstraintValue["KY"] = "KY";
303
- GeoMatchConstraintValue["KZ"] = "KZ";
304
- GeoMatchConstraintValue["LA"] = "LA";
305
- GeoMatchConstraintValue["LB"] = "LB";
306
- GeoMatchConstraintValue["LC"] = "LC";
307
- GeoMatchConstraintValue["LI"] = "LI";
308
- GeoMatchConstraintValue["LK"] = "LK";
309
- GeoMatchConstraintValue["LR"] = "LR";
310
- GeoMatchConstraintValue["LS"] = "LS";
311
- GeoMatchConstraintValue["LT"] = "LT";
312
- GeoMatchConstraintValue["LU"] = "LU";
313
- GeoMatchConstraintValue["LV"] = "LV";
314
- GeoMatchConstraintValue["LY"] = "LY";
315
- GeoMatchConstraintValue["MA"] = "MA";
316
- GeoMatchConstraintValue["MC"] = "MC";
317
- GeoMatchConstraintValue["MD"] = "MD";
318
- GeoMatchConstraintValue["ME"] = "ME";
319
- GeoMatchConstraintValue["MF"] = "MF";
320
- GeoMatchConstraintValue["MG"] = "MG";
321
- GeoMatchConstraintValue["MH"] = "MH";
322
- GeoMatchConstraintValue["MK"] = "MK";
323
- GeoMatchConstraintValue["ML"] = "ML";
324
- GeoMatchConstraintValue["MM"] = "MM";
325
- GeoMatchConstraintValue["MN"] = "MN";
326
- GeoMatchConstraintValue["MO"] = "MO";
327
- GeoMatchConstraintValue["MP"] = "MP";
328
- GeoMatchConstraintValue["MQ"] = "MQ";
329
- GeoMatchConstraintValue["MR"] = "MR";
330
- GeoMatchConstraintValue["MS"] = "MS";
331
- GeoMatchConstraintValue["MT"] = "MT";
332
- GeoMatchConstraintValue["MU"] = "MU";
333
- GeoMatchConstraintValue["MV"] = "MV";
334
- GeoMatchConstraintValue["MW"] = "MW";
335
- GeoMatchConstraintValue["MX"] = "MX";
336
- GeoMatchConstraintValue["MY"] = "MY";
337
- GeoMatchConstraintValue["MZ"] = "MZ";
338
- GeoMatchConstraintValue["NA"] = "NA";
339
- GeoMatchConstraintValue["NC"] = "NC";
340
- GeoMatchConstraintValue["NE"] = "NE";
341
- GeoMatchConstraintValue["NF"] = "NF";
342
- GeoMatchConstraintValue["NG"] = "NG";
343
- GeoMatchConstraintValue["NI"] = "NI";
344
- GeoMatchConstraintValue["NL"] = "NL";
345
- GeoMatchConstraintValue["NO"] = "NO";
346
- GeoMatchConstraintValue["NP"] = "NP";
347
- GeoMatchConstraintValue["NR"] = "NR";
348
- GeoMatchConstraintValue["NU"] = "NU";
349
- GeoMatchConstraintValue["NZ"] = "NZ";
350
- GeoMatchConstraintValue["OM"] = "OM";
351
- GeoMatchConstraintValue["PA"] = "PA";
352
- GeoMatchConstraintValue["PE"] = "PE";
353
- GeoMatchConstraintValue["PF"] = "PF";
354
- GeoMatchConstraintValue["PG"] = "PG";
355
- GeoMatchConstraintValue["PH"] = "PH";
356
- GeoMatchConstraintValue["PK"] = "PK";
357
- GeoMatchConstraintValue["PL"] = "PL";
358
- GeoMatchConstraintValue["PM"] = "PM";
359
- GeoMatchConstraintValue["PN"] = "PN";
360
- GeoMatchConstraintValue["PR"] = "PR";
361
- GeoMatchConstraintValue["PS"] = "PS";
362
- GeoMatchConstraintValue["PT"] = "PT";
363
- GeoMatchConstraintValue["PW"] = "PW";
364
- GeoMatchConstraintValue["PY"] = "PY";
365
- GeoMatchConstraintValue["QA"] = "QA";
366
- GeoMatchConstraintValue["RE"] = "RE";
367
- GeoMatchConstraintValue["RO"] = "RO";
368
- GeoMatchConstraintValue["RS"] = "RS";
369
- GeoMatchConstraintValue["RU"] = "RU";
370
- GeoMatchConstraintValue["RW"] = "RW";
371
- GeoMatchConstraintValue["SA"] = "SA";
372
- GeoMatchConstraintValue["SB"] = "SB";
373
- GeoMatchConstraintValue["SC"] = "SC";
374
- GeoMatchConstraintValue["SD"] = "SD";
375
- GeoMatchConstraintValue["SE"] = "SE";
376
- GeoMatchConstraintValue["SG"] = "SG";
377
- GeoMatchConstraintValue["SH"] = "SH";
378
- GeoMatchConstraintValue["SI"] = "SI";
379
- GeoMatchConstraintValue["SJ"] = "SJ";
380
- GeoMatchConstraintValue["SK"] = "SK";
381
- GeoMatchConstraintValue["SL"] = "SL";
382
- GeoMatchConstraintValue["SM"] = "SM";
383
- GeoMatchConstraintValue["SN"] = "SN";
384
- GeoMatchConstraintValue["SO"] = "SO";
385
- GeoMatchConstraintValue["SR"] = "SR";
386
- GeoMatchConstraintValue["SS"] = "SS";
387
- GeoMatchConstraintValue["ST"] = "ST";
388
- GeoMatchConstraintValue["SV"] = "SV";
389
- GeoMatchConstraintValue["SX"] = "SX";
390
- GeoMatchConstraintValue["SY"] = "SY";
391
- GeoMatchConstraintValue["SZ"] = "SZ";
392
- GeoMatchConstraintValue["TC"] = "TC";
393
- GeoMatchConstraintValue["TD"] = "TD";
394
- GeoMatchConstraintValue["TF"] = "TF";
395
- GeoMatchConstraintValue["TG"] = "TG";
396
- GeoMatchConstraintValue["TH"] = "TH";
397
- GeoMatchConstraintValue["TJ"] = "TJ";
398
- GeoMatchConstraintValue["TK"] = "TK";
399
- GeoMatchConstraintValue["TL"] = "TL";
400
- GeoMatchConstraintValue["TM"] = "TM";
401
- GeoMatchConstraintValue["TN"] = "TN";
402
- GeoMatchConstraintValue["TO"] = "TO";
403
- GeoMatchConstraintValue["TR"] = "TR";
404
- GeoMatchConstraintValue["TT"] = "TT";
405
- GeoMatchConstraintValue["TV"] = "TV";
406
- GeoMatchConstraintValue["TW"] = "TW";
407
- GeoMatchConstraintValue["TZ"] = "TZ";
408
- GeoMatchConstraintValue["UA"] = "UA";
409
- GeoMatchConstraintValue["UG"] = "UG";
410
- GeoMatchConstraintValue["UM"] = "UM";
411
- GeoMatchConstraintValue["US"] = "US";
412
- GeoMatchConstraintValue["UY"] = "UY";
413
- GeoMatchConstraintValue["UZ"] = "UZ";
414
- GeoMatchConstraintValue["VA"] = "VA";
415
- GeoMatchConstraintValue["VC"] = "VC";
416
- GeoMatchConstraintValue["VE"] = "VE";
417
- GeoMatchConstraintValue["VG"] = "VG";
418
- GeoMatchConstraintValue["VI"] = "VI";
419
- GeoMatchConstraintValue["VN"] = "VN";
420
- GeoMatchConstraintValue["VU"] = "VU";
421
- GeoMatchConstraintValue["WF"] = "WF";
422
- GeoMatchConstraintValue["WS"] = "WS";
423
- GeoMatchConstraintValue["YE"] = "YE";
424
- GeoMatchConstraintValue["YT"] = "YT";
425
- GeoMatchConstraintValue["ZA"] = "ZA";
426
- GeoMatchConstraintValue["ZM"] = "ZM";
427
- GeoMatchConstraintValue["ZW"] = "ZW";
428
- })(GeoMatchConstraintValue || (GeoMatchConstraintValue = {}));
429
- export var IPSetDescriptorType;
430
- (function (IPSetDescriptorType) {
431
- IPSetDescriptorType["IPV4"] = "IPV4";
432
- IPSetDescriptorType["IPV6"] = "IPV6";
433
- })(IPSetDescriptorType || (IPSetDescriptorType = {}));
434
- export var RateKey;
435
- (function (RateKey) {
436
- RateKey["IP"] = "IP";
437
- })(RateKey || (RateKey = {}));
438
- export var PredicateType;
439
- (function (PredicateType) {
440
- PredicateType["BYTE_MATCH"] = "ByteMatch";
441
- PredicateType["GEO_MATCH"] = "GeoMatch";
442
- PredicateType["IP_MATCH"] = "IPMatch";
443
- PredicateType["REGEX_MATCH"] = "RegexMatch";
444
- PredicateType["SIZE_CONSTRAINT"] = "SizeConstraint";
445
- PredicateType["SQL_INJECTION_MATCH"] = "SqlInjectionMatch";
446
- PredicateType["XSS_MATCH"] = "XssMatch";
447
- })(PredicateType || (PredicateType = {}));
165
+ export const GeoMatchConstraintType = {
166
+ Country: "Country",
167
+ };
168
+ export const GeoMatchConstraintValue = {
169
+ AD: "AD",
170
+ AE: "AE",
171
+ AF: "AF",
172
+ AG: "AG",
173
+ AI: "AI",
174
+ AL: "AL",
175
+ AM: "AM",
176
+ AO: "AO",
177
+ AQ: "AQ",
178
+ AR: "AR",
179
+ AS: "AS",
180
+ AT: "AT",
181
+ AU: "AU",
182
+ AW: "AW",
183
+ AX: "AX",
184
+ AZ: "AZ",
185
+ BA: "BA",
186
+ BB: "BB",
187
+ BD: "BD",
188
+ BE: "BE",
189
+ BF: "BF",
190
+ BG: "BG",
191
+ BH: "BH",
192
+ BI: "BI",
193
+ BJ: "BJ",
194
+ BL: "BL",
195
+ BM: "BM",
196
+ BN: "BN",
197
+ BO: "BO",
198
+ BQ: "BQ",
199
+ BR: "BR",
200
+ BS: "BS",
201
+ BT: "BT",
202
+ BV: "BV",
203
+ BW: "BW",
204
+ BY: "BY",
205
+ BZ: "BZ",
206
+ CA: "CA",
207
+ CC: "CC",
208
+ CD: "CD",
209
+ CF: "CF",
210
+ CG: "CG",
211
+ CH: "CH",
212
+ CI: "CI",
213
+ CK: "CK",
214
+ CL: "CL",
215
+ CM: "CM",
216
+ CN: "CN",
217
+ CO: "CO",
218
+ CR: "CR",
219
+ CU: "CU",
220
+ CV: "CV",
221
+ CW: "CW",
222
+ CX: "CX",
223
+ CY: "CY",
224
+ CZ: "CZ",
225
+ DE: "DE",
226
+ DJ: "DJ",
227
+ DK: "DK",
228
+ DM: "DM",
229
+ DO: "DO",
230
+ DZ: "DZ",
231
+ EC: "EC",
232
+ EE: "EE",
233
+ EG: "EG",
234
+ EH: "EH",
235
+ ER: "ER",
236
+ ES: "ES",
237
+ ET: "ET",
238
+ FI: "FI",
239
+ FJ: "FJ",
240
+ FK: "FK",
241
+ FM: "FM",
242
+ FO: "FO",
243
+ FR: "FR",
244
+ GA: "GA",
245
+ GB: "GB",
246
+ GD: "GD",
247
+ GE: "GE",
248
+ GF: "GF",
249
+ GG: "GG",
250
+ GH: "GH",
251
+ GI: "GI",
252
+ GL: "GL",
253
+ GM: "GM",
254
+ GN: "GN",
255
+ GP: "GP",
256
+ GQ: "GQ",
257
+ GR: "GR",
258
+ GS: "GS",
259
+ GT: "GT",
260
+ GU: "GU",
261
+ GW: "GW",
262
+ GY: "GY",
263
+ HK: "HK",
264
+ HM: "HM",
265
+ HN: "HN",
266
+ HR: "HR",
267
+ HT: "HT",
268
+ HU: "HU",
269
+ ID: "ID",
270
+ IE: "IE",
271
+ IL: "IL",
272
+ IM: "IM",
273
+ IN: "IN",
274
+ IO: "IO",
275
+ IQ: "IQ",
276
+ IR: "IR",
277
+ IS: "IS",
278
+ IT: "IT",
279
+ JE: "JE",
280
+ JM: "JM",
281
+ JO: "JO",
282
+ JP: "JP",
283
+ KE: "KE",
284
+ KG: "KG",
285
+ KH: "KH",
286
+ KI: "KI",
287
+ KM: "KM",
288
+ KN: "KN",
289
+ KP: "KP",
290
+ KR: "KR",
291
+ KW: "KW",
292
+ KY: "KY",
293
+ KZ: "KZ",
294
+ LA: "LA",
295
+ LB: "LB",
296
+ LC: "LC",
297
+ LI: "LI",
298
+ LK: "LK",
299
+ LR: "LR",
300
+ LS: "LS",
301
+ LT: "LT",
302
+ LU: "LU",
303
+ LV: "LV",
304
+ LY: "LY",
305
+ MA: "MA",
306
+ MC: "MC",
307
+ MD: "MD",
308
+ ME: "ME",
309
+ MF: "MF",
310
+ MG: "MG",
311
+ MH: "MH",
312
+ MK: "MK",
313
+ ML: "ML",
314
+ MM: "MM",
315
+ MN: "MN",
316
+ MO: "MO",
317
+ MP: "MP",
318
+ MQ: "MQ",
319
+ MR: "MR",
320
+ MS: "MS",
321
+ MT: "MT",
322
+ MU: "MU",
323
+ MV: "MV",
324
+ MW: "MW",
325
+ MX: "MX",
326
+ MY: "MY",
327
+ MZ: "MZ",
328
+ NA: "NA",
329
+ NC: "NC",
330
+ NE: "NE",
331
+ NF: "NF",
332
+ NG: "NG",
333
+ NI: "NI",
334
+ NL: "NL",
335
+ NO: "NO",
336
+ NP: "NP",
337
+ NR: "NR",
338
+ NU: "NU",
339
+ NZ: "NZ",
340
+ OM: "OM",
341
+ PA: "PA",
342
+ PE: "PE",
343
+ PF: "PF",
344
+ PG: "PG",
345
+ PH: "PH",
346
+ PK: "PK",
347
+ PL: "PL",
348
+ PM: "PM",
349
+ PN: "PN",
350
+ PR: "PR",
351
+ PS: "PS",
352
+ PT: "PT",
353
+ PW: "PW",
354
+ PY: "PY",
355
+ QA: "QA",
356
+ RE: "RE",
357
+ RO: "RO",
358
+ RS: "RS",
359
+ RU: "RU",
360
+ RW: "RW",
361
+ SA: "SA",
362
+ SB: "SB",
363
+ SC: "SC",
364
+ SD: "SD",
365
+ SE: "SE",
366
+ SG: "SG",
367
+ SH: "SH",
368
+ SI: "SI",
369
+ SJ: "SJ",
370
+ SK: "SK",
371
+ SL: "SL",
372
+ SM: "SM",
373
+ SN: "SN",
374
+ SO: "SO",
375
+ SR: "SR",
376
+ SS: "SS",
377
+ ST: "ST",
378
+ SV: "SV",
379
+ SX: "SX",
380
+ SY: "SY",
381
+ SZ: "SZ",
382
+ TC: "TC",
383
+ TD: "TD",
384
+ TF: "TF",
385
+ TG: "TG",
386
+ TH: "TH",
387
+ TJ: "TJ",
388
+ TK: "TK",
389
+ TL: "TL",
390
+ TM: "TM",
391
+ TN: "TN",
392
+ TO: "TO",
393
+ TR: "TR",
394
+ TT: "TT",
395
+ TV: "TV",
396
+ TW: "TW",
397
+ TZ: "TZ",
398
+ UA: "UA",
399
+ UG: "UG",
400
+ UM: "UM",
401
+ US: "US",
402
+ UY: "UY",
403
+ UZ: "UZ",
404
+ VA: "VA",
405
+ VC: "VC",
406
+ VE: "VE",
407
+ VG: "VG",
408
+ VI: "VI",
409
+ VN: "VN",
410
+ VU: "VU",
411
+ WF: "WF",
412
+ WS: "WS",
413
+ YE: "YE",
414
+ YT: "YT",
415
+ ZA: "ZA",
416
+ ZM: "ZM",
417
+ ZW: "ZW",
418
+ };
419
+ export const IPSetDescriptorType = {
420
+ IPV4: "IPV4",
421
+ IPV6: "IPV6",
422
+ };
423
+ export const RateKey = {
424
+ IP: "IP",
425
+ };
426
+ export const PredicateType = {
427
+ BYTE_MATCH: "ByteMatch",
428
+ GEO_MATCH: "GeoMatch",
429
+ IP_MATCH: "IPMatch",
430
+ REGEX_MATCH: "RegexMatch",
431
+ SIZE_CONSTRAINT: "SizeConstraint",
432
+ SQL_INJECTION_MATCH: "SqlInjectionMatch",
433
+ XSS_MATCH: "XssMatch",
434
+ };
448
435
  export class WAFBadRequestException extends __BaseException {
449
436
  constructor(opts) {
450
437
  super({
@@ -481,25 +468,23 @@ export class WAFTagOperationInternalErrorException extends __BaseException {
481
468
  Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
482
469
  }
483
470
  }
484
- export var ComparisonOperator;
485
- (function (ComparisonOperator) {
486
- ComparisonOperator["EQ"] = "EQ";
487
- ComparisonOperator["GE"] = "GE";
488
- ComparisonOperator["GT"] = "GT";
489
- ComparisonOperator["LE"] = "LE";
490
- ComparisonOperator["LT"] = "LT";
491
- ComparisonOperator["NE"] = "NE";
492
- })(ComparisonOperator || (ComparisonOperator = {}));
493
- export var MigrationErrorType;
494
- (function (MigrationErrorType) {
495
- MigrationErrorType["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
496
- MigrationErrorType["ENTITY_NOT_SUPPORTED"] = "ENTITY_NOT_SUPPORTED";
497
- MigrationErrorType["S3_BUCKET_INVALID_REGION"] = "S3_BUCKET_INVALID_REGION";
498
- MigrationErrorType["S3_BUCKET_NOT_ACCESSIBLE"] = "S3_BUCKET_NOT_ACCESSIBLE";
499
- MigrationErrorType["S3_BUCKET_NOT_FOUND"] = "S3_BUCKET_NOT_FOUND";
500
- MigrationErrorType["S3_BUCKET_NO_PERMISSION"] = "S3_BUCKET_NO_PERMISSION";
501
- MigrationErrorType["S3_INTERNAL_ERROR"] = "S3_INTERNAL_ERROR";
502
- })(MigrationErrorType || (MigrationErrorType = {}));
471
+ export const ComparisonOperator = {
472
+ EQ: "EQ",
473
+ GE: "GE",
474
+ GT: "GT",
475
+ LE: "LE",
476
+ LT: "LT",
477
+ NE: "NE",
478
+ };
479
+ export const MigrationErrorType = {
480
+ ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND",
481
+ ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED",
482
+ S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION",
483
+ S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE",
484
+ S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND",
485
+ S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION",
486
+ S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR",
487
+ };
503
488
  export class WAFEntityMigrationException extends __BaseException {
504
489
  constructor(opts) {
505
490
  super({
@@ -550,17 +535,15 @@ export class WAFReferencedItemException extends __BaseException {
550
535
  Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
551
536
  }
552
537
  }
553
- export var ChangeTokenStatus;
554
- (function (ChangeTokenStatus) {
555
- ChangeTokenStatus["INSYNC"] = "INSYNC";
556
- ChangeTokenStatus["PENDING"] = "PENDING";
557
- ChangeTokenStatus["PROVISIONED"] = "PROVISIONED";
558
- })(ChangeTokenStatus || (ChangeTokenStatus = {}));
559
- export var ResourceType;
560
- (function (ResourceType) {
561
- ResourceType["API_GATEWAY"] = "API_GATEWAY";
562
- ResourceType["APPLICATION_LOAD_BALANCER"] = "APPLICATION_LOAD_BALANCER";
563
- })(ResourceType || (ResourceType = {}));
538
+ export const ChangeTokenStatus = {
539
+ INSYNC: "INSYNC",
540
+ PENDING: "PENDING",
541
+ PROVISIONED: "PROVISIONED",
542
+ };
543
+ export const ResourceType = {
544
+ API_GATEWAY: "API_GATEWAY",
545
+ APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
546
+ };
564
547
  export class WAFServiceLinkedRoleErrorException extends __BaseException {
565
548
  constructor(opts) {
566
549
  super({
@@ -585,11 +568,10 @@ export class WAFInvalidPermissionPolicyException extends __BaseException {
585
568
  Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
586
569
  }
587
570
  }
588
- export var ChangeAction;
589
- (function (ChangeAction) {
590
- ChangeAction["DELETE"] = "DELETE";
591
- ChangeAction["INSERT"] = "INSERT";
592
- })(ChangeAction || (ChangeAction = {}));
571
+ export const ChangeAction = {
572
+ DELETE: "DELETE",
573
+ INSERT: "INSERT",
574
+ };
593
575
  export class WAFNonexistentContainerException extends __BaseException {
594
576
  constructor(opts) {
595
577
  super({