@aws-sdk/client-wafv2 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.
- package/dist-cjs/index.js +682 -681
- 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 -795
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetWebACLCommand.d.ts +1 -2
- 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 +23 -1146
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1 -2
- 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 +40 -757
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -1
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -23
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -6
|
@@ -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
|
*/
|
|
@@ -3361,246 +2843,6 @@ export interface DisallowedFeature {
|
|
|
3361
2843
|
*/
|
|
3362
2844
|
RequiredPricingPlan?: string | undefined;
|
|
3363
2845
|
}
|
|
3364
|
-
/**
|
|
3365
|
-
* <p>The operation failed because the specified WAF feature isn't supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
3366
|
-
* @public
|
|
3367
|
-
*/
|
|
3368
|
-
export declare class WAFFeatureNotIncludedInPricingPlanException extends __BaseException {
|
|
3369
|
-
readonly name: "WAFFeatureNotIncludedInPricingPlanException";
|
|
3370
|
-
readonly $fault: "client";
|
|
3371
|
-
Message?: string | undefined;
|
|
3372
|
-
/**
|
|
3373
|
-
* <p>The names of the disallowed WAF features.</p>
|
|
3374
|
-
* @public
|
|
3375
|
-
*/
|
|
3376
|
-
DisallowedFeatures?: DisallowedFeature[] | undefined;
|
|
3377
|
-
/**
|
|
3378
|
-
* @internal
|
|
3379
|
-
*/
|
|
3380
|
-
constructor(opts: __ExceptionOptionType<WAFFeatureNotIncludedInPricingPlanException, __BaseException>);
|
|
3381
|
-
}
|
|
3382
|
-
/**
|
|
3383
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
3384
|
-
* problem. Retry your request. </p>
|
|
3385
|
-
* @public
|
|
3386
|
-
*/
|
|
3387
|
-
export declare class WAFInternalErrorException extends __BaseException {
|
|
3388
|
-
readonly name: "WAFInternalErrorException";
|
|
3389
|
-
readonly $fault: "server";
|
|
3390
|
-
Message?: string | undefined;
|
|
3391
|
-
/**
|
|
3392
|
-
* @internal
|
|
3393
|
-
*/
|
|
3394
|
-
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
3395
|
-
}
|
|
3396
|
-
/**
|
|
3397
|
-
* <p>The operation isn't valid. </p>
|
|
3398
|
-
* @public
|
|
3399
|
-
*/
|
|
3400
|
-
export declare class WAFInvalidOperationException extends __BaseException {
|
|
3401
|
-
readonly name: "WAFInvalidOperationException";
|
|
3402
|
-
readonly $fault: "client";
|
|
3403
|
-
Message?: string | undefined;
|
|
3404
|
-
/**
|
|
3405
|
-
* @internal
|
|
3406
|
-
*/
|
|
3407
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
3408
|
-
}
|
|
3409
|
-
/**
|
|
3410
|
-
* @public
|
|
3411
|
-
* @enum
|
|
3412
|
-
*/
|
|
3413
|
-
export declare const ParameterExceptionField: {
|
|
3414
|
-
readonly ACP_RULE_SET_RESPONSE_INSPECTION: "ACP_RULE_SET_RESPONSE_INSPECTION";
|
|
3415
|
-
readonly AND_STATEMENT: "AND_STATEMENT";
|
|
3416
|
-
readonly ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE";
|
|
3417
|
-
readonly ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE";
|
|
3418
|
-
readonly ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION";
|
|
3419
|
-
readonly BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR";
|
|
3420
|
-
readonly BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT";
|
|
3421
|
-
readonly CHALLENGE_CONFIG: "CHALLENGE_CONFIG";
|
|
3422
|
-
readonly CHANGE_PROPAGATION_STATUS: "CHANGE_PROPAGATION_STATUS";
|
|
3423
|
-
readonly COOKIE_MATCH_PATTERN: "COOKIE_MATCH_PATTERN";
|
|
3424
|
-
readonly CUSTOM_KEYS: "CUSTOM_KEYS";
|
|
3425
|
-
readonly CUSTOM_REQUEST_HANDLING: "CUSTOM_REQUEST_HANDLING";
|
|
3426
|
-
readonly CUSTOM_RESPONSE: "CUSTOM_RESPONSE";
|
|
3427
|
-
readonly CUSTOM_RESPONSE_BODY: "CUSTOM_RESPONSE_BODY";
|
|
3428
|
-
readonly DATA_PROTECTION_CONFIG: "DATA_PROTECTION_CONFIG";
|
|
3429
|
-
readonly DEFAULT_ACTION: "DEFAULT_ACTION";
|
|
3430
|
-
readonly ENTITY_LIMIT: "ENTITY_LIMIT";
|
|
3431
|
-
readonly EXCLUDED_RULE: "EXCLUDED_RULE";
|
|
3432
|
-
readonly EXPIRE_TIMESTAMP: "EXPIRE_TIMESTAMP";
|
|
3433
|
-
readonly FALLBACK_BEHAVIOR: "FALLBACK_BEHAVIOR";
|
|
3434
|
-
readonly FIELD_TO_MATCH: "FIELD_TO_MATCH";
|
|
3435
|
-
readonly FILTER_CONDITION: "FILTER_CONDITION";
|
|
3436
|
-
readonly FIREWALL_MANAGER_STATEMENT: "FIREWALL_MANAGER_STATEMENT";
|
|
3437
|
-
readonly FORWARDED_IP_CONFIG: "FORWARDED_IP_CONFIG";
|
|
3438
|
-
readonly GEO_MATCH_STATEMENT: "GEO_MATCH_STATEMENT";
|
|
3439
|
-
readonly HEADER_MATCH_PATTERN: "HEADER_MATCH_PATTERN";
|
|
3440
|
-
readonly HEADER_NAME: "HEADER_NAME";
|
|
3441
|
-
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
3442
|
-
readonly IP_ADDRESS_VERSION: "IP_ADDRESS_VERSION";
|
|
3443
|
-
readonly IP_SET: "IP_SET";
|
|
3444
|
-
readonly IP_SET_FORWARDED_IP_CONFIG: "IP_SET_FORWARDED_IP_CONFIG";
|
|
3445
|
-
readonly IP_SET_REFERENCE_STATEMENT: "IP_SET_REFERENCE_STATEMENT";
|
|
3446
|
-
readonly JSON_MATCH_PATTERN: "JSON_MATCH_PATTERN";
|
|
3447
|
-
readonly JSON_MATCH_SCOPE: "JSON_MATCH_SCOPE";
|
|
3448
|
-
readonly LABEL_MATCH_STATEMENT: "LABEL_MATCH_STATEMENT";
|
|
3449
|
-
readonly LOGGING_FILTER: "LOGGING_FILTER";
|
|
3450
|
-
readonly LOG_DESTINATION: "LOG_DESTINATION";
|
|
3451
|
-
readonly LOW_REPUTATION_MODE: "LOW_REPUTATION_MODE";
|
|
3452
|
-
readonly MANAGED_RULE_GROUP_CONFIG: "MANAGED_RULE_GROUP_CONFIG";
|
|
3453
|
-
readonly MANAGED_RULE_SET: "MANAGED_RULE_SET";
|
|
3454
|
-
readonly MANAGED_RULE_SET_STATEMENT: "MANAGED_RULE_SET_STATEMENT";
|
|
3455
|
-
readonly MAP_MATCH_SCOPE: "MAP_MATCH_SCOPE";
|
|
3456
|
-
readonly METRIC_NAME: "METRIC_NAME";
|
|
3457
|
-
readonly NOT_STATEMENT: "NOT_STATEMENT";
|
|
3458
|
-
readonly OR_STATEMENT: "OR_STATEMENT";
|
|
3459
|
-
readonly OVERRIDE_ACTION: "OVERRIDE_ACTION";
|
|
3460
|
-
readonly OVERSIZE_HANDLING: "OVERSIZE_HANDLING";
|
|
3461
|
-
readonly PAYLOAD_TYPE: "PAYLOAD_TYPE";
|
|
3462
|
-
readonly POSITION: "POSITION";
|
|
3463
|
-
readonly RATE_BASED_STATEMENT: "RATE_BASED_STATEMENT";
|
|
3464
|
-
readonly REGEX_PATTERN_REFERENCE_STATEMENT: "REGEX_PATTERN_REFERENCE_STATEMENT";
|
|
3465
|
-
readonly REGEX_PATTERN_SET: "REGEX_PATTERN_SET";
|
|
3466
|
-
readonly RESOURCE_ARN: "RESOURCE_ARN";
|
|
3467
|
-
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
3468
|
-
readonly RESPONSE_CONTENT_TYPE: "RESPONSE_CONTENT_TYPE";
|
|
3469
|
-
readonly RULE: "RULE";
|
|
3470
|
-
readonly RULE_ACTION: "RULE_ACTION";
|
|
3471
|
-
readonly RULE_GROUP: "RULE_GROUP";
|
|
3472
|
-
readonly RULE_GROUP_REFERENCE_STATEMENT: "RULE_GROUP_REFERENCE_STATEMENT";
|
|
3473
|
-
readonly SCOPE_DOWN: "SCOPE_DOWN";
|
|
3474
|
-
readonly SCOPE_VALUE: "SCOPE_VALUE";
|
|
3475
|
-
readonly SINGLE_HEADER: "SINGLE_HEADER";
|
|
3476
|
-
readonly SINGLE_QUERY_ARGUMENT: "SINGLE_QUERY_ARGUMENT";
|
|
3477
|
-
readonly SIZE_CONSTRAINT_STATEMENT: "SIZE_CONSTRAINT_STATEMENT";
|
|
3478
|
-
readonly SQLI_MATCH_STATEMENT: "SQLI_MATCH_STATEMENT";
|
|
3479
|
-
readonly STATEMENT: "STATEMENT";
|
|
3480
|
-
readonly TAGS: "TAGS";
|
|
3481
|
-
readonly TAG_KEYS: "TAG_KEYS";
|
|
3482
|
-
readonly TEXT_TRANSFORMATION: "TEXT_TRANSFORMATION";
|
|
3483
|
-
readonly TOKEN_DOMAIN: "TOKEN_DOMAIN";
|
|
3484
|
-
readonly WEB_ACL: "WEB_ACL";
|
|
3485
|
-
readonly XSS_MATCH_STATEMENT: "XSS_MATCH_STATEMENT";
|
|
3486
|
-
};
|
|
3487
|
-
/**
|
|
3488
|
-
* @public
|
|
3489
|
-
*/
|
|
3490
|
-
export type ParameterExceptionField = (typeof ParameterExceptionField)[keyof typeof ParameterExceptionField];
|
|
3491
|
-
/**
|
|
3492
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
3493
|
-
* example: </p>
|
|
3494
|
-
* <ul>
|
|
3495
|
-
* <li>
|
|
3496
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
3497
|
-
* </li>
|
|
3498
|
-
* <li>
|
|
3499
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
3500
|
-
* can’t be nested. </p>
|
|
3501
|
-
* </li>
|
|
3502
|
-
* <li>
|
|
3503
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
3504
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
3505
|
-
* </li>
|
|
3506
|
-
* <li>
|
|
3507
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
3508
|
-
* with which a web ACL can't be associated.</p>
|
|
3509
|
-
* </li>
|
|
3510
|
-
* </ul>
|
|
3511
|
-
* @public
|
|
3512
|
-
*/
|
|
3513
|
-
export declare class WAFInvalidParameterException extends __BaseException {
|
|
3514
|
-
readonly name: "WAFInvalidParameterException";
|
|
3515
|
-
readonly $fault: "client";
|
|
3516
|
-
/**
|
|
3517
|
-
* <p>The settings where the invalid parameter was found. </p>
|
|
3518
|
-
* @public
|
|
3519
|
-
*/
|
|
3520
|
-
Field?: ParameterExceptionField | undefined;
|
|
3521
|
-
/**
|
|
3522
|
-
* <p>The invalid parameter that resulted in the exception. </p>
|
|
3523
|
-
* @public
|
|
3524
|
-
*/
|
|
3525
|
-
Parameter?: string | undefined;
|
|
3526
|
-
/**
|
|
3527
|
-
* <p>Additional information about the exception.</p>
|
|
3528
|
-
* @public
|
|
3529
|
-
*/
|
|
3530
|
-
Reason?: string | undefined;
|
|
3531
|
-
/**
|
|
3532
|
-
* @internal
|
|
3533
|
-
*/
|
|
3534
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
3535
|
-
}
|
|
3536
|
-
/**
|
|
3537
|
-
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
3538
|
-
* example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
|
|
3539
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
3540
|
-
* <i>WAF Developer Guide</i>.</p>
|
|
3541
|
-
* @public
|
|
3542
|
-
*/
|
|
3543
|
-
export declare class WAFLimitsExceededException extends __BaseException {
|
|
3544
|
-
readonly name: "WAFLimitsExceededException";
|
|
3545
|
-
readonly $fault: "client";
|
|
3546
|
-
Message?: string | undefined;
|
|
3547
|
-
/**
|
|
3548
|
-
* <p>Source type for the exception. </p>
|
|
3549
|
-
* @public
|
|
3550
|
-
*/
|
|
3551
|
-
SourceType?: string | undefined;
|
|
3552
|
-
/**
|
|
3553
|
-
* @internal
|
|
3554
|
-
*/
|
|
3555
|
-
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
3556
|
-
}
|
|
3557
|
-
/**
|
|
3558
|
-
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
3559
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
3560
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
3561
|
-
* for changes to propagate. </p>
|
|
3562
|
-
* @public
|
|
3563
|
-
*/
|
|
3564
|
-
export declare class WAFNonexistentItemException extends __BaseException {
|
|
3565
|
-
readonly name: "WAFNonexistentItemException";
|
|
3566
|
-
readonly $fault: "client";
|
|
3567
|
-
Message?: string | undefined;
|
|
3568
|
-
/**
|
|
3569
|
-
* @internal
|
|
3570
|
-
*/
|
|
3571
|
-
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
3572
|
-
}
|
|
3573
|
-
/**
|
|
3574
|
-
* <p>WAF couldn’t retrieve a resource that you specified for this operation.
|
|
3575
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
3576
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
3577
|
-
* for changes to propagate. Verify the resource specifications in your request
|
|
3578
|
-
* parameters and then retry the operation.</p>
|
|
3579
|
-
* @public
|
|
3580
|
-
*/
|
|
3581
|
-
export declare class WAFUnavailableEntityException extends __BaseException {
|
|
3582
|
-
readonly name: "WAFUnavailableEntityException";
|
|
3583
|
-
readonly $fault: "client";
|
|
3584
|
-
Message?: string | undefined;
|
|
3585
|
-
/**
|
|
3586
|
-
* @internal
|
|
3587
|
-
*/
|
|
3588
|
-
constructor(opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>);
|
|
3589
|
-
}
|
|
3590
|
-
/**
|
|
3591
|
-
* @public
|
|
3592
|
-
* @enum
|
|
3593
|
-
*/
|
|
3594
|
-
export declare const SizeInspectionLimit: {
|
|
3595
|
-
readonly KB_16: "KB_16";
|
|
3596
|
-
readonly KB_32: "KB_32";
|
|
3597
|
-
readonly KB_48: "KB_48";
|
|
3598
|
-
readonly KB_64: "KB_64";
|
|
3599
|
-
};
|
|
3600
|
-
/**
|
|
3601
|
-
* @public
|
|
3602
|
-
*/
|
|
3603
|
-
export type SizeInspectionLimit = (typeof SizeInspectionLimit)[keyof typeof SizeInspectionLimit];
|
|
3604
2846
|
/**
|
|
3605
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>
|
|
3606
2848
|
* <note>
|
|
@@ -3776,18 +3018,6 @@ export interface VisibilityConfig {
|
|
|
3776
3018
|
*/
|
|
3777
3019
|
MetricName: string | undefined;
|
|
3778
3020
|
}
|
|
3779
|
-
/**
|
|
3780
|
-
* @public
|
|
3781
|
-
* @enum
|
|
3782
|
-
*/
|
|
3783
|
-
export declare const Scope: {
|
|
3784
|
-
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
3785
|
-
readonly REGIONAL: "REGIONAL";
|
|
3786
|
-
};
|
|
3787
|
-
/**
|
|
3788
|
-
* @public
|
|
3789
|
-
*/
|
|
3790
|
-
export type Scope = (typeof Scope)[keyof typeof Scope];
|
|
3791
3021
|
/**
|
|
3792
3022
|
* @public
|
|
3793
3023
|
*/
|
|
@@ -3798,49 +3028,6 @@ export interface CheckCapacityResponse {
|
|
|
3798
3028
|
*/
|
|
3799
3029
|
Capacity?: number | undefined;
|
|
3800
3030
|
}
|
|
3801
|
-
/**
|
|
3802
|
-
* <p>The operation failed because the specified version for the managed rule group has
|
|
3803
|
-
* expired. You can retrieve the available versions for the managed rule group by calling
|
|
3804
|
-
* <a>ListAvailableManagedRuleGroupVersions</a>.</p>
|
|
3805
|
-
* @public
|
|
3806
|
-
*/
|
|
3807
|
-
export declare class WAFExpiredManagedRuleGroupVersionException extends __BaseException {
|
|
3808
|
-
readonly name: "WAFExpiredManagedRuleGroupVersionException";
|
|
3809
|
-
readonly $fault: "client";
|
|
3810
|
-
Message?: string | undefined;
|
|
3811
|
-
/**
|
|
3812
|
-
* @internal
|
|
3813
|
-
*/
|
|
3814
|
-
constructor(opts: __ExceptionOptionType<WAFExpiredManagedRuleGroupVersionException, __BaseException>);
|
|
3815
|
-
}
|
|
3816
|
-
/**
|
|
3817
|
-
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
3818
|
-
* valid. Check the resource, and try again.</p>
|
|
3819
|
-
* @public
|
|
3820
|
-
*/
|
|
3821
|
-
export declare class WAFInvalidResourceException extends __BaseException {
|
|
3822
|
-
readonly name: "WAFInvalidResourceException";
|
|
3823
|
-
readonly $fault: "client";
|
|
3824
|
-
Message?: string | undefined;
|
|
3825
|
-
/**
|
|
3826
|
-
* @internal
|
|
3827
|
-
*/
|
|
3828
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidResourceException, __BaseException>);
|
|
3829
|
-
}
|
|
3830
|
-
/**
|
|
3831
|
-
* <p>You tried to use a managed rule group that's available by subscription, but you aren't
|
|
3832
|
-
* subscribed to it yet. </p>
|
|
3833
|
-
* @public
|
|
3834
|
-
*/
|
|
3835
|
-
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
3836
|
-
readonly name: "WAFSubscriptionNotFoundException";
|
|
3837
|
-
readonly $fault: "client";
|
|
3838
|
-
Message?: string | undefined;
|
|
3839
|
-
/**
|
|
3840
|
-
* @internal
|
|
3841
|
-
*/
|
|
3842
|
-
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
3843
|
-
}
|
|
3844
3031
|
/**
|
|
3845
3032
|
* @public
|
|
3846
3033
|
*/
|
|
@@ -3878,18 +3065,6 @@ export interface CreateAPIKeyResponse {
|
|
|
3878
3065
|
*/
|
|
3879
3066
|
APIKey?: string | undefined;
|
|
3880
3067
|
}
|
|
3881
|
-
/**
|
|
3882
|
-
* @public
|
|
3883
|
-
* @enum
|
|
3884
|
-
*/
|
|
3885
|
-
export declare const IPAddressVersion: {
|
|
3886
|
-
readonly IPV4: "IPV4";
|
|
3887
|
-
readonly IPV6: "IPV6";
|
|
3888
|
-
};
|
|
3889
|
-
/**
|
|
3890
|
-
* @public
|
|
3891
|
-
*/
|
|
3892
|
-
export type IPAddressVersion = (typeof IPAddressVersion)[keyof typeof IPAddressVersion];
|
|
3893
3068
|
/**
|
|
3894
3069
|
* <p>A tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to
|
|
3895
3070
|
* categorize and manage your resources, for purposes like billing or other management.
|
|
@@ -4038,62 +3213,6 @@ export interface CreateIPSetResponse {
|
|
|
4038
3213
|
*/
|
|
4039
3214
|
Summary?: IPSetSummary | undefined;
|
|
4040
3215
|
}
|
|
4041
|
-
/**
|
|
4042
|
-
* <p>WAF couldn’t perform the operation because the resource that you tried to save is
|
|
4043
|
-
* a duplicate of an existing one.</p>
|
|
4044
|
-
* @public
|
|
4045
|
-
*/
|
|
4046
|
-
export declare class WAFDuplicateItemException extends __BaseException {
|
|
4047
|
-
readonly name: "WAFDuplicateItemException";
|
|
4048
|
-
readonly $fault: "client";
|
|
4049
|
-
Message?: string | undefined;
|
|
4050
|
-
/**
|
|
4051
|
-
* @internal
|
|
4052
|
-
*/
|
|
4053
|
-
constructor(opts: __ExceptionOptionType<WAFDuplicateItemException, __BaseException>);
|
|
4054
|
-
}
|
|
4055
|
-
/**
|
|
4056
|
-
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
4057
|
-
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
4058
|
-
* need to make to the new copy, and retry your operation. </p>
|
|
4059
|
-
* @public
|
|
4060
|
-
*/
|
|
4061
|
-
export declare class WAFOptimisticLockException extends __BaseException {
|
|
4062
|
-
readonly name: "WAFOptimisticLockException";
|
|
4063
|
-
readonly $fault: "client";
|
|
4064
|
-
Message?: string | undefined;
|
|
4065
|
-
/**
|
|
4066
|
-
* @internal
|
|
4067
|
-
*/
|
|
4068
|
-
constructor(opts: __ExceptionOptionType<WAFOptimisticLockException, __BaseException>);
|
|
4069
|
-
}
|
|
4070
|
-
/**
|
|
4071
|
-
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
4072
|
-
* @public
|
|
4073
|
-
*/
|
|
4074
|
-
export declare class WAFTagOperationException extends __BaseException {
|
|
4075
|
-
readonly name: "WAFTagOperationException";
|
|
4076
|
-
readonly $fault: "client";
|
|
4077
|
-
Message?: string | undefined;
|
|
4078
|
-
/**
|
|
4079
|
-
* @internal
|
|
4080
|
-
*/
|
|
4081
|
-
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
4082
|
-
}
|
|
4083
|
-
/**
|
|
4084
|
-
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
4085
|
-
* your request.</p>
|
|
4086
|
-
* @public
|
|
4087
|
-
*/
|
|
4088
|
-
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
4089
|
-
readonly name: "WAFTagOperationInternalErrorException";
|
|
4090
|
-
readonly $fault: "server";
|
|
4091
|
-
Message?: string | undefined;
|
|
4092
|
-
/**
|
|
4093
|
-
* @internal
|
|
4094
|
-
*/
|
|
4095
|
-
constructor(opts: __ExceptionOptionType<WAFTagOperationInternalErrorException, __BaseException>);
|
|
4096
|
-
}
|
|
4097
3216
|
/**
|
|
4098
3217
|
* @public
|
|
4099
3218
|
*/
|
|
@@ -4174,19 +3293,6 @@ export interface CreateRegexPatternSetResponse {
|
|
|
4174
3293
|
*/
|
|
4175
3294
|
Summary?: RegexPatternSetSummary | undefined;
|
|
4176
3295
|
}
|
|
4177
|
-
/**
|
|
4178
|
-
* @public
|
|
4179
|
-
* @enum
|
|
4180
|
-
*/
|
|
4181
|
-
export declare const ResponseContentType: {
|
|
4182
|
-
readonly APPLICATION_JSON: "APPLICATION_JSON";
|
|
4183
|
-
readonly TEXT_HTML: "TEXT_HTML";
|
|
4184
|
-
readonly TEXT_PLAIN: "TEXT_PLAIN";
|
|
4185
|
-
};
|
|
4186
|
-
/**
|
|
4187
|
-
* @public
|
|
4188
|
-
*/
|
|
4189
|
-
export type ResponseContentType = (typeof ResponseContentType)[keyof typeof ResponseContentType];
|
|
4190
3296
|
/**
|
|
4191
3297
|
* <p>The response body to use in a custom response to a web request. This is referenced by
|
|
4192
3298
|
* key from <a>CustomResponse</a>
|
|
@@ -4251,33 +3357,6 @@ export interface CreateRuleGroupResponse {
|
|
|
4251
3357
|
*/
|
|
4252
3358
|
Summary?: RuleGroupSummary | undefined;
|
|
4253
3359
|
}
|
|
4254
|
-
/**
|
|
4255
|
-
* @public
|
|
4256
|
-
* @enum
|
|
4257
|
-
*/
|
|
4258
|
-
export declare const DataProtectionAction: {
|
|
4259
|
-
readonly HASH: "HASH";
|
|
4260
|
-
readonly SUBSTITUTION: "SUBSTITUTION";
|
|
4261
|
-
};
|
|
4262
|
-
/**
|
|
4263
|
-
* @public
|
|
4264
|
-
*/
|
|
4265
|
-
export type DataProtectionAction = (typeof DataProtectionAction)[keyof typeof DataProtectionAction];
|
|
4266
|
-
/**
|
|
4267
|
-
* @public
|
|
4268
|
-
* @enum
|
|
4269
|
-
*/
|
|
4270
|
-
export declare const FieldToProtectType: {
|
|
4271
|
-
readonly BODY: "BODY";
|
|
4272
|
-
readonly QUERY_STRING: "QUERY_STRING";
|
|
4273
|
-
readonly SINGLE_COOKIE: "SINGLE_COOKIE";
|
|
4274
|
-
readonly SINGLE_HEADER: "SINGLE_HEADER";
|
|
4275
|
-
readonly SINGLE_QUERY_ARGUMENT: "SINGLE_QUERY_ARGUMENT";
|
|
4276
|
-
};
|
|
4277
|
-
/**
|
|
4278
|
-
* @public
|
|
4279
|
-
*/
|
|
4280
|
-
export type FieldToProtectType = (typeof FieldToProtectType)[keyof typeof FieldToProtectType];
|
|
4281
3360
|
/**
|
|
4282
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>
|
|
4283
3362
|
* @public
|
|
@@ -4373,18 +3452,6 @@ export interface DefaultAction {
|
|
|
4373
3452
|
*/
|
|
4374
3453
|
Allow?: AllowAction | undefined;
|
|
4375
3454
|
}
|
|
4376
|
-
/**
|
|
4377
|
-
* @public
|
|
4378
|
-
* @enum
|
|
4379
|
-
*/
|
|
4380
|
-
export declare const LowReputationMode: {
|
|
4381
|
-
readonly ACTIVE_UNDER_DDOS: "ACTIVE_UNDER_DDOS";
|
|
4382
|
-
readonly ALWAYS_ON: "ALWAYS_ON";
|
|
4383
|
-
};
|
|
4384
|
-
/**
|
|
4385
|
-
* @public
|
|
4386
|
-
*/
|
|
4387
|
-
export type LowReputationMode = (typeof LowReputationMode)[keyof typeof LowReputationMode];
|
|
4388
3455
|
/**
|
|
4389
3456
|
* <p>Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.</p>
|
|
4390
3457
|
* @public
|
|
@@ -4439,29 +3506,6 @@ export interface CreateWebACLResponse {
|
|
|
4439
3506
|
*/
|
|
4440
3507
|
Summary?: WebACLSummary | undefined;
|
|
4441
3508
|
}
|
|
4442
|
-
/**
|
|
4443
|
-
* <p>The operation failed because you are inspecting the web request body, headers, or
|
|
4444
|
-
* cookies without specifying how to handle oversize components. Rules that inspect the body
|
|
4445
|
-
* must either provide an <code>OversizeHandling</code> configuration or they must be preceded
|
|
4446
|
-
* by a <code>SizeConstraintStatement</code> that blocks the body content from being too
|
|
4447
|
-
* large. Rules that inspect the headers or cookies must provide an
|
|
4448
|
-
* <code>OversizeHandling</code> configuration. </p>
|
|
4449
|
-
* <p>Provide the handling configuration and retry your operation.</p>
|
|
4450
|
-
* <p>Alternately, you can suppress this warning by adding the following tag to the resource
|
|
4451
|
-
* that you provide to this operation: <code>Tag</code>
|
|
4452
|
-
* (key:<code>WAF:OversizeFieldsHandlingConstraintOptOut</code>,
|
|
4453
|
-
* value:<code>true</code>).</p>
|
|
4454
|
-
* @public
|
|
4455
|
-
*/
|
|
4456
|
-
export declare class WAFConfigurationWarningException extends __BaseException {
|
|
4457
|
-
readonly name: "WAFConfigurationWarningException";
|
|
4458
|
-
readonly $fault: "client";
|
|
4459
|
-
Message?: string | undefined;
|
|
4460
|
-
/**
|
|
4461
|
-
* @internal
|
|
4462
|
-
*/
|
|
4463
|
-
constructor(opts: __ExceptionOptionType<WAFConfigurationWarningException, __BaseException>);
|
|
4464
|
-
}
|
|
4465
3509
|
/**
|
|
4466
3510
|
* @public
|
|
4467
3511
|
*/
|
|
@@ -4555,44 +3599,6 @@ export interface DeleteIPSetRequest {
|
|
|
4555
3599
|
*/
|
|
4556
3600
|
export interface DeleteIPSetResponse {
|
|
4557
3601
|
}
|
|
4558
|
-
/**
|
|
4559
|
-
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
4560
|
-
* resource or it’s associated with another resource. </p>
|
|
4561
|
-
* @public
|
|
4562
|
-
*/
|
|
4563
|
-
export declare class WAFAssociatedItemException extends __BaseException {
|
|
4564
|
-
readonly name: "WAFAssociatedItemException";
|
|
4565
|
-
readonly $fault: "client";
|
|
4566
|
-
Message?: string | undefined;
|
|
4567
|
-
/**
|
|
4568
|
-
* @internal
|
|
4569
|
-
*/
|
|
4570
|
-
constructor(opts: __ExceptionOptionType<WAFAssociatedItemException, __BaseException>);
|
|
4571
|
-
}
|
|
4572
|
-
/**
|
|
4573
|
-
* @public
|
|
4574
|
-
* @enum
|
|
4575
|
-
*/
|
|
4576
|
-
export declare const LogScope: {
|
|
4577
|
-
readonly CLOUDWATCH_TELEMETRY_RULE_MANAGED: "CLOUDWATCH_TELEMETRY_RULE_MANAGED";
|
|
4578
|
-
readonly CUSTOMER: "CUSTOMER";
|
|
4579
|
-
readonly SECURITY_LAKE: "SECURITY_LAKE";
|
|
4580
|
-
};
|
|
4581
|
-
/**
|
|
4582
|
-
* @public
|
|
4583
|
-
*/
|
|
4584
|
-
export type LogScope = (typeof LogScope)[keyof typeof LogScope];
|
|
4585
|
-
/**
|
|
4586
|
-
* @public
|
|
4587
|
-
* @enum
|
|
4588
|
-
*/
|
|
4589
|
-
export declare const LogType: {
|
|
4590
|
-
readonly WAF_LOGS: "WAF_LOGS";
|
|
4591
|
-
};
|
|
4592
|
-
/**
|
|
4593
|
-
* @public
|
|
4594
|
-
*/
|
|
4595
|
-
export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
4596
3602
|
/**
|
|
4597
3603
|
* @public
|
|
4598
3604
|
*/
|
|
@@ -5073,18 +4079,6 @@ export interface DisassociateWebACLRequest {
|
|
|
5073
4079
|
*/
|
|
5074
4080
|
export interface DisassociateWebACLResponse {
|
|
5075
4081
|
}
|
|
5076
|
-
/**
|
|
5077
|
-
* @public
|
|
5078
|
-
* @enum
|
|
5079
|
-
*/
|
|
5080
|
-
export declare const Platform: {
|
|
5081
|
-
readonly ANDROID: "ANDROID";
|
|
5082
|
-
readonly IOS: "IOS";
|
|
5083
|
-
};
|
|
5084
|
-
/**
|
|
5085
|
-
* @public
|
|
5086
|
-
*/
|
|
5087
|
-
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
5088
4082
|
/**
|
|
5089
4083
|
* @public
|
|
5090
4084
|
*/
|
|
@@ -5300,18 +4294,6 @@ export interface GetLoggingConfigurationRequest {
|
|
|
5300
4294
|
*/
|
|
5301
4295
|
LogScope?: LogScope | undefined;
|
|
5302
4296
|
}
|
|
5303
|
-
/**
|
|
5304
|
-
* @public
|
|
5305
|
-
* @enum
|
|
5306
|
-
*/
|
|
5307
|
-
export declare const FilterBehavior: {
|
|
5308
|
-
readonly DROP: "DROP";
|
|
5309
|
-
readonly KEEP: "KEEP";
|
|
5310
|
-
};
|
|
5311
|
-
/**
|
|
5312
|
-
* @public
|
|
5313
|
-
*/
|
|
5314
|
-
export type FilterBehavior = (typeof FilterBehavior)[keyof typeof FilterBehavior];
|
|
5315
4297
|
/**
|
|
5316
4298
|
* <p>A single label name condition for a <a>Condition</a> in a logging
|
|
5317
4299
|
* filter.</p>
|
|
@@ -5342,18 +4324,6 @@ export interface Condition {
|
|
|
5342
4324
|
*/
|
|
5343
4325
|
LabelNameCondition?: LabelNameCondition | undefined;
|
|
5344
4326
|
}
|
|
5345
|
-
/**
|
|
5346
|
-
* @public
|
|
5347
|
-
* @enum
|
|
5348
|
-
*/
|
|
5349
|
-
export declare const FilterRequirement: {
|
|
5350
|
-
readonly MEETS_ALL: "MEETS_ALL";
|
|
5351
|
-
readonly MEETS_ANY: "MEETS_ANY";
|
|
5352
|
-
};
|
|
5353
|
-
/**
|
|
5354
|
-
* @public
|
|
5355
|
-
*/
|
|
5356
|
-
export type FilterRequirement = (typeof FilterRequirement)[keyof typeof FilterRequirement];
|
|
5357
4327
|
/**
|
|
5358
4328
|
* <p>A single logging filter, used in <a>LoggingFilter</a>. </p>
|
|
5359
4329
|
* @public
|
|
@@ -5824,20 +4794,6 @@ export interface GetRateBasedStatementManagedKeysResponse {
|
|
|
5824
4794
|
*/
|
|
5825
4795
|
ManagedKeysIPV6?: RateBasedStatementManagedKeysIPSet | undefined;
|
|
5826
4796
|
}
|
|
5827
|
-
/**
|
|
5828
|
-
* <p>The rule that you've named doesn't aggregate solely on the IP address or solely on the forwarded IP address. This call
|
|
5829
|
-
* is only available for rate-based rules with an <code>AggregateKeyType</code> setting of <code>IP</code> or <code>FORWARDED_IP</code>.</p>
|
|
5830
|
-
* @public
|
|
5831
|
-
*/
|
|
5832
|
-
export declare class WAFUnsupportedAggregateKeyTypeException extends __BaseException {
|
|
5833
|
-
readonly name: "WAFUnsupportedAggregateKeyTypeException";
|
|
5834
|
-
readonly $fault: "client";
|
|
5835
|
-
Message?: string | undefined;
|
|
5836
|
-
/**
|
|
5837
|
-
* @internal
|
|
5838
|
-
*/
|
|
5839
|
-
constructor(opts: __ExceptionOptionType<WAFUnsupportedAggregateKeyTypeException, __BaseException>);
|
|
5840
|
-
}
|
|
5841
4797
|
/**
|
|
5842
4798
|
* @public
|
|
5843
4799
|
*/
|
|
@@ -6035,20 +4991,6 @@ export interface GetSampledRequestsRequest {
|
|
|
6035
4991
|
*/
|
|
6036
4992
|
MaxItems: number | undefined;
|
|
6037
4993
|
}
|
|
6038
|
-
/**
|
|
6039
|
-
* @public
|
|
6040
|
-
* @enum
|
|
6041
|
-
*/
|
|
6042
|
-
export declare const FailureReason: {
|
|
6043
|
-
readonly TOKEN_DOMAIN_MISMATCH: "TOKEN_DOMAIN_MISMATCH";
|
|
6044
|
-
readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
|
|
6045
|
-
readonly TOKEN_INVALID: "TOKEN_INVALID";
|
|
6046
|
-
readonly TOKEN_MISSING: "TOKEN_MISSING";
|
|
6047
|
-
};
|
|
6048
|
-
/**
|
|
6049
|
-
* @public
|
|
6050
|
-
*/
|
|
6051
|
-
export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
|
|
6052
4994
|
/**
|
|
6053
4995
|
* <p>The result from the inspection of the web request for a valid <code>CAPTCHA</code> token. </p>
|
|
6054
4996
|
* @public
|
|
@@ -6896,23 +5838,6 @@ export interface ListRegexPatternSetsResponse {
|
|
|
6896
5838
|
*/
|
|
6897
5839
|
RegexPatternSets?: RegexPatternSetSummary[] | undefined;
|
|
6898
5840
|
}
|
|
6899
|
-
/**
|
|
6900
|
-
* @public
|
|
6901
|
-
* @enum
|
|
6902
|
-
*/
|
|
6903
|
-
export declare const ResourceType: {
|
|
6904
|
-
readonly AMPLIFY: "AMPLIFY";
|
|
6905
|
-
readonly API_GATEWAY: "API_GATEWAY";
|
|
6906
|
-
readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
|
|
6907
|
-
readonly APPSYNC: "APPSYNC";
|
|
6908
|
-
readonly APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE";
|
|
6909
|
-
readonly COGNITIO_USER_POOL: "COGNITO_USER_POOL";
|
|
6910
|
-
readonly VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE";
|
|
6911
|
-
};
|
|
6912
|
-
/**
|
|
6913
|
-
* @public
|
|
6914
|
-
*/
|
|
6915
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
6916
5841
|
/**
|
|
6917
5842
|
* @public
|
|
6918
5843
|
*/
|
|
@@ -7132,40 +6057,6 @@ export interface PutLoggingConfigurationResponse {
|
|
|
7132
6057
|
*/
|
|
7133
6058
|
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
7134
6059
|
}
|
|
7135
|
-
/**
|
|
7136
|
-
* <p>The operation failed because you don't have the permissions that your logging
|
|
7137
|
-
* configuration requires. For information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
7138
|
-
* in the <i>WAF Developer Guide</i>.</p>
|
|
7139
|
-
* @public
|
|
7140
|
-
*/
|
|
7141
|
-
export declare class WAFLogDestinationPermissionIssueException extends __BaseException {
|
|
7142
|
-
readonly name: "WAFLogDestinationPermissionIssueException";
|
|
7143
|
-
readonly $fault: "client";
|
|
7144
|
-
Message?: string | undefined;
|
|
7145
|
-
/**
|
|
7146
|
-
* @internal
|
|
7147
|
-
*/
|
|
7148
|
-
constructor(opts: __ExceptionOptionType<WAFLogDestinationPermissionIssueException, __BaseException>);
|
|
7149
|
-
}
|
|
7150
|
-
/**
|
|
7151
|
-
* <p>WAF is not able to access the service linked role. This can be caused by a
|
|
7152
|
-
* previous <code>PutLoggingConfiguration</code> request, which can lock the service linked
|
|
7153
|
-
* role for about 20 seconds. Please try your request again. The service linked role can also
|
|
7154
|
-
* be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the
|
|
7155
|
-
* role for 15 minutes or more. If you recently made a call to
|
|
7156
|
-
* <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request
|
|
7157
|
-
* again. If you receive this same exception again, you will have to wait additional time
|
|
7158
|
-
* until the role is unlocked.</p>
|
|
7159
|
-
* @public
|
|
7160
|
-
*/
|
|
7161
|
-
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
7162
|
-
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
7163
|
-
readonly $fault: "client";
|
|
7164
|
-
/**
|
|
7165
|
-
* @internal
|
|
7166
|
-
*/
|
|
7167
|
-
constructor(opts: __ExceptionOptionType<WAFServiceLinkedRoleErrorException, __BaseException>);
|
|
7168
|
-
}
|
|
7169
6060
|
/**
|
|
7170
6061
|
* <p>A version of the named managed rule group, that the rule group's vendor publishes for
|
|
7171
6062
|
* use by customers. </p>
|
|
@@ -7290,42 +6181,6 @@ export interface PutPermissionPolicyRequest {
|
|
|
7290
6181
|
*/
|
|
7291
6182
|
export interface PutPermissionPolicyResponse {
|
|
7292
6183
|
}
|
|
7293
|
-
/**
|
|
7294
|
-
* <p>The operation failed because the specified policy isn't in the proper format. </p>
|
|
7295
|
-
* <p>The policy specifications must conform to the following:</p>
|
|
7296
|
-
* <ul>
|
|
7297
|
-
* <li>
|
|
7298
|
-
* <p>The policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
7299
|
-
* </li>
|
|
7300
|
-
* <li>
|
|
7301
|
-
* <p>The policy must include specifications for <code>Effect</code>, <code>Action</code>, and <code>Principal</code>.</p>
|
|
7302
|
-
* </li>
|
|
7303
|
-
* <li>
|
|
7304
|
-
* <p>
|
|
7305
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
7306
|
-
* </li>
|
|
7307
|
-
* <li>
|
|
7308
|
-
* <p>
|
|
7309
|
-
* <code>Action</code> must specify <code>wafv2:CreateWebACL</code>, <code>wafv2:UpdateWebACL</code>, and
|
|
7310
|
-
* <code>wafv2:PutFirewallManagerRuleGroups</code> and may optionally specify <code>wafv2:GetRuleGroup</code>.
|
|
7311
|
-
* WAF rejects any extra actions or wildcard actions in the policy.</p>
|
|
7312
|
-
* </li>
|
|
7313
|
-
* <li>
|
|
7314
|
-
* <p>The policy must not include a <code>Resource</code> parameter.</p>
|
|
7315
|
-
* </li>
|
|
7316
|
-
* </ul>
|
|
7317
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
7318
|
-
* @public
|
|
7319
|
-
*/
|
|
7320
|
-
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
7321
|
-
readonly name: "WAFInvalidPermissionPolicyException";
|
|
7322
|
-
readonly $fault: "client";
|
|
7323
|
-
Message?: string | undefined;
|
|
7324
|
-
/**
|
|
7325
|
-
* @internal
|
|
7326
|
-
*/
|
|
7327
|
-
constructor(opts: __ExceptionOptionType<WAFInvalidPermissionPolicyException, __BaseException>);
|
|
7328
|
-
}
|
|
7329
6184
|
/**
|
|
7330
6185
|
* @public
|
|
7331
6186
|
*/
|
|
@@ -8897,3 +7752,25 @@ export interface GetWebACLForResourceResponse {
|
|
|
8897
7752
|
*/
|
|
8898
7753
|
WebACL?: WebACL | undefined;
|
|
8899
7754
|
}
|
|
7755
|
+
/**
|
|
7756
|
+
* @public
|
|
7757
|
+
*/
|
|
7758
|
+
export interface GetWebACLResponse {
|
|
7759
|
+
/**
|
|
7760
|
+
* <p>The web ACL specification. You can modify the settings in this web ACL and use it to
|
|
7761
|
+
* update this web ACL or create a new one.</p>
|
|
7762
|
+
* @public
|
|
7763
|
+
*/
|
|
7764
|
+
WebACL?: WebACL | undefined;
|
|
7765
|
+
/**
|
|
7766
|
+
* <p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>
|
|
7767
|
+
* @public
|
|
7768
|
+
*/
|
|
7769
|
+
LockToken?: string | undefined;
|
|
7770
|
+
/**
|
|
7771
|
+
* <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code> and the account creation fraud prevention managed rule group <code>AWSManagedRulesACFPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a>
|
|
7772
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
7773
|
+
* @public
|
|
7774
|
+
*/
|
|
7775
|
+
ApplicationIntegrationURL?: string | undefined;
|
|
7776
|
+
}
|