@aws-sdk/client-wafv2 3.421.0 → 3.422.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 (72) hide show
  1. package/dist-types/models/models_0.d.ts +26 -6
  2. package/dist-types/ts3.4/WAFV2.d.ts +438 -918
  3. package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
  4. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
  5. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
  6. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
  7. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
  8. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
  9. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
  10. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
  11. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
  12. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
  13. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
  14. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
  15. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
  16. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
  17. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
  18. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
  19. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
  20. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
  21. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
  22. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
  23. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
  24. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
  25. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
  26. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
  27. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
  28. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
  29. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
  30. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
  31. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
  32. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
  33. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
  34. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
  35. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
  36. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
  37. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
  38. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
  39. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
  40. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
  41. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
  42. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
  43. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
  44. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
  46. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
  47. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
  48. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
  49. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
  50. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
  51. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
  52. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
  53. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
  54. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
  55. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
  56. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
  57. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  58. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
  59. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  60. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  61. package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
  62. package/dist-types/ts3.4/index.d.ts +68 -6
  63. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
  64. package/dist-types/ts3.4/models/index.d.ts +1 -1
  65. package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  71. package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
  72. package/package.json +1 -1
@@ -1,38 +1,1093 @@
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
- CheckCapacityRequest,
11
- CheckCapacityResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface CheckCapacityCommandInput extends CheckCapacityRequest {}
20
- export interface CheckCapacityCommandOutput
21
- extends CheckCapacityResponse,
22
- __MetadataBearer {}
23
- export declare class CheckCapacityCommand extends $Command<
24
- CheckCapacityCommandInput,
25
- CheckCapacityCommandOutput,
26
- WAFV2ClientResolvedConfig
27
- > {
28
- readonly input: CheckCapacityCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: CheckCapacityCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: WAFV2ClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<CheckCapacityCommandInput, CheckCapacityCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
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 { CheckCapacityRequest, CheckCapacityResponse } 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 CheckCapacityCommand}.
14
+ */
15
+ export interface CheckCapacityCommandInput extends CheckCapacityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CheckCapacityCommand}.
21
+ */
22
+ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns the web ACL capacity unit (WCU) requirements for a specified scope and set of rules.
27
+ * You can use this to check the capacity requirements for the rules you want to use in a
28
+ * <a>RuleGroup</a> or <a>WebACL</a>.
29
+ * </p>
30
+ * <p>WAF uses WCUs to calculate and control the operating
31
+ * resources that are used to run your rules, rule groups, and web ACLs. WAF
32
+ * calculates capacity differently for each rule type, to reflect the relative cost of each rule.
33
+ * Simple rules that cost little to run use fewer WCUs than more complex rules
34
+ * that use more processing power.
35
+ * Rule group capacity is fixed at creation, which helps users plan their
36
+ * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
37
+ * in the <i>WAF Developer Guide</i>. </p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { WAFV2Client, CheckCapacityCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
42
+ * // const { WAFV2Client, CheckCapacityCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
43
+ * const client = new WAFV2Client(config);
44
+ * const input = { // CheckCapacityRequest
45
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
46
+ * Rules: [ // Rules // required
47
+ * { // Rule
48
+ * Name: "STRING_VALUE", // required
49
+ * Priority: Number("int"), // required
50
+ * Statement: { // Statement
51
+ * ByteMatchStatement: { // ByteMatchStatement
52
+ * SearchString: "BLOB_VALUE", // required
53
+ * FieldToMatch: { // FieldToMatch
54
+ * SingleHeader: { // SingleHeader
55
+ * Name: "STRING_VALUE", // required
56
+ * },
57
+ * SingleQueryArgument: { // SingleQueryArgument
58
+ * Name: "STRING_VALUE", // required
59
+ * },
60
+ * AllQueryArguments: {},
61
+ * UriPath: {},
62
+ * QueryString: {},
63
+ * Body: { // Body
64
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
65
+ * },
66
+ * Method: {},
67
+ * JsonBody: { // JsonBody
68
+ * MatchPattern: { // JsonMatchPattern
69
+ * All: {},
70
+ * IncludedPaths: [ // JsonPointerPaths
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * },
74
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
75
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
76
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
77
+ * },
78
+ * Headers: { // Headers
79
+ * MatchPattern: { // HeaderMatchPattern
80
+ * All: {},
81
+ * IncludedHeaders: [ // HeaderNames
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * ExcludedHeaders: [
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * },
88
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
89
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
90
+ * },
91
+ * Cookies: { // Cookies
92
+ * MatchPattern: { // CookieMatchPattern
93
+ * All: {},
94
+ * IncludedCookies: [ // CookieNames
95
+ * "STRING_VALUE",
96
+ * ],
97
+ * ExcludedCookies: [
98
+ * "STRING_VALUE",
99
+ * ],
100
+ * },
101
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
102
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
103
+ * },
104
+ * HeaderOrder: { // HeaderOrder
105
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
106
+ * },
107
+ * JA3Fingerprint: { // JA3Fingerprint
108
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
109
+ * },
110
+ * },
111
+ * TextTransformations: [ // TextTransformations // required
112
+ * { // TextTransformation
113
+ * Priority: Number("int"), // required
114
+ * 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
115
+ * },
116
+ * ],
117
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
118
+ * },
119
+ * SqliMatchStatement: { // SqliMatchStatement
120
+ * FieldToMatch: {
121
+ * SingleHeader: {
122
+ * Name: "STRING_VALUE", // required
123
+ * },
124
+ * SingleQueryArgument: {
125
+ * Name: "STRING_VALUE", // required
126
+ * },
127
+ * AllQueryArguments: {},
128
+ * UriPath: {},
129
+ * QueryString: {},
130
+ * Body: {
131
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
132
+ * },
133
+ * Method: {},
134
+ * JsonBody: {
135
+ * MatchPattern: {
136
+ * All: {},
137
+ * IncludedPaths: [
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * },
141
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
142
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
143
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
144
+ * },
145
+ * Headers: {
146
+ * MatchPattern: {
147
+ * All: {},
148
+ * IncludedHeaders: [
149
+ * "STRING_VALUE",
150
+ * ],
151
+ * ExcludedHeaders: [
152
+ * "STRING_VALUE",
153
+ * ],
154
+ * },
155
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
156
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
157
+ * },
158
+ * Cookies: {
159
+ * MatchPattern: {
160
+ * All: "<All>",
161
+ * IncludedCookies: [
162
+ * "STRING_VALUE",
163
+ * ],
164
+ * ExcludedCookies: [
165
+ * "STRING_VALUE",
166
+ * ],
167
+ * },
168
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
169
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
170
+ * },
171
+ * HeaderOrder: {
172
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
173
+ * },
174
+ * JA3Fingerprint: {
175
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
176
+ * },
177
+ * },
178
+ * TextTransformations: [ // required
179
+ * {
180
+ * Priority: Number("int"), // required
181
+ * 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
182
+ * },
183
+ * ],
184
+ * SensitivityLevel: "LOW" || "HIGH",
185
+ * },
186
+ * XssMatchStatement: { // XssMatchStatement
187
+ * FieldToMatch: {
188
+ * SingleHeader: {
189
+ * Name: "STRING_VALUE", // required
190
+ * },
191
+ * SingleQueryArgument: {
192
+ * Name: "STRING_VALUE", // required
193
+ * },
194
+ * AllQueryArguments: {},
195
+ * UriPath: {},
196
+ * QueryString: {},
197
+ * Body: {
198
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
199
+ * },
200
+ * Method: {},
201
+ * JsonBody: {
202
+ * MatchPattern: {
203
+ * All: "<All>",
204
+ * IncludedPaths: [
205
+ * "STRING_VALUE",
206
+ * ],
207
+ * },
208
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
209
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
210
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
211
+ * },
212
+ * Headers: {
213
+ * MatchPattern: {
214
+ * All: "<All>",
215
+ * IncludedHeaders: [
216
+ * "STRING_VALUE",
217
+ * ],
218
+ * ExcludedHeaders: "<HeaderNames>",
219
+ * },
220
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
221
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
222
+ * },
223
+ * Cookies: {
224
+ * MatchPattern: {
225
+ * All: "<All>",
226
+ * IncludedCookies: [
227
+ * "STRING_VALUE",
228
+ * ],
229
+ * ExcludedCookies: "<CookieNames>",
230
+ * },
231
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
232
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
233
+ * },
234
+ * HeaderOrder: {
235
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
236
+ * },
237
+ * JA3Fingerprint: {
238
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
239
+ * },
240
+ * },
241
+ * TextTransformations: [ // required
242
+ * {
243
+ * Priority: Number("int"), // required
244
+ * 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
245
+ * },
246
+ * ],
247
+ * },
248
+ * SizeConstraintStatement: { // SizeConstraintStatement
249
+ * FieldToMatch: {
250
+ * SingleHeader: {
251
+ * Name: "STRING_VALUE", // required
252
+ * },
253
+ * SingleQueryArgument: {
254
+ * Name: "STRING_VALUE", // required
255
+ * },
256
+ * AllQueryArguments: {},
257
+ * UriPath: {},
258
+ * QueryString: {},
259
+ * Body: {
260
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
261
+ * },
262
+ * Method: {},
263
+ * JsonBody: {
264
+ * MatchPattern: {
265
+ * All: "<All>",
266
+ * IncludedPaths: [
267
+ * "STRING_VALUE",
268
+ * ],
269
+ * },
270
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
271
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
272
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
273
+ * },
274
+ * Headers: {
275
+ * MatchPattern: {
276
+ * All: "<All>",
277
+ * IncludedHeaders: "<HeaderNames>",
278
+ * ExcludedHeaders: "<HeaderNames>",
279
+ * },
280
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
281
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
282
+ * },
283
+ * Cookies: {
284
+ * MatchPattern: {
285
+ * All: "<All>",
286
+ * IncludedCookies: "<CookieNames>",
287
+ * ExcludedCookies: "<CookieNames>",
288
+ * },
289
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
290
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
291
+ * },
292
+ * HeaderOrder: {
293
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
294
+ * },
295
+ * JA3Fingerprint: {
296
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
297
+ * },
298
+ * },
299
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
300
+ * Size: Number("long"), // required
301
+ * TextTransformations: [ // required
302
+ * {
303
+ * Priority: Number("int"), // required
304
+ * 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
305
+ * },
306
+ * ],
307
+ * },
308
+ * GeoMatchStatement: { // GeoMatchStatement
309
+ * CountryCodes: [ // CountryCodes
310
+ * "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",
311
+ * ],
312
+ * ForwardedIPConfig: { // ForwardedIPConfig
313
+ * HeaderName: "STRING_VALUE", // required
314
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
315
+ * },
316
+ * },
317
+ * RuleGroupReferenceStatement: { // RuleGroupReferenceStatement
318
+ * ARN: "STRING_VALUE", // required
319
+ * ExcludedRules: [ // ExcludedRules
320
+ * { // ExcludedRule
321
+ * Name: "STRING_VALUE", // required
322
+ * },
323
+ * ],
324
+ * RuleActionOverrides: [ // RuleActionOverrides
325
+ * { // RuleActionOverride
326
+ * Name: "STRING_VALUE", // required
327
+ * ActionToUse: { // RuleAction
328
+ * Block: { // BlockAction
329
+ * CustomResponse: { // CustomResponse
330
+ * ResponseCode: Number("int"), // required
331
+ * CustomResponseBodyKey: "STRING_VALUE",
332
+ * ResponseHeaders: [ // CustomHTTPHeaders
333
+ * { // CustomHTTPHeader
334
+ * Name: "STRING_VALUE", // required
335
+ * Value: "STRING_VALUE", // required
336
+ * },
337
+ * ],
338
+ * },
339
+ * },
340
+ * Allow: { // AllowAction
341
+ * CustomRequestHandling: { // CustomRequestHandling
342
+ * InsertHeaders: [ // required
343
+ * {
344
+ * Name: "STRING_VALUE", // required
345
+ * Value: "STRING_VALUE", // required
346
+ * },
347
+ * ],
348
+ * },
349
+ * },
350
+ * Count: { // CountAction
351
+ * CustomRequestHandling: {
352
+ * InsertHeaders: [ // required
353
+ * {
354
+ * Name: "STRING_VALUE", // required
355
+ * Value: "STRING_VALUE", // required
356
+ * },
357
+ * ],
358
+ * },
359
+ * },
360
+ * Captcha: { // CaptchaAction
361
+ * CustomRequestHandling: {
362
+ * InsertHeaders: [ // required
363
+ * {
364
+ * Name: "STRING_VALUE", // required
365
+ * Value: "STRING_VALUE", // required
366
+ * },
367
+ * ],
368
+ * },
369
+ * },
370
+ * Challenge: { // ChallengeAction
371
+ * CustomRequestHandling: {
372
+ * InsertHeaders: [ // required
373
+ * {
374
+ * Name: "STRING_VALUE", // required
375
+ * Value: "STRING_VALUE", // required
376
+ * },
377
+ * ],
378
+ * },
379
+ * },
380
+ * },
381
+ * },
382
+ * ],
383
+ * },
384
+ * IPSetReferenceStatement: { // IPSetReferenceStatement
385
+ * ARN: "STRING_VALUE", // required
386
+ * IPSetForwardedIPConfig: { // IPSetForwardedIPConfig
387
+ * HeaderName: "STRING_VALUE", // required
388
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
389
+ * Position: "FIRST" || "LAST" || "ANY", // required
390
+ * },
391
+ * },
392
+ * RegexPatternSetReferenceStatement: { // RegexPatternSetReferenceStatement
393
+ * ARN: "STRING_VALUE", // required
394
+ * FieldToMatch: {
395
+ * SingleHeader: {
396
+ * Name: "STRING_VALUE", // required
397
+ * },
398
+ * SingleQueryArgument: {
399
+ * Name: "STRING_VALUE", // required
400
+ * },
401
+ * AllQueryArguments: {},
402
+ * UriPath: {},
403
+ * QueryString: {},
404
+ * Body: {
405
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
406
+ * },
407
+ * Method: {},
408
+ * JsonBody: {
409
+ * MatchPattern: {
410
+ * All: "<All>",
411
+ * IncludedPaths: [
412
+ * "STRING_VALUE",
413
+ * ],
414
+ * },
415
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
416
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
417
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
418
+ * },
419
+ * Headers: {
420
+ * MatchPattern: {
421
+ * All: "<All>",
422
+ * IncludedHeaders: "<HeaderNames>",
423
+ * ExcludedHeaders: "<HeaderNames>",
424
+ * },
425
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
426
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
427
+ * },
428
+ * Cookies: {
429
+ * MatchPattern: {
430
+ * All: "<All>",
431
+ * IncludedCookies: "<CookieNames>",
432
+ * ExcludedCookies: "<CookieNames>",
433
+ * },
434
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
435
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
436
+ * },
437
+ * HeaderOrder: {
438
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
439
+ * },
440
+ * JA3Fingerprint: {
441
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
442
+ * },
443
+ * },
444
+ * TextTransformations: [ // required
445
+ * {
446
+ * Priority: Number("int"), // required
447
+ * 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
448
+ * },
449
+ * ],
450
+ * },
451
+ * RateBasedStatement: { // RateBasedStatement
452
+ * Limit: Number("long"), // required
453
+ * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
454
+ * ScopeDownStatement: {
455
+ * ByteMatchStatement: {
456
+ * SearchString: "BLOB_VALUE", // required
457
+ * FieldToMatch: "<FieldToMatch>", // required
458
+ * TextTransformations: "<TextTransformations>", // required
459
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
460
+ * },
461
+ * SqliMatchStatement: {
462
+ * FieldToMatch: "<FieldToMatch>", // required
463
+ * TextTransformations: "<TextTransformations>", // required
464
+ * SensitivityLevel: "LOW" || "HIGH",
465
+ * },
466
+ * XssMatchStatement: {
467
+ * FieldToMatch: "<FieldToMatch>", // required
468
+ * TextTransformations: "<TextTransformations>", // required
469
+ * },
470
+ * SizeConstraintStatement: {
471
+ * FieldToMatch: "<FieldToMatch>", // required
472
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
473
+ * Size: Number("long"), // required
474
+ * TextTransformations: "<TextTransformations>", // required
475
+ * },
476
+ * GeoMatchStatement: {
477
+ * CountryCodes: [
478
+ * "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",
479
+ * ],
480
+ * ForwardedIPConfig: {
481
+ * HeaderName: "STRING_VALUE", // required
482
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
483
+ * },
484
+ * },
485
+ * RuleGroupReferenceStatement: {
486
+ * ARN: "STRING_VALUE", // required
487
+ * ExcludedRules: [
488
+ * {
489
+ * Name: "STRING_VALUE", // required
490
+ * },
491
+ * ],
492
+ * RuleActionOverrides: [
493
+ * {
494
+ * Name: "STRING_VALUE", // required
495
+ * ActionToUse: {
496
+ * Block: {
497
+ * CustomResponse: {
498
+ * ResponseCode: Number("int"), // required
499
+ * CustomResponseBodyKey: "STRING_VALUE",
500
+ * ResponseHeaders: "<CustomHTTPHeaders>",
501
+ * },
502
+ * },
503
+ * Allow: {
504
+ * CustomRequestHandling: {
505
+ * InsertHeaders: "<CustomHTTPHeaders>", // required
506
+ * },
507
+ * },
508
+ * Count: {
509
+ * CustomRequestHandling: "<CustomRequestHandling>",
510
+ * },
511
+ * Captcha: {
512
+ * CustomRequestHandling: "<CustomRequestHandling>",
513
+ * },
514
+ * Challenge: {
515
+ * CustomRequestHandling: "<CustomRequestHandling>",
516
+ * },
517
+ * },
518
+ * },
519
+ * ],
520
+ * },
521
+ * IPSetReferenceStatement: {
522
+ * ARN: "STRING_VALUE", // required
523
+ * IPSetForwardedIPConfig: {
524
+ * HeaderName: "STRING_VALUE", // required
525
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
526
+ * Position: "FIRST" || "LAST" || "ANY", // required
527
+ * },
528
+ * },
529
+ * RegexPatternSetReferenceStatement: {
530
+ * ARN: "STRING_VALUE", // required
531
+ * FieldToMatch: "<FieldToMatch>", // required
532
+ * TextTransformations: "<TextTransformations>", // required
533
+ * },
534
+ * RateBasedStatement: {
535
+ * Limit: Number("long"), // required
536
+ * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
537
+ * ScopeDownStatement: "<Statement>",
538
+ * ForwardedIPConfig: {
539
+ * HeaderName: "STRING_VALUE", // required
540
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
541
+ * },
542
+ * CustomKeys: [ // RateBasedStatementCustomKeys
543
+ * { // RateBasedStatementCustomKey
544
+ * Header: { // RateLimitHeader
545
+ * Name: "STRING_VALUE", // required
546
+ * TextTransformations: "<TextTransformations>", // required
547
+ * },
548
+ * Cookie: { // RateLimitCookie
549
+ * Name: "STRING_VALUE", // required
550
+ * TextTransformations: "<TextTransformations>", // required
551
+ * },
552
+ * QueryArgument: { // RateLimitQueryArgument
553
+ * Name: "STRING_VALUE", // required
554
+ * TextTransformations: "<TextTransformations>", // required
555
+ * },
556
+ * QueryString: { // RateLimitQueryString
557
+ * TextTransformations: "<TextTransformations>", // required
558
+ * },
559
+ * HTTPMethod: {},
560
+ * ForwardedIP: {},
561
+ * IP: {},
562
+ * LabelNamespace: { // RateLimitLabelNamespace
563
+ * Namespace: "STRING_VALUE", // required
564
+ * },
565
+ * UriPath: { // RateLimitUriPath
566
+ * TextTransformations: "<TextTransformations>", // required
567
+ * },
568
+ * },
569
+ * ],
570
+ * },
571
+ * AndStatement: { // AndStatement
572
+ * Statements: [ // Statements // required
573
+ * "<Statement>",
574
+ * ],
575
+ * },
576
+ * OrStatement: { // OrStatement
577
+ * Statements: [ // required
578
+ * "<Statement>",
579
+ * ],
580
+ * },
581
+ * NotStatement: { // NotStatement
582
+ * Statement: "<Statement>", // required
583
+ * },
584
+ * ManagedRuleGroupStatement: { // ManagedRuleGroupStatement
585
+ * VendorName: "STRING_VALUE", // required
586
+ * Name: "STRING_VALUE", // required
587
+ * Version: "STRING_VALUE",
588
+ * ExcludedRules: [
589
+ * {
590
+ * Name: "STRING_VALUE", // required
591
+ * },
592
+ * ],
593
+ * ScopeDownStatement: "<Statement>",
594
+ * ManagedRuleGroupConfigs: [ // ManagedRuleGroupConfigs
595
+ * { // ManagedRuleGroupConfig
596
+ * LoginPath: "STRING_VALUE",
597
+ * PayloadType: "JSON" || "FORM_ENCODED",
598
+ * UsernameField: { // UsernameField
599
+ * Identifier: "STRING_VALUE", // required
600
+ * },
601
+ * PasswordField: { // PasswordField
602
+ * Identifier: "STRING_VALUE", // required
603
+ * },
604
+ * AWSManagedRulesBotControlRuleSet: { // AWSManagedRulesBotControlRuleSet
605
+ * InspectionLevel: "COMMON" || "TARGETED", // required
606
+ * EnableMachineLearning: true || false,
607
+ * },
608
+ * AWSManagedRulesATPRuleSet: { // AWSManagedRulesATPRuleSet
609
+ * LoginPath: "STRING_VALUE", // required
610
+ * RequestInspection: { // RequestInspection
611
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
612
+ * UsernameField: {
613
+ * Identifier: "STRING_VALUE", // required
614
+ * },
615
+ * PasswordField: {
616
+ * Identifier: "STRING_VALUE", // required
617
+ * },
618
+ * },
619
+ * ResponseInspection: { // ResponseInspection
620
+ * StatusCode: { // ResponseInspectionStatusCode
621
+ * SuccessCodes: [ // ResponseInspectionStatusCodeSuccessCodes // required
622
+ * Number("int"),
623
+ * ],
624
+ * FailureCodes: [ // ResponseInspectionStatusCodeFailureCodes // required
625
+ * Number("int"),
626
+ * ],
627
+ * },
628
+ * Header: { // ResponseInspectionHeader
629
+ * Name: "STRING_VALUE", // required
630
+ * SuccessValues: [ // ResponseInspectionHeaderSuccessValues // required
631
+ * "STRING_VALUE",
632
+ * ],
633
+ * FailureValues: [ // ResponseInspectionHeaderFailureValues // required
634
+ * "STRING_VALUE",
635
+ * ],
636
+ * },
637
+ * BodyContains: { // ResponseInspectionBodyContains
638
+ * SuccessStrings: [ // ResponseInspectionBodyContainsSuccessStrings // required
639
+ * "STRING_VALUE",
640
+ * ],
641
+ * FailureStrings: [ // ResponseInspectionBodyContainsFailureStrings // required
642
+ * "STRING_VALUE",
643
+ * ],
644
+ * },
645
+ * Json: { // ResponseInspectionJson
646
+ * Identifier: "STRING_VALUE", // required
647
+ * SuccessValues: [ // ResponseInspectionJsonSuccessValues // required
648
+ * "STRING_VALUE",
649
+ * ],
650
+ * FailureValues: [ // ResponseInspectionJsonFailureValues // required
651
+ * "STRING_VALUE",
652
+ * ],
653
+ * },
654
+ * },
655
+ * EnableRegexInPath: true || false,
656
+ * },
657
+ * AWSManagedRulesACFPRuleSet: { // AWSManagedRulesACFPRuleSet
658
+ * CreationPath: "STRING_VALUE", // required
659
+ * RegistrationPagePath: "STRING_VALUE", // required
660
+ * RequestInspection: { // RequestInspectionACFP
661
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
662
+ * UsernameField: {
663
+ * Identifier: "STRING_VALUE", // required
664
+ * },
665
+ * PasswordField: {
666
+ * Identifier: "STRING_VALUE", // required
667
+ * },
668
+ * EmailField: { // EmailField
669
+ * Identifier: "STRING_VALUE", // required
670
+ * },
671
+ * PhoneNumberFields: [ // PhoneNumberFields
672
+ * { // PhoneNumberField
673
+ * Identifier: "STRING_VALUE", // required
674
+ * },
675
+ * ],
676
+ * AddressFields: [ // AddressFields
677
+ * { // AddressField
678
+ * Identifier: "STRING_VALUE", // required
679
+ * },
680
+ * ],
681
+ * },
682
+ * ResponseInspection: {
683
+ * StatusCode: {
684
+ * SuccessCodes: [ // required
685
+ * Number("int"),
686
+ * ],
687
+ * FailureCodes: [ // required
688
+ * Number("int"),
689
+ * ],
690
+ * },
691
+ * Header: {
692
+ * Name: "STRING_VALUE", // required
693
+ * SuccessValues: [ // required
694
+ * "STRING_VALUE",
695
+ * ],
696
+ * FailureValues: [ // required
697
+ * "STRING_VALUE",
698
+ * ],
699
+ * },
700
+ * BodyContains: {
701
+ * SuccessStrings: [ // required
702
+ * "STRING_VALUE",
703
+ * ],
704
+ * FailureStrings: [ // required
705
+ * "STRING_VALUE",
706
+ * ],
707
+ * },
708
+ * Json: {
709
+ * Identifier: "STRING_VALUE", // required
710
+ * SuccessValues: [ // required
711
+ * "STRING_VALUE",
712
+ * ],
713
+ * FailureValues: [ // required
714
+ * "STRING_VALUE",
715
+ * ],
716
+ * },
717
+ * },
718
+ * EnableRegexInPath: true || false,
719
+ * },
720
+ * },
721
+ * ],
722
+ * RuleActionOverrides: [
723
+ * {
724
+ * Name: "STRING_VALUE", // required
725
+ * ActionToUse: {
726
+ * Block: {
727
+ * CustomResponse: {
728
+ * ResponseCode: Number("int"), // required
729
+ * CustomResponseBodyKey: "STRING_VALUE",
730
+ * ResponseHeaders: "<CustomHTTPHeaders>",
731
+ * },
732
+ * },
733
+ * Allow: {
734
+ * CustomRequestHandling: "<CustomRequestHandling>",
735
+ * },
736
+ * Count: {
737
+ * CustomRequestHandling: "<CustomRequestHandling>",
738
+ * },
739
+ * Captcha: {
740
+ * CustomRequestHandling: "<CustomRequestHandling>",
741
+ * },
742
+ * Challenge: {
743
+ * CustomRequestHandling: "<CustomRequestHandling>",
744
+ * },
745
+ * },
746
+ * },
747
+ * ],
748
+ * },
749
+ * LabelMatchStatement: { // LabelMatchStatement
750
+ * Scope: "LABEL" || "NAMESPACE", // required
751
+ * Key: "STRING_VALUE", // required
752
+ * },
753
+ * RegexMatchStatement: { // RegexMatchStatement
754
+ * RegexString: "STRING_VALUE", // required
755
+ * FieldToMatch: "<FieldToMatch>", // required
756
+ * TextTransformations: "<TextTransformations>", // required
757
+ * },
758
+ * },
759
+ * ForwardedIPConfig: {
760
+ * HeaderName: "STRING_VALUE", // required
761
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
762
+ * },
763
+ * CustomKeys: [
764
+ * {
765
+ * Header: {
766
+ * Name: "STRING_VALUE", // required
767
+ * TextTransformations: "<TextTransformations>", // required
768
+ * },
769
+ * Cookie: {
770
+ * Name: "STRING_VALUE", // required
771
+ * TextTransformations: "<TextTransformations>", // required
772
+ * },
773
+ * QueryArgument: {
774
+ * Name: "STRING_VALUE", // required
775
+ * TextTransformations: "<TextTransformations>", // required
776
+ * },
777
+ * QueryString: {
778
+ * TextTransformations: "<TextTransformations>", // required
779
+ * },
780
+ * HTTPMethod: {},
781
+ * ForwardedIP: {},
782
+ * IP: {},
783
+ * LabelNamespace: {
784
+ * Namespace: "STRING_VALUE", // required
785
+ * },
786
+ * UriPath: {
787
+ * TextTransformations: "<TextTransformations>", // required
788
+ * },
789
+ * },
790
+ * ],
791
+ * },
792
+ * AndStatement: {
793
+ * Statements: [ // required
794
+ * "<Statement>",
795
+ * ],
796
+ * },
797
+ * OrStatement: {
798
+ * Statements: [ // required
799
+ * "<Statement>",
800
+ * ],
801
+ * },
802
+ * NotStatement: {
803
+ * Statement: "<Statement>", // required
804
+ * },
805
+ * ManagedRuleGroupStatement: {
806
+ * VendorName: "STRING_VALUE", // required
807
+ * Name: "STRING_VALUE", // required
808
+ * Version: "STRING_VALUE",
809
+ * ExcludedRules: [
810
+ * {
811
+ * Name: "STRING_VALUE", // required
812
+ * },
813
+ * ],
814
+ * ScopeDownStatement: "<Statement>",
815
+ * ManagedRuleGroupConfigs: [
816
+ * {
817
+ * LoginPath: "STRING_VALUE",
818
+ * PayloadType: "JSON" || "FORM_ENCODED",
819
+ * UsernameField: "<UsernameField>",
820
+ * PasswordField: "<PasswordField>",
821
+ * AWSManagedRulesBotControlRuleSet: {
822
+ * InspectionLevel: "COMMON" || "TARGETED", // required
823
+ * EnableMachineLearning: true || false,
824
+ * },
825
+ * AWSManagedRulesATPRuleSet: {
826
+ * LoginPath: "STRING_VALUE", // required
827
+ * RequestInspection: {
828
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
829
+ * UsernameField: "<UsernameField>", // required
830
+ * PasswordField: "<PasswordField>", // required
831
+ * },
832
+ * ResponseInspection: {
833
+ * StatusCode: {
834
+ * SuccessCodes: [ // required
835
+ * Number("int"),
836
+ * ],
837
+ * FailureCodes: [ // required
838
+ * Number("int"),
839
+ * ],
840
+ * },
841
+ * Header: {
842
+ * Name: "STRING_VALUE", // required
843
+ * SuccessValues: [ // required
844
+ * "STRING_VALUE",
845
+ * ],
846
+ * FailureValues: [ // required
847
+ * "STRING_VALUE",
848
+ * ],
849
+ * },
850
+ * BodyContains: {
851
+ * SuccessStrings: [ // required
852
+ * "STRING_VALUE",
853
+ * ],
854
+ * FailureStrings: [ // required
855
+ * "STRING_VALUE",
856
+ * ],
857
+ * },
858
+ * Json: {
859
+ * Identifier: "STRING_VALUE", // required
860
+ * SuccessValues: [ // required
861
+ * "STRING_VALUE",
862
+ * ],
863
+ * FailureValues: [ // required
864
+ * "STRING_VALUE",
865
+ * ],
866
+ * },
867
+ * },
868
+ * EnableRegexInPath: true || false,
869
+ * },
870
+ * AWSManagedRulesACFPRuleSet: {
871
+ * CreationPath: "STRING_VALUE", // required
872
+ * RegistrationPagePath: "STRING_VALUE", // required
873
+ * RequestInspection: {
874
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
875
+ * UsernameField: "<UsernameField>",
876
+ * PasswordField: "<PasswordField>",
877
+ * EmailField: {
878
+ * Identifier: "STRING_VALUE", // required
879
+ * },
880
+ * PhoneNumberFields: [
881
+ * {
882
+ * Identifier: "STRING_VALUE", // required
883
+ * },
884
+ * ],
885
+ * AddressFields: [
886
+ * {
887
+ * Identifier: "STRING_VALUE", // required
888
+ * },
889
+ * ],
890
+ * },
891
+ * ResponseInspection: {
892
+ * StatusCode: {
893
+ * SuccessCodes: [ // required
894
+ * Number("int"),
895
+ * ],
896
+ * FailureCodes: [ // required
897
+ * Number("int"),
898
+ * ],
899
+ * },
900
+ * Header: {
901
+ * Name: "STRING_VALUE", // required
902
+ * SuccessValues: [ // required
903
+ * "STRING_VALUE",
904
+ * ],
905
+ * FailureValues: [ // required
906
+ * "STRING_VALUE",
907
+ * ],
908
+ * },
909
+ * BodyContains: {
910
+ * SuccessStrings: [ // required
911
+ * "STRING_VALUE",
912
+ * ],
913
+ * FailureStrings: [ // required
914
+ * "STRING_VALUE",
915
+ * ],
916
+ * },
917
+ * Json: {
918
+ * Identifier: "STRING_VALUE", // required
919
+ * SuccessValues: [ // required
920
+ * "STRING_VALUE",
921
+ * ],
922
+ * FailureValues: [ // required
923
+ * "STRING_VALUE",
924
+ * ],
925
+ * },
926
+ * },
927
+ * EnableRegexInPath: true || false,
928
+ * },
929
+ * },
930
+ * ],
931
+ * RuleActionOverrides: [
932
+ * {
933
+ * Name: "STRING_VALUE", // required
934
+ * ActionToUse: {
935
+ * Block: {
936
+ * CustomResponse: {
937
+ * ResponseCode: Number("int"), // required
938
+ * CustomResponseBodyKey: "STRING_VALUE",
939
+ * ResponseHeaders: "<CustomHTTPHeaders>",
940
+ * },
941
+ * },
942
+ * Allow: {
943
+ * CustomRequestHandling: "<CustomRequestHandling>",
944
+ * },
945
+ * Count: {
946
+ * CustomRequestHandling: "<CustomRequestHandling>",
947
+ * },
948
+ * Captcha: {
949
+ * CustomRequestHandling: "<CustomRequestHandling>",
950
+ * },
951
+ * Challenge: {
952
+ * CustomRequestHandling: "<CustomRequestHandling>",
953
+ * },
954
+ * },
955
+ * },
956
+ * ],
957
+ * },
958
+ * LabelMatchStatement: {
959
+ * Scope: "LABEL" || "NAMESPACE", // required
960
+ * Key: "STRING_VALUE", // required
961
+ * },
962
+ * RegexMatchStatement: {
963
+ * RegexString: "STRING_VALUE", // required
964
+ * FieldToMatch: "<FieldToMatch>", // required
965
+ * TextTransformations: "<TextTransformations>", // required
966
+ * },
967
+ * },
968
+ * Action: "<RuleAction>",
969
+ * OverrideAction: { // OverrideAction
970
+ * Count: "<CountAction>",
971
+ * None: {},
972
+ * },
973
+ * RuleLabels: [ // Labels
974
+ * { // Label
975
+ * Name: "STRING_VALUE", // required
976
+ * },
977
+ * ],
978
+ * VisibilityConfig: { // VisibilityConfig
979
+ * SampledRequestsEnabled: true || false, // required
980
+ * CloudWatchMetricsEnabled: true || false, // required
981
+ * MetricName: "STRING_VALUE", // required
982
+ * },
983
+ * CaptchaConfig: { // CaptchaConfig
984
+ * ImmunityTimeProperty: { // ImmunityTimeProperty
985
+ * ImmunityTime: Number("long"), // required
986
+ * },
987
+ * },
988
+ * ChallengeConfig: { // ChallengeConfig
989
+ * ImmunityTimeProperty: {
990
+ * ImmunityTime: Number("long"), // required
991
+ * },
992
+ * },
993
+ * },
994
+ * ],
995
+ * };
996
+ * const command = new CheckCapacityCommand(input);
997
+ * const response = await client.send(command);
998
+ * // { // CheckCapacityResponse
999
+ * // Capacity: Number("long"),
1000
+ * // };
1001
+ *
1002
+ * ```
1003
+ *
1004
+ * @param CheckCapacityCommandInput - {@link CheckCapacityCommandInput}
1005
+ * @returns {@link CheckCapacityCommandOutput}
1006
+ * @see {@link CheckCapacityCommandInput} for command's `input` shape.
1007
+ * @see {@link CheckCapacityCommandOutput} for command's `response` shape.
1008
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
1009
+ *
1010
+ * @throws {@link WAFExpiredManagedRuleGroupVersionException} (client fault)
1011
+ * <p>The operation failed because the specified version for the managed rule group has
1012
+ * expired. You can retrieve the available versions for the managed rule group by calling
1013
+ * <a>ListAvailableManagedRuleGroupVersions</a>.</p>
1014
+ *
1015
+ * @throws {@link WAFInternalErrorException} (server fault)
1016
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
1017
+ * problem. Retry your request. </p>
1018
+ *
1019
+ * @throws {@link WAFInvalidOperationException} (client fault)
1020
+ * <p>The operation isn't valid. </p>
1021
+ *
1022
+ * @throws {@link WAFInvalidParameterException} (client fault)
1023
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
1024
+ * example: </p>
1025
+ * <ul>
1026
+ * <li>
1027
+ * <p>You specified a parameter name or value that isn't valid.</p>
1028
+ * </li>
1029
+ * <li>
1030
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
1031
+ * can’t be nested. </p>
1032
+ * </li>
1033
+ * <li>
1034
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
1035
+ * isn't among the types available at <a>DefaultAction</a>.</p>
1036
+ * </li>
1037
+ * <li>
1038
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
1039
+ * with which a web ACL can't be associated.</p>
1040
+ * </li>
1041
+ * </ul>
1042
+ *
1043
+ * @throws {@link WAFInvalidResourceException} (client fault)
1044
+ * <p>WAF couldn’t perform the operation because the resource that you requested isn’t
1045
+ * valid. Check the resource, and try again.</p>
1046
+ *
1047
+ * @throws {@link WAFLimitsExceededException} (client fault)
1048
+ * <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
1049
+ * example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
1050
+ * account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
1051
+ * <i>WAF Developer Guide</i>.</p>
1052
+ *
1053
+ * @throws {@link WAFNonexistentItemException} (client fault)
1054
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
1055
+ * If you've just created a resource that you're using in this operation, you might
1056
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
1057
+ * for changes to propagate. </p>
1058
+ *
1059
+ * @throws {@link WAFSubscriptionNotFoundException} (client fault)
1060
+ * <p>You tried to use a managed rule group that's available by subscription, but you aren't
1061
+ * subscribed to it yet. </p>
1062
+ *
1063
+ * @throws {@link WAFUnavailableEntityException} (client fault)
1064
+ * <p>WAF couldn’t retrieve a resource that you specified for this operation.
1065
+ * If you've just created a resource that you're using in this operation, you might
1066
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
1067
+ * for changes to propagate. Verify the resources that you are specifying in your request
1068
+ * parameters and then retry the operation.</p>
1069
+ *
1070
+ * @throws {@link WAFV2ServiceException}
1071
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
1072
+ *
1073
+ */
1074
+ export declare class CheckCapacityCommand extends $Command<CheckCapacityCommandInput, CheckCapacityCommandOutput, WAFV2ClientResolvedConfig> {
1075
+ readonly input: CheckCapacityCommandInput;
1076
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
1077
+ /**
1078
+ * @public
1079
+ */
1080
+ constructor(input: CheckCapacityCommandInput);
1081
+ /**
1082
+ * @internal
1083
+ */
1084
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CheckCapacityCommandInput, CheckCapacityCommandOutput>;
1085
+ /**
1086
+ * @internal
1087
+ */
1088
+ private serialize;
1089
+ /**
1090
+ * @internal
1091
+ */
1092
+ private deserialize;
1093
+ }