@aws-sdk/client-wafv2 3.422.0 → 3.423.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist-types/ts3.4/WAFV2.d.ts +918 -438
  2. package/dist-types/ts3.4/WAFV2Client.d.ts +436 -277
  3. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +38 -118
  4. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +38 -1093
  5. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +35 -115
  6. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +35 -144
  7. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +42 -143
  8. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +38 -1116
  9. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +35 -1145
  10. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +42 -115
  11. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +35 -124
  12. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +42 -110
  13. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +42 -103
  14. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +42 -124
  15. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +38 -124
  16. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +35 -158
  17. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +42 -92
  18. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +42 -114
  19. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +42 -191
  20. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +39 -109
  21. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +42 -110
  22. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +39 -112
  23. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +35 -119
  24. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +42 -192
  25. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +39 -131
  26. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +39 -121
  27. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +39 -105
  28. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +42 -142
  29. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +39 -120
  30. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +35 -1088
  31. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +39 -168
  32. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +35 -1283
  33. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +42 -1286
  34. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +35 -121
  35. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +42 -118
  36. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +42 -113
  37. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +35 -113
  38. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +42 -191
  39. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +39 -117
  40. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +42 -112
  41. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +42 -113
  42. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +42 -112
  43. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +38 -113
  44. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -132
  45. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +35 -113
  46. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +42 -345
  47. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +42 -133
  48. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +39 -145
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -131
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -118
  51. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +35 -146
  52. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +42 -125
  53. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +42 -148
  54. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +38 -1128
  55. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +35 -1146
  56. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  57. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  58. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  59. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  60. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  61. package/dist-types/ts3.4/index.d.ts +6 -68
  62. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +8 -13
  63. package/dist-types/ts3.4/models/index.d.ts +1 -1
  64. package/dist-types/ts3.4/models/models_0.d.ts +1764 -7951
  65. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +641 -479
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
  69. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  70. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  71. package/package.json +3 -3
@@ -1,1286 +1,42 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { GetWebACLForResourceRequest, GetWebACLForResourceResponse } from "../models/models_0";
5
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link GetWebACLForResourceCommand}.
14
- */
15
- export interface GetWebACLForResourceCommandInput extends GetWebACLForResourceRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetWebACLForResourceCommand}.
21
- */
22
- export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>Retrieves the <a>WebACL</a> for the specified resource. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { WAFV2Client, GetWebACLForResourceCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
31
- * // const { WAFV2Client, GetWebACLForResourceCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
32
- * const client = new WAFV2Client(config);
33
- * const input = { // GetWebACLForResourceRequest
34
- * ResourceArn: "STRING_VALUE", // required
35
- * };
36
- * const command = new GetWebACLForResourceCommand(input);
37
- * const response = await client.send(command);
38
- * // { // GetWebACLForResourceResponse
39
- * // WebACL: { // WebACL
40
- * // Name: "STRING_VALUE", // required
41
- * // Id: "STRING_VALUE", // required
42
- * // ARN: "STRING_VALUE", // required
43
- * // DefaultAction: { // DefaultAction
44
- * // Block: { // BlockAction
45
- * // CustomResponse: { // CustomResponse
46
- * // ResponseCode: Number("int"), // required
47
- * // CustomResponseBodyKey: "STRING_VALUE",
48
- * // ResponseHeaders: [ // CustomHTTPHeaders
49
- * // { // CustomHTTPHeader
50
- * // Name: "STRING_VALUE", // required
51
- * // Value: "STRING_VALUE", // required
52
- * // },
53
- * // ],
54
- * // },
55
- * // },
56
- * // Allow: { // AllowAction
57
- * // CustomRequestHandling: { // CustomRequestHandling
58
- * // InsertHeaders: [ // required
59
- * // {
60
- * // Name: "STRING_VALUE", // required
61
- * // Value: "STRING_VALUE", // required
62
- * // },
63
- * // ],
64
- * // },
65
- * // },
66
- * // },
67
- * // Description: "STRING_VALUE",
68
- * // Rules: [ // Rules
69
- * // { // Rule
70
- * // Name: "STRING_VALUE", // required
71
- * // Priority: Number("int"), // required
72
- * // Statement: { // Statement
73
- * // ByteMatchStatement: { // ByteMatchStatement
74
- * // SearchString: "BLOB_VALUE", // required
75
- * // FieldToMatch: { // FieldToMatch
76
- * // SingleHeader: { // SingleHeader
77
- * // Name: "STRING_VALUE", // required
78
- * // },
79
- * // SingleQueryArgument: { // SingleQueryArgument
80
- * // Name: "STRING_VALUE", // required
81
- * // },
82
- * // AllQueryArguments: {},
83
- * // UriPath: {},
84
- * // QueryString: {},
85
- * // Body: { // Body
86
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
87
- * // },
88
- * // Method: {},
89
- * // JsonBody: { // JsonBody
90
- * // MatchPattern: { // JsonMatchPattern
91
- * // All: {},
92
- * // IncludedPaths: [ // JsonPointerPaths
93
- * // "STRING_VALUE",
94
- * // ],
95
- * // },
96
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
97
- * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
98
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
99
- * // },
100
- * // Headers: { // Headers
101
- * // MatchPattern: { // HeaderMatchPattern
102
- * // All: {},
103
- * // IncludedHeaders: [ // HeaderNames
104
- * // "STRING_VALUE",
105
- * // ],
106
- * // ExcludedHeaders: [
107
- * // "STRING_VALUE",
108
- * // ],
109
- * // },
110
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
111
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
112
- * // },
113
- * // Cookies: { // Cookies
114
- * // MatchPattern: { // CookieMatchPattern
115
- * // All: {},
116
- * // IncludedCookies: [ // CookieNames
117
- * // "STRING_VALUE",
118
- * // ],
119
- * // ExcludedCookies: [
120
- * // "STRING_VALUE",
121
- * // ],
122
- * // },
123
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
124
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
125
- * // },
126
- * // HeaderOrder: { // HeaderOrder
127
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
128
- * // },
129
- * // JA3Fingerprint: { // JA3Fingerprint
130
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
131
- * // },
132
- * // },
133
- * // TextTransformations: [ // TextTransformations // required
134
- * // { // TextTransformation
135
- * // Priority: Number("int"), // required
136
- * // Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
137
- * // },
138
- * // ],
139
- * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
140
- * // },
141
- * // SqliMatchStatement: { // SqliMatchStatement
142
- * // FieldToMatch: {
143
- * // SingleHeader: {
144
- * // Name: "STRING_VALUE", // required
145
- * // },
146
- * // SingleQueryArgument: {
147
- * // Name: "STRING_VALUE", // required
148
- * // },
149
- * // AllQueryArguments: {},
150
- * // UriPath: {},
151
- * // QueryString: {},
152
- * // Body: {
153
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
154
- * // },
155
- * // Method: {},
156
- * // JsonBody: {
157
- * // MatchPattern: {
158
- * // All: {},
159
- * // IncludedPaths: [
160
- * // "STRING_VALUE",
161
- * // ],
162
- * // },
163
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
164
- * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
165
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
166
- * // },
167
- * // Headers: {
168
- * // MatchPattern: {
169
- * // All: {},
170
- * // IncludedHeaders: [
171
- * // "STRING_VALUE",
172
- * // ],
173
- * // ExcludedHeaders: [
174
- * // "STRING_VALUE",
175
- * // ],
176
- * // },
177
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
178
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
179
- * // },
180
- * // Cookies: {
181
- * // MatchPattern: {
182
- * // All: "<All>",
183
- * // IncludedCookies: [
184
- * // "STRING_VALUE",
185
- * // ],
186
- * // ExcludedCookies: [
187
- * // "STRING_VALUE",
188
- * // ],
189
- * // },
190
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
191
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
192
- * // },
193
- * // HeaderOrder: {
194
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
195
- * // },
196
- * // JA3Fingerprint: {
197
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
198
- * // },
199
- * // },
200
- * // TextTransformations: [ // required
201
- * // {
202
- * // Priority: Number("int"), // required
203
- * // Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
204
- * // },
205
- * // ],
206
- * // SensitivityLevel: "LOW" || "HIGH",
207
- * // },
208
- * // XssMatchStatement: { // XssMatchStatement
209
- * // FieldToMatch: {
210
- * // SingleHeader: {
211
- * // Name: "STRING_VALUE", // required
212
- * // },
213
- * // SingleQueryArgument: {
214
- * // Name: "STRING_VALUE", // required
215
- * // },
216
- * // AllQueryArguments: {},
217
- * // UriPath: {},
218
- * // QueryString: {},
219
- * // Body: {
220
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
221
- * // },
222
- * // Method: {},
223
- * // JsonBody: {
224
- * // MatchPattern: {
225
- * // All: "<All>",
226
- * // IncludedPaths: [
227
- * // "STRING_VALUE",
228
- * // ],
229
- * // },
230
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
231
- * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
232
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
233
- * // },
234
- * // Headers: {
235
- * // MatchPattern: {
236
- * // All: "<All>",
237
- * // IncludedHeaders: [
238
- * // "STRING_VALUE",
239
- * // ],
240
- * // ExcludedHeaders: "<HeaderNames>",
241
- * // },
242
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
243
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
244
- * // },
245
- * // Cookies: {
246
- * // MatchPattern: {
247
- * // All: "<All>",
248
- * // IncludedCookies: [
249
- * // "STRING_VALUE",
250
- * // ],
251
- * // ExcludedCookies: "<CookieNames>",
252
- * // },
253
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
254
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
255
- * // },
256
- * // HeaderOrder: {
257
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
258
- * // },
259
- * // JA3Fingerprint: {
260
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
261
- * // },
262
- * // },
263
- * // TextTransformations: [ // required
264
- * // {
265
- * // Priority: Number("int"), // required
266
- * // Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
267
- * // },
268
- * // ],
269
- * // },
270
- * // SizeConstraintStatement: { // SizeConstraintStatement
271
- * // FieldToMatch: {
272
- * // SingleHeader: {
273
- * // Name: "STRING_VALUE", // required
274
- * // },
275
- * // SingleQueryArgument: {
276
- * // Name: "STRING_VALUE", // required
277
- * // },
278
- * // AllQueryArguments: {},
279
- * // UriPath: {},
280
- * // QueryString: {},
281
- * // Body: {
282
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
283
- * // },
284
- * // Method: {},
285
- * // JsonBody: {
286
- * // MatchPattern: {
287
- * // All: "<All>",
288
- * // IncludedPaths: [
289
- * // "STRING_VALUE",
290
- * // ],
291
- * // },
292
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
293
- * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
294
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
295
- * // },
296
- * // Headers: {
297
- * // MatchPattern: {
298
- * // All: "<All>",
299
- * // IncludedHeaders: "<HeaderNames>",
300
- * // ExcludedHeaders: "<HeaderNames>",
301
- * // },
302
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
303
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
304
- * // },
305
- * // Cookies: {
306
- * // MatchPattern: {
307
- * // All: "<All>",
308
- * // IncludedCookies: "<CookieNames>",
309
- * // ExcludedCookies: "<CookieNames>",
310
- * // },
311
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
312
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
313
- * // },
314
- * // HeaderOrder: {
315
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
316
- * // },
317
- * // JA3Fingerprint: {
318
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
319
- * // },
320
- * // },
321
- * // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
322
- * // Size: Number("long"), // required
323
- * // TextTransformations: [ // required
324
- * // {
325
- * // Priority: Number("int"), // required
326
- * // Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
327
- * // },
328
- * // ],
329
- * // },
330
- * // GeoMatchStatement: { // GeoMatchStatement
331
- * // CountryCodes: [ // CountryCodes
332
- * // "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW" || "XK",
333
- * // ],
334
- * // ForwardedIPConfig: { // ForwardedIPConfig
335
- * // HeaderName: "STRING_VALUE", // required
336
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
337
- * // },
338
- * // },
339
- * // RuleGroupReferenceStatement: { // RuleGroupReferenceStatement
340
- * // ARN: "STRING_VALUE", // required
341
- * // ExcludedRules: [ // ExcludedRules
342
- * // { // ExcludedRule
343
- * // Name: "STRING_VALUE", // required
344
- * // },
345
- * // ],
346
- * // RuleActionOverrides: [ // RuleActionOverrides
347
- * // { // RuleActionOverride
348
- * // Name: "STRING_VALUE", // required
349
- * // ActionToUse: { // RuleAction
350
- * // Block: {
351
- * // CustomResponse: {
352
- * // ResponseCode: Number("int"), // required
353
- * // CustomResponseBodyKey: "STRING_VALUE",
354
- * // ResponseHeaders: [
355
- * // {
356
- * // Name: "STRING_VALUE", // required
357
- * // Value: "STRING_VALUE", // required
358
- * // },
359
- * // ],
360
- * // },
361
- * // },
362
- * // Allow: {
363
- * // CustomRequestHandling: {
364
- * // InsertHeaders: [ // required
365
- * // {
366
- * // Name: "STRING_VALUE", // required
367
- * // Value: "STRING_VALUE", // required
368
- * // },
369
- * // ],
370
- * // },
371
- * // },
372
- * // Count: { // CountAction
373
- * // CustomRequestHandling: {
374
- * // InsertHeaders: [ // required
375
- * // {
376
- * // Name: "STRING_VALUE", // required
377
- * // Value: "STRING_VALUE", // required
378
- * // },
379
- * // ],
380
- * // },
381
- * // },
382
- * // Captcha: { // CaptchaAction
383
- * // CustomRequestHandling: {
384
- * // InsertHeaders: "<CustomHTTPHeaders>", // required
385
- * // },
386
- * // },
387
- * // Challenge: { // ChallengeAction
388
- * // CustomRequestHandling: {
389
- * // InsertHeaders: "<CustomHTTPHeaders>", // required
390
- * // },
391
- * // },
392
- * // },
393
- * // },
394
- * // ],
395
- * // },
396
- * // IPSetReferenceStatement: { // IPSetReferenceStatement
397
- * // ARN: "STRING_VALUE", // required
398
- * // IPSetForwardedIPConfig: { // IPSetForwardedIPConfig
399
- * // HeaderName: "STRING_VALUE", // required
400
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
401
- * // Position: "FIRST" || "LAST" || "ANY", // required
402
- * // },
403
- * // },
404
- * // RegexPatternSetReferenceStatement: { // RegexPatternSetReferenceStatement
405
- * // ARN: "STRING_VALUE", // required
406
- * // FieldToMatch: {
407
- * // SingleHeader: {
408
- * // Name: "STRING_VALUE", // required
409
- * // },
410
- * // SingleQueryArgument: {
411
- * // Name: "STRING_VALUE", // required
412
- * // },
413
- * // AllQueryArguments: {},
414
- * // UriPath: {},
415
- * // QueryString: {},
416
- * // Body: {
417
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
418
- * // },
419
- * // Method: {},
420
- * // JsonBody: {
421
- * // MatchPattern: {
422
- * // All: "<All>",
423
- * // IncludedPaths: [
424
- * // "STRING_VALUE",
425
- * // ],
426
- * // },
427
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
428
- * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
429
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
430
- * // },
431
- * // Headers: {
432
- * // MatchPattern: {
433
- * // All: "<All>",
434
- * // IncludedHeaders: "<HeaderNames>",
435
- * // ExcludedHeaders: "<HeaderNames>",
436
- * // },
437
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
438
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
439
- * // },
440
- * // Cookies: {
441
- * // MatchPattern: {
442
- * // All: "<All>",
443
- * // IncludedCookies: "<CookieNames>",
444
- * // ExcludedCookies: "<CookieNames>",
445
- * // },
446
- * // MatchScope: "ALL" || "KEY" || "VALUE", // required
447
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
448
- * // },
449
- * // HeaderOrder: {
450
- * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
451
- * // },
452
- * // JA3Fingerprint: {
453
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
454
- * // },
455
- * // },
456
- * // TextTransformations: [ // required
457
- * // {
458
- * // Priority: Number("int"), // required
459
- * // Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
460
- * // },
461
- * // ],
462
- * // },
463
- * // RateBasedStatement: { // RateBasedStatement
464
- * // Limit: Number("long"), // required
465
- * // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
466
- * // ScopeDownStatement: {
467
- * // ByteMatchStatement: {
468
- * // SearchString: "BLOB_VALUE", // required
469
- * // FieldToMatch: "<FieldToMatch>", // required
470
- * // TextTransformations: "<TextTransformations>", // required
471
- * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
472
- * // },
473
- * // SqliMatchStatement: {
474
- * // FieldToMatch: "<FieldToMatch>", // required
475
- * // TextTransformations: "<TextTransformations>", // required
476
- * // SensitivityLevel: "LOW" || "HIGH",
477
- * // },
478
- * // XssMatchStatement: {
479
- * // FieldToMatch: "<FieldToMatch>", // required
480
- * // TextTransformations: "<TextTransformations>", // required
481
- * // },
482
- * // SizeConstraintStatement: {
483
- * // FieldToMatch: "<FieldToMatch>", // required
484
- * // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
485
- * // Size: Number("long"), // required
486
- * // TextTransformations: "<TextTransformations>", // required
487
- * // },
488
- * // GeoMatchStatement: {
489
- * // CountryCodes: [
490
- * // "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW" || "XK",
491
- * // ],
492
- * // ForwardedIPConfig: {
493
- * // HeaderName: "STRING_VALUE", // required
494
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
495
- * // },
496
- * // },
497
- * // RuleGroupReferenceStatement: {
498
- * // ARN: "STRING_VALUE", // required
499
- * // ExcludedRules: [
500
- * // {
501
- * // Name: "STRING_VALUE", // required
502
- * // },
503
- * // ],
504
- * // RuleActionOverrides: [
505
- * // {
506
- * // Name: "STRING_VALUE", // required
507
- * // ActionToUse: {
508
- * // Block: "<BlockAction>",
509
- * // Allow: "<AllowAction>",
510
- * // Count: {
511
- * // CustomRequestHandling: "<CustomRequestHandling>",
512
- * // },
513
- * // Captcha: {
514
- * // CustomRequestHandling: "<CustomRequestHandling>",
515
- * // },
516
- * // Challenge: {
517
- * // CustomRequestHandling: "<CustomRequestHandling>",
518
- * // },
519
- * // },
520
- * // },
521
- * // ],
522
- * // },
523
- * // IPSetReferenceStatement: {
524
- * // ARN: "STRING_VALUE", // required
525
- * // IPSetForwardedIPConfig: {
526
- * // HeaderName: "STRING_VALUE", // required
527
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
528
- * // Position: "FIRST" || "LAST" || "ANY", // required
529
- * // },
530
- * // },
531
- * // RegexPatternSetReferenceStatement: {
532
- * // ARN: "STRING_VALUE", // required
533
- * // FieldToMatch: "<FieldToMatch>", // required
534
- * // TextTransformations: "<TextTransformations>", // required
535
- * // },
536
- * // RateBasedStatement: {
537
- * // Limit: Number("long"), // required
538
- * // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
539
- * // ScopeDownStatement: "<Statement>",
540
- * // ForwardedIPConfig: {
541
- * // HeaderName: "STRING_VALUE", // required
542
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
543
- * // },
544
- * // CustomKeys: [ // RateBasedStatementCustomKeys
545
- * // { // RateBasedStatementCustomKey
546
- * // Header: { // RateLimitHeader
547
- * // Name: "STRING_VALUE", // required
548
- * // TextTransformations: "<TextTransformations>", // required
549
- * // },
550
- * // Cookie: { // RateLimitCookie
551
- * // Name: "STRING_VALUE", // required
552
- * // TextTransformations: "<TextTransformations>", // required
553
- * // },
554
- * // QueryArgument: { // RateLimitQueryArgument
555
- * // Name: "STRING_VALUE", // required
556
- * // TextTransformations: "<TextTransformations>", // required
557
- * // },
558
- * // QueryString: { // RateLimitQueryString
559
- * // TextTransformations: "<TextTransformations>", // required
560
- * // },
561
- * // HTTPMethod: {},
562
- * // ForwardedIP: {},
563
- * // IP: {},
564
- * // LabelNamespace: { // RateLimitLabelNamespace
565
- * // Namespace: "STRING_VALUE", // required
566
- * // },
567
- * // UriPath: { // RateLimitUriPath
568
- * // TextTransformations: "<TextTransformations>", // required
569
- * // },
570
- * // },
571
- * // ],
572
- * // },
573
- * // AndStatement: { // AndStatement
574
- * // Statements: [ // Statements // required
575
- * // "<Statement>",
576
- * // ],
577
- * // },
578
- * // OrStatement: { // OrStatement
579
- * // Statements: [ // required
580
- * // "<Statement>",
581
- * // ],
582
- * // },
583
- * // NotStatement: { // NotStatement
584
- * // Statement: "<Statement>", // required
585
- * // },
586
- * // ManagedRuleGroupStatement: { // ManagedRuleGroupStatement
587
- * // VendorName: "STRING_VALUE", // required
588
- * // Name: "STRING_VALUE", // required
589
- * // Version: "STRING_VALUE",
590
- * // ExcludedRules: [
591
- * // {
592
- * // Name: "STRING_VALUE", // required
593
- * // },
594
- * // ],
595
- * // ScopeDownStatement: "<Statement>",
596
- * // ManagedRuleGroupConfigs: [ // ManagedRuleGroupConfigs
597
- * // { // ManagedRuleGroupConfig
598
- * // LoginPath: "STRING_VALUE",
599
- * // PayloadType: "JSON" || "FORM_ENCODED",
600
- * // UsernameField: { // UsernameField
601
- * // Identifier: "STRING_VALUE", // required
602
- * // },
603
- * // PasswordField: { // PasswordField
604
- * // Identifier: "STRING_VALUE", // required
605
- * // },
606
- * // AWSManagedRulesBotControlRuleSet: { // AWSManagedRulesBotControlRuleSet
607
- * // InspectionLevel: "COMMON" || "TARGETED", // required
608
- * // EnableMachineLearning: true || false,
609
- * // },
610
- * // AWSManagedRulesATPRuleSet: { // AWSManagedRulesATPRuleSet
611
- * // LoginPath: "STRING_VALUE", // required
612
- * // RequestInspection: { // RequestInspection
613
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
614
- * // UsernameField: {
615
- * // Identifier: "STRING_VALUE", // required
616
- * // },
617
- * // PasswordField: {
618
- * // Identifier: "STRING_VALUE", // required
619
- * // },
620
- * // },
621
- * // ResponseInspection: { // ResponseInspection
622
- * // StatusCode: { // ResponseInspectionStatusCode
623
- * // SuccessCodes: [ // ResponseInspectionStatusCodeSuccessCodes // required
624
- * // Number("int"),
625
- * // ],
626
- * // FailureCodes: [ // ResponseInspectionStatusCodeFailureCodes // required
627
- * // Number("int"),
628
- * // ],
629
- * // },
630
- * // Header: { // ResponseInspectionHeader
631
- * // Name: "STRING_VALUE", // required
632
- * // SuccessValues: [ // ResponseInspectionHeaderSuccessValues // required
633
- * // "STRING_VALUE",
634
- * // ],
635
- * // FailureValues: [ // ResponseInspectionHeaderFailureValues // required
636
- * // "STRING_VALUE",
637
- * // ],
638
- * // },
639
- * // BodyContains: { // ResponseInspectionBodyContains
640
- * // SuccessStrings: [ // ResponseInspectionBodyContainsSuccessStrings // required
641
- * // "STRING_VALUE",
642
- * // ],
643
- * // FailureStrings: [ // ResponseInspectionBodyContainsFailureStrings // required
644
- * // "STRING_VALUE",
645
- * // ],
646
- * // },
647
- * // Json: { // ResponseInspectionJson
648
- * // Identifier: "STRING_VALUE", // required
649
- * // SuccessValues: [ // ResponseInspectionJsonSuccessValues // required
650
- * // "STRING_VALUE",
651
- * // ],
652
- * // FailureValues: [ // ResponseInspectionJsonFailureValues // required
653
- * // "STRING_VALUE",
654
- * // ],
655
- * // },
656
- * // },
657
- * // EnableRegexInPath: true || false,
658
- * // },
659
- * // AWSManagedRulesACFPRuleSet: { // AWSManagedRulesACFPRuleSet
660
- * // CreationPath: "STRING_VALUE", // required
661
- * // RegistrationPagePath: "STRING_VALUE", // required
662
- * // RequestInspection: { // RequestInspectionACFP
663
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
664
- * // UsernameField: {
665
- * // Identifier: "STRING_VALUE", // required
666
- * // },
667
- * // PasswordField: {
668
- * // Identifier: "STRING_VALUE", // required
669
- * // },
670
- * // EmailField: { // EmailField
671
- * // Identifier: "STRING_VALUE", // required
672
- * // },
673
- * // PhoneNumberFields: [ // PhoneNumberFields
674
- * // { // PhoneNumberField
675
- * // Identifier: "STRING_VALUE", // required
676
- * // },
677
- * // ],
678
- * // AddressFields: [ // AddressFields
679
- * // { // AddressField
680
- * // Identifier: "STRING_VALUE", // required
681
- * // },
682
- * // ],
683
- * // },
684
- * // ResponseInspection: {
685
- * // StatusCode: {
686
- * // SuccessCodes: [ // required
687
- * // Number("int"),
688
- * // ],
689
- * // FailureCodes: [ // required
690
- * // Number("int"),
691
- * // ],
692
- * // },
693
- * // Header: {
694
- * // Name: "STRING_VALUE", // required
695
- * // SuccessValues: [ // required
696
- * // "STRING_VALUE",
697
- * // ],
698
- * // FailureValues: [ // required
699
- * // "STRING_VALUE",
700
- * // ],
701
- * // },
702
- * // BodyContains: {
703
- * // SuccessStrings: [ // required
704
- * // "STRING_VALUE",
705
- * // ],
706
- * // FailureStrings: [ // required
707
- * // "STRING_VALUE",
708
- * // ],
709
- * // },
710
- * // Json: {
711
- * // Identifier: "STRING_VALUE", // required
712
- * // SuccessValues: [ // required
713
- * // "STRING_VALUE",
714
- * // ],
715
- * // FailureValues: [ // required
716
- * // "STRING_VALUE",
717
- * // ],
718
- * // },
719
- * // },
720
- * // EnableRegexInPath: true || false,
721
- * // },
722
- * // },
723
- * // ],
724
- * // RuleActionOverrides: [
725
- * // {
726
- * // Name: "STRING_VALUE", // required
727
- * // ActionToUse: {
728
- * // Block: "<BlockAction>",
729
- * // Allow: "<AllowAction>",
730
- * // Count: {
731
- * // CustomRequestHandling: "<CustomRequestHandling>",
732
- * // },
733
- * // Captcha: {
734
- * // CustomRequestHandling: "<CustomRequestHandling>",
735
- * // },
736
- * // Challenge: {
737
- * // CustomRequestHandling: "<CustomRequestHandling>",
738
- * // },
739
- * // },
740
- * // },
741
- * // ],
742
- * // },
743
- * // LabelMatchStatement: { // LabelMatchStatement
744
- * // Scope: "LABEL" || "NAMESPACE", // required
745
- * // Key: "STRING_VALUE", // required
746
- * // },
747
- * // RegexMatchStatement: { // RegexMatchStatement
748
- * // RegexString: "STRING_VALUE", // required
749
- * // FieldToMatch: "<FieldToMatch>", // required
750
- * // TextTransformations: "<TextTransformations>", // required
751
- * // },
752
- * // },
753
- * // ForwardedIPConfig: {
754
- * // HeaderName: "STRING_VALUE", // required
755
- * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
756
- * // },
757
- * // CustomKeys: [
758
- * // {
759
- * // Header: {
760
- * // Name: "STRING_VALUE", // required
761
- * // TextTransformations: "<TextTransformations>", // required
762
- * // },
763
- * // Cookie: {
764
- * // Name: "STRING_VALUE", // required
765
- * // TextTransformations: "<TextTransformations>", // required
766
- * // },
767
- * // QueryArgument: {
768
- * // Name: "STRING_VALUE", // required
769
- * // TextTransformations: "<TextTransformations>", // required
770
- * // },
771
- * // QueryString: {
772
- * // TextTransformations: "<TextTransformations>", // required
773
- * // },
774
- * // HTTPMethod: {},
775
- * // ForwardedIP: {},
776
- * // IP: {},
777
- * // LabelNamespace: {
778
- * // Namespace: "STRING_VALUE", // required
779
- * // },
780
- * // UriPath: {
781
- * // TextTransformations: "<TextTransformations>", // required
782
- * // },
783
- * // },
784
- * // ],
785
- * // },
786
- * // AndStatement: {
787
- * // Statements: [ // required
788
- * // "<Statement>",
789
- * // ],
790
- * // },
791
- * // OrStatement: {
792
- * // Statements: [ // required
793
- * // "<Statement>",
794
- * // ],
795
- * // },
796
- * // NotStatement: {
797
- * // Statement: "<Statement>", // required
798
- * // },
799
- * // ManagedRuleGroupStatement: {
800
- * // VendorName: "STRING_VALUE", // required
801
- * // Name: "STRING_VALUE", // required
802
- * // Version: "STRING_VALUE",
803
- * // ExcludedRules: [
804
- * // {
805
- * // Name: "STRING_VALUE", // required
806
- * // },
807
- * // ],
808
- * // ScopeDownStatement: "<Statement>",
809
- * // ManagedRuleGroupConfigs: [
810
- * // {
811
- * // LoginPath: "STRING_VALUE",
812
- * // PayloadType: "JSON" || "FORM_ENCODED",
813
- * // UsernameField: "<UsernameField>",
814
- * // PasswordField: "<PasswordField>",
815
- * // AWSManagedRulesBotControlRuleSet: {
816
- * // InspectionLevel: "COMMON" || "TARGETED", // required
817
- * // EnableMachineLearning: true || false,
818
- * // },
819
- * // AWSManagedRulesATPRuleSet: {
820
- * // LoginPath: "STRING_VALUE", // required
821
- * // RequestInspection: {
822
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
823
- * // UsernameField: "<UsernameField>", // required
824
- * // PasswordField: "<PasswordField>", // required
825
- * // },
826
- * // ResponseInspection: {
827
- * // StatusCode: {
828
- * // SuccessCodes: [ // required
829
- * // Number("int"),
830
- * // ],
831
- * // FailureCodes: [ // required
832
- * // Number("int"),
833
- * // ],
834
- * // },
835
- * // Header: {
836
- * // Name: "STRING_VALUE", // required
837
- * // SuccessValues: [ // required
838
- * // "STRING_VALUE",
839
- * // ],
840
- * // FailureValues: [ // required
841
- * // "STRING_VALUE",
842
- * // ],
843
- * // },
844
- * // BodyContains: {
845
- * // SuccessStrings: [ // required
846
- * // "STRING_VALUE",
847
- * // ],
848
- * // FailureStrings: [ // required
849
- * // "STRING_VALUE",
850
- * // ],
851
- * // },
852
- * // Json: {
853
- * // Identifier: "STRING_VALUE", // required
854
- * // SuccessValues: [ // required
855
- * // "STRING_VALUE",
856
- * // ],
857
- * // FailureValues: [ // required
858
- * // "STRING_VALUE",
859
- * // ],
860
- * // },
861
- * // },
862
- * // EnableRegexInPath: true || false,
863
- * // },
864
- * // AWSManagedRulesACFPRuleSet: {
865
- * // CreationPath: "STRING_VALUE", // required
866
- * // RegistrationPagePath: "STRING_VALUE", // required
867
- * // RequestInspection: {
868
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
869
- * // UsernameField: "<UsernameField>",
870
- * // PasswordField: "<PasswordField>",
871
- * // EmailField: {
872
- * // Identifier: "STRING_VALUE", // required
873
- * // },
874
- * // PhoneNumberFields: [
875
- * // {
876
- * // Identifier: "STRING_VALUE", // required
877
- * // },
878
- * // ],
879
- * // AddressFields: [
880
- * // {
881
- * // Identifier: "STRING_VALUE", // required
882
- * // },
883
- * // ],
884
- * // },
885
- * // ResponseInspection: {
886
- * // StatusCode: {
887
- * // SuccessCodes: [ // required
888
- * // Number("int"),
889
- * // ],
890
- * // FailureCodes: [ // required
891
- * // Number("int"),
892
- * // ],
893
- * // },
894
- * // Header: {
895
- * // Name: "STRING_VALUE", // required
896
- * // SuccessValues: [ // required
897
- * // "STRING_VALUE",
898
- * // ],
899
- * // FailureValues: [ // required
900
- * // "STRING_VALUE",
901
- * // ],
902
- * // },
903
- * // BodyContains: {
904
- * // SuccessStrings: [ // required
905
- * // "STRING_VALUE",
906
- * // ],
907
- * // FailureStrings: [ // required
908
- * // "STRING_VALUE",
909
- * // ],
910
- * // },
911
- * // Json: {
912
- * // Identifier: "STRING_VALUE", // required
913
- * // SuccessValues: [ // required
914
- * // "STRING_VALUE",
915
- * // ],
916
- * // FailureValues: [ // required
917
- * // "STRING_VALUE",
918
- * // ],
919
- * // },
920
- * // },
921
- * // EnableRegexInPath: true || false,
922
- * // },
923
- * // },
924
- * // ],
925
- * // RuleActionOverrides: [
926
- * // {
927
- * // Name: "STRING_VALUE", // required
928
- * // ActionToUse: {
929
- * // Block: "<BlockAction>",
930
- * // Allow: "<AllowAction>",
931
- * // Count: {
932
- * // CustomRequestHandling: "<CustomRequestHandling>",
933
- * // },
934
- * // Captcha: {
935
- * // CustomRequestHandling: "<CustomRequestHandling>",
936
- * // },
937
- * // Challenge: {
938
- * // CustomRequestHandling: "<CustomRequestHandling>",
939
- * // },
940
- * // },
941
- * // },
942
- * // ],
943
- * // },
944
- * // LabelMatchStatement: {
945
- * // Scope: "LABEL" || "NAMESPACE", // required
946
- * // Key: "STRING_VALUE", // required
947
- * // },
948
- * // RegexMatchStatement: {
949
- * // RegexString: "STRING_VALUE", // required
950
- * // FieldToMatch: "<FieldToMatch>", // required
951
- * // TextTransformations: "<TextTransformations>", // required
952
- * // },
953
- * // },
954
- * // Action: "<RuleAction>",
955
- * // OverrideAction: { // OverrideAction
956
- * // Count: "<CountAction>",
957
- * // None: {},
958
- * // },
959
- * // RuleLabels: [ // Labels
960
- * // { // Label
961
- * // Name: "STRING_VALUE", // required
962
- * // },
963
- * // ],
964
- * // VisibilityConfig: { // VisibilityConfig
965
- * // SampledRequestsEnabled: true || false, // required
966
- * // CloudWatchMetricsEnabled: true || false, // required
967
- * // MetricName: "STRING_VALUE", // required
968
- * // },
969
- * // CaptchaConfig: { // CaptchaConfig
970
- * // ImmunityTimeProperty: { // ImmunityTimeProperty
971
- * // ImmunityTime: Number("long"), // required
972
- * // },
973
- * // },
974
- * // ChallengeConfig: { // ChallengeConfig
975
- * // ImmunityTimeProperty: {
976
- * // ImmunityTime: Number("long"), // required
977
- * // },
978
- * // },
979
- * // },
980
- * // ],
981
- * // VisibilityConfig: {
982
- * // SampledRequestsEnabled: true || false, // required
983
- * // CloudWatchMetricsEnabled: true || false, // required
984
- * // MetricName: "STRING_VALUE", // required
985
- * // },
986
- * // Capacity: Number("long"),
987
- * // PreProcessFirewallManagerRuleGroups: [ // FirewallManagerRuleGroups
988
- * // { // FirewallManagerRuleGroup
989
- * // Name: "STRING_VALUE", // required
990
- * // Priority: Number("int"), // required
991
- * // FirewallManagerStatement: { // FirewallManagerStatement
992
- * // ManagedRuleGroupStatement: {
993
- * // VendorName: "STRING_VALUE", // required
994
- * // Name: "STRING_VALUE", // required
995
- * // Version: "STRING_VALUE",
996
- * // ExcludedRules: [
997
- * // {
998
- * // Name: "STRING_VALUE", // required
999
- * // },
1000
- * // ],
1001
- * // ScopeDownStatement: "<Statement>",
1002
- * // ManagedRuleGroupConfigs: [
1003
- * // {
1004
- * // LoginPath: "STRING_VALUE",
1005
- * // PayloadType: "JSON" || "FORM_ENCODED",
1006
- * // UsernameField: "<UsernameField>",
1007
- * // PasswordField: "<PasswordField>",
1008
- * // AWSManagedRulesBotControlRuleSet: {
1009
- * // InspectionLevel: "COMMON" || "TARGETED", // required
1010
- * // EnableMachineLearning: true || false,
1011
- * // },
1012
- * // AWSManagedRulesATPRuleSet: {
1013
- * // LoginPath: "STRING_VALUE", // required
1014
- * // RequestInspection: {
1015
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
1016
- * // UsernameField: "<UsernameField>", // required
1017
- * // PasswordField: "<PasswordField>", // required
1018
- * // },
1019
- * // ResponseInspection: {
1020
- * // StatusCode: {
1021
- * // SuccessCodes: [ // required
1022
- * // Number("int"),
1023
- * // ],
1024
- * // FailureCodes: [ // required
1025
- * // Number("int"),
1026
- * // ],
1027
- * // },
1028
- * // Header: {
1029
- * // Name: "STRING_VALUE", // required
1030
- * // SuccessValues: [ // required
1031
- * // "STRING_VALUE",
1032
- * // ],
1033
- * // FailureValues: [ // required
1034
- * // "STRING_VALUE",
1035
- * // ],
1036
- * // },
1037
- * // BodyContains: {
1038
- * // SuccessStrings: [ // required
1039
- * // "STRING_VALUE",
1040
- * // ],
1041
- * // FailureStrings: [ // required
1042
- * // "STRING_VALUE",
1043
- * // ],
1044
- * // },
1045
- * // Json: {
1046
- * // Identifier: "STRING_VALUE", // required
1047
- * // SuccessValues: [ // required
1048
- * // "STRING_VALUE",
1049
- * // ],
1050
- * // FailureValues: [ // required
1051
- * // "STRING_VALUE",
1052
- * // ],
1053
- * // },
1054
- * // },
1055
- * // EnableRegexInPath: true || false,
1056
- * // },
1057
- * // AWSManagedRulesACFPRuleSet: {
1058
- * // CreationPath: "STRING_VALUE", // required
1059
- * // RegistrationPagePath: "STRING_VALUE", // required
1060
- * // RequestInspection: {
1061
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
1062
- * // UsernameField: "<UsernameField>",
1063
- * // PasswordField: "<PasswordField>",
1064
- * // EmailField: {
1065
- * // Identifier: "STRING_VALUE", // required
1066
- * // },
1067
- * // PhoneNumberFields: [
1068
- * // {
1069
- * // Identifier: "STRING_VALUE", // required
1070
- * // },
1071
- * // ],
1072
- * // AddressFields: [
1073
- * // {
1074
- * // Identifier: "STRING_VALUE", // required
1075
- * // },
1076
- * // ],
1077
- * // },
1078
- * // ResponseInspection: "<ResponseInspection>",
1079
- * // EnableRegexInPath: true || false,
1080
- * // },
1081
- * // },
1082
- * // ],
1083
- * // RuleActionOverrides: [
1084
- * // {
1085
- * // Name: "STRING_VALUE", // required
1086
- * // ActionToUse: "<RuleAction>", // required
1087
- * // },
1088
- * // ],
1089
- * // },
1090
- * // RuleGroupReferenceStatement: {
1091
- * // ARN: "STRING_VALUE", // required
1092
- * // ExcludedRules: "<ExcludedRules>",
1093
- * // RuleActionOverrides: "<RuleActionOverrides>",
1094
- * // },
1095
- * // },
1096
- * // OverrideAction: {
1097
- * // Count: "<CountAction>",
1098
- * // None: {},
1099
- * // },
1100
- * // VisibilityConfig: {
1101
- * // SampledRequestsEnabled: true || false, // required
1102
- * // CloudWatchMetricsEnabled: true || false, // required
1103
- * // MetricName: "STRING_VALUE", // required
1104
- * // },
1105
- * // },
1106
- * // ],
1107
- * // PostProcessFirewallManagerRuleGroups: [
1108
- * // {
1109
- * // Name: "STRING_VALUE", // required
1110
- * // Priority: Number("int"), // required
1111
- * // FirewallManagerStatement: {
1112
- * // ManagedRuleGroupStatement: {
1113
- * // VendorName: "STRING_VALUE", // required
1114
- * // Name: "STRING_VALUE", // required
1115
- * // Version: "STRING_VALUE",
1116
- * // ExcludedRules: "<ExcludedRules>",
1117
- * // ScopeDownStatement: "<Statement>",
1118
- * // ManagedRuleGroupConfigs: [
1119
- * // {
1120
- * // LoginPath: "STRING_VALUE",
1121
- * // PayloadType: "JSON" || "FORM_ENCODED",
1122
- * // UsernameField: "<UsernameField>",
1123
- * // PasswordField: "<PasswordField>",
1124
- * // AWSManagedRulesBotControlRuleSet: {
1125
- * // InspectionLevel: "COMMON" || "TARGETED", // required
1126
- * // EnableMachineLearning: true || false,
1127
- * // },
1128
- * // AWSManagedRulesATPRuleSet: {
1129
- * // LoginPath: "STRING_VALUE", // required
1130
- * // RequestInspection: {
1131
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
1132
- * // UsernameField: "<UsernameField>", // required
1133
- * // PasswordField: "<PasswordField>", // required
1134
- * // },
1135
- * // ResponseInspection: "<ResponseInspection>",
1136
- * // EnableRegexInPath: true || false,
1137
- * // },
1138
- * // AWSManagedRulesACFPRuleSet: {
1139
- * // CreationPath: "STRING_VALUE", // required
1140
- * // RegistrationPagePath: "STRING_VALUE", // required
1141
- * // RequestInspection: {
1142
- * // PayloadType: "JSON" || "FORM_ENCODED", // required
1143
- * // UsernameField: "<UsernameField>",
1144
- * // PasswordField: "<PasswordField>",
1145
- * // EmailField: {
1146
- * // Identifier: "STRING_VALUE", // required
1147
- * // },
1148
- * // PhoneNumberFields: [
1149
- * // {
1150
- * // Identifier: "STRING_VALUE", // required
1151
- * // },
1152
- * // ],
1153
- * // AddressFields: [
1154
- * // {
1155
- * // Identifier: "STRING_VALUE", // required
1156
- * // },
1157
- * // ],
1158
- * // },
1159
- * // ResponseInspection: "<ResponseInspection>",
1160
- * // EnableRegexInPath: true || false,
1161
- * // },
1162
- * // },
1163
- * // ],
1164
- * // RuleActionOverrides: "<RuleActionOverrides>",
1165
- * // },
1166
- * // RuleGroupReferenceStatement: {
1167
- * // ARN: "STRING_VALUE", // required
1168
- * // ExcludedRules: "<ExcludedRules>",
1169
- * // RuleActionOverrides: "<RuleActionOverrides>",
1170
- * // },
1171
- * // },
1172
- * // OverrideAction: {
1173
- * // Count: "<CountAction>",
1174
- * // None: {},
1175
- * // },
1176
- * // VisibilityConfig: {
1177
- * // SampledRequestsEnabled: true || false, // required
1178
- * // CloudWatchMetricsEnabled: true || false, // required
1179
- * // MetricName: "STRING_VALUE", // required
1180
- * // },
1181
- * // },
1182
- * // ],
1183
- * // ManagedByFirewallManager: true || false,
1184
- * // LabelNamespace: "STRING_VALUE",
1185
- * // CustomResponseBodies: { // CustomResponseBodies
1186
- * // "<keys>": { // CustomResponseBody
1187
- * // ContentType: "TEXT_PLAIN" || "TEXT_HTML" || "APPLICATION_JSON", // required
1188
- * // Content: "STRING_VALUE", // required
1189
- * // },
1190
- * // },
1191
- * // CaptchaConfig: {
1192
- * // ImmunityTimeProperty: {
1193
- * // ImmunityTime: Number("long"), // required
1194
- * // },
1195
- * // },
1196
- * // ChallengeConfig: {
1197
- * // ImmunityTimeProperty: {
1198
- * // ImmunityTime: Number("long"), // required
1199
- * // },
1200
- * // },
1201
- * // TokenDomains: [ // TokenDomains
1202
- * // "STRING_VALUE",
1203
- * // ],
1204
- * // AssociationConfig: { // AssociationConfig
1205
- * // RequestBody: { // RequestBody
1206
- * // "<keys>": { // RequestBodyAssociatedResourceTypeConfig
1207
- * // DefaultSizeInspectionLimit: "KB_16" || "KB_32" || "KB_48" || "KB_64", // required
1208
- * // },
1209
- * // },
1210
- * // },
1211
- * // },
1212
- * // };
1213
- *
1214
- * ```
1215
- *
1216
- * @param GetWebACLForResourceCommandInput - {@link GetWebACLForResourceCommandInput}
1217
- * @returns {@link GetWebACLForResourceCommandOutput}
1218
- * @see {@link GetWebACLForResourceCommandInput} for command's `input` shape.
1219
- * @see {@link GetWebACLForResourceCommandOutput} for command's `response` shape.
1220
- * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
1221
- *
1222
- * @throws {@link WAFInternalErrorException} (server fault)
1223
- * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
1224
- * problem. Retry your request. </p>
1225
- *
1226
- * @throws {@link WAFInvalidOperationException} (client fault)
1227
- * <p>The operation isn't valid. </p>
1228
- *
1229
- * @throws {@link WAFInvalidParameterException} (client fault)
1230
- * <p>The operation failed because WAF didn't recognize a parameter in the request. For
1231
- * example: </p>
1232
- * <ul>
1233
- * <li>
1234
- * <p>You specified a parameter name or value that isn't valid.</p>
1235
- * </li>
1236
- * <li>
1237
- * <p>Your nested statement isn't valid. You might have tried to nest a statement that
1238
- * can’t be nested. </p>
1239
- * </li>
1240
- * <li>
1241
- * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
1242
- * isn't among the types available at <a>DefaultAction</a>.</p>
1243
- * </li>
1244
- * <li>
1245
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
1246
- * with which a web ACL can't be associated.</p>
1247
- * </li>
1248
- * </ul>
1249
- *
1250
- * @throws {@link WAFNonexistentItemException} (client fault)
1251
- * <p>WAF couldn’t perform the operation because your resource doesn't exist.
1252
- * If you've just created a resource that you're using in this operation, you might
1253
- * just need to wait a few minutes. It can take from a few seconds to a number of minutes
1254
- * for changes to propagate. </p>
1255
- *
1256
- * @throws {@link WAFUnavailableEntityException} (client fault)
1257
- * <p>WAF couldn’t retrieve a resource that you specified for this operation.
1258
- * If you've just created a resource that you're using in this operation, you might
1259
- * just need to wait a few minutes. It can take from a few seconds to a number of minutes
1260
- * for changes to propagate. Verify the resources that you are specifying in your request
1261
- * parameters and then retry the operation.</p>
1262
- *
1263
- * @throws {@link WAFV2ServiceException}
1264
- * <p>Base exception class for all service exceptions from WAFV2 service.</p>
1265
- *
1266
- */
1267
- export declare class GetWebACLForResourceCommand extends $Command<GetWebACLForResourceCommandInput, GetWebACLForResourceCommandOutput, WAFV2ClientResolvedConfig> {
1268
- readonly input: GetWebACLForResourceCommandInput;
1269
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
1270
- /**
1271
- * @public
1272
- */
1273
- constructor(input: GetWebACLForResourceCommandInput);
1274
- /**
1275
- * @internal
1276
- */
1277
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWebACLForResourceCommandInput, GetWebACLForResourceCommandOutput>;
1278
- /**
1279
- * @internal
1280
- */
1281
- private serialize;
1282
- /**
1283
- * @internal
1284
- */
1285
- private deserialize;
1286
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ GetWebACLForResourceRequest,
11
+ GetWebACLForResourceResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ WAFV2ClientResolvedConfig,
17
+ } from "../WAFV2Client";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetWebACLForResourceCommandInput
20
+ extends GetWebACLForResourceRequest {}
21
+ export interface GetWebACLForResourceCommandOutput
22
+ extends GetWebACLForResourceResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetWebACLForResourceCommand extends $Command<
25
+ GetWebACLForResourceCommandInput,
26
+ GetWebACLForResourceCommandOutput,
27
+ WAFV2ClientResolvedConfig
28
+ > {
29
+ readonly input: GetWebACLForResourceCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetWebACLForResourceCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: WAFV2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetWebACLForResourceCommandInput,
38
+ GetWebACLForResourceCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }