@aws-sdk/client-wafv2 3.933.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.
- package/dist-cjs/index.js +710 -674
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +508 -0
- package/dist-es/models/errors.js +287 -0
- package/dist-es/models/models_0.js +1 -779
- package/dist-es/schemas/schemas_0.js +19 -1
- package/dist-types/commands/AssociateWebACLCommand.d.ts +3 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +780 -0
- package/dist-types/models/errors.d.ts +368 -0
- package/dist-types/models/models_0.d.ts +7 -1118
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +565 -0
- package/dist-types/ts3.4/models/errors.d.ts +194 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -745
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WAFV2ServiceException as __BaseException } from "./WAFV2ServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const ActionValue: {
|
|
8
|
-
readonly ALLOW: "ALLOW";
|
|
9
|
-
readonly BLOCK: "BLOCK";
|
|
10
|
-
readonly CAPTCHA: "CAPTCHA";
|
|
11
|
-
readonly CHALLENGE: "CHALLENGE";
|
|
12
|
-
readonly COUNT: "COUNT";
|
|
13
|
-
readonly EXCLUDED_AS_COUNT: "EXCLUDED_AS_COUNT";
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export type ActionValue = (typeof ActionValue)[keyof typeof ActionValue];
|
|
1
|
+
import { ActionValue, AssociatedResourceType, BodyParsingFallbackBehavior, ComparisonOperator, CountryCode, DataProtectionAction, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, InspectionLevel, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SizeInspectionLimit, TextTransformationType, UsageOfAction } from "./enums";
|
|
19
2
|
/**
|
|
20
3
|
* <p>A single action condition for a <a>Condition</a> in a logging filter.</p>
|
|
21
4
|
* @public
|
|
@@ -132,18 +115,6 @@ export interface AllowAction {
|
|
|
132
115
|
*/
|
|
133
116
|
export interface AllQueryArguments {
|
|
134
117
|
}
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
* @enum
|
|
138
|
-
*/
|
|
139
|
-
export declare const FallbackBehavior: {
|
|
140
|
-
readonly MATCH: "MATCH";
|
|
141
|
-
readonly NO_MATCH: "NO_MATCH";
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
export type FallbackBehavior = (typeof FallbackBehavior)[keyof typeof FallbackBehavior];
|
|
147
118
|
/**
|
|
148
119
|
* <p>The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. </p>
|
|
149
120
|
* <note>
|
|
@@ -205,19 +176,6 @@ export interface AsnMatchStatement {
|
|
|
205
176
|
*/
|
|
206
177
|
ForwardedIPConfig?: ForwardedIPConfig | undefined;
|
|
207
178
|
}
|
|
208
|
-
/**
|
|
209
|
-
* @public
|
|
210
|
-
* @enum
|
|
211
|
-
*/
|
|
212
|
-
export declare const OversizeHandling: {
|
|
213
|
-
readonly CONTINUE: "CONTINUE";
|
|
214
|
-
readonly MATCH: "MATCH";
|
|
215
|
-
readonly NO_MATCH: "NO_MATCH";
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
220
|
-
export type OversizeHandling = (typeof OversizeHandling)[keyof typeof OversizeHandling];
|
|
221
179
|
/**
|
|
222
180
|
* <p>Inspect the body of the web request. The body immediately follows the request
|
|
223
181
|
* headers.</p>
|
|
@@ -293,19 +251,6 @@ export interface CookieMatchPattern {
|
|
|
293
251
|
*/
|
|
294
252
|
ExcludedCookies?: string[] | undefined;
|
|
295
253
|
}
|
|
296
|
-
/**
|
|
297
|
-
* @public
|
|
298
|
-
* @enum
|
|
299
|
-
*/
|
|
300
|
-
export declare const MapMatchScope: {
|
|
301
|
-
readonly ALL: "ALL";
|
|
302
|
-
readonly KEY: "KEY";
|
|
303
|
-
readonly VALUE: "VALUE";
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* @public
|
|
307
|
-
*/
|
|
308
|
-
export type MapMatchScope = (typeof MapMatchScope)[keyof typeof MapMatchScope];
|
|
309
254
|
/**
|
|
310
255
|
* <p>Inspect the cookies in the web request. You can specify the parts of the cookies to
|
|
311
256
|
* inspect and you can narrow the set of cookies to inspect by including or excluding specific
|
|
@@ -549,19 +494,6 @@ export interface JA4Fingerprint {
|
|
|
549
494
|
*/
|
|
550
495
|
FallbackBehavior: FallbackBehavior | undefined;
|
|
551
496
|
}
|
|
552
|
-
/**
|
|
553
|
-
* @public
|
|
554
|
-
* @enum
|
|
555
|
-
*/
|
|
556
|
-
export declare const BodyParsingFallbackBehavior: {
|
|
557
|
-
readonly EVALUATE_AS_STRING: "EVALUATE_AS_STRING";
|
|
558
|
-
readonly MATCH: "MATCH";
|
|
559
|
-
readonly NO_MATCH: "NO_MATCH";
|
|
560
|
-
};
|
|
561
|
-
/**
|
|
562
|
-
* @public
|
|
563
|
-
*/
|
|
564
|
-
export type BodyParsingFallbackBehavior = (typeof BodyParsingFallbackBehavior)[keyof typeof BodyParsingFallbackBehavior];
|
|
565
497
|
/**
|
|
566
498
|
* <p>The patterns to look for in the JSON body. WAF inspects the results of these
|
|
567
499
|
* pattern matches against the rule inspection criteria. This is used with the <a>FieldToMatch</a> option <code>JsonBody</code>. </p>
|
|
@@ -595,19 +527,6 @@ export interface JsonMatchPattern {
|
|
|
595
527
|
*/
|
|
596
528
|
IncludedPaths?: string[] | undefined;
|
|
597
529
|
}
|
|
598
|
-
/**
|
|
599
|
-
* @public
|
|
600
|
-
* @enum
|
|
601
|
-
*/
|
|
602
|
-
export declare const JsonMatchScope: {
|
|
603
|
-
readonly ALL: "ALL";
|
|
604
|
-
readonly KEY: "KEY";
|
|
605
|
-
readonly VALUE: "VALUE";
|
|
606
|
-
};
|
|
607
|
-
/**
|
|
608
|
-
* @public
|
|
609
|
-
*/
|
|
610
|
-
export type JsonMatchScope = (typeof JsonMatchScope)[keyof typeof JsonMatchScope];
|
|
611
530
|
/**
|
|
612
531
|
* <p>Inspect the body of the web request as JSON. The body immediately follows the request
|
|
613
532
|
* headers. </p>
|
|
@@ -1035,52 +954,6 @@ export interface FieldToMatch {
|
|
|
1035
954
|
*/
|
|
1036
955
|
UriFragment?: UriFragment | undefined;
|
|
1037
956
|
}
|
|
1038
|
-
/**
|
|
1039
|
-
* @public
|
|
1040
|
-
* @enum
|
|
1041
|
-
*/
|
|
1042
|
-
export declare const PositionalConstraint: {
|
|
1043
|
-
readonly CONTAINS: "CONTAINS";
|
|
1044
|
-
readonly CONTAINS_WORD: "CONTAINS_WORD";
|
|
1045
|
-
readonly ENDS_WITH: "ENDS_WITH";
|
|
1046
|
-
readonly EXACTLY: "EXACTLY";
|
|
1047
|
-
readonly STARTS_WITH: "STARTS_WITH";
|
|
1048
|
-
};
|
|
1049
|
-
/**
|
|
1050
|
-
* @public
|
|
1051
|
-
*/
|
|
1052
|
-
export type PositionalConstraint = (typeof PositionalConstraint)[keyof typeof PositionalConstraint];
|
|
1053
|
-
/**
|
|
1054
|
-
* @public
|
|
1055
|
-
* @enum
|
|
1056
|
-
*/
|
|
1057
|
-
export declare const TextTransformationType: {
|
|
1058
|
-
readonly BASE64_DECODE: "BASE64_DECODE";
|
|
1059
|
-
readonly BASE64_DECODE_EXT: "BASE64_DECODE_EXT";
|
|
1060
|
-
readonly CMD_LINE: "CMD_LINE";
|
|
1061
|
-
readonly COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE";
|
|
1062
|
-
readonly CSS_DECODE: "CSS_DECODE";
|
|
1063
|
-
readonly ESCAPE_SEQ_DECODE: "ESCAPE_SEQ_DECODE";
|
|
1064
|
-
readonly HEX_DECODE: "HEX_DECODE";
|
|
1065
|
-
readonly HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE";
|
|
1066
|
-
readonly JS_DECODE: "JS_DECODE";
|
|
1067
|
-
readonly LOWERCASE: "LOWERCASE";
|
|
1068
|
-
readonly MD5: "MD5";
|
|
1069
|
-
readonly NONE: "NONE";
|
|
1070
|
-
readonly NORMALIZE_PATH: "NORMALIZE_PATH";
|
|
1071
|
-
readonly NORMALIZE_PATH_WIN: "NORMALIZE_PATH_WIN";
|
|
1072
|
-
readonly REMOVE_NULLS: "REMOVE_NULLS";
|
|
1073
|
-
readonly REPLACE_COMMENTS: "REPLACE_COMMENTS";
|
|
1074
|
-
readonly REPLACE_NULLS: "REPLACE_NULLS";
|
|
1075
|
-
readonly SQL_HEX_DECODE: "SQL_HEX_DECODE";
|
|
1076
|
-
readonly URL_DECODE: "URL_DECODE";
|
|
1077
|
-
readonly URL_DECODE_UNI: "URL_DECODE_UNI";
|
|
1078
|
-
readonly UTF8_TO_UNICODE: "UTF8_TO_UNICODE";
|
|
1079
|
-
};
|
|
1080
|
-
/**
|
|
1081
|
-
* @public
|
|
1082
|
-
*/
|
|
1083
|
-
export type TextTransformationType = (typeof TextTransformationType)[keyof typeof TextTransformationType];
|
|
1084
957
|
/**
|
|
1085
958
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web
|
|
1086
959
|
* requests in an effort to bypass detection. </p>
|
|
@@ -1218,266 +1091,6 @@ export interface ByteMatchStatement {
|
|
|
1218
1091
|
*/
|
|
1219
1092
|
PositionalConstraint: PositionalConstraint | undefined;
|
|
1220
1093
|
}
|
|
1221
|
-
/**
|
|
1222
|
-
* @public
|
|
1223
|
-
* @enum
|
|
1224
|
-
*/
|
|
1225
|
-
export declare const CountryCode: {
|
|
1226
|
-
readonly AD: "AD";
|
|
1227
|
-
readonly AE: "AE";
|
|
1228
|
-
readonly AF: "AF";
|
|
1229
|
-
readonly AG: "AG";
|
|
1230
|
-
readonly AI: "AI";
|
|
1231
|
-
readonly AL: "AL";
|
|
1232
|
-
readonly AM: "AM";
|
|
1233
|
-
readonly AO: "AO";
|
|
1234
|
-
readonly AQ: "AQ";
|
|
1235
|
-
readonly AR: "AR";
|
|
1236
|
-
readonly AS: "AS";
|
|
1237
|
-
readonly AT: "AT";
|
|
1238
|
-
readonly AU: "AU";
|
|
1239
|
-
readonly AW: "AW";
|
|
1240
|
-
readonly AX: "AX";
|
|
1241
|
-
readonly AZ: "AZ";
|
|
1242
|
-
readonly BA: "BA";
|
|
1243
|
-
readonly BB: "BB";
|
|
1244
|
-
readonly BD: "BD";
|
|
1245
|
-
readonly BE: "BE";
|
|
1246
|
-
readonly BF: "BF";
|
|
1247
|
-
readonly BG: "BG";
|
|
1248
|
-
readonly BH: "BH";
|
|
1249
|
-
readonly BI: "BI";
|
|
1250
|
-
readonly BJ: "BJ";
|
|
1251
|
-
readonly BL: "BL";
|
|
1252
|
-
readonly BM: "BM";
|
|
1253
|
-
readonly BN: "BN";
|
|
1254
|
-
readonly BO: "BO";
|
|
1255
|
-
readonly BQ: "BQ";
|
|
1256
|
-
readonly BR: "BR";
|
|
1257
|
-
readonly BS: "BS";
|
|
1258
|
-
readonly BT: "BT";
|
|
1259
|
-
readonly BV: "BV";
|
|
1260
|
-
readonly BW: "BW";
|
|
1261
|
-
readonly BY: "BY";
|
|
1262
|
-
readonly BZ: "BZ";
|
|
1263
|
-
readonly CA: "CA";
|
|
1264
|
-
readonly CC: "CC";
|
|
1265
|
-
readonly CD: "CD";
|
|
1266
|
-
readonly CF: "CF";
|
|
1267
|
-
readonly CG: "CG";
|
|
1268
|
-
readonly CH: "CH";
|
|
1269
|
-
readonly CI: "CI";
|
|
1270
|
-
readonly CK: "CK";
|
|
1271
|
-
readonly CL: "CL";
|
|
1272
|
-
readonly CM: "CM";
|
|
1273
|
-
readonly CN: "CN";
|
|
1274
|
-
readonly CO: "CO";
|
|
1275
|
-
readonly CR: "CR";
|
|
1276
|
-
readonly CU: "CU";
|
|
1277
|
-
readonly CV: "CV";
|
|
1278
|
-
readonly CW: "CW";
|
|
1279
|
-
readonly CX: "CX";
|
|
1280
|
-
readonly CY: "CY";
|
|
1281
|
-
readonly CZ: "CZ";
|
|
1282
|
-
readonly DE: "DE";
|
|
1283
|
-
readonly DJ: "DJ";
|
|
1284
|
-
readonly DK: "DK";
|
|
1285
|
-
readonly DM: "DM";
|
|
1286
|
-
readonly DO: "DO";
|
|
1287
|
-
readonly DZ: "DZ";
|
|
1288
|
-
readonly EC: "EC";
|
|
1289
|
-
readonly EE: "EE";
|
|
1290
|
-
readonly EG: "EG";
|
|
1291
|
-
readonly EH: "EH";
|
|
1292
|
-
readonly ER: "ER";
|
|
1293
|
-
readonly ES: "ES";
|
|
1294
|
-
readonly ET: "ET";
|
|
1295
|
-
readonly FI: "FI";
|
|
1296
|
-
readonly FJ: "FJ";
|
|
1297
|
-
readonly FK: "FK";
|
|
1298
|
-
readonly FM: "FM";
|
|
1299
|
-
readonly FO: "FO";
|
|
1300
|
-
readonly FR: "FR";
|
|
1301
|
-
readonly GA: "GA";
|
|
1302
|
-
readonly GB: "GB";
|
|
1303
|
-
readonly GD: "GD";
|
|
1304
|
-
readonly GE: "GE";
|
|
1305
|
-
readonly GF: "GF";
|
|
1306
|
-
readonly GG: "GG";
|
|
1307
|
-
readonly GH: "GH";
|
|
1308
|
-
readonly GI: "GI";
|
|
1309
|
-
readonly GL: "GL";
|
|
1310
|
-
readonly GM: "GM";
|
|
1311
|
-
readonly GN: "GN";
|
|
1312
|
-
readonly GP: "GP";
|
|
1313
|
-
readonly GQ: "GQ";
|
|
1314
|
-
readonly GR: "GR";
|
|
1315
|
-
readonly GS: "GS";
|
|
1316
|
-
readonly GT: "GT";
|
|
1317
|
-
readonly GU: "GU";
|
|
1318
|
-
readonly GW: "GW";
|
|
1319
|
-
readonly GY: "GY";
|
|
1320
|
-
readonly HK: "HK";
|
|
1321
|
-
readonly HM: "HM";
|
|
1322
|
-
readonly HN: "HN";
|
|
1323
|
-
readonly HR: "HR";
|
|
1324
|
-
readonly HT: "HT";
|
|
1325
|
-
readonly HU: "HU";
|
|
1326
|
-
readonly ID: "ID";
|
|
1327
|
-
readonly IE: "IE";
|
|
1328
|
-
readonly IL: "IL";
|
|
1329
|
-
readonly IM: "IM";
|
|
1330
|
-
readonly IN: "IN";
|
|
1331
|
-
readonly IO: "IO";
|
|
1332
|
-
readonly IQ: "IQ";
|
|
1333
|
-
readonly IR: "IR";
|
|
1334
|
-
readonly IS: "IS";
|
|
1335
|
-
readonly IT: "IT";
|
|
1336
|
-
readonly JE: "JE";
|
|
1337
|
-
readonly JM: "JM";
|
|
1338
|
-
readonly JO: "JO";
|
|
1339
|
-
readonly JP: "JP";
|
|
1340
|
-
readonly KE: "KE";
|
|
1341
|
-
readonly KG: "KG";
|
|
1342
|
-
readonly KH: "KH";
|
|
1343
|
-
readonly KI: "KI";
|
|
1344
|
-
readonly KM: "KM";
|
|
1345
|
-
readonly KN: "KN";
|
|
1346
|
-
readonly KP: "KP";
|
|
1347
|
-
readonly KR: "KR";
|
|
1348
|
-
readonly KW: "KW";
|
|
1349
|
-
readonly KY: "KY";
|
|
1350
|
-
readonly KZ: "KZ";
|
|
1351
|
-
readonly LA: "LA";
|
|
1352
|
-
readonly LB: "LB";
|
|
1353
|
-
readonly LC: "LC";
|
|
1354
|
-
readonly LI: "LI";
|
|
1355
|
-
readonly LK: "LK";
|
|
1356
|
-
readonly LR: "LR";
|
|
1357
|
-
readonly LS: "LS";
|
|
1358
|
-
readonly LT: "LT";
|
|
1359
|
-
readonly LU: "LU";
|
|
1360
|
-
readonly LV: "LV";
|
|
1361
|
-
readonly LY: "LY";
|
|
1362
|
-
readonly MA: "MA";
|
|
1363
|
-
readonly MC: "MC";
|
|
1364
|
-
readonly MD: "MD";
|
|
1365
|
-
readonly ME: "ME";
|
|
1366
|
-
readonly MF: "MF";
|
|
1367
|
-
readonly MG: "MG";
|
|
1368
|
-
readonly MH: "MH";
|
|
1369
|
-
readonly MK: "MK";
|
|
1370
|
-
readonly ML: "ML";
|
|
1371
|
-
readonly MM: "MM";
|
|
1372
|
-
readonly MN: "MN";
|
|
1373
|
-
readonly MO: "MO";
|
|
1374
|
-
readonly MP: "MP";
|
|
1375
|
-
readonly MQ: "MQ";
|
|
1376
|
-
readonly MR: "MR";
|
|
1377
|
-
readonly MS: "MS";
|
|
1378
|
-
readonly MT: "MT";
|
|
1379
|
-
readonly MU: "MU";
|
|
1380
|
-
readonly MV: "MV";
|
|
1381
|
-
readonly MW: "MW";
|
|
1382
|
-
readonly MX: "MX";
|
|
1383
|
-
readonly MY: "MY";
|
|
1384
|
-
readonly MZ: "MZ";
|
|
1385
|
-
readonly NA: "NA";
|
|
1386
|
-
readonly NC: "NC";
|
|
1387
|
-
readonly NE: "NE";
|
|
1388
|
-
readonly NF: "NF";
|
|
1389
|
-
readonly NG: "NG";
|
|
1390
|
-
readonly NI: "NI";
|
|
1391
|
-
readonly NL: "NL";
|
|
1392
|
-
readonly NO: "NO";
|
|
1393
|
-
readonly NP: "NP";
|
|
1394
|
-
readonly NR: "NR";
|
|
1395
|
-
readonly NU: "NU";
|
|
1396
|
-
readonly NZ: "NZ";
|
|
1397
|
-
readonly OM: "OM";
|
|
1398
|
-
readonly PA: "PA";
|
|
1399
|
-
readonly PE: "PE";
|
|
1400
|
-
readonly PF: "PF";
|
|
1401
|
-
readonly PG: "PG";
|
|
1402
|
-
readonly PH: "PH";
|
|
1403
|
-
readonly PK: "PK";
|
|
1404
|
-
readonly PL: "PL";
|
|
1405
|
-
readonly PM: "PM";
|
|
1406
|
-
readonly PN: "PN";
|
|
1407
|
-
readonly PR: "PR";
|
|
1408
|
-
readonly PS: "PS";
|
|
1409
|
-
readonly PT: "PT";
|
|
1410
|
-
readonly PW: "PW";
|
|
1411
|
-
readonly PY: "PY";
|
|
1412
|
-
readonly QA: "QA";
|
|
1413
|
-
readonly RE: "RE";
|
|
1414
|
-
readonly RO: "RO";
|
|
1415
|
-
readonly RS: "RS";
|
|
1416
|
-
readonly RU: "RU";
|
|
1417
|
-
readonly RW: "RW";
|
|
1418
|
-
readonly SA: "SA";
|
|
1419
|
-
readonly SB: "SB";
|
|
1420
|
-
readonly SC: "SC";
|
|
1421
|
-
readonly SD: "SD";
|
|
1422
|
-
readonly SE: "SE";
|
|
1423
|
-
readonly SG: "SG";
|
|
1424
|
-
readonly SH: "SH";
|
|
1425
|
-
readonly SI: "SI";
|
|
1426
|
-
readonly SJ: "SJ";
|
|
1427
|
-
readonly SK: "SK";
|
|
1428
|
-
readonly SL: "SL";
|
|
1429
|
-
readonly SM: "SM";
|
|
1430
|
-
readonly SN: "SN";
|
|
1431
|
-
readonly SO: "SO";
|
|
1432
|
-
readonly SR: "SR";
|
|
1433
|
-
readonly SS: "SS";
|
|
1434
|
-
readonly ST: "ST";
|
|
1435
|
-
readonly SV: "SV";
|
|
1436
|
-
readonly SX: "SX";
|
|
1437
|
-
readonly SY: "SY";
|
|
1438
|
-
readonly SZ: "SZ";
|
|
1439
|
-
readonly TC: "TC";
|
|
1440
|
-
readonly TD: "TD";
|
|
1441
|
-
readonly TF: "TF";
|
|
1442
|
-
readonly TG: "TG";
|
|
1443
|
-
readonly TH: "TH";
|
|
1444
|
-
readonly TJ: "TJ";
|
|
1445
|
-
readonly TK: "TK";
|
|
1446
|
-
readonly TL: "TL";
|
|
1447
|
-
readonly TM: "TM";
|
|
1448
|
-
readonly TN: "TN";
|
|
1449
|
-
readonly TO: "TO";
|
|
1450
|
-
readonly TR: "TR";
|
|
1451
|
-
readonly TT: "TT";
|
|
1452
|
-
readonly TV: "TV";
|
|
1453
|
-
readonly TW: "TW";
|
|
1454
|
-
readonly TZ: "TZ";
|
|
1455
|
-
readonly UA: "UA";
|
|
1456
|
-
readonly UG: "UG";
|
|
1457
|
-
readonly UM: "UM";
|
|
1458
|
-
readonly US: "US";
|
|
1459
|
-
readonly UY: "UY";
|
|
1460
|
-
readonly UZ: "UZ";
|
|
1461
|
-
readonly VA: "VA";
|
|
1462
|
-
readonly VC: "VC";
|
|
1463
|
-
readonly VE: "VE";
|
|
1464
|
-
readonly VG: "VG";
|
|
1465
|
-
readonly VI: "VI";
|
|
1466
|
-
readonly VN: "VN";
|
|
1467
|
-
readonly VU: "VU";
|
|
1468
|
-
readonly WF: "WF";
|
|
1469
|
-
readonly WS: "WS";
|
|
1470
|
-
readonly XK: "XK";
|
|
1471
|
-
readonly YE: "YE";
|
|
1472
|
-
readonly YT: "YT";
|
|
1473
|
-
readonly ZA: "ZA";
|
|
1474
|
-
readonly ZM: "ZM";
|
|
1475
|
-
readonly ZW: "ZW";
|
|
1476
|
-
};
|
|
1477
|
-
/**
|
|
1478
|
-
* @public
|
|
1479
|
-
*/
|
|
1480
|
-
export type CountryCode = (typeof CountryCode)[keyof typeof CountryCode];
|
|
1481
1094
|
/**
|
|
1482
1095
|
* <p>A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match.</p>
|
|
1483
1096
|
* <ul>
|
|
@@ -1511,19 +1124,6 @@ export interface GeoMatchStatement {
|
|
|
1511
1124
|
*/
|
|
1512
1125
|
ForwardedIPConfig?: ForwardedIPConfig | undefined;
|
|
1513
1126
|
}
|
|
1514
|
-
/**
|
|
1515
|
-
* @public
|
|
1516
|
-
* @enum
|
|
1517
|
-
*/
|
|
1518
|
-
export declare const ForwardedIPPosition: {
|
|
1519
|
-
readonly ANY: "ANY";
|
|
1520
|
-
readonly FIRST: "FIRST";
|
|
1521
|
-
readonly LAST: "LAST";
|
|
1522
|
-
};
|
|
1523
|
-
/**
|
|
1524
|
-
* @public
|
|
1525
|
-
*/
|
|
1526
|
-
export type ForwardedIPPosition = (typeof ForwardedIPPosition)[keyof typeof ForwardedIPPosition];
|
|
1527
1127
|
/**
|
|
1528
1128
|
* <p>The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. </p>
|
|
1529
1129
|
* <note>
|
|
@@ -1605,18 +1205,6 @@ export interface IPSetReferenceStatement {
|
|
|
1605
1205
|
*/
|
|
1606
1206
|
IPSetForwardedIPConfig?: IPSetForwardedIPConfig | undefined;
|
|
1607
1207
|
}
|
|
1608
|
-
/**
|
|
1609
|
-
* @public
|
|
1610
|
-
* @enum
|
|
1611
|
-
*/
|
|
1612
|
-
export declare const LabelMatchScope: {
|
|
1613
|
-
readonly LABEL: "LABEL";
|
|
1614
|
-
readonly NAMESPACE: "NAMESPACE";
|
|
1615
|
-
};
|
|
1616
|
-
/**
|
|
1617
|
-
* @public
|
|
1618
|
-
*/
|
|
1619
|
-
export type LabelMatchScope = (typeof LabelMatchScope)[keyof typeof LabelMatchScope];
|
|
1620
1208
|
/**
|
|
1621
1209
|
* <p>A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL. </p>
|
|
1622
1210
|
* <p>The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, WAF performs the search for labels that were added in the same context as the label match statement. </p>
|
|
@@ -1722,18 +1310,6 @@ export interface PasswordField {
|
|
|
1722
1310
|
*/
|
|
1723
1311
|
Identifier: string | undefined;
|
|
1724
1312
|
}
|
|
1725
|
-
/**
|
|
1726
|
-
* @public
|
|
1727
|
-
* @enum
|
|
1728
|
-
*/
|
|
1729
|
-
export declare const PayloadType: {
|
|
1730
|
-
readonly FORM_ENCODED: "FORM_ENCODED";
|
|
1731
|
-
readonly JSON: "JSON";
|
|
1732
|
-
};
|
|
1733
|
-
/**
|
|
1734
|
-
* @public
|
|
1735
|
-
*/
|
|
1736
|
-
export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
|
|
1737
1313
|
/**
|
|
1738
1314
|
* <p>The name of a field in the request payload that contains part or all of your customer's primary phone number. </p>
|
|
1739
1315
|
* <p>This data type is used in the <code>RequestInspectionACFP</code> data type. </p>
|
|
@@ -2139,31 +1715,6 @@ export interface Regex {
|
|
|
2139
1715
|
*/
|
|
2140
1716
|
RegexString?: string | undefined;
|
|
2141
1717
|
}
|
|
2142
|
-
/**
|
|
2143
|
-
* @public
|
|
2144
|
-
* @enum
|
|
2145
|
-
*/
|
|
2146
|
-
export declare const SensitivityToAct: {
|
|
2147
|
-
readonly HIGH: "HIGH";
|
|
2148
|
-
readonly LOW: "LOW";
|
|
2149
|
-
readonly MEDIUM: "MEDIUM";
|
|
2150
|
-
};
|
|
2151
|
-
/**
|
|
2152
|
-
* @public
|
|
2153
|
-
*/
|
|
2154
|
-
export type SensitivityToAct = (typeof SensitivityToAct)[keyof typeof SensitivityToAct];
|
|
2155
|
-
/**
|
|
2156
|
-
* @public
|
|
2157
|
-
* @enum
|
|
2158
|
-
*/
|
|
2159
|
-
export declare const UsageOfAction: {
|
|
2160
|
-
readonly DISABLED: "DISABLED";
|
|
2161
|
-
readonly ENABLED: "ENABLED";
|
|
2162
|
-
};
|
|
2163
|
-
/**
|
|
2164
|
-
* @public
|
|
2165
|
-
*/
|
|
2166
|
-
export type UsageOfAction = (typeof UsageOfAction)[keyof typeof UsageOfAction];
|
|
2167
1718
|
/**
|
|
2168
1719
|
* <p>This is part of the <code>AWSManagedRulesAntiDDoSRuleSet</code>
|
|
2169
1720
|
* <code>ClientSideActionConfig</code> configuration in <code>ManagedRuleGroupConfig</code>.</p>
|
|
@@ -2405,18 +1956,6 @@ export interface AWSManagedRulesATPRuleSet {
|
|
|
2405
1956
|
*/
|
|
2406
1957
|
EnableRegexInPath?: boolean | undefined;
|
|
2407
1958
|
}
|
|
2408
|
-
/**
|
|
2409
|
-
* @public
|
|
2410
|
-
* @enum
|
|
2411
|
-
*/
|
|
2412
|
-
export declare const InspectionLevel: {
|
|
2413
|
-
readonly COMMON: "COMMON";
|
|
2414
|
-
readonly TARGETED: "TARGETED";
|
|
2415
|
-
};
|
|
2416
|
-
/**
|
|
2417
|
-
* @public
|
|
2418
|
-
*/
|
|
2419
|
-
export type InspectionLevel = (typeof InspectionLevel)[keyof typeof InspectionLevel];
|
|
2420
1959
|
/**
|
|
2421
1960
|
* <p>Details for your use of the Bot Control managed rule group, <code>AWSManagedRulesBotControlRuleSet</code>. This configuration is used in <code>ManagedRuleGroupConfig</code>. </p>
|
|
2422
1961
|
* <p>For additional information about this and the other intelligent threat mitigation rule groups,
|
|
@@ -2755,20 +2294,6 @@ export interface RuleActionOverride {
|
|
|
2755
2294
|
*/
|
|
2756
2295
|
ActionToUse: RuleAction | undefined;
|
|
2757
2296
|
}
|
|
2758
|
-
/**
|
|
2759
|
-
* @public
|
|
2760
|
-
* @enum
|
|
2761
|
-
*/
|
|
2762
|
-
export declare const RateBasedStatementAggregateKeyType: {
|
|
2763
|
-
readonly CONSTANT: "CONSTANT";
|
|
2764
|
-
readonly CUSTOM_KEYS: "CUSTOM_KEYS";
|
|
2765
|
-
readonly FORWARDED_IP: "FORWARDED_IP";
|
|
2766
|
-
readonly IP: "IP";
|
|
2767
|
-
};
|
|
2768
|
-
/**
|
|
2769
|
-
* @public
|
|
2770
|
-
*/
|
|
2771
|
-
export type RateBasedStatementAggregateKeyType = (typeof RateBasedStatementAggregateKeyType)[keyof typeof RateBasedStatementAggregateKeyType];
|
|
2772
2297
|
/**
|
|
2773
2298
|
* <p>Specifies an Autonomous System Number (ASN) derived from the request's originating or forwarded IP address as an aggregate key for a rate-based rule.
|
|
2774
2299
|
* Each distinct ASN contributes to the aggregation instance.
|
|
@@ -3110,22 +2635,6 @@ export interface RuleGroupReferenceStatement {
|
|
|
3110
2635
|
*/
|
|
3111
2636
|
RuleActionOverrides?: RuleActionOverride[] | undefined;
|
|
3112
2637
|
}
|
|
3113
|
-
/**
|
|
3114
|
-
* @public
|
|
3115
|
-
* @enum
|
|
3116
|
-
*/
|
|
3117
|
-
export declare const ComparisonOperator: {
|
|
3118
|
-
readonly EQ: "EQ";
|
|
3119
|
-
readonly GE: "GE";
|
|
3120
|
-
readonly GT: "GT";
|
|
3121
|
-
readonly LE: "LE";
|
|
3122
|
-
readonly LT: "LT";
|
|
3123
|
-
readonly NE: "NE";
|
|
3124
|
-
};
|
|
3125
|
-
/**
|
|
3126
|
-
* @public
|
|
3127
|
-
*/
|
|
3128
|
-
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
3129
2638
|
/**
|
|
3130
2639
|
* <p>A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes. </p>
|
|
3131
2640
|
* <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see <code>Body</code> and <code>JsonBody</code> settings for the <code>FieldToMatch</code> data type. </p>
|
|
@@ -3154,18 +2663,6 @@ export interface SizeConstraintStatement {
|
|
|
3154
2663
|
*/
|
|
3155
2664
|
TextTransformations: TextTransformation[] | undefined;
|
|
3156
2665
|
}
|
|
3157
|
-
/**
|
|
3158
|
-
* @public
|
|
3159
|
-
* @enum
|
|
3160
|
-
*/
|
|
3161
|
-
export declare const SensitivityLevel: {
|
|
3162
|
-
readonly HIGH: "HIGH";
|
|
3163
|
-
readonly LOW: "LOW";
|
|
3164
|
-
};
|
|
3165
|
-
/**
|
|
3166
|
-
* @public
|
|
3167
|
-
*/
|
|
3168
|
-
export type SensitivityLevel = (typeof SensitivityLevel)[keyof typeof SensitivityLevel];
|
|
3169
2666
|
/**
|
|
3170
2667
|
* <p>A rule statement that inspects for malicious SQL code. Attackers insert malicious SQL code into web requests to do things like modify your database or extract data from it. </p>
|
|
3171
2668
|
* @public
|
|
@@ -3271,21 +2768,6 @@ export interface ApplicationConfig {
|
|
|
3271
2768
|
*/
|
|
3272
2769
|
Attributes?: ApplicationAttribute[] | undefined;
|
|
3273
2770
|
}
|
|
3274
|
-
/**
|
|
3275
|
-
* @public
|
|
3276
|
-
* @enum
|
|
3277
|
-
*/
|
|
3278
|
-
export declare const AssociatedResourceType: {
|
|
3279
|
-
readonly API_GATEWAY: "API_GATEWAY";
|
|
3280
|
-
readonly APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE";
|
|
3281
|
-
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
3282
|
-
readonly COGNITO_USER_POOL: "COGNITO_USER_POOL";
|
|
3283
|
-
readonly VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE";
|
|
3284
|
-
};
|
|
3285
|
-
/**
|
|
3286
|
-
* @public
|
|
3287
|
-
*/
|
|
3288
|
-
export type AssociatedResourceType = (typeof AssociatedResourceType)[keyof typeof AssociatedResourceType];
|
|
3289
2771
|
/**
|
|
3290
2772
|
* @public
|
|
3291
2773
|
*/
|
|
@@ -3346,227 +2828,21 @@ export interface AssociateWebACLRequest {
|
|
|
3346
2828
|
export interface AssociateWebACLResponse {
|
|
3347
2829
|
}
|
|
3348
2830
|
/**
|
|
3349
|
-
* <p>
|
|
3350
|
-
* problem. Retry your request. </p>
|
|
3351
|
-
* @public
|
|
3352
|
-
*/
|
|
3353
|
-
export declare class WAFInternalErrorException extends __BaseException {
|
|
3354
|
-
readonly name: "WAFInternalErrorException";
|
|
3355
|
-
readonly $fault: "server";
|
|
3356
|
-
Message?: string | undefined;
|
|
3357
|
-
/**
|
|
3358
|
-
* @internal
|
|
3359
|
-
*/
|
|
3360
|
-
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
3361
|
-
}
|
|
3362
|
-
/**
|
|
3363
|
-
* <p>The operation isn't valid. </p>
|
|
3364
|
-
* @public
|
|
3365
|
-
*/
|
|
3366
|
-
export declare class WAFInvalidOperationException extends __BaseException {
|
|
3367
|
-
readonly name: "WAFInvalidOperationException";
|
|
3368
|
-
readonly $fault: "client";
|
|
3369
|
-
Message?: string | undefined;
|
|
3370
|
-
/**
|
|
3371
|
-
* @internal
|
|
3372
|
-
*/
|
|
3373
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
3374
|
-
}
|
|
3375
|
-
/**
|
|
3376
|
-
* @public
|
|
3377
|
-
* @enum
|
|
3378
|
-
*/
|
|
3379
|
-
export declare const ParameterExceptionField: {
|
|
3380
|
-
readonly ACP_RULE_SET_RESPONSE_INSPECTION: "ACP_RULE_SET_RESPONSE_INSPECTION";
|
|
3381
|
-
readonly AND_STATEMENT: "AND_STATEMENT";
|
|
3382
|
-
readonly ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE";
|
|
3383
|
-
readonly ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE";
|
|
3384
|
-
readonly ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION";
|
|
3385
|
-
readonly BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR";
|
|
3386
|
-
readonly BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT";
|
|
3387
|
-
readonly CHALLENGE_CONFIG: "CHALLENGE_CONFIG";
|
|
3388
|
-
readonly CHANGE_PROPAGATION_STATUS: "CHANGE_PROPAGATION_STATUS";
|
|
3389
|
-
readonly COOKIE_MATCH_PATTERN: "COOKIE_MATCH_PATTERN";
|
|
3390
|
-
readonly CUSTOM_KEYS: "CUSTOM_KEYS";
|
|
3391
|
-
readonly CUSTOM_REQUEST_HANDLING: "CUSTOM_REQUEST_HANDLING";
|
|
3392
|
-
readonly CUSTOM_RESPONSE: "CUSTOM_RESPONSE";
|
|
3393
|
-
readonly CUSTOM_RESPONSE_BODY: "CUSTOM_RESPONSE_BODY";
|
|
3394
|
-
readonly DATA_PROTECTION_CONFIG: "DATA_PROTECTION_CONFIG";
|
|
3395
|
-
readonly DEFAULT_ACTION: "DEFAULT_ACTION";
|
|
3396
|
-
readonly ENTITY_LIMIT: "ENTITY_LIMIT";
|
|
3397
|
-
readonly EXCLUDED_RULE: "EXCLUDED_RULE";
|
|
3398
|
-
readonly EXPIRE_TIMESTAMP: "EXPIRE_TIMESTAMP";
|
|
3399
|
-
readonly FALLBACK_BEHAVIOR: "FALLBACK_BEHAVIOR";
|
|
3400
|
-
readonly FIELD_TO_MATCH: "FIELD_TO_MATCH";
|
|
3401
|
-
readonly FILTER_CONDITION: "FILTER_CONDITION";
|
|
3402
|
-
readonly FIREWALL_MANAGER_STATEMENT: "FIREWALL_MANAGER_STATEMENT";
|
|
3403
|
-
readonly FORWARDED_IP_CONFIG: "FORWARDED_IP_CONFIG";
|
|
3404
|
-
readonly GEO_MATCH_STATEMENT: "GEO_MATCH_STATEMENT";
|
|
3405
|
-
readonly HEADER_MATCH_PATTERN: "HEADER_MATCH_PATTERN";
|
|
3406
|
-
readonly HEADER_NAME: "HEADER_NAME";
|
|
3407
|
-
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
3408
|
-
readonly IP_ADDRESS_VERSION: "IP_ADDRESS_VERSION";
|
|
3409
|
-
readonly IP_SET: "IP_SET";
|
|
3410
|
-
readonly IP_SET_FORWARDED_IP_CONFIG: "IP_SET_FORWARDED_IP_CONFIG";
|
|
3411
|
-
readonly IP_SET_REFERENCE_STATEMENT: "IP_SET_REFERENCE_STATEMENT";
|
|
3412
|
-
readonly JSON_MATCH_PATTERN: "JSON_MATCH_PATTERN";
|
|
3413
|
-
readonly JSON_MATCH_SCOPE: "JSON_MATCH_SCOPE";
|
|
3414
|
-
readonly LABEL_MATCH_STATEMENT: "LABEL_MATCH_STATEMENT";
|
|
3415
|
-
readonly LOGGING_FILTER: "LOGGING_FILTER";
|
|
3416
|
-
readonly LOG_DESTINATION: "LOG_DESTINATION";
|
|
3417
|
-
readonly LOW_REPUTATION_MODE: "LOW_REPUTATION_MODE";
|
|
3418
|
-
readonly MANAGED_RULE_GROUP_CONFIG: "MANAGED_RULE_GROUP_CONFIG";
|
|
3419
|
-
readonly MANAGED_RULE_SET: "MANAGED_RULE_SET";
|
|
3420
|
-
readonly MANAGED_RULE_SET_STATEMENT: "MANAGED_RULE_SET_STATEMENT";
|
|
3421
|
-
readonly MAP_MATCH_SCOPE: "MAP_MATCH_SCOPE";
|
|
3422
|
-
readonly METRIC_NAME: "METRIC_NAME";
|
|
3423
|
-
readonly NOT_STATEMENT: "NOT_STATEMENT";
|
|
3424
|
-
readonly OR_STATEMENT: "OR_STATEMENT";
|
|
3425
|
-
readonly OVERRIDE_ACTION: "OVERRIDE_ACTION";
|
|
3426
|
-
readonly OVERSIZE_HANDLING: "OVERSIZE_HANDLING";
|
|
3427
|
-
readonly PAYLOAD_TYPE: "PAYLOAD_TYPE";
|
|
3428
|
-
readonly POSITION: "POSITION";
|
|
3429
|
-
readonly RATE_BASED_STATEMENT: "RATE_BASED_STATEMENT";
|
|
3430
|
-
readonly REGEX_PATTERN_REFERENCE_STATEMENT: "REGEX_PATTERN_REFERENCE_STATEMENT";
|
|
3431
|
-
readonly REGEX_PATTERN_SET: "REGEX_PATTERN_SET";
|
|
3432
|
-
readonly RESOURCE_ARN: "RESOURCE_ARN";
|
|
3433
|
-
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
3434
|
-
readonly RESPONSE_CONTENT_TYPE: "RESPONSE_CONTENT_TYPE";
|
|
3435
|
-
readonly RULE: "RULE";
|
|
3436
|
-
readonly RULE_ACTION: "RULE_ACTION";
|
|
3437
|
-
readonly RULE_GROUP: "RULE_GROUP";
|
|
3438
|
-
readonly RULE_GROUP_REFERENCE_STATEMENT: "RULE_GROUP_REFERENCE_STATEMENT";
|
|
3439
|
-
readonly SCOPE_DOWN: "SCOPE_DOWN";
|
|
3440
|
-
readonly SCOPE_VALUE: "SCOPE_VALUE";
|
|
3441
|
-
readonly SINGLE_HEADER: "SINGLE_HEADER";
|
|
3442
|
-
readonly SINGLE_QUERY_ARGUMENT: "SINGLE_QUERY_ARGUMENT";
|
|
3443
|
-
readonly SIZE_CONSTRAINT_STATEMENT: "SIZE_CONSTRAINT_STATEMENT";
|
|
3444
|
-
readonly SQLI_MATCH_STATEMENT: "SQLI_MATCH_STATEMENT";
|
|
3445
|
-
readonly STATEMENT: "STATEMENT";
|
|
3446
|
-
readonly TAGS: "TAGS";
|
|
3447
|
-
readonly TAG_KEYS: "TAG_KEYS";
|
|
3448
|
-
readonly TEXT_TRANSFORMATION: "TEXT_TRANSFORMATION";
|
|
3449
|
-
readonly TOKEN_DOMAIN: "TOKEN_DOMAIN";
|
|
3450
|
-
readonly WEB_ACL: "WEB_ACL";
|
|
3451
|
-
readonly XSS_MATCH_STATEMENT: "XSS_MATCH_STATEMENT";
|
|
3452
|
-
};
|
|
3453
|
-
/**
|
|
3454
|
-
* @public
|
|
3455
|
-
*/
|
|
3456
|
-
export type ParameterExceptionField = (typeof ParameterExceptionField)[keyof typeof ParameterExceptionField];
|
|
3457
|
-
/**
|
|
3458
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
3459
|
-
* example: </p>
|
|
3460
|
-
* <ul>
|
|
3461
|
-
* <li>
|
|
3462
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
3463
|
-
* </li>
|
|
3464
|
-
* <li>
|
|
3465
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
3466
|
-
* can’t be nested. </p>
|
|
3467
|
-
* </li>
|
|
3468
|
-
* <li>
|
|
3469
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
3470
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
3471
|
-
* </li>
|
|
3472
|
-
* <li>
|
|
3473
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
3474
|
-
* with which a web ACL can't be associated.</p>
|
|
3475
|
-
* </li>
|
|
3476
|
-
* </ul>
|
|
2831
|
+
* <p>A WAF feature that is not supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
3477
2832
|
* @public
|
|
3478
2833
|
*/
|
|
3479
|
-
export
|
|
3480
|
-
readonly name: "WAFInvalidParameterException";
|
|
3481
|
-
readonly $fault: "client";
|
|
3482
|
-
/**
|
|
3483
|
-
* <p>The settings where the invalid parameter was found. </p>
|
|
3484
|
-
* @public
|
|
3485
|
-
*/
|
|
3486
|
-
Field?: ParameterExceptionField | undefined;
|
|
3487
|
-
/**
|
|
3488
|
-
* <p>The invalid parameter that resulted in the exception. </p>
|
|
3489
|
-
* @public
|
|
3490
|
-
*/
|
|
3491
|
-
Parameter?: string | undefined;
|
|
2834
|
+
export interface DisallowedFeature {
|
|
3492
2835
|
/**
|
|
3493
|
-
* <p>
|
|
2836
|
+
* <p>The name of the disallowed WAF feature.</p>
|
|
3494
2837
|
* @public
|
|
3495
2838
|
*/
|
|
3496
|
-
|
|
3497
|
-
/**
|
|
3498
|
-
* @internal
|
|
3499
|
-
*/
|
|
3500
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
3501
|
-
}
|
|
3502
|
-
/**
|
|
3503
|
-
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
3504
|
-
* example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
|
|
3505
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
3506
|
-
* <i>WAF Developer Guide</i>.</p>
|
|
3507
|
-
* @public
|
|
3508
|
-
*/
|
|
3509
|
-
export declare class WAFLimitsExceededException extends __BaseException {
|
|
3510
|
-
readonly name: "WAFLimitsExceededException";
|
|
3511
|
-
readonly $fault: "client";
|
|
3512
|
-
Message?: string | undefined;
|
|
2839
|
+
Feature?: string | undefined;
|
|
3513
2840
|
/**
|
|
3514
|
-
* <p>
|
|
2841
|
+
* <p>The name of the CloudFront pricing plan required to use the WAF feature.</p>
|
|
3515
2842
|
* @public
|
|
3516
2843
|
*/
|
|
3517
|
-
|
|
3518
|
-
/**
|
|
3519
|
-
* @internal
|
|
3520
|
-
*/
|
|
3521
|
-
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
3522
|
-
}
|
|
3523
|
-
/**
|
|
3524
|
-
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
3525
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
3526
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
3527
|
-
* for changes to propagate. </p>
|
|
3528
|
-
* @public
|
|
3529
|
-
*/
|
|
3530
|
-
export declare class WAFNonexistentItemException extends __BaseException {
|
|
3531
|
-
readonly name: "WAFNonexistentItemException";
|
|
3532
|
-
readonly $fault: "client";
|
|
3533
|
-
Message?: string | undefined;
|
|
3534
|
-
/**
|
|
3535
|
-
* @internal
|
|
3536
|
-
*/
|
|
3537
|
-
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
3538
|
-
}
|
|
3539
|
-
/**
|
|
3540
|
-
* <p>WAF couldn’t retrieve a resource that you specified for this operation.
|
|
3541
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
3542
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
3543
|
-
* for changes to propagate. Verify the resource specifications in your request
|
|
3544
|
-
* parameters and then retry the operation.</p>
|
|
3545
|
-
* @public
|
|
3546
|
-
*/
|
|
3547
|
-
export declare class WAFUnavailableEntityException extends __BaseException {
|
|
3548
|
-
readonly name: "WAFUnavailableEntityException";
|
|
3549
|
-
readonly $fault: "client";
|
|
3550
|
-
Message?: string | undefined;
|
|
3551
|
-
/**
|
|
3552
|
-
* @internal
|
|
3553
|
-
*/
|
|
3554
|
-
constructor(opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>);
|
|
2844
|
+
RequiredPricingPlan?: string | undefined;
|
|
3555
2845
|
}
|
|
3556
|
-
/**
|
|
3557
|
-
* @public
|
|
3558
|
-
* @enum
|
|
3559
|
-
*/
|
|
3560
|
-
export declare const SizeInspectionLimit: {
|
|
3561
|
-
readonly KB_16: "KB_16";
|
|
3562
|
-
readonly KB_32: "KB_32";
|
|
3563
|
-
readonly KB_48: "KB_48";
|
|
3564
|
-
readonly KB_64: "KB_64";
|
|
3565
|
-
};
|
|
3566
|
-
/**
|
|
3567
|
-
* @public
|
|
3568
|
-
*/
|
|
3569
|
-
export type SizeInspectionLimit = (typeof SizeInspectionLimit)[keyof typeof SizeInspectionLimit];
|
|
3570
2846
|
/**
|
|
3571
2847
|
* <p>Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. </p>
|
|
3572
2848
|
* <note>
|
|
@@ -3742,18 +3018,6 @@ export interface VisibilityConfig {
|
|
|
3742
3018
|
*/
|
|
3743
3019
|
MetricName: string | undefined;
|
|
3744
3020
|
}
|
|
3745
|
-
/**
|
|
3746
|
-
* @public
|
|
3747
|
-
* @enum
|
|
3748
|
-
*/
|
|
3749
|
-
export declare const Scope: {
|
|
3750
|
-
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
3751
|
-
readonly REGIONAL: "REGIONAL";
|
|
3752
|
-
};
|
|
3753
|
-
/**
|
|
3754
|
-
* @public
|
|
3755
|
-
*/
|
|
3756
|
-
export type Scope = (typeof Scope)[keyof typeof Scope];
|
|
3757
3021
|
/**
|
|
3758
3022
|
* @public
|
|
3759
3023
|
*/
|
|
@@ -3764,49 +3028,6 @@ export interface CheckCapacityResponse {
|
|
|
3764
3028
|
*/
|
|
3765
3029
|
Capacity?: number | undefined;
|
|
3766
3030
|
}
|
|
3767
|
-
/**
|
|
3768
|
-
* <p>The operation failed because the specified version for the managed rule group has
|
|
3769
|
-
* expired. You can retrieve the available versions for the managed rule group by calling
|
|
3770
|
-
* <a>ListAvailableManagedRuleGroupVersions</a>.</p>
|
|
3771
|
-
* @public
|
|
3772
|
-
*/
|
|
3773
|
-
export declare class WAFExpiredManagedRuleGroupVersionException extends __BaseException {
|
|
3774
|
-
readonly name: "WAFExpiredManagedRuleGroupVersionException";
|
|
3775
|
-
readonly $fault: "client";
|
|
3776
|
-
Message?: string | undefined;
|
|
3777
|
-
/**
|
|
3778
|
-
* @internal
|
|
3779
|
-
*/
|
|
3780
|
-
constructor(opts: __ExceptionOptionType<WAFExpiredManagedRuleGroupVersionException, __BaseException>);
|
|
3781
|
-
}
|
|
3782
|
-
/**
|
|
3783
|
-
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
3784
|
-
* valid. Check the resource, and try again.</p>
|
|
3785
|
-
* @public
|
|
3786
|
-
*/
|
|
3787
|
-
export declare class WAFInvalidResourceException extends __BaseException {
|
|
3788
|
-
readonly name: "WAFInvalidResourceException";
|
|
3789
|
-
readonly $fault: "client";
|
|
3790
|
-
Message?: string | undefined;
|
|
3791
|
-
/**
|
|
3792
|
-
* @internal
|
|
3793
|
-
*/
|
|
3794
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidResourceException, __BaseException>);
|
|
3795
|
-
}
|
|
3796
|
-
/**
|
|
3797
|
-
* <p>You tried to use a managed rule group that's available by subscription, but you aren't
|
|
3798
|
-
* subscribed to it yet. </p>
|
|
3799
|
-
* @public
|
|
3800
|
-
*/
|
|
3801
|
-
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
3802
|
-
readonly name: "WAFSubscriptionNotFoundException";
|
|
3803
|
-
readonly $fault: "client";
|
|
3804
|
-
Message?: string | undefined;
|
|
3805
|
-
/**
|
|
3806
|
-
* @internal
|
|
3807
|
-
*/
|
|
3808
|
-
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
3809
|
-
}
|
|
3810
3031
|
/**
|
|
3811
3032
|
* @public
|
|
3812
3033
|
*/
|
|
@@ -3844,18 +3065,6 @@ export interface CreateAPIKeyResponse {
|
|
|
3844
3065
|
*/
|
|
3845
3066
|
APIKey?: string | undefined;
|
|
3846
3067
|
}
|
|
3847
|
-
/**
|
|
3848
|
-
* @public
|
|
3849
|
-
* @enum
|
|
3850
|
-
*/
|
|
3851
|
-
export declare const IPAddressVersion: {
|
|
3852
|
-
readonly IPV4: "IPV4";
|
|
3853
|
-
readonly IPV6: "IPV6";
|
|
3854
|
-
};
|
|
3855
|
-
/**
|
|
3856
|
-
* @public
|
|
3857
|
-
*/
|
|
3858
|
-
export type IPAddressVersion = (typeof IPAddressVersion)[keyof typeof IPAddressVersion];
|
|
3859
3068
|
/**
|
|
3860
3069
|
* <p>A tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to
|
|
3861
3070
|
* categorize and manage your resources, for purposes like billing or other management.
|
|
@@ -4004,62 +3213,6 @@ export interface CreateIPSetResponse {
|
|
|
4004
3213
|
*/
|
|
4005
3214
|
Summary?: IPSetSummary | undefined;
|
|
4006
3215
|
}
|
|
4007
|
-
/**
|
|
4008
|
-
* <p>WAF couldn’t perform the operation because the resource that you tried to save is
|
|
4009
|
-
* a duplicate of an existing one.</p>
|
|
4010
|
-
* @public
|
|
4011
|
-
*/
|
|
4012
|
-
export declare class WAFDuplicateItemException extends __BaseException {
|
|
4013
|
-
readonly name: "WAFDuplicateItemException";
|
|
4014
|
-
readonly $fault: "client";
|
|
4015
|
-
Message?: string | undefined;
|
|
4016
|
-
/**
|
|
4017
|
-
* @internal
|
|
4018
|
-
*/
|
|
4019
|
-
constructor(opts: __ExceptionOptionType<WAFDuplicateItemException, __BaseException>);
|
|
4020
|
-
}
|
|
4021
|
-
/**
|
|
4022
|
-
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
4023
|
-
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
4024
|
-
* need to make to the new copy, and retry your operation. </p>
|
|
4025
|
-
* @public
|
|
4026
|
-
*/
|
|
4027
|
-
export declare class WAFOptimisticLockException extends __BaseException {
|
|
4028
|
-
readonly name: "WAFOptimisticLockException";
|
|
4029
|
-
readonly $fault: "client";
|
|
4030
|
-
Message?: string | undefined;
|
|
4031
|
-
/**
|
|
4032
|
-
* @internal
|
|
4033
|
-
*/
|
|
4034
|
-
constructor(opts: __ExceptionOptionType<WAFOptimisticLockException, __BaseException>);
|
|
4035
|
-
}
|
|
4036
|
-
/**
|
|
4037
|
-
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
4038
|
-
* @public
|
|
4039
|
-
*/
|
|
4040
|
-
export declare class WAFTagOperationException extends __BaseException {
|
|
4041
|
-
readonly name: "WAFTagOperationException";
|
|
4042
|
-
readonly $fault: "client";
|
|
4043
|
-
Message?: string | undefined;
|
|
4044
|
-
/**
|
|
4045
|
-
* @internal
|
|
4046
|
-
*/
|
|
4047
|
-
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
4048
|
-
}
|
|
4049
|
-
/**
|
|
4050
|
-
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
4051
|
-
* your request.</p>
|
|
4052
|
-
* @public
|
|
4053
|
-
*/
|
|
4054
|
-
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
4055
|
-
readonly name: "WAFTagOperationInternalErrorException";
|
|
4056
|
-
readonly $fault: "server";
|
|
4057
|
-
Message?: string | undefined;
|
|
4058
|
-
/**
|
|
4059
|
-
* @internal
|
|
4060
|
-
*/
|
|
4061
|
-
constructor(opts: __ExceptionOptionType<WAFTagOperationInternalErrorException, __BaseException>);
|
|
4062
|
-
}
|
|
4063
3216
|
/**
|
|
4064
3217
|
* @public
|
|
4065
3218
|
*/
|
|
@@ -4140,19 +3293,6 @@ export interface CreateRegexPatternSetResponse {
|
|
|
4140
3293
|
*/
|
|
4141
3294
|
Summary?: RegexPatternSetSummary | undefined;
|
|
4142
3295
|
}
|
|
4143
|
-
/**
|
|
4144
|
-
* @public
|
|
4145
|
-
* @enum
|
|
4146
|
-
*/
|
|
4147
|
-
export declare const ResponseContentType: {
|
|
4148
|
-
readonly APPLICATION_JSON: "APPLICATION_JSON";
|
|
4149
|
-
readonly TEXT_HTML: "TEXT_HTML";
|
|
4150
|
-
readonly TEXT_PLAIN: "TEXT_PLAIN";
|
|
4151
|
-
};
|
|
4152
|
-
/**
|
|
4153
|
-
* @public
|
|
4154
|
-
*/
|
|
4155
|
-
export type ResponseContentType = (typeof ResponseContentType)[keyof typeof ResponseContentType];
|
|
4156
3296
|
/**
|
|
4157
3297
|
* <p>The response body to use in a custom response to a web request. This is referenced by
|
|
4158
3298
|
* key from <a>CustomResponse</a>
|
|
@@ -4217,33 +3357,6 @@ export interface CreateRuleGroupResponse {
|
|
|
4217
3357
|
*/
|
|
4218
3358
|
Summary?: RuleGroupSummary | undefined;
|
|
4219
3359
|
}
|
|
4220
|
-
/**
|
|
4221
|
-
* @public
|
|
4222
|
-
* @enum
|
|
4223
|
-
*/
|
|
4224
|
-
export declare const DataProtectionAction: {
|
|
4225
|
-
readonly HASH: "HASH";
|
|
4226
|
-
readonly SUBSTITUTION: "SUBSTITUTION";
|
|
4227
|
-
};
|
|
4228
|
-
/**
|
|
4229
|
-
* @public
|
|
4230
|
-
*/
|
|
4231
|
-
export type DataProtectionAction = (typeof DataProtectionAction)[keyof typeof DataProtectionAction];
|
|
4232
|
-
/**
|
|
4233
|
-
* @public
|
|
4234
|
-
* @enum
|
|
4235
|
-
*/
|
|
4236
|
-
export declare const FieldToProtectType: {
|
|
4237
|
-
readonly BODY: "BODY";
|
|
4238
|
-
readonly QUERY_STRING: "QUERY_STRING";
|
|
4239
|
-
readonly SINGLE_COOKIE: "SINGLE_COOKIE";
|
|
4240
|
-
readonly SINGLE_HEADER: "SINGLE_HEADER";
|
|
4241
|
-
readonly SINGLE_QUERY_ARGUMENT: "SINGLE_QUERY_ARGUMENT";
|
|
4242
|
-
};
|
|
4243
|
-
/**
|
|
4244
|
-
* @public
|
|
4245
|
-
*/
|
|
4246
|
-
export type FieldToProtectType = (typeof FieldToProtectType)[keyof typeof FieldToProtectType];
|
|
4247
3360
|
/**
|
|
4248
3361
|
* <p>Specifies a field type and keys to protect in stored web request data. This is part of the data protection configuration for a web ACL. </p>
|
|
4249
3362
|
* @public
|
|
@@ -4339,18 +3452,6 @@ export interface DefaultAction {
|
|
|
4339
3452
|
*/
|
|
4340
3453
|
Allow?: AllowAction | undefined;
|
|
4341
3454
|
}
|
|
4342
|
-
/**
|
|
4343
|
-
* @public
|
|
4344
|
-
* @enum
|
|
4345
|
-
*/
|
|
4346
|
-
export declare const LowReputationMode: {
|
|
4347
|
-
readonly ACTIVE_UNDER_DDOS: "ACTIVE_UNDER_DDOS";
|
|
4348
|
-
readonly ALWAYS_ON: "ALWAYS_ON";
|
|
4349
|
-
};
|
|
4350
|
-
/**
|
|
4351
|
-
* @public
|
|
4352
|
-
*/
|
|
4353
|
-
export type LowReputationMode = (typeof LowReputationMode)[keyof typeof LowReputationMode];
|
|
4354
3455
|
/**
|
|
4355
3456
|
* <p>Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.</p>
|
|
4356
3457
|
* @public
|
|
@@ -4405,29 +3506,6 @@ export interface CreateWebACLResponse {
|
|
|
4405
3506
|
*/
|
|
4406
3507
|
Summary?: WebACLSummary | undefined;
|
|
4407
3508
|
}
|
|
4408
|
-
/**
|
|
4409
|
-
* <p>The operation failed because you are inspecting the web request body, headers, or
|
|
4410
|
-
* cookies without specifying how to handle oversize components. Rules that inspect the body
|
|
4411
|
-
* must either provide an <code>OversizeHandling</code> configuration or they must be preceded
|
|
4412
|
-
* by a <code>SizeConstraintStatement</code> that blocks the body content from being too
|
|
4413
|
-
* large. Rules that inspect the headers or cookies must provide an
|
|
4414
|
-
* <code>OversizeHandling</code> configuration. </p>
|
|
4415
|
-
* <p>Provide the handling configuration and retry your operation.</p>
|
|
4416
|
-
* <p>Alternately, you can suppress this warning by adding the following tag to the resource
|
|
4417
|
-
* that you provide to this operation: <code>Tag</code>
|
|
4418
|
-
* (key:<code>WAF:OversizeFieldsHandlingConstraintOptOut</code>,
|
|
4419
|
-
* value:<code>true</code>).</p>
|
|
4420
|
-
* @public
|
|
4421
|
-
*/
|
|
4422
|
-
export declare class WAFConfigurationWarningException extends __BaseException {
|
|
4423
|
-
readonly name: "WAFConfigurationWarningException";
|
|
4424
|
-
readonly $fault: "client";
|
|
4425
|
-
Message?: string | undefined;
|
|
4426
|
-
/**
|
|
4427
|
-
* @internal
|
|
4428
|
-
*/
|
|
4429
|
-
constructor(opts: __ExceptionOptionType<WAFConfigurationWarningException, __BaseException>);
|
|
4430
|
-
}
|
|
4431
3509
|
/**
|
|
4432
3510
|
* @public
|
|
4433
3511
|
*/
|
|
@@ -4521,44 +3599,6 @@ export interface DeleteIPSetRequest {
|
|
|
4521
3599
|
*/
|
|
4522
3600
|
export interface DeleteIPSetResponse {
|
|
4523
3601
|
}
|
|
4524
|
-
/**
|
|
4525
|
-
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
4526
|
-
* resource or it’s associated with another resource. </p>
|
|
4527
|
-
* @public
|
|
4528
|
-
*/
|
|
4529
|
-
export declare class WAFAssociatedItemException extends __BaseException {
|
|
4530
|
-
readonly name: "WAFAssociatedItemException";
|
|
4531
|
-
readonly $fault: "client";
|
|
4532
|
-
Message?: string | undefined;
|
|
4533
|
-
/**
|
|
4534
|
-
* @internal
|
|
4535
|
-
*/
|
|
4536
|
-
constructor(opts: __ExceptionOptionType<WAFAssociatedItemException, __BaseException>);
|
|
4537
|
-
}
|
|
4538
|
-
/**
|
|
4539
|
-
* @public
|
|
4540
|
-
* @enum
|
|
4541
|
-
*/
|
|
4542
|
-
export declare const LogScope: {
|
|
4543
|
-
readonly CLOUDWATCH_TELEMETRY_RULE_MANAGED: "CLOUDWATCH_TELEMETRY_RULE_MANAGED";
|
|
4544
|
-
readonly CUSTOMER: "CUSTOMER";
|
|
4545
|
-
readonly SECURITY_LAKE: "SECURITY_LAKE";
|
|
4546
|
-
};
|
|
4547
|
-
/**
|
|
4548
|
-
* @public
|
|
4549
|
-
*/
|
|
4550
|
-
export type LogScope = (typeof LogScope)[keyof typeof LogScope];
|
|
4551
|
-
/**
|
|
4552
|
-
* @public
|
|
4553
|
-
* @enum
|
|
4554
|
-
*/
|
|
4555
|
-
export declare const LogType: {
|
|
4556
|
-
readonly WAF_LOGS: "WAF_LOGS";
|
|
4557
|
-
};
|
|
4558
|
-
/**
|
|
4559
|
-
* @public
|
|
4560
|
-
*/
|
|
4561
|
-
export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
4562
3602
|
/**
|
|
4563
3603
|
* @public
|
|
4564
3604
|
*/
|
|
@@ -5039,18 +4079,6 @@ export interface DisassociateWebACLRequest {
|
|
|
5039
4079
|
*/
|
|
5040
4080
|
export interface DisassociateWebACLResponse {
|
|
5041
4081
|
}
|
|
5042
|
-
/**
|
|
5043
|
-
* @public
|
|
5044
|
-
* @enum
|
|
5045
|
-
*/
|
|
5046
|
-
export declare const Platform: {
|
|
5047
|
-
readonly ANDROID: "ANDROID";
|
|
5048
|
-
readonly IOS: "IOS";
|
|
5049
|
-
};
|
|
5050
|
-
/**
|
|
5051
|
-
* @public
|
|
5052
|
-
*/
|
|
5053
|
-
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
5054
4082
|
/**
|
|
5055
4083
|
* @public
|
|
5056
4084
|
*/
|
|
@@ -5266,18 +4294,6 @@ export interface GetLoggingConfigurationRequest {
|
|
|
5266
4294
|
*/
|
|
5267
4295
|
LogScope?: LogScope | undefined;
|
|
5268
4296
|
}
|
|
5269
|
-
/**
|
|
5270
|
-
* @public
|
|
5271
|
-
* @enum
|
|
5272
|
-
*/
|
|
5273
|
-
export declare const FilterBehavior: {
|
|
5274
|
-
readonly DROP: "DROP";
|
|
5275
|
-
readonly KEEP: "KEEP";
|
|
5276
|
-
};
|
|
5277
|
-
/**
|
|
5278
|
-
* @public
|
|
5279
|
-
*/
|
|
5280
|
-
export type FilterBehavior = (typeof FilterBehavior)[keyof typeof FilterBehavior];
|
|
5281
4297
|
/**
|
|
5282
4298
|
* <p>A single label name condition for a <a>Condition</a> in a logging
|
|
5283
4299
|
* filter.</p>
|
|
@@ -5308,18 +4324,6 @@ export interface Condition {
|
|
|
5308
4324
|
*/
|
|
5309
4325
|
LabelNameCondition?: LabelNameCondition | undefined;
|
|
5310
4326
|
}
|
|
5311
|
-
/**
|
|
5312
|
-
* @public
|
|
5313
|
-
* @enum
|
|
5314
|
-
*/
|
|
5315
|
-
export declare const FilterRequirement: {
|
|
5316
|
-
readonly MEETS_ALL: "MEETS_ALL";
|
|
5317
|
-
readonly MEETS_ANY: "MEETS_ANY";
|
|
5318
|
-
};
|
|
5319
|
-
/**
|
|
5320
|
-
* @public
|
|
5321
|
-
*/
|
|
5322
|
-
export type FilterRequirement = (typeof FilterRequirement)[keyof typeof FilterRequirement];
|
|
5323
4327
|
/**
|
|
5324
4328
|
* <p>A single logging filter, used in <a>LoggingFilter</a>. </p>
|
|
5325
4329
|
* @public
|
|
@@ -5790,20 +4794,6 @@ export interface GetRateBasedStatementManagedKeysResponse {
|
|
|
5790
4794
|
*/
|
|
5791
4795
|
ManagedKeysIPV6?: RateBasedStatementManagedKeysIPSet | undefined;
|
|
5792
4796
|
}
|
|
5793
|
-
/**
|
|
5794
|
-
* <p>The rule that you've named doesn't aggregate solely on the IP address or solely on the forwarded IP address. This call
|
|
5795
|
-
* is only available for rate-based rules with an <code>AggregateKeyType</code> setting of <code>IP</code> or <code>FORWARDED_IP</code>.</p>
|
|
5796
|
-
* @public
|
|
5797
|
-
*/
|
|
5798
|
-
export declare class WAFUnsupportedAggregateKeyTypeException extends __BaseException {
|
|
5799
|
-
readonly name: "WAFUnsupportedAggregateKeyTypeException";
|
|
5800
|
-
readonly $fault: "client";
|
|
5801
|
-
Message?: string | undefined;
|
|
5802
|
-
/**
|
|
5803
|
-
* @internal
|
|
5804
|
-
*/
|
|
5805
|
-
constructor(opts: __ExceptionOptionType<WAFUnsupportedAggregateKeyTypeException, __BaseException>);
|
|
5806
|
-
}
|
|
5807
4797
|
/**
|
|
5808
4798
|
* @public
|
|
5809
4799
|
*/
|
|
@@ -6001,20 +4991,6 @@ export interface GetSampledRequestsRequest {
|
|
|
6001
4991
|
*/
|
|
6002
4992
|
MaxItems: number | undefined;
|
|
6003
4993
|
}
|
|
6004
|
-
/**
|
|
6005
|
-
* @public
|
|
6006
|
-
* @enum
|
|
6007
|
-
*/
|
|
6008
|
-
export declare const FailureReason: {
|
|
6009
|
-
readonly TOKEN_DOMAIN_MISMATCH: "TOKEN_DOMAIN_MISMATCH";
|
|
6010
|
-
readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
|
|
6011
|
-
readonly TOKEN_INVALID: "TOKEN_INVALID";
|
|
6012
|
-
readonly TOKEN_MISSING: "TOKEN_MISSING";
|
|
6013
|
-
};
|
|
6014
|
-
/**
|
|
6015
|
-
* @public
|
|
6016
|
-
*/
|
|
6017
|
-
export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
|
|
6018
4994
|
/**
|
|
6019
4995
|
* <p>The result from the inspection of the web request for a valid <code>CAPTCHA</code> token. </p>
|
|
6020
4996
|
* @public
|
|
@@ -6862,23 +5838,6 @@ export interface ListRegexPatternSetsResponse {
|
|
|
6862
5838
|
*/
|
|
6863
5839
|
RegexPatternSets?: RegexPatternSetSummary[] | undefined;
|
|
6864
5840
|
}
|
|
6865
|
-
/**
|
|
6866
|
-
* @public
|
|
6867
|
-
* @enum
|
|
6868
|
-
*/
|
|
6869
|
-
export declare const ResourceType: {
|
|
6870
|
-
readonly AMPLIFY: "AMPLIFY";
|
|
6871
|
-
readonly API_GATEWAY: "API_GATEWAY";
|
|
6872
|
-
readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
|
|
6873
|
-
readonly APPSYNC: "APPSYNC";
|
|
6874
|
-
readonly APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE";
|
|
6875
|
-
readonly COGNITIO_USER_POOL: "COGNITO_USER_POOL";
|
|
6876
|
-
readonly VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE";
|
|
6877
|
-
};
|
|
6878
|
-
/**
|
|
6879
|
-
* @public
|
|
6880
|
-
*/
|
|
6881
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
6882
5841
|
/**
|
|
6883
5842
|
* @public
|
|
6884
5843
|
*/
|
|
@@ -7098,40 +6057,6 @@ export interface PutLoggingConfigurationResponse {
|
|
|
7098
6057
|
*/
|
|
7099
6058
|
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
7100
6059
|
}
|
|
7101
|
-
/**
|
|
7102
|
-
* <p>The operation failed because you don't have the permissions that your logging
|
|
7103
|
-
* configuration requires. For information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
7104
|
-
* in the <i>WAF Developer Guide</i>.</p>
|
|
7105
|
-
* @public
|
|
7106
|
-
*/
|
|
7107
|
-
export declare class WAFLogDestinationPermissionIssueException extends __BaseException {
|
|
7108
|
-
readonly name: "WAFLogDestinationPermissionIssueException";
|
|
7109
|
-
readonly $fault: "client";
|
|
7110
|
-
Message?: string | undefined;
|
|
7111
|
-
/**
|
|
7112
|
-
* @internal
|
|
7113
|
-
*/
|
|
7114
|
-
constructor(opts: __ExceptionOptionType<WAFLogDestinationPermissionIssueException, __BaseException>);
|
|
7115
|
-
}
|
|
7116
|
-
/**
|
|
7117
|
-
* <p>WAF is not able to access the service linked role. This can be caused by a
|
|
7118
|
-
* previous <code>PutLoggingConfiguration</code> request, which can lock the service linked
|
|
7119
|
-
* role for about 20 seconds. Please try your request again. The service linked role can also
|
|
7120
|
-
* be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the
|
|
7121
|
-
* role for 15 minutes or more. If you recently made a call to
|
|
7122
|
-
* <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request
|
|
7123
|
-
* again. If you receive this same exception again, you will have to wait additional time
|
|
7124
|
-
* until the role is unlocked.</p>
|
|
7125
|
-
* @public
|
|
7126
|
-
*/
|
|
7127
|
-
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
7128
|
-
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
7129
|
-
readonly $fault: "client";
|
|
7130
|
-
/**
|
|
7131
|
-
* @internal
|
|
7132
|
-
*/
|
|
7133
|
-
constructor(opts: __ExceptionOptionType<WAFServiceLinkedRoleErrorException, __BaseException>);
|
|
7134
|
-
}
|
|
7135
6060
|
/**
|
|
7136
6061
|
* <p>A version of the named managed rule group, that the rule group's vendor publishes for
|
|
7137
6062
|
* use by customers. </p>
|
|
@@ -7256,42 +6181,6 @@ export interface PutPermissionPolicyRequest {
|
|
|
7256
6181
|
*/
|
|
7257
6182
|
export interface PutPermissionPolicyResponse {
|
|
7258
6183
|
}
|
|
7259
|
-
/**
|
|
7260
|
-
* <p>The operation failed because the specified policy isn't in the proper format. </p>
|
|
7261
|
-
* <p>The policy specifications must conform to the following:</p>
|
|
7262
|
-
* <ul>
|
|
7263
|
-
* <li>
|
|
7264
|
-
* <p>The policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
7265
|
-
* </li>
|
|
7266
|
-
* <li>
|
|
7267
|
-
* <p>The policy must include specifications for <code>Effect</code>, <code>Action</code>, and <code>Principal</code>.</p>
|
|
7268
|
-
* </li>
|
|
7269
|
-
* <li>
|
|
7270
|
-
* <p>
|
|
7271
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
7272
|
-
* </li>
|
|
7273
|
-
* <li>
|
|
7274
|
-
* <p>
|
|
7275
|
-
* <code>Action</code> must specify <code>wafv2:CreateWebACL</code>, <code>wafv2:UpdateWebACL</code>, and
|
|
7276
|
-
* <code>wafv2:PutFirewallManagerRuleGroups</code> and may optionally specify <code>wafv2:GetRuleGroup</code>.
|
|
7277
|
-
* WAF rejects any extra actions or wildcard actions in the policy.</p>
|
|
7278
|
-
* </li>
|
|
7279
|
-
* <li>
|
|
7280
|
-
* <p>The policy must not include a <code>Resource</code> parameter.</p>
|
|
7281
|
-
* </li>
|
|
7282
|
-
* </ul>
|
|
7283
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
7284
|
-
* @public
|
|
7285
|
-
*/
|
|
7286
|
-
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
7287
|
-
readonly name: "WAFInvalidPermissionPolicyException";
|
|
7288
|
-
readonly $fault: "client";
|
|
7289
|
-
Message?: string | undefined;
|
|
7290
|
-
/**
|
|
7291
|
-
* @internal
|
|
7292
|
-
*/
|
|
7293
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidPermissionPolicyException, __BaseException>);
|
|
7294
|
-
}
|
|
7295
6184
|
/**
|
|
7296
6185
|
* @public
|
|
7297
6186
|
*/
|