@aws-sdk/client-wafv2 3.422.0 → 3.423.0

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