@aws-sdk/client-wafv2 3.422.0 → 3.425.0

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