@aws-sdk/client-waf-regional 3.934.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WAFRegionalServiceException as __BaseException } from "./WAFRegionalServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const WafActionType: {
8
- readonly ALLOW: "ALLOW";
9
- readonly BLOCK: "BLOCK";
10
- readonly COUNT: "COUNT";
11
- };
12
- /**
13
- * @public
14
- */
15
- export type WafActionType = (typeof WafActionType)[keyof typeof WafActionType];
1
+ import { ChangeAction, ChangeTokenStatus, ComparisonOperator, GeoMatchConstraintType, GeoMatchConstraintValue, IPSetDescriptorType, MatchFieldType, PositionalConstraint, PredicateType, RateKey, ResourceType, TextTransformation, WafActionType, WafOverrideActionType, WafRuleType } from "./enums";
16
2
  /**
17
3
  * <note>
18
4
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -71,18 +57,6 @@ export interface ExcludedRule {
71
57
  */
72
58
  RuleId: string | undefined;
73
59
  }
74
- /**
75
- * @public
76
- * @enum
77
- */
78
- export declare const WafOverrideActionType: {
79
- readonly COUNT: "COUNT";
80
- readonly NONE: "NONE";
81
- };
82
- /**
83
- * @public
84
- */
85
- export type WafOverrideActionType = (typeof WafOverrideActionType)[keyof typeof WafOverrideActionType];
86
60
  /**
87
61
  * <note>
88
62
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -103,19 +77,6 @@ export interface WafOverrideAction {
103
77
  */
104
78
  Type: WafOverrideActionType | undefined;
105
79
  }
106
- /**
107
- * @public
108
- * @enum
109
- */
110
- export declare const WafRuleType: {
111
- readonly GROUP: "GROUP";
112
- readonly RATE_BASED: "RATE_BASED";
113
- readonly REGULAR: "REGULAR";
114
- };
115
- /**
116
- * @public
117
- */
118
- export type WafRuleType = (typeof WafRuleType)[keyof typeof WafRuleType];
119
80
  /**
120
81
  * <note>
121
82
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -269,149 +230,6 @@ export interface AssociateWebACLRequest {
269
230
  */
270
231
  export interface AssociateWebACLResponse {
271
232
  }
272
- /**
273
- * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
274
- * @public
275
- */
276
- export declare class WAFInternalErrorException extends __BaseException {
277
- readonly name: "WAFInternalErrorException";
278
- readonly $fault: "server";
279
- /**
280
- * @internal
281
- */
282
- constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
283
- }
284
- /**
285
- * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
286
- * @public
287
- */
288
- export declare class WAFInvalidAccountException extends __BaseException {
289
- readonly name: "WAFInvalidAccountException";
290
- readonly $fault: "client";
291
- /**
292
- * @internal
293
- */
294
- constructor(opts: __ExceptionOptionType<WAFInvalidAccountException, __BaseException>);
295
- }
296
- /**
297
- * @public
298
- * @enum
299
- */
300
- export declare const ParameterExceptionField: {
301
- readonly BYTE_MATCH_FIELD_TYPE: "BYTE_MATCH_FIELD_TYPE";
302
- readonly BYTE_MATCH_POSITIONAL_CONSTRAINT: "BYTE_MATCH_POSITIONAL_CONSTRAINT";
303
- readonly BYTE_MATCH_TEXT_TRANSFORMATION: "BYTE_MATCH_TEXT_TRANSFORMATION";
304
- readonly CHANGE_ACTION: "CHANGE_ACTION";
305
- readonly GEO_MATCH_LOCATION_TYPE: "GEO_MATCH_LOCATION_TYPE";
306
- readonly GEO_MATCH_LOCATION_VALUE: "GEO_MATCH_LOCATION_VALUE";
307
- readonly IPSET_TYPE: "IPSET_TYPE";
308
- readonly NEXT_MARKER: "NEXT_MARKER";
309
- readonly PREDICATE_TYPE: "PREDICATE_TYPE";
310
- readonly RATE_KEY: "RATE_KEY";
311
- readonly RESOURCE_ARN: "RESOURCE_ARN";
312
- readonly RULE_TYPE: "RULE_TYPE";
313
- readonly SIZE_CONSTRAINT_COMPARISON_OPERATOR: "SIZE_CONSTRAINT_COMPARISON_OPERATOR";
314
- readonly SQL_INJECTION_MATCH_FIELD_TYPE: "SQL_INJECTION_MATCH_FIELD_TYPE";
315
- readonly TAGS: "TAGS";
316
- readonly TAG_KEYS: "TAG_KEYS";
317
- readonly WAF_ACTION: "WAF_ACTION";
318
- readonly WAF_OVERRIDE_ACTION: "WAF_OVERRIDE_ACTION";
319
- };
320
- /**
321
- * @public
322
- */
323
- export type ParameterExceptionField = (typeof ParameterExceptionField)[keyof typeof ParameterExceptionField];
324
- /**
325
- * @public
326
- * @enum
327
- */
328
- export declare const ParameterExceptionReason: {
329
- readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
330
- readonly ILLEGAL_COMBINATION: "ILLEGAL_COMBINATION";
331
- readonly INVALID_OPTION: "INVALID_OPTION";
332
- readonly INVALID_TAG_KEY: "INVALID_TAG_KEY";
333
- };
334
- /**
335
- * @public
336
- */
337
- export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof typeof ParameterExceptionReason];
338
- /**
339
- * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
340
- * <ul>
341
- * <li>
342
- * <p>You specified an invalid parameter name.</p>
343
- * </li>
344
- * <li>
345
- * <p>You specified an invalid value.</p>
346
- * </li>
347
- * <li>
348
- * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
349
- * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
350
- * </li>
351
- * <li>
352
- * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
353
- * <code>Type</code> other than
354
- * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
355
- * </li>
356
- * <li>
357
- * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
358
- * </li>
359
- * <li>
360
- * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
361
- * <code>Type</code> other than
362
- * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
363
- * </li>
364
- * <li>
365
- * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
366
- * <code>Type</code> other than
367
- * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
368
- * </li>
369
- * <li>
370
- * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
371
- * but no value for <code>Data</code>.</p>
372
- * </li>
373
- * <li>
374
- * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
375
- * </li>
376
- * </ul>
377
- * @public
378
- */
379
- export declare class WAFInvalidParameterException extends __BaseException {
380
- readonly name: "WAFInvalidParameterException";
381
- readonly $fault: "client";
382
- field?: ParameterExceptionField | undefined;
383
- parameter?: string | undefined;
384
- reason?: ParameterExceptionReason | undefined;
385
- /**
386
- * @internal
387
- */
388
- constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
389
- }
390
- /**
391
- * <p>The operation failed because the referenced object doesn't exist.</p>
392
- * @public
393
- */
394
- export declare class WAFNonexistentItemException extends __BaseException {
395
- readonly name: "WAFNonexistentItemException";
396
- readonly $fault: "client";
397
- /**
398
- * @internal
399
- */
400
- constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
401
- }
402
- /**
403
- * <p>The operation failed because the entity
404
- * referenced is temporarily unavailable. Retry your request.</p>
405
- * @public
406
- */
407
- export declare class WAFUnavailableEntityException extends __BaseException {
408
- readonly name: "WAFUnavailableEntityException";
409
- readonly $fault: "client";
410
- /**
411
- * @internal
412
- */
413
- constructor(opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>);
414
- }
415
233
  /**
416
234
  * @public
417
235
  */
@@ -428,23 +246,6 @@ export interface CreateByteMatchSetRequest {
428
246
  */
429
247
  ChangeToken: string | undefined;
430
248
  }
431
- /**
432
- * @public
433
- * @enum
434
- */
435
- export declare const MatchFieldType: {
436
- readonly ALL_QUERY_ARGS: "ALL_QUERY_ARGS";
437
- readonly BODY: "BODY";
438
- readonly HEADER: "HEADER";
439
- readonly METHOD: "METHOD";
440
- readonly QUERY_STRING: "QUERY_STRING";
441
- readonly SINGLE_QUERY_ARG: "SINGLE_QUERY_ARG";
442
- readonly URI: "URI";
443
- };
444
- /**
445
- * @public
446
- */
447
- export type MatchFieldType = (typeof MatchFieldType)[keyof typeof MatchFieldType];
448
249
  /**
449
250
  * <note>
450
251
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -511,37 +312,6 @@ export interface FieldToMatch {
511
312
  */
512
313
  Data?: string | undefined;
513
314
  }
514
- /**
515
- * @public
516
- * @enum
517
- */
518
- export declare const PositionalConstraint: {
519
- readonly CONTAINS: "CONTAINS";
520
- readonly CONTAINS_WORD: "CONTAINS_WORD";
521
- readonly ENDS_WITH: "ENDS_WITH";
522
- readonly EXACTLY: "EXACTLY";
523
- readonly STARTS_WITH: "STARTS_WITH";
524
- };
525
- /**
526
- * @public
527
- */
528
- export type PositionalConstraint = (typeof PositionalConstraint)[keyof typeof PositionalConstraint];
529
- /**
530
- * @public
531
- * @enum
532
- */
533
- export declare const TextTransformation: {
534
- readonly CMD_LINE: "CMD_LINE";
535
- readonly COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE";
536
- readonly HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE";
537
- readonly LOWERCASE: "LOWERCASE";
538
- readonly NONE: "NONE";
539
- readonly URL_DECODE: "URL_DECODE";
540
- };
541
- /**
542
- * @public
543
- */
544
- export type TextTransformation = (typeof TextTransformation)[keyof typeof TextTransformation];
545
315
  /**
546
316
  * <note>
547
317
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -830,44 +600,6 @@ export interface CreateByteMatchSetResponse {
830
600
  */
831
601
  ChangeToken?: string | undefined;
832
602
  }
833
- /**
834
- * <p>The name specified is invalid.</p>
835
- * @public
836
- */
837
- export declare class WAFDisallowedNameException extends __BaseException {
838
- readonly name: "WAFDisallowedNameException";
839
- readonly $fault: "client";
840
- /**
841
- * @internal
842
- */
843
- constructor(opts: __ExceptionOptionType<WAFDisallowedNameException, __BaseException>);
844
- }
845
- /**
846
- * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
847
- * for an AWS account. For more information, see
848
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
849
- * @public
850
- */
851
- export declare class WAFLimitsExceededException extends __BaseException {
852
- readonly name: "WAFLimitsExceededException";
853
- readonly $fault: "client";
854
- /**
855
- * @internal
856
- */
857
- constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
858
- }
859
- /**
860
- * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
861
- * @public
862
- */
863
- export declare class WAFStaleDataException extends __BaseException {
864
- readonly name: "WAFStaleDataException";
865
- readonly $fault: "client";
866
- /**
867
- * @internal
868
- */
869
- constructor(opts: __ExceptionOptionType<WAFStaleDataException, __BaseException>);
870
- }
871
603
  /**
872
604
  * @public
873
605
  */
@@ -883,276 +615,6 @@ export interface CreateGeoMatchSetRequest {
883
615
  */
884
616
  ChangeToken: string | undefined;
885
617
  }
886
- /**
887
- * @public
888
- * @enum
889
- */
890
- export declare const GeoMatchConstraintType: {
891
- readonly Country: "Country";
892
- };
893
- /**
894
- * @public
895
- */
896
- export type GeoMatchConstraintType = (typeof GeoMatchConstraintType)[keyof typeof GeoMatchConstraintType];
897
- /**
898
- * @public
899
- * @enum
900
- */
901
- export declare const GeoMatchConstraintValue: {
902
- readonly AD: "AD";
903
- readonly AE: "AE";
904
- readonly AF: "AF";
905
- readonly AG: "AG";
906
- readonly AI: "AI";
907
- readonly AL: "AL";
908
- readonly AM: "AM";
909
- readonly AO: "AO";
910
- readonly AQ: "AQ";
911
- readonly AR: "AR";
912
- readonly AS: "AS";
913
- readonly AT: "AT";
914
- readonly AU: "AU";
915
- readonly AW: "AW";
916
- readonly AX: "AX";
917
- readonly AZ: "AZ";
918
- readonly BA: "BA";
919
- readonly BB: "BB";
920
- readonly BD: "BD";
921
- readonly BE: "BE";
922
- readonly BF: "BF";
923
- readonly BG: "BG";
924
- readonly BH: "BH";
925
- readonly BI: "BI";
926
- readonly BJ: "BJ";
927
- readonly BL: "BL";
928
- readonly BM: "BM";
929
- readonly BN: "BN";
930
- readonly BO: "BO";
931
- readonly BQ: "BQ";
932
- readonly BR: "BR";
933
- readonly BS: "BS";
934
- readonly BT: "BT";
935
- readonly BV: "BV";
936
- readonly BW: "BW";
937
- readonly BY: "BY";
938
- readonly BZ: "BZ";
939
- readonly CA: "CA";
940
- readonly CC: "CC";
941
- readonly CD: "CD";
942
- readonly CF: "CF";
943
- readonly CG: "CG";
944
- readonly CH: "CH";
945
- readonly CI: "CI";
946
- readonly CK: "CK";
947
- readonly CL: "CL";
948
- readonly CM: "CM";
949
- readonly CN: "CN";
950
- readonly CO: "CO";
951
- readonly CR: "CR";
952
- readonly CU: "CU";
953
- readonly CV: "CV";
954
- readonly CW: "CW";
955
- readonly CX: "CX";
956
- readonly CY: "CY";
957
- readonly CZ: "CZ";
958
- readonly DE: "DE";
959
- readonly DJ: "DJ";
960
- readonly DK: "DK";
961
- readonly DM: "DM";
962
- readonly DO: "DO";
963
- readonly DZ: "DZ";
964
- readonly EC: "EC";
965
- readonly EE: "EE";
966
- readonly EG: "EG";
967
- readonly EH: "EH";
968
- readonly ER: "ER";
969
- readonly ES: "ES";
970
- readonly ET: "ET";
971
- readonly FI: "FI";
972
- readonly FJ: "FJ";
973
- readonly FK: "FK";
974
- readonly FM: "FM";
975
- readonly FO: "FO";
976
- readonly FR: "FR";
977
- readonly GA: "GA";
978
- readonly GB: "GB";
979
- readonly GD: "GD";
980
- readonly GE: "GE";
981
- readonly GF: "GF";
982
- readonly GG: "GG";
983
- readonly GH: "GH";
984
- readonly GI: "GI";
985
- readonly GL: "GL";
986
- readonly GM: "GM";
987
- readonly GN: "GN";
988
- readonly GP: "GP";
989
- readonly GQ: "GQ";
990
- readonly GR: "GR";
991
- readonly GS: "GS";
992
- readonly GT: "GT";
993
- readonly GU: "GU";
994
- readonly GW: "GW";
995
- readonly GY: "GY";
996
- readonly HK: "HK";
997
- readonly HM: "HM";
998
- readonly HN: "HN";
999
- readonly HR: "HR";
1000
- readonly HT: "HT";
1001
- readonly HU: "HU";
1002
- readonly ID: "ID";
1003
- readonly IE: "IE";
1004
- readonly IL: "IL";
1005
- readonly IM: "IM";
1006
- readonly IN: "IN";
1007
- readonly IO: "IO";
1008
- readonly IQ: "IQ";
1009
- readonly IR: "IR";
1010
- readonly IS: "IS";
1011
- readonly IT: "IT";
1012
- readonly JE: "JE";
1013
- readonly JM: "JM";
1014
- readonly JO: "JO";
1015
- readonly JP: "JP";
1016
- readonly KE: "KE";
1017
- readonly KG: "KG";
1018
- readonly KH: "KH";
1019
- readonly KI: "KI";
1020
- readonly KM: "KM";
1021
- readonly KN: "KN";
1022
- readonly KP: "KP";
1023
- readonly KR: "KR";
1024
- readonly KW: "KW";
1025
- readonly KY: "KY";
1026
- readonly KZ: "KZ";
1027
- readonly LA: "LA";
1028
- readonly LB: "LB";
1029
- readonly LC: "LC";
1030
- readonly LI: "LI";
1031
- readonly LK: "LK";
1032
- readonly LR: "LR";
1033
- readonly LS: "LS";
1034
- readonly LT: "LT";
1035
- readonly LU: "LU";
1036
- readonly LV: "LV";
1037
- readonly LY: "LY";
1038
- readonly MA: "MA";
1039
- readonly MC: "MC";
1040
- readonly MD: "MD";
1041
- readonly ME: "ME";
1042
- readonly MF: "MF";
1043
- readonly MG: "MG";
1044
- readonly MH: "MH";
1045
- readonly MK: "MK";
1046
- readonly ML: "ML";
1047
- readonly MM: "MM";
1048
- readonly MN: "MN";
1049
- readonly MO: "MO";
1050
- readonly MP: "MP";
1051
- readonly MQ: "MQ";
1052
- readonly MR: "MR";
1053
- readonly MS: "MS";
1054
- readonly MT: "MT";
1055
- readonly MU: "MU";
1056
- readonly MV: "MV";
1057
- readonly MW: "MW";
1058
- readonly MX: "MX";
1059
- readonly MY: "MY";
1060
- readonly MZ: "MZ";
1061
- readonly NA: "NA";
1062
- readonly NC: "NC";
1063
- readonly NE: "NE";
1064
- readonly NF: "NF";
1065
- readonly NG: "NG";
1066
- readonly NI: "NI";
1067
- readonly NL: "NL";
1068
- readonly NO: "NO";
1069
- readonly NP: "NP";
1070
- readonly NR: "NR";
1071
- readonly NU: "NU";
1072
- readonly NZ: "NZ";
1073
- readonly OM: "OM";
1074
- readonly PA: "PA";
1075
- readonly PE: "PE";
1076
- readonly PF: "PF";
1077
- readonly PG: "PG";
1078
- readonly PH: "PH";
1079
- readonly PK: "PK";
1080
- readonly PL: "PL";
1081
- readonly PM: "PM";
1082
- readonly PN: "PN";
1083
- readonly PR: "PR";
1084
- readonly PS: "PS";
1085
- readonly PT: "PT";
1086
- readonly PW: "PW";
1087
- readonly PY: "PY";
1088
- readonly QA: "QA";
1089
- readonly RE: "RE";
1090
- readonly RO: "RO";
1091
- readonly RS: "RS";
1092
- readonly RU: "RU";
1093
- readonly RW: "RW";
1094
- readonly SA: "SA";
1095
- readonly SB: "SB";
1096
- readonly SC: "SC";
1097
- readonly SD: "SD";
1098
- readonly SE: "SE";
1099
- readonly SG: "SG";
1100
- readonly SH: "SH";
1101
- readonly SI: "SI";
1102
- readonly SJ: "SJ";
1103
- readonly SK: "SK";
1104
- readonly SL: "SL";
1105
- readonly SM: "SM";
1106
- readonly SN: "SN";
1107
- readonly SO: "SO";
1108
- readonly SR: "SR";
1109
- readonly SS: "SS";
1110
- readonly ST: "ST";
1111
- readonly SV: "SV";
1112
- readonly SX: "SX";
1113
- readonly SY: "SY";
1114
- readonly SZ: "SZ";
1115
- readonly TC: "TC";
1116
- readonly TD: "TD";
1117
- readonly TF: "TF";
1118
- readonly TG: "TG";
1119
- readonly TH: "TH";
1120
- readonly TJ: "TJ";
1121
- readonly TK: "TK";
1122
- readonly TL: "TL";
1123
- readonly TM: "TM";
1124
- readonly TN: "TN";
1125
- readonly TO: "TO";
1126
- readonly TR: "TR";
1127
- readonly TT: "TT";
1128
- readonly TV: "TV";
1129
- readonly TW: "TW";
1130
- readonly TZ: "TZ";
1131
- readonly UA: "UA";
1132
- readonly UG: "UG";
1133
- readonly UM: "UM";
1134
- readonly US: "US";
1135
- readonly UY: "UY";
1136
- readonly UZ: "UZ";
1137
- readonly VA: "VA";
1138
- readonly VC: "VC";
1139
- readonly VE: "VE";
1140
- readonly VG: "VG";
1141
- readonly VI: "VI";
1142
- readonly VN: "VN";
1143
- readonly VU: "VU";
1144
- readonly WF: "WF";
1145
- readonly WS: "WS";
1146
- readonly YE: "YE";
1147
- readonly YT: "YT";
1148
- readonly ZA: "ZA";
1149
- readonly ZM: "ZM";
1150
- readonly ZW: "ZW";
1151
- };
1152
- /**
1153
- * @public
1154
- */
1155
- export type GeoMatchConstraintValue = (typeof GeoMatchConstraintValue)[keyof typeof GeoMatchConstraintValue];
1156
618
  /**
1157
619
  * <note>
1158
620
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -1240,18 +702,6 @@ export interface CreateIPSetRequest {
1240
702
  */
1241
703
  ChangeToken: string | undefined;
1242
704
  }
1243
- /**
1244
- * @public
1245
- * @enum
1246
- */
1247
- export declare const IPSetDescriptorType: {
1248
- readonly IPV4: "IPV4";
1249
- readonly IPV6: "IPV6";
1250
- };
1251
- /**
1252
- * @public
1253
- */
1254
- export type IPSetDescriptorType = (typeof IPSetDescriptorType)[keyof typeof IPSetDescriptorType];
1255
705
  /**
1256
706
  * <note>
1257
707
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -1353,17 +803,6 @@ export interface CreateIPSetResponse {
1353
803
  */
1354
804
  ChangeToken?: string | undefined;
1355
805
  }
1356
- /**
1357
- * @public
1358
- * @enum
1359
- */
1360
- export declare const RateKey: {
1361
- readonly IP: "IP";
1362
- };
1363
- /**
1364
- * @public
1365
- */
1366
- export type RateKey = (typeof RateKey)[keyof typeof RateKey];
1367
806
  /**
1368
807
  * <note>
1369
808
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -1437,23 +876,6 @@ export interface CreateRateBasedRuleRequest {
1437
876
  */
1438
877
  Tags?: Tag[] | undefined;
1439
878
  }
1440
- /**
1441
- * @public
1442
- * @enum
1443
- */
1444
- export declare const PredicateType: {
1445
- readonly BYTE_MATCH: "ByteMatch";
1446
- readonly GEO_MATCH: "GeoMatch";
1447
- readonly IP_MATCH: "IPMatch";
1448
- readonly REGEX_MATCH: "RegexMatch";
1449
- readonly SIZE_CONSTRAINT: "SizeConstraint";
1450
- readonly SQL_INJECTION_MATCH: "SqlInjectionMatch";
1451
- readonly XSS_MATCH: "XssMatch";
1452
- };
1453
- /**
1454
- * @public
1455
- */
1456
- export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
1457
879
  /**
1458
880
  * <note>
1459
881
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -1586,42 +1008,6 @@ export interface CreateRateBasedRuleResponse {
1586
1008
  */
1587
1009
  ChangeToken?: string | undefined;
1588
1010
  }
1589
- /**
1590
- * <p></p>
1591
- * @public
1592
- */
1593
- export declare class WAFBadRequestException extends __BaseException {
1594
- readonly name: "WAFBadRequestException";
1595
- readonly $fault: "client";
1596
- /**
1597
- * @internal
1598
- */
1599
- constructor(opts: __ExceptionOptionType<WAFBadRequestException, __BaseException>);
1600
- }
1601
- /**
1602
- * <p></p>
1603
- * @public
1604
- */
1605
- export declare class WAFTagOperationException extends __BaseException {
1606
- readonly name: "WAFTagOperationException";
1607
- readonly $fault: "client";
1608
- /**
1609
- * @internal
1610
- */
1611
- constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
1612
- }
1613
- /**
1614
- * <p></p>
1615
- * @public
1616
- */
1617
- export declare class WAFTagOperationInternalErrorException extends __BaseException {
1618
- readonly name: "WAFTagOperationInternalErrorException";
1619
- readonly $fault: "server";
1620
- /**
1621
- * @internal
1622
- */
1623
- constructor(opts: __ExceptionOptionType<WAFTagOperationInternalErrorException, __BaseException>);
1624
- }
1625
1011
  /**
1626
1012
  * @public
1627
1013
  */
@@ -2106,22 +1492,6 @@ export interface CreateSizeConstraintSetRequest {
2106
1492
  */
2107
1493
  ChangeToken: string | undefined;
2108
1494
  }
2109
- /**
2110
- * @public
2111
- * @enum
2112
- */
2113
- export declare const ComparisonOperator: {
2114
- readonly EQ: "EQ";
2115
- readonly GE: "GE";
2116
- readonly GT: "GT";
2117
- readonly LE: "LE";
2118
- readonly LT: "LT";
2119
- readonly NE: "NE";
2120
- };
2121
- /**
2122
- * @public
2123
- */
2124
- export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
2125
1495
  /**
2126
1496
  * <note>
2127
1497
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -2669,99 +2039,6 @@ export interface CreateWebACLMigrationStackResponse {
2669
2039
  */
2670
2040
  S3ObjectUrl: string | undefined;
2671
2041
  }
2672
- /**
2673
- * @public
2674
- * @enum
2675
- */
2676
- export declare const MigrationErrorType: {
2677
- readonly ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND";
2678
- readonly ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED";
2679
- readonly S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION";
2680
- readonly S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE";
2681
- readonly S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND";
2682
- readonly S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION";
2683
- readonly S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR";
2684
- };
2685
- /**
2686
- * @public
2687
- */
2688
- export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof MigrationErrorType];
2689
- /**
2690
- * <p>The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the <code>MigrationErrorType</code>: </p>
2691
- * <ul>
2692
- * <li>
2693
- * <p>
2694
- * <code>ENTITY_NOT_SUPPORTED</code> - The web ACL has an unsupported entity but the <code>IgnoreUnsupportedType</code> is not set to true.</p>
2695
- * </li>
2696
- * <li>
2697
- * <p>
2698
- * <code>ENTITY_NOT_FOUND</code> - The web ACL doesn't exist. </p>
2699
- * </li>
2700
- * <li>
2701
- * <p>
2702
- * <code>S3_BUCKET_NO_PERMISSION</code> - You don't have permission to perform the <code>PutObject</code> action to the specified Amazon S3 bucket.</p>
2703
- * </li>
2704
- * <li>
2705
- * <p>
2706
- * <code>S3_BUCKET_NOT_ACCESSIBLE</code> - The bucket policy doesn't allow AWS WAF to perform the <code>PutObject</code> action in the bucket.</p>
2707
- * </li>
2708
- * <li>
2709
- * <p>
2710
- * <code>S3_BUCKET_NOT_FOUND</code> - The S3 bucket doesn't exist. </p>
2711
- * </li>
2712
- * <li>
2713
- * <p>
2714
- * <code>S3_BUCKET_INVALID_REGION</code> - The S3 bucket is not in the same Region as the web ACL.</p>
2715
- * </li>
2716
- * <li>
2717
- * <p>
2718
- * <code>S3_INTERNAL_ERROR</code> - AWS WAF failed to create the template in the S3 bucket for another reason.</p>
2719
- * </li>
2720
- * </ul>
2721
- * @public
2722
- */
2723
- export declare class WAFEntityMigrationException extends __BaseException {
2724
- readonly name: "WAFEntityMigrationException";
2725
- readonly $fault: "client";
2726
- MigrationErrorType?: MigrationErrorType | undefined;
2727
- MigrationErrorReason?: string | undefined;
2728
- /**
2729
- * @internal
2730
- */
2731
- constructor(opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>);
2732
- }
2733
- /**
2734
- * <p>The operation failed because there was nothing to do. For example:</p>
2735
- * <ul>
2736
- * <li>
2737
- * <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
2738
- * </li>
2739
- * <li>
2740
- * <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
2741
- * </li>
2742
- * <li>
2743
- * <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
2744
- * isn't in the specified <code>WebACL</code>.</p>
2745
- * </li>
2746
- * <li>
2747
- * <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
2748
- * specified <code>WebACL</code>.</p>
2749
- * </li>
2750
- * <li>
2751
- * <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
2752
- * already exists in the specified <code>WebACL</code>.</p>
2753
- * </li>
2754
- * </ul>
2755
- * @public
2756
- */
2757
- export declare class WAFInvalidOperationException extends __BaseException {
2758
- readonly name: "WAFInvalidOperationException";
2759
- readonly $fault: "client";
2760
- /**
2761
- * @internal
2762
- */
2763
- constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
2764
- }
2765
2042
  /**
2766
2043
  * <p>A request to create an <a>XssMatchSet</a>.</p>
2767
2044
  * @public
@@ -2977,53 +2254,6 @@ export interface DeleteByteMatchSetResponse {
2977
2254
  */
2978
2255
  ChangeToken?: string | undefined;
2979
2256
  }
2980
- /**
2981
- * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
2982
- * <ul>
2983
- * <li>
2984
- * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
2985
- * </li>
2986
- * <li>
2987
- * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
2988
- * or other predicates.</p>
2989
- * </li>
2990
- * <li>
2991
- * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
2992
- * </li>
2993
- * <li>
2994
- * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
2995
- * </li>
2996
- * </ul>
2997
- * @public
2998
- */
2999
- export declare class WAFNonEmptyEntityException extends __BaseException {
3000
- readonly name: "WAFNonEmptyEntityException";
3001
- readonly $fault: "client";
3002
- /**
3003
- * @internal
3004
- */
3005
- constructor(opts: __ExceptionOptionType<WAFNonEmptyEntityException, __BaseException>);
3006
- }
3007
- /**
3008
- * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
3009
- * <ul>
3010
- * <li>
3011
- * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
3012
- * </li>
3013
- * <li>
3014
- * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
3015
- * </li>
3016
- * </ul>
3017
- * @public
3018
- */
3019
- export declare class WAFReferencedItemException extends __BaseException {
3020
- readonly name: "WAFReferencedItemException";
3021
- readonly $fault: "client";
3022
- /**
3023
- * @internal
3024
- */
3025
- constructor(opts: __ExceptionOptionType<WAFReferencedItemException, __BaseException>);
3026
- }
3027
2257
  /**
3028
2258
  * @public
3029
2259
  */
@@ -3453,19 +2683,6 @@ export interface GetChangeTokenStatusRequest {
3453
2683
  */
3454
2684
  ChangeToken: string | undefined;
3455
2685
  }
3456
- /**
3457
- * @public
3458
- * @enum
3459
- */
3460
- export declare const ChangeTokenStatus: {
3461
- readonly INSYNC: "INSYNC";
3462
- readonly PENDING: "PENDING";
3463
- readonly PROVISIONED: "PROVISIONED";
3464
- };
3465
- /**
3466
- * @public
3467
- */
3468
- export type ChangeTokenStatus = (typeof ChangeTokenStatus)[keyof typeof ChangeTokenStatus];
3469
2686
  /**
3470
2687
  * @public
3471
2688
  */
@@ -4684,18 +3901,6 @@ export interface ListRegexPatternSetsResponse {
4684
3901
  */
4685
3902
  RegexPatternSets?: RegexPatternSetSummary[] | undefined;
4686
3903
  }
4687
- /**
4688
- * @public
4689
- * @enum
4690
- */
4691
- export declare const ResourceType: {
4692
- readonly API_GATEWAY: "API_GATEWAY";
4693
- readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
4694
- };
4695
- /**
4696
- * @public
4697
- */
4698
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
4699
3904
  /**
4700
3905
  * @public
4701
3906
  */
@@ -5218,18 +4423,6 @@ export interface PutLoggingConfigurationResponse {
5218
4423
  */
5219
4424
  LoggingConfiguration?: LoggingConfiguration | undefined;
5220
4425
  }
5221
- /**
5222
- * <p>AWS WAF is not able to access the service linked role. This can be caused by a previous <code>PutLoggingConfiguration</code> request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the role for 15 minutes or more. If you recently made a <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.</p>
5223
- * @public
5224
- */
5225
- export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
5226
- readonly name: "WAFServiceLinkedRoleErrorException";
5227
- readonly $fault: "client";
5228
- /**
5229
- * @internal
5230
- */
5231
- constructor(opts: __ExceptionOptionType<WAFServiceLinkedRoleErrorException, __BaseException>);
5232
- }
5233
4426
  /**
5234
4427
  * @public
5235
4428
  */
@@ -5250,47 +4443,6 @@ export interface PutPermissionPolicyRequest {
5250
4443
  */
5251
4444
  export interface PutPermissionPolicyResponse {
5252
4445
  }
5253
- /**
5254
- * <p>The operation failed because the specified policy is not in the proper format. </p>
5255
- * <p>The policy is subject to the following restrictions:</p>
5256
- * <ul>
5257
- * <li>
5258
- * <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
5259
- * </li>
5260
- * <li>
5261
- * <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
5262
- * </li>
5263
- * <li>
5264
- *
5265
- * <p>
5266
- * <code>Effect</code> must specify <code>Allow</code>.</p>
5267
- * </li>
5268
- * <li>
5269
- * <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
5270
- * </li>
5271
- * <li>
5272
- * <p>The policy cannot include a <code>Resource</code> parameter.</p>
5273
- * </li>
5274
- * <li>
5275
- * <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
5276
- * </li>
5277
- * <li>
5278
- * <p>The user making the request must be the owner of the RuleGroup.</p>
5279
- * </li>
5280
- * <li>
5281
- * <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
5282
- * </li>
5283
- * </ul>
5284
- * @public
5285
- */
5286
- export declare class WAFInvalidPermissionPolicyException extends __BaseException {
5287
- readonly name: "WAFInvalidPermissionPolicyException";
5288
- readonly $fault: "client";
5289
- /**
5290
- * @internal
5291
- */
5292
- constructor(opts: __ExceptionOptionType<WAFInvalidPermissionPolicyException, __BaseException>);
5293
- }
5294
4446
  /**
5295
4447
  * @public
5296
4448
  */
@@ -5331,18 +4483,6 @@ export interface UntagResourceRequest {
5331
4483
  */
5332
4484
  export interface UntagResourceResponse {
5333
4485
  }
5334
- /**
5335
- * @public
5336
- * @enum
5337
- */
5338
- export declare const ChangeAction: {
5339
- readonly DELETE: "DELETE";
5340
- readonly INSERT: "INSERT";
5341
- };
5342
- /**
5343
- * @public
5344
- */
5345
- export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
5346
4486
  /**
5347
4487
  * <note>
5348
4488
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -5421,33 +4561,6 @@ export interface UpdateByteMatchSetResponse {
5421
4561
  */
5422
4562
  ChangeToken?: string | undefined;
5423
4563
  }
5424
- /**
5425
- * <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
5426
- * <ul>
5427
- * <li>
5428
- * <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
5429
- * </li>
5430
- * <li>
5431
- * <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
5432
- * </li>
5433
- * <li>
5434
- * <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
5435
- * </li>
5436
- * <li>
5437
- * <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
5438
- * that doesn't exist.</p>
5439
- * </li>
5440
- * </ul>
5441
- * @public
5442
- */
5443
- export declare class WAFNonexistentContainerException extends __BaseException {
5444
- readonly name: "WAFNonexistentContainerException";
5445
- readonly $fault: "client";
5446
- /**
5447
- * @internal
5448
- */
5449
- constructor(opts: __ExceptionOptionType<WAFNonexistentContainerException, __BaseException>);
5450
- }
5451
4564
  /**
5452
4565
  * <note>
5453
4566
  * <p>This is <b>AWS WAF Classic</b> documentation. For
@@ -5773,18 +4886,6 @@ export interface UpdateRegexPatternSetResponse {
5773
4886
  */
5774
4887
  ChangeToken?: string | undefined;
5775
4888
  }
5776
- /**
5777
- * <p>The regular expression (regex) you specified in <code>RegexPatternString</code> is invalid.</p>
5778
- * @public
5779
- */
5780
- export declare class WAFInvalidRegexPatternException extends __BaseException {
5781
- readonly name: "WAFInvalidRegexPatternException";
5782
- readonly $fault: "client";
5783
- /**
5784
- * @internal
5785
- */
5786
- constructor(opts: __ExceptionOptionType<WAFInvalidRegexPatternException, __BaseException>);
5787
- }
5788
4889
  /**
5789
4890
  * @public
5790
4891
  */
@@ -6146,18 +5247,6 @@ export interface UpdateWebACLResponse {
6146
5247
  */
6147
5248
  ChangeToken?: string | undefined;
6148
5249
  }
6149
- /**
6150
- * <p>The specified subscription does not exist.</p>
6151
- * @public
6152
- */
6153
- export declare class WAFSubscriptionNotFoundException extends __BaseException {
6154
- readonly name: "WAFSubscriptionNotFoundException";
6155
- readonly $fault: "client";
6156
- /**
6157
- * @internal
6158
- */
6159
- constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
6160
- }
6161
5250
  /**
6162
5251
  * <note>
6163
5252
  * <p>This is <b>AWS WAF Classic</b> documentation. For