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