@aws-sdk/client-waf-regional 3.300.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.
Files changed (85) hide show
  1. package/dist-cjs/models/models_0.js +364 -382
  2. package/dist-es/models/models_0.js +364 -382
  3. package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateIPSetCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +3 -3
  8. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateRuleCommand.d.ts +3 -3
  11. package/dist-types/commands/CreateRuleGroupCommand.d.ts +3 -3
  12. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateWebACLCommand.d.ts +4 -4
  15. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteIPSetCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteWebACLCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +1 -1
  31. package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -1
  32. package/dist-types/commands/GetByteMatchSetCommand.d.ts +1 -1
  33. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +1 -1
  34. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +1 -1
  35. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  36. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -1
  37. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -1
  38. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +1 -1
  39. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +1 -1
  40. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +1 -1
  41. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -1
  42. package/dist-types/commands/GetRuleCommand.d.ts +1 -1
  43. package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -1
  44. package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -2
  45. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +1 -1
  46. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +1 -1
  47. package/dist-types/commands/GetWebACLCommand.d.ts +1 -1
  48. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -1
  49. package/dist-types/commands/GetXssMatchSetCommand.d.ts +1 -1
  50. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListIPSetsCommand.d.ts +1 -1
  54. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +1 -1
  56. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -1
  59. package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +1 -1
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/ListWebACLsCommand.d.ts +1 -1
  66. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +1 -1
  67. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +5 -5
  68. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
  69. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  70. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  71. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +5 -5
  72. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +4 -4
  73. package/dist-types/commands/UpdateIPSetCommand.d.ts +4 -4
  74. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +4 -4
  75. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +5 -5
  76. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
  77. package/dist-types/commands/UpdateRuleCommand.d.ts +4 -4
  78. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +8 -8
  79. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +5 -5
  80. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +5 -5
  81. package/dist-types/commands/UpdateWebACLCommand.d.ts +8 -8
  82. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +5 -5
  83. package/dist-types/models/models_0.d.ts +458 -368
  84. package/dist-types/ts3.4/models/models_0.d.ts +394 -364
  85. package/package.json +34 -34
@@ -1,28 +1,32 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { WAFRegionalServiceException as __BaseException } from "./WAFRegionalServiceException";
3
- export declare enum WafActionType {
4
- ALLOW = "ALLOW",
5
- BLOCK = "BLOCK",
6
- COUNT = "COUNT",
7
- }
3
+ export declare const WafActionType: {
4
+ readonly ALLOW: "ALLOW";
5
+ readonly BLOCK: "BLOCK";
6
+ readonly COUNT: "COUNT";
7
+ };
8
+ export type WafActionType = (typeof WafActionType)[keyof typeof WafActionType];
8
9
  export interface WafAction {
9
10
  Type: WafActionType | string | undefined;
10
11
  }
11
12
  export interface ExcludedRule {
12
13
  RuleId: string | undefined;
13
14
  }
14
- export declare enum WafOverrideActionType {
15
- COUNT = "COUNT",
16
- NONE = "NONE",
17
- }
15
+ export declare const WafOverrideActionType: {
16
+ readonly COUNT: "COUNT";
17
+ readonly NONE: "NONE";
18
+ };
19
+ export type WafOverrideActionType =
20
+ (typeof WafOverrideActionType)[keyof typeof WafOverrideActionType];
18
21
  export interface WafOverrideAction {
19
22
  Type: WafOverrideActionType | string | undefined;
20
23
  }
21
- export declare enum WafRuleType {
22
- GROUP = "GROUP",
23
- RATE_BASED = "RATE_BASED",
24
- REGULAR = "REGULAR",
25
- }
24
+ export declare const WafRuleType: {
25
+ readonly GROUP: "GROUP";
26
+ readonly RATE_BASED: "RATE_BASED";
27
+ readonly REGULAR: "REGULAR";
28
+ };
29
+ export type WafRuleType = (typeof WafRuleType)[keyof typeof WafRuleType];
26
30
  export interface ActivatedRule {
27
31
  Priority: number | undefined;
28
32
  RuleId: string | undefined;
@@ -50,32 +54,36 @@ export declare class WAFInvalidAccountException extends __BaseException {
50
54
  opts: __ExceptionOptionType<WAFInvalidAccountException, __BaseException>
51
55
  );
52
56
  }
53
- export declare enum ParameterExceptionField {
54
- BYTE_MATCH_FIELD_TYPE = "BYTE_MATCH_FIELD_TYPE",
55
- BYTE_MATCH_POSITIONAL_CONSTRAINT = "BYTE_MATCH_POSITIONAL_CONSTRAINT",
56
- BYTE_MATCH_TEXT_TRANSFORMATION = "BYTE_MATCH_TEXT_TRANSFORMATION",
57
- CHANGE_ACTION = "CHANGE_ACTION",
58
- GEO_MATCH_LOCATION_TYPE = "GEO_MATCH_LOCATION_TYPE",
59
- GEO_MATCH_LOCATION_VALUE = "GEO_MATCH_LOCATION_VALUE",
60
- IPSET_TYPE = "IPSET_TYPE",
61
- NEXT_MARKER = "NEXT_MARKER",
62
- PREDICATE_TYPE = "PREDICATE_TYPE",
63
- RATE_KEY = "RATE_KEY",
64
- RESOURCE_ARN = "RESOURCE_ARN",
65
- RULE_TYPE = "RULE_TYPE",
66
- SIZE_CONSTRAINT_COMPARISON_OPERATOR = "SIZE_CONSTRAINT_COMPARISON_OPERATOR",
67
- SQL_INJECTION_MATCH_FIELD_TYPE = "SQL_INJECTION_MATCH_FIELD_TYPE",
68
- TAGS = "TAGS",
69
- TAG_KEYS = "TAG_KEYS",
70
- WAF_ACTION = "WAF_ACTION",
71
- WAF_OVERRIDE_ACTION = "WAF_OVERRIDE_ACTION",
72
- }
73
- export declare enum ParameterExceptionReason {
74
- ILLEGAL_ARGUMENT = "ILLEGAL_ARGUMENT",
75
- ILLEGAL_COMBINATION = "ILLEGAL_COMBINATION",
76
- INVALID_OPTION = "INVALID_OPTION",
77
- INVALID_TAG_KEY = "INVALID_TAG_KEY",
78
- }
57
+ export declare const ParameterExceptionField: {
58
+ readonly BYTE_MATCH_FIELD_TYPE: "BYTE_MATCH_FIELD_TYPE";
59
+ readonly BYTE_MATCH_POSITIONAL_CONSTRAINT: "BYTE_MATCH_POSITIONAL_CONSTRAINT";
60
+ readonly BYTE_MATCH_TEXT_TRANSFORMATION: "BYTE_MATCH_TEXT_TRANSFORMATION";
61
+ readonly CHANGE_ACTION: "CHANGE_ACTION";
62
+ readonly GEO_MATCH_LOCATION_TYPE: "GEO_MATCH_LOCATION_TYPE";
63
+ readonly GEO_MATCH_LOCATION_VALUE: "GEO_MATCH_LOCATION_VALUE";
64
+ readonly IPSET_TYPE: "IPSET_TYPE";
65
+ readonly NEXT_MARKER: "NEXT_MARKER";
66
+ readonly PREDICATE_TYPE: "PREDICATE_TYPE";
67
+ readonly RATE_KEY: "RATE_KEY";
68
+ readonly RESOURCE_ARN: "RESOURCE_ARN";
69
+ readonly RULE_TYPE: "RULE_TYPE";
70
+ readonly SIZE_CONSTRAINT_COMPARISON_OPERATOR: "SIZE_CONSTRAINT_COMPARISON_OPERATOR";
71
+ readonly SQL_INJECTION_MATCH_FIELD_TYPE: "SQL_INJECTION_MATCH_FIELD_TYPE";
72
+ readonly TAGS: "TAGS";
73
+ readonly TAG_KEYS: "TAG_KEYS";
74
+ readonly WAF_ACTION: "WAF_ACTION";
75
+ readonly WAF_OVERRIDE_ACTION: "WAF_OVERRIDE_ACTION";
76
+ };
77
+ export type ParameterExceptionField =
78
+ (typeof ParameterExceptionField)[keyof typeof ParameterExceptionField];
79
+ export declare const ParameterExceptionReason: {
80
+ readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
81
+ readonly ILLEGAL_COMBINATION: "ILLEGAL_COMBINATION";
82
+ readonly INVALID_OPTION: "INVALID_OPTION";
83
+ readonly INVALID_TAG_KEY: "INVALID_TAG_KEY";
84
+ };
85
+ export type ParameterExceptionReason =
86
+ (typeof ParameterExceptionReason)[keyof typeof ParameterExceptionReason];
79
87
  export declare class WAFInvalidParameterException extends __BaseException {
80
88
  readonly name: "WAFInvalidParameterException";
81
89
  readonly $fault: "client";
@@ -104,34 +112,40 @@ export interface CreateByteMatchSetRequest {
104
112
  Name: string | undefined;
105
113
  ChangeToken: string | undefined;
106
114
  }
107
- export declare enum MatchFieldType {
108
- ALL_QUERY_ARGS = "ALL_QUERY_ARGS",
109
- BODY = "BODY",
110
- HEADER = "HEADER",
111
- METHOD = "METHOD",
112
- QUERY_STRING = "QUERY_STRING",
113
- SINGLE_QUERY_ARG = "SINGLE_QUERY_ARG",
114
- URI = "URI",
115
- }
115
+ export declare const MatchFieldType: {
116
+ readonly ALL_QUERY_ARGS: "ALL_QUERY_ARGS";
117
+ readonly BODY: "BODY";
118
+ readonly HEADER: "HEADER";
119
+ readonly METHOD: "METHOD";
120
+ readonly QUERY_STRING: "QUERY_STRING";
121
+ readonly SINGLE_QUERY_ARG: "SINGLE_QUERY_ARG";
122
+ readonly URI: "URI";
123
+ };
124
+ export type MatchFieldType =
125
+ (typeof MatchFieldType)[keyof typeof MatchFieldType];
116
126
  export interface FieldToMatch {
117
127
  Type: MatchFieldType | string | undefined;
118
128
  Data?: string;
119
129
  }
120
- export declare enum PositionalConstraint {
121
- CONTAINS = "CONTAINS",
122
- CONTAINS_WORD = "CONTAINS_WORD",
123
- ENDS_WITH = "ENDS_WITH",
124
- EXACTLY = "EXACTLY",
125
- STARTS_WITH = "STARTS_WITH",
126
- }
127
- export declare enum TextTransformation {
128
- CMD_LINE = "CMD_LINE",
129
- COMPRESS_WHITE_SPACE = "COMPRESS_WHITE_SPACE",
130
- HTML_ENTITY_DECODE = "HTML_ENTITY_DECODE",
131
- LOWERCASE = "LOWERCASE",
132
- NONE = "NONE",
133
- URL_DECODE = "URL_DECODE",
134
- }
130
+ export declare const PositionalConstraint: {
131
+ readonly CONTAINS: "CONTAINS";
132
+ readonly CONTAINS_WORD: "CONTAINS_WORD";
133
+ readonly ENDS_WITH: "ENDS_WITH";
134
+ readonly EXACTLY: "EXACTLY";
135
+ readonly STARTS_WITH: "STARTS_WITH";
136
+ };
137
+ export type PositionalConstraint =
138
+ (typeof PositionalConstraint)[keyof typeof PositionalConstraint];
139
+ export declare const TextTransformation: {
140
+ readonly CMD_LINE: "CMD_LINE";
141
+ readonly COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE";
142
+ readonly HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE";
143
+ readonly LOWERCASE: "LOWERCASE";
144
+ readonly NONE: "NONE";
145
+ readonly URL_DECODE: "URL_DECODE";
146
+ };
147
+ export type TextTransformation =
148
+ (typeof TextTransformation)[keyof typeof TextTransformation];
135
149
  export interface ByteMatchTuple {
136
150
  FieldToMatch: FieldToMatch | undefined;
137
151
  TargetString: Uint8Array | undefined;
@@ -172,260 +186,264 @@ export interface CreateGeoMatchSetRequest {
172
186
  Name: string | undefined;
173
187
  ChangeToken: string | undefined;
174
188
  }
175
- export declare enum GeoMatchConstraintType {
176
- Country = "Country",
177
- }
178
- export declare enum GeoMatchConstraintValue {
179
- AD = "AD",
180
- AE = "AE",
181
- AF = "AF",
182
- AG = "AG",
183
- AI = "AI",
184
- AL = "AL",
185
- AM = "AM",
186
- AO = "AO",
187
- AQ = "AQ",
188
- AR = "AR",
189
- AS = "AS",
190
- AT = "AT",
191
- AU = "AU",
192
- AW = "AW",
193
- AX = "AX",
194
- AZ = "AZ",
195
- BA = "BA",
196
- BB = "BB",
197
- BD = "BD",
198
- BE = "BE",
199
- BF = "BF",
200
- BG = "BG",
201
- BH = "BH",
202
- BI = "BI",
203
- BJ = "BJ",
204
- BL = "BL",
205
- BM = "BM",
206
- BN = "BN",
207
- BO = "BO",
208
- BQ = "BQ",
209
- BR = "BR",
210
- BS = "BS",
211
- BT = "BT",
212
- BV = "BV",
213
- BW = "BW",
214
- BY = "BY",
215
- BZ = "BZ",
216
- CA = "CA",
217
- CC = "CC",
218
- CD = "CD",
219
- CF = "CF",
220
- CG = "CG",
221
- CH = "CH",
222
- CI = "CI",
223
- CK = "CK",
224
- CL = "CL",
225
- CM = "CM",
226
- CN = "CN",
227
- CO = "CO",
228
- CR = "CR",
229
- CU = "CU",
230
- CV = "CV",
231
- CW = "CW",
232
- CX = "CX",
233
- CY = "CY",
234
- CZ = "CZ",
235
- DE = "DE",
236
- DJ = "DJ",
237
- DK = "DK",
238
- DM = "DM",
239
- DO = "DO",
240
- DZ = "DZ",
241
- EC = "EC",
242
- EE = "EE",
243
- EG = "EG",
244
- EH = "EH",
245
- ER = "ER",
246
- ES = "ES",
247
- ET = "ET",
248
- FI = "FI",
249
- FJ = "FJ",
250
- FK = "FK",
251
- FM = "FM",
252
- FO = "FO",
253
- FR = "FR",
254
- GA = "GA",
255
- GB = "GB",
256
- GD = "GD",
257
- GE = "GE",
258
- GF = "GF",
259
- GG = "GG",
260
- GH = "GH",
261
- GI = "GI",
262
- GL = "GL",
263
- GM = "GM",
264
- GN = "GN",
265
- GP = "GP",
266
- GQ = "GQ",
267
- GR = "GR",
268
- GS = "GS",
269
- GT = "GT",
270
- GU = "GU",
271
- GW = "GW",
272
- GY = "GY",
273
- HK = "HK",
274
- HM = "HM",
275
- HN = "HN",
276
- HR = "HR",
277
- HT = "HT",
278
- HU = "HU",
279
- ID = "ID",
280
- IE = "IE",
281
- IL = "IL",
282
- IM = "IM",
283
- IN = "IN",
284
- IO = "IO",
285
- IQ = "IQ",
286
- IR = "IR",
287
- IS = "IS",
288
- IT = "IT",
289
- JE = "JE",
290
- JM = "JM",
291
- JO = "JO",
292
- JP = "JP",
293
- KE = "KE",
294
- KG = "KG",
295
- KH = "KH",
296
- KI = "KI",
297
- KM = "KM",
298
- KN = "KN",
299
- KP = "KP",
300
- KR = "KR",
301
- KW = "KW",
302
- KY = "KY",
303
- KZ = "KZ",
304
- LA = "LA",
305
- LB = "LB",
306
- LC = "LC",
307
- LI = "LI",
308
- LK = "LK",
309
- LR = "LR",
310
- LS = "LS",
311
- LT = "LT",
312
- LU = "LU",
313
- LV = "LV",
314
- LY = "LY",
315
- MA = "MA",
316
- MC = "MC",
317
- MD = "MD",
318
- ME = "ME",
319
- MF = "MF",
320
- MG = "MG",
321
- MH = "MH",
322
- MK = "MK",
323
- ML = "ML",
324
- MM = "MM",
325
- MN = "MN",
326
- MO = "MO",
327
- MP = "MP",
328
- MQ = "MQ",
329
- MR = "MR",
330
- MS = "MS",
331
- MT = "MT",
332
- MU = "MU",
333
- MV = "MV",
334
- MW = "MW",
335
- MX = "MX",
336
- MY = "MY",
337
- MZ = "MZ",
338
- NA = "NA",
339
- NC = "NC",
340
- NE = "NE",
341
- NF = "NF",
342
- NG = "NG",
343
- NI = "NI",
344
- NL = "NL",
345
- NO = "NO",
346
- NP = "NP",
347
- NR = "NR",
348
- NU = "NU",
349
- NZ = "NZ",
350
- OM = "OM",
351
- PA = "PA",
352
- PE = "PE",
353
- PF = "PF",
354
- PG = "PG",
355
- PH = "PH",
356
- PK = "PK",
357
- PL = "PL",
358
- PM = "PM",
359
- PN = "PN",
360
- PR = "PR",
361
- PS = "PS",
362
- PT = "PT",
363
- PW = "PW",
364
- PY = "PY",
365
- QA = "QA",
366
- RE = "RE",
367
- RO = "RO",
368
- RS = "RS",
369
- RU = "RU",
370
- RW = "RW",
371
- SA = "SA",
372
- SB = "SB",
373
- SC = "SC",
374
- SD = "SD",
375
- SE = "SE",
376
- SG = "SG",
377
- SH = "SH",
378
- SI = "SI",
379
- SJ = "SJ",
380
- SK = "SK",
381
- SL = "SL",
382
- SM = "SM",
383
- SN = "SN",
384
- SO = "SO",
385
- SR = "SR",
386
- SS = "SS",
387
- ST = "ST",
388
- SV = "SV",
389
- SX = "SX",
390
- SY = "SY",
391
- SZ = "SZ",
392
- TC = "TC",
393
- TD = "TD",
394
- TF = "TF",
395
- TG = "TG",
396
- TH = "TH",
397
- TJ = "TJ",
398
- TK = "TK",
399
- TL = "TL",
400
- TM = "TM",
401
- TN = "TN",
402
- TO = "TO",
403
- TR = "TR",
404
- TT = "TT",
405
- TV = "TV",
406
- TW = "TW",
407
- TZ = "TZ",
408
- UA = "UA",
409
- UG = "UG",
410
- UM = "UM",
411
- US = "US",
412
- UY = "UY",
413
- UZ = "UZ",
414
- VA = "VA",
415
- VC = "VC",
416
- VE = "VE",
417
- VG = "VG",
418
- VI = "VI",
419
- VN = "VN",
420
- VU = "VU",
421
- WF = "WF",
422
- WS = "WS",
423
- YE = "YE",
424
- YT = "YT",
425
- ZA = "ZA",
426
- ZM = "ZM",
427
- ZW = "ZW",
428
- }
189
+ export declare const GeoMatchConstraintType: {
190
+ readonly Country: "Country";
191
+ };
192
+ export type GeoMatchConstraintType =
193
+ (typeof GeoMatchConstraintType)[keyof typeof GeoMatchConstraintType];
194
+ export declare const GeoMatchConstraintValue: {
195
+ readonly AD: "AD";
196
+ readonly AE: "AE";
197
+ readonly AF: "AF";
198
+ readonly AG: "AG";
199
+ readonly AI: "AI";
200
+ readonly AL: "AL";
201
+ readonly AM: "AM";
202
+ readonly AO: "AO";
203
+ readonly AQ: "AQ";
204
+ readonly AR: "AR";
205
+ readonly AS: "AS";
206
+ readonly AT: "AT";
207
+ readonly AU: "AU";
208
+ readonly AW: "AW";
209
+ readonly AX: "AX";
210
+ readonly AZ: "AZ";
211
+ readonly BA: "BA";
212
+ readonly BB: "BB";
213
+ readonly BD: "BD";
214
+ readonly BE: "BE";
215
+ readonly BF: "BF";
216
+ readonly BG: "BG";
217
+ readonly BH: "BH";
218
+ readonly BI: "BI";
219
+ readonly BJ: "BJ";
220
+ readonly BL: "BL";
221
+ readonly BM: "BM";
222
+ readonly BN: "BN";
223
+ readonly BO: "BO";
224
+ readonly BQ: "BQ";
225
+ readonly BR: "BR";
226
+ readonly BS: "BS";
227
+ readonly BT: "BT";
228
+ readonly BV: "BV";
229
+ readonly BW: "BW";
230
+ readonly BY: "BY";
231
+ readonly BZ: "BZ";
232
+ readonly CA: "CA";
233
+ readonly CC: "CC";
234
+ readonly CD: "CD";
235
+ readonly CF: "CF";
236
+ readonly CG: "CG";
237
+ readonly CH: "CH";
238
+ readonly CI: "CI";
239
+ readonly CK: "CK";
240
+ readonly CL: "CL";
241
+ readonly CM: "CM";
242
+ readonly CN: "CN";
243
+ readonly CO: "CO";
244
+ readonly CR: "CR";
245
+ readonly CU: "CU";
246
+ readonly CV: "CV";
247
+ readonly CW: "CW";
248
+ readonly CX: "CX";
249
+ readonly CY: "CY";
250
+ readonly CZ: "CZ";
251
+ readonly DE: "DE";
252
+ readonly DJ: "DJ";
253
+ readonly DK: "DK";
254
+ readonly DM: "DM";
255
+ readonly DO: "DO";
256
+ readonly DZ: "DZ";
257
+ readonly EC: "EC";
258
+ readonly EE: "EE";
259
+ readonly EG: "EG";
260
+ readonly EH: "EH";
261
+ readonly ER: "ER";
262
+ readonly ES: "ES";
263
+ readonly ET: "ET";
264
+ readonly FI: "FI";
265
+ readonly FJ: "FJ";
266
+ readonly FK: "FK";
267
+ readonly FM: "FM";
268
+ readonly FO: "FO";
269
+ readonly FR: "FR";
270
+ readonly GA: "GA";
271
+ readonly GB: "GB";
272
+ readonly GD: "GD";
273
+ readonly GE: "GE";
274
+ readonly GF: "GF";
275
+ readonly GG: "GG";
276
+ readonly GH: "GH";
277
+ readonly GI: "GI";
278
+ readonly GL: "GL";
279
+ readonly GM: "GM";
280
+ readonly GN: "GN";
281
+ readonly GP: "GP";
282
+ readonly GQ: "GQ";
283
+ readonly GR: "GR";
284
+ readonly GS: "GS";
285
+ readonly GT: "GT";
286
+ readonly GU: "GU";
287
+ readonly GW: "GW";
288
+ readonly GY: "GY";
289
+ readonly HK: "HK";
290
+ readonly HM: "HM";
291
+ readonly HN: "HN";
292
+ readonly HR: "HR";
293
+ readonly HT: "HT";
294
+ readonly HU: "HU";
295
+ readonly ID: "ID";
296
+ readonly IE: "IE";
297
+ readonly IL: "IL";
298
+ readonly IM: "IM";
299
+ readonly IN: "IN";
300
+ readonly IO: "IO";
301
+ readonly IQ: "IQ";
302
+ readonly IR: "IR";
303
+ readonly IS: "IS";
304
+ readonly IT: "IT";
305
+ readonly JE: "JE";
306
+ readonly JM: "JM";
307
+ readonly JO: "JO";
308
+ readonly JP: "JP";
309
+ readonly KE: "KE";
310
+ readonly KG: "KG";
311
+ readonly KH: "KH";
312
+ readonly KI: "KI";
313
+ readonly KM: "KM";
314
+ readonly KN: "KN";
315
+ readonly KP: "KP";
316
+ readonly KR: "KR";
317
+ readonly KW: "KW";
318
+ readonly KY: "KY";
319
+ readonly KZ: "KZ";
320
+ readonly LA: "LA";
321
+ readonly LB: "LB";
322
+ readonly LC: "LC";
323
+ readonly LI: "LI";
324
+ readonly LK: "LK";
325
+ readonly LR: "LR";
326
+ readonly LS: "LS";
327
+ readonly LT: "LT";
328
+ readonly LU: "LU";
329
+ readonly LV: "LV";
330
+ readonly LY: "LY";
331
+ readonly MA: "MA";
332
+ readonly MC: "MC";
333
+ readonly MD: "MD";
334
+ readonly ME: "ME";
335
+ readonly MF: "MF";
336
+ readonly MG: "MG";
337
+ readonly MH: "MH";
338
+ readonly MK: "MK";
339
+ readonly ML: "ML";
340
+ readonly MM: "MM";
341
+ readonly MN: "MN";
342
+ readonly MO: "MO";
343
+ readonly MP: "MP";
344
+ readonly MQ: "MQ";
345
+ readonly MR: "MR";
346
+ readonly MS: "MS";
347
+ readonly MT: "MT";
348
+ readonly MU: "MU";
349
+ readonly MV: "MV";
350
+ readonly MW: "MW";
351
+ readonly MX: "MX";
352
+ readonly MY: "MY";
353
+ readonly MZ: "MZ";
354
+ readonly NA: "NA";
355
+ readonly NC: "NC";
356
+ readonly NE: "NE";
357
+ readonly NF: "NF";
358
+ readonly NG: "NG";
359
+ readonly NI: "NI";
360
+ readonly NL: "NL";
361
+ readonly NO: "NO";
362
+ readonly NP: "NP";
363
+ readonly NR: "NR";
364
+ readonly NU: "NU";
365
+ readonly NZ: "NZ";
366
+ readonly OM: "OM";
367
+ readonly PA: "PA";
368
+ readonly PE: "PE";
369
+ readonly PF: "PF";
370
+ readonly PG: "PG";
371
+ readonly PH: "PH";
372
+ readonly PK: "PK";
373
+ readonly PL: "PL";
374
+ readonly PM: "PM";
375
+ readonly PN: "PN";
376
+ readonly PR: "PR";
377
+ readonly PS: "PS";
378
+ readonly PT: "PT";
379
+ readonly PW: "PW";
380
+ readonly PY: "PY";
381
+ readonly QA: "QA";
382
+ readonly RE: "RE";
383
+ readonly RO: "RO";
384
+ readonly RS: "RS";
385
+ readonly RU: "RU";
386
+ readonly RW: "RW";
387
+ readonly SA: "SA";
388
+ readonly SB: "SB";
389
+ readonly SC: "SC";
390
+ readonly SD: "SD";
391
+ readonly SE: "SE";
392
+ readonly SG: "SG";
393
+ readonly SH: "SH";
394
+ readonly SI: "SI";
395
+ readonly SJ: "SJ";
396
+ readonly SK: "SK";
397
+ readonly SL: "SL";
398
+ readonly SM: "SM";
399
+ readonly SN: "SN";
400
+ readonly SO: "SO";
401
+ readonly SR: "SR";
402
+ readonly SS: "SS";
403
+ readonly ST: "ST";
404
+ readonly SV: "SV";
405
+ readonly SX: "SX";
406
+ readonly SY: "SY";
407
+ readonly SZ: "SZ";
408
+ readonly TC: "TC";
409
+ readonly TD: "TD";
410
+ readonly TF: "TF";
411
+ readonly TG: "TG";
412
+ readonly TH: "TH";
413
+ readonly TJ: "TJ";
414
+ readonly TK: "TK";
415
+ readonly TL: "TL";
416
+ readonly TM: "TM";
417
+ readonly TN: "TN";
418
+ readonly TO: "TO";
419
+ readonly TR: "TR";
420
+ readonly TT: "TT";
421
+ readonly TV: "TV";
422
+ readonly TW: "TW";
423
+ readonly TZ: "TZ";
424
+ readonly UA: "UA";
425
+ readonly UG: "UG";
426
+ readonly UM: "UM";
427
+ readonly US: "US";
428
+ readonly UY: "UY";
429
+ readonly UZ: "UZ";
430
+ readonly VA: "VA";
431
+ readonly VC: "VC";
432
+ readonly VE: "VE";
433
+ readonly VG: "VG";
434
+ readonly VI: "VI";
435
+ readonly VN: "VN";
436
+ readonly VU: "VU";
437
+ readonly WF: "WF";
438
+ readonly WS: "WS";
439
+ readonly YE: "YE";
440
+ readonly YT: "YT";
441
+ readonly ZA: "ZA";
442
+ readonly ZM: "ZM";
443
+ readonly ZW: "ZW";
444
+ };
445
+ export type GeoMatchConstraintValue =
446
+ (typeof GeoMatchConstraintValue)[keyof typeof GeoMatchConstraintValue];
429
447
  export interface GeoMatchConstraint {
430
448
  Type: GeoMatchConstraintType | string | undefined;
431
449
  Value: GeoMatchConstraintValue | string | undefined;
@@ -443,10 +461,12 @@ export interface CreateIPSetRequest {
443
461
  Name: string | undefined;
444
462
  ChangeToken: string | undefined;
445
463
  }
446
- export declare enum IPSetDescriptorType {
447
- IPV4 = "IPV4",
448
- IPV6 = "IPV6",
449
- }
464
+ export declare const IPSetDescriptorType: {
465
+ readonly IPV4: "IPV4";
466
+ readonly IPV6: "IPV6";
467
+ };
468
+ export type IPSetDescriptorType =
469
+ (typeof IPSetDescriptorType)[keyof typeof IPSetDescriptorType];
450
470
  export interface IPSetDescriptor {
451
471
  Type: IPSetDescriptorType | string | undefined;
452
472
  Value: string | undefined;
@@ -460,9 +480,10 @@ export interface CreateIPSetResponse {
460
480
  IPSet?: IPSet;
461
481
  ChangeToken?: string;
462
482
  }
463
- export declare enum RateKey {
464
- IP = "IP",
465
- }
483
+ export declare const RateKey: {
484
+ readonly IP: "IP";
485
+ };
486
+ export type RateKey = (typeof RateKey)[keyof typeof RateKey];
466
487
  export interface Tag {
467
488
  Key: string | undefined;
468
489
  Value: string | undefined;
@@ -475,15 +496,16 @@ export interface CreateRateBasedRuleRequest {
475
496
  ChangeToken: string | undefined;
476
497
  Tags?: Tag[];
477
498
  }
478
- export declare enum PredicateType {
479
- BYTE_MATCH = "ByteMatch",
480
- GEO_MATCH = "GeoMatch",
481
- IP_MATCH = "IPMatch",
482
- REGEX_MATCH = "RegexMatch",
483
- SIZE_CONSTRAINT = "SizeConstraint",
484
- SQL_INJECTION_MATCH = "SqlInjectionMatch",
485
- XSS_MATCH = "XssMatch",
486
- }
499
+ export declare const PredicateType: {
500
+ readonly BYTE_MATCH: "ByteMatch";
501
+ readonly GEO_MATCH: "GeoMatch";
502
+ readonly IP_MATCH: "IPMatch";
503
+ readonly REGEX_MATCH: "RegexMatch";
504
+ readonly SIZE_CONSTRAINT: "SizeConstraint";
505
+ readonly SQL_INJECTION_MATCH: "SqlInjectionMatch";
506
+ readonly XSS_MATCH: "XssMatch";
507
+ };
508
+ export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
487
509
  export interface Predicate {
488
510
  Negated: boolean | undefined;
489
511
  Type: PredicateType | string | undefined;
@@ -591,14 +613,16 @@ export interface CreateSizeConstraintSetRequest {
591
613
  Name: string | undefined;
592
614
  ChangeToken: string | undefined;
593
615
  }
594
- export declare enum ComparisonOperator {
595
- EQ = "EQ",
596
- GE = "GE",
597
- GT = "GT",
598
- LE = "LE",
599
- LT = "LT",
600
- NE = "NE",
601
- }
616
+ export declare const ComparisonOperator: {
617
+ readonly EQ: "EQ";
618
+ readonly GE: "GE";
619
+ readonly GT: "GT";
620
+ readonly LE: "LE";
621
+ readonly LT: "LT";
622
+ readonly NE: "NE";
623
+ };
624
+ export type ComparisonOperator =
625
+ (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
602
626
  export interface SizeConstraint {
603
627
  FieldToMatch: FieldToMatch | undefined;
604
628
  TextTransformation: TextTransformation | string | undefined;
@@ -658,15 +682,17 @@ export interface CreateWebACLMigrationStackRequest {
658
682
  export interface CreateWebACLMigrationStackResponse {
659
683
  S3ObjectUrl: string | undefined;
660
684
  }
661
- export declare enum MigrationErrorType {
662
- ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
663
- ENTITY_NOT_SUPPORTED = "ENTITY_NOT_SUPPORTED",
664
- S3_BUCKET_INVALID_REGION = "S3_BUCKET_INVALID_REGION",
665
- S3_BUCKET_NOT_ACCESSIBLE = "S3_BUCKET_NOT_ACCESSIBLE",
666
- S3_BUCKET_NOT_FOUND = "S3_BUCKET_NOT_FOUND",
667
- S3_BUCKET_NO_PERMISSION = "S3_BUCKET_NO_PERMISSION",
668
- S3_INTERNAL_ERROR = "S3_INTERNAL_ERROR",
669
- }
685
+ export declare const MigrationErrorType: {
686
+ readonly ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND";
687
+ readonly ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED";
688
+ readonly S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION";
689
+ readonly S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE";
690
+ readonly S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND";
691
+ readonly S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION";
692
+ readonly S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR";
693
+ };
694
+ export type MigrationErrorType =
695
+ (typeof MigrationErrorType)[keyof typeof MigrationErrorType];
670
696
  export declare class WAFEntityMigrationException extends __BaseException {
671
697
  readonly name: "WAFEntityMigrationException";
672
698
  readonly $fault: "client";
@@ -823,11 +849,13 @@ export interface GetChangeTokenResponse {
823
849
  export interface GetChangeTokenStatusRequest {
824
850
  ChangeToken: string | undefined;
825
851
  }
826
- export declare enum ChangeTokenStatus {
827
- INSYNC = "INSYNC",
828
- PENDING = "PENDING",
829
- PROVISIONED = "PROVISIONED",
830
- }
852
+ export declare const ChangeTokenStatus: {
853
+ readonly INSYNC: "INSYNC";
854
+ readonly PENDING: "PENDING";
855
+ readonly PROVISIONED: "PROVISIONED";
856
+ };
857
+ export type ChangeTokenStatus =
858
+ (typeof ChangeTokenStatus)[keyof typeof ChangeTokenStatus];
831
859
  export interface GetChangeTokenStatusResponse {
832
860
  ChangeTokenStatus?: ChangeTokenStatus | string;
833
861
  }
@@ -1055,10 +1083,11 @@ export interface ListRegexPatternSetsResponse {
1055
1083
  NextMarker?: string;
1056
1084
  RegexPatternSets?: RegexPatternSetSummary[];
1057
1085
  }
1058
- export declare enum ResourceType {
1059
- API_GATEWAY = "API_GATEWAY",
1060
- APPLICATION_LOAD_BALANCER = "APPLICATION_LOAD_BALANCER",
1061
- }
1086
+ export declare const ResourceType: {
1087
+ readonly API_GATEWAY: "API_GATEWAY";
1088
+ readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
1089
+ };
1090
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
1062
1091
  export interface ListResourcesForWebACLRequest {
1063
1092
  WebACLId: string | undefined;
1064
1093
  ResourceType?: ResourceType | string;
@@ -1197,10 +1226,11 @@ export interface UntagResourceRequest {
1197
1226
  TagKeys: string[] | undefined;
1198
1227
  }
1199
1228
  export interface UntagResourceResponse {}
1200
- export declare enum ChangeAction {
1201
- DELETE = "DELETE",
1202
- INSERT = "INSERT",
1203
- }
1229
+ export declare const ChangeAction: {
1230
+ readonly DELETE: "DELETE";
1231
+ readonly INSERT: "INSERT";
1232
+ };
1233
+ export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
1204
1234
  export interface ByteMatchSetUpdate {
1205
1235
  Action: ChangeAction | string | undefined;
1206
1236
  ByteMatchTuple: ByteMatchTuple | undefined;