Skip to content

Commit ebfb59b

Browse files
author
awstools
committed
feat(client-wafv2): AWS WAF now lets you inspect fragments of request URIs. You can specify the scope of the URI to inspect and narrow the set of URI fragments.
1 parent f1401ff commit ebfb59b

14 files changed

+217
-0
lines changed

clients/client-wafv2/src/commands/CheckCapacityCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
115115
* JA4Fingerprint: { // JA4Fingerprint
116116
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
117117
* },
118+
* UriFragment: { // UriFragment
119+
* FallbackBehavior: "MATCH" || "NO_MATCH",
120+
* },
118121
* },
119122
* TextTransformations: [ // TextTransformations // required
120123
* { // TextTransformation
@@ -185,6 +188,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
185188
* JA4Fingerprint: {
186189
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
187190
* },
191+
* UriFragment: {
192+
* FallbackBehavior: "MATCH" || "NO_MATCH",
193+
* },
188194
* },
189195
* TextTransformations: [ // required
190196
* {
@@ -251,6 +257,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
251257
* JA4Fingerprint: {
252258
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
253259
* },
260+
* UriFragment: {
261+
* FallbackBehavior: "MATCH" || "NO_MATCH",
262+
* },
254263
* },
255264
* TextTransformations: [ // required
256265
* {
@@ -312,6 +321,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
312321
* JA4Fingerprint: {
313322
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
314323
* },
324+
* UriFragment: {
325+
* FallbackBehavior: "MATCH" || "NO_MATCH",
326+
* },
315327
* },
316328
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
317329
* Size: Number("long"), // required
@@ -460,6 +472,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
460472
* JA4Fingerprint: {
461473
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
462474
* },
475+
* UriFragment: {
476+
* FallbackBehavior: "MATCH" || "NO_MATCH",
477+
* },
463478
* },
464479
* TextTransformations: [ // required
465480
* {

clients/client-wafv2/src/commands/CreateRuleGroupCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
108108
* JA4Fingerprint: { // JA4Fingerprint
109109
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
110110
* },
111+
* UriFragment: { // UriFragment
112+
* FallbackBehavior: "MATCH" || "NO_MATCH",
113+
* },
111114
* },
112115
* TextTransformations: [ // TextTransformations // required
113116
* { // TextTransformation
@@ -178,6 +181,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
178181
* JA4Fingerprint: {
179182
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
180183
* },
184+
* UriFragment: {
185+
* FallbackBehavior: "MATCH" || "NO_MATCH",
186+
* },
181187
* },
182188
* TextTransformations: [ // required
183189
* {
@@ -244,6 +250,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
244250
* JA4Fingerprint: {
245251
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
246252
* },
253+
* UriFragment: {
254+
* FallbackBehavior: "MATCH" || "NO_MATCH",
255+
* },
247256
* },
248257
* TextTransformations: [ // required
249258
* {
@@ -305,6 +314,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
305314
* JA4Fingerprint: {
306315
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
307316
* },
317+
* UriFragment: {
318+
* FallbackBehavior: "MATCH" || "NO_MATCH",
319+
* },
308320
* },
309321
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
310322
* Size: Number("long"), // required
@@ -453,6 +465,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
453465
* JA4Fingerprint: {
454466
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
455467
* },
468+
* UriFragment: {
469+
* FallbackBehavior: "MATCH" || "NO_MATCH",
470+
* },
456471
* },
457472
* TextTransformations: [ // required
458473
* {

clients/client-wafv2/src/commands/CreateWebACLCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
131131
* JA4Fingerprint: { // JA4Fingerprint
132132
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
133133
* },
134+
* UriFragment: { // UriFragment
135+
* FallbackBehavior: "MATCH" || "NO_MATCH",
136+
* },
134137
* },
135138
* TextTransformations: [ // TextTransformations // required
136139
* { // TextTransformation
@@ -201,6 +204,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
201204
* JA4Fingerprint: {
202205
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
203206
* },
207+
* UriFragment: {
208+
* FallbackBehavior: "MATCH" || "NO_MATCH",
209+
* },
204210
* },
205211
* TextTransformations: [ // required
206212
* {
@@ -267,6 +273,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
267273
* JA4Fingerprint: {
268274
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
269275
* },
276+
* UriFragment: {
277+
* FallbackBehavior: "MATCH" || "NO_MATCH",
278+
* },
270279
* },
271280
* TextTransformations: [ // required
272281
* {
@@ -328,6 +337,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
328337
* JA4Fingerprint: {
329338
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
330339
* },
340+
* UriFragment: {
341+
* FallbackBehavior: "MATCH" || "NO_MATCH",
342+
* },
331343
* },
332344
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
333345
* Size: Number("long"), // required
@@ -466,6 +478,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
466478
* JA4Fingerprint: {
467479
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
468480
* },
481+
* UriFragment: {
482+
* FallbackBehavior: "MATCH" || "NO_MATCH",
483+
* },
469484
* },
470485
* TextTransformations: [ // required
471486
* {

clients/client-wafv2/src/commands/GetLoggingConfigurationCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
109109
* // JA4Fingerprint: { // JA4Fingerprint
110110
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
111111
* // },
112+
* // UriFragment: { // UriFragment
113+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
114+
* // },
112115
* // },
113116
* // ],
114117
* // ManagedByFirewallManager: true || false,

clients/client-wafv2/src/commands/GetRuleGroupCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
117117
* // JA4Fingerprint: { // JA4Fingerprint
118118
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
119119
* // },
120+
* // UriFragment: { // UriFragment
121+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
122+
* // },
120123
* // },
121124
* // TextTransformations: [ // TextTransformations // required
122125
* // { // TextTransformation
@@ -187,6 +190,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
187190
* // JA4Fingerprint: {
188191
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
189192
* // },
193+
* // UriFragment: {
194+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
195+
* // },
190196
* // },
191197
* // TextTransformations: [ // required
192198
* // {
@@ -253,6 +259,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
253259
* // JA4Fingerprint: {
254260
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
255261
* // },
262+
* // UriFragment: {
263+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
264+
* // },
256265
* // },
257266
* // TextTransformations: [ // required
258267
* // {
@@ -314,6 +323,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
314323
* // JA4Fingerprint: {
315324
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
316325
* // },
326+
* // UriFragment: {
327+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
328+
* // },
317329
* // },
318330
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
319331
* // Size: Number("long"), // required
@@ -462,6 +474,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
462474
* // JA4Fingerprint: {
463475
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
464476
* // },
477+
* // UriFragment: {
478+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
479+
* // },
465480
* // },
466481
* // TextTransformations: [ // required
467482
* // {

clients/client-wafv2/src/commands/GetWebACLCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
139139
* // JA4Fingerprint: { // JA4Fingerprint
140140
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
141141
* // },
142+
* // UriFragment: { // UriFragment
143+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
144+
* // },
142145
* // },
143146
* // TextTransformations: [ // TextTransformations // required
144147
* // { // TextTransformation
@@ -209,6 +212,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
209212
* // JA4Fingerprint: {
210213
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
211214
* // },
215+
* // UriFragment: {
216+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
217+
* // },
212218
* // },
213219
* // TextTransformations: [ // required
214220
* // {
@@ -275,6 +281,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
275281
* // JA4Fingerprint: {
276282
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
277283
* // },
284+
* // UriFragment: {
285+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
286+
* // },
278287
* // },
279288
* // TextTransformations: [ // required
280289
* // {
@@ -336,6 +345,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
336345
* // JA4Fingerprint: {
337346
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
338347
* // },
348+
* // UriFragment: {
349+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
350+
* // },
339351
* // },
340352
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
341353
* // Size: Number("long"), // required
@@ -474,6 +486,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
474486
* // JA4Fingerprint: {
475487
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
476488
* // },
489+
* // UriFragment: {
490+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
491+
* // },
477492
* // },
478493
* // TextTransformations: [ // required
479494
* // {

clients/client-wafv2/src/commands/GetWebACLForResourceCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
147147
* // JA4Fingerprint: { // JA4Fingerprint
148148
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
149149
* // },
150+
* // UriFragment: { // UriFragment
151+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
152+
* // },
150153
* // },
151154
* // TextTransformations: [ // TextTransformations // required
152155
* // { // TextTransformation
@@ -217,6 +220,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
217220
* // JA4Fingerprint: {
218221
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
219222
* // },
223+
* // UriFragment: {
224+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
225+
* // },
220226
* // },
221227
* // TextTransformations: [ // required
222228
* // {
@@ -283,6 +289,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
283289
* // JA4Fingerprint: {
284290
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
285291
* // },
292+
* // UriFragment: {
293+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
294+
* // },
286295
* // },
287296
* // TextTransformations: [ // required
288297
* // {
@@ -344,6 +353,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
344353
* // JA4Fingerprint: {
345354
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
346355
* // },
356+
* // UriFragment: {
357+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
358+
* // },
347359
* // },
348360
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
349361
* // Size: Number("long"), // required
@@ -482,6 +494,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
482494
* // JA4Fingerprint: {
483495
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
484496
* // },
497+
* // UriFragment: {
498+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
499+
* // },
485500
* // },
486501
* // TextTransformations: [ // required
487502
* // {

clients/client-wafv2/src/commands/ListLoggingConfigurationsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
111111
* // JA4Fingerprint: { // JA4Fingerprint
112112
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
113113
* // },
114+
* // UriFragment: { // UriFragment
115+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
116+
* // },
114117
* // },
115118
* // ],
116119
* // ManagedByFirewallManager: true || false,

clients/client-wafv2/src/commands/PutLoggingConfigurationCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
145145
* JA4Fingerprint: { // JA4Fingerprint
146146
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
147147
* },
148+
* UriFragment: { // UriFragment
149+
* FallbackBehavior: "MATCH" || "NO_MATCH",
150+
* },
148151
* },
149152
* ],
150153
* ManagedByFirewallManager: true || false,
@@ -240,6 +243,9 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
240243
* // JA4Fingerprint: { // JA4Fingerprint
241244
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
242245
* // },
246+
* // UriFragment: { // UriFragment
247+
* // FallbackBehavior: "MATCH" || "NO_MATCH",
248+
* // },
243249
* // },
244250
* // ],
245251
* // ManagedByFirewallManager: true || false,

clients/client-wafv2/src/commands/UpdateRuleGroupCommand.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
143143
* JA4Fingerprint: { // JA4Fingerprint
144144
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
145145
* },
146+
* UriFragment: { // UriFragment
147+
* FallbackBehavior: "MATCH" || "NO_MATCH",
148+
* },
146149
* },
147150
* TextTransformations: [ // TextTransformations // required
148151
* { // TextTransformation
@@ -213,6 +216,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
213216
* JA4Fingerprint: {
214217
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
215218
* },
219+
* UriFragment: {
220+
* FallbackBehavior: "MATCH" || "NO_MATCH",
221+
* },
216222
* },
217223
* TextTransformations: [ // required
218224
* {
@@ -279,6 +285,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
279285
* JA4Fingerprint: {
280286
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
281287
* },
288+
* UriFragment: {
289+
* FallbackBehavior: "MATCH" || "NO_MATCH",
290+
* },
282291
* },
283292
* TextTransformations: [ // required
284293
* {
@@ -340,6 +349,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
340349
* JA4Fingerprint: {
341350
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
342351
* },
352+
* UriFragment: {
353+
* FallbackBehavior: "MATCH" || "NO_MATCH",
354+
* },
343355
* },
344356
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
345357
* Size: Number("long"), // required
@@ -488,6 +500,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
488500
* JA4Fingerprint: {
489501
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
490502
* },
503+
* UriFragment: {
504+
* FallbackBehavior: "MATCH" || "NO_MATCH",
505+
* },
491506
* },
492507
* TextTransformations: [ // required
493508
* {

0 commit comments

Comments
 (0)