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