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