@aws-sdk/client-wafv2 3.418.0 → 3.421.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/README.md +7 -7
- package/dist-cjs/models/models_0.js +5 -5
- package/dist-es/models/models_0.js +4 -4
- package/dist-types/commands/CheckCapacityCommand.d.ts +15 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +15 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +16 -1
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +15 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +15 -0
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +15 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +15 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +16 -1
- package/dist-types/models/models_0.d.ts +117 -215
- package/dist-types/ts3.4/models/models_0.d.ts +10 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -81,16 +81,16 @@ using your favorite package manager:
|
|
|
81
81
|
|
|
82
82
|
The AWS SDK is modulized by clients and commands.
|
|
83
83
|
To send a request, you only need to import the `WAFV2Client` and
|
|
84
|
-
the commands you need, for example `
|
|
84
|
+
the commands you need, for example `ListAPIKeysCommand`:
|
|
85
85
|
|
|
86
86
|
```js
|
|
87
87
|
// ES5 example
|
|
88
|
-
const { WAFV2Client,
|
|
88
|
+
const { WAFV2Client, ListAPIKeysCommand } = require("@aws-sdk/client-wafv2");
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
```ts
|
|
92
92
|
// ES6+ example
|
|
93
|
-
import { WAFV2Client,
|
|
93
|
+
import { WAFV2Client, ListAPIKeysCommand } from "@aws-sdk/client-wafv2";
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
### Usage
|
|
@@ -109,7 +109,7 @@ const client = new WAFV2Client({ region: "REGION" });
|
|
|
109
109
|
const params = {
|
|
110
110
|
/** input parameters */
|
|
111
111
|
};
|
|
112
|
-
const command = new
|
|
112
|
+
const command = new ListAPIKeysCommand(params);
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
#### Async/await
|
|
@@ -188,7 +188,7 @@ const client = new AWS.WAFV2({ region: "REGION" });
|
|
|
188
188
|
|
|
189
189
|
// async/await.
|
|
190
190
|
try {
|
|
191
|
-
const data = await client.
|
|
191
|
+
const data = await client.listAPIKeys(params);
|
|
192
192
|
// process data.
|
|
193
193
|
} catch (error) {
|
|
194
194
|
// error handling.
|
|
@@ -196,7 +196,7 @@ try {
|
|
|
196
196
|
|
|
197
197
|
// Promises.
|
|
198
198
|
client
|
|
199
|
-
.
|
|
199
|
+
.listAPIKeys(params)
|
|
200
200
|
.then((data) => {
|
|
201
201
|
// process data.
|
|
202
202
|
})
|
|
@@ -205,7 +205,7 @@ client
|
|
|
205
205
|
});
|
|
206
206
|
|
|
207
207
|
// callbacks.
|
|
208
|
-
client.
|
|
208
|
+
client.listAPIKeys(params, (err, data) => {
|
|
209
209
|
// process err and data.
|
|
210
210
|
});
|
|
211
211
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WAFInvalidPermissionPolicyException = exports.WAFServiceLinkedRoleErrorException = exports.WAFLogDestinationPermissionIssueException = exports.ResourceType = exports.FailureReason = exports.WAFUnsupportedAggregateKeyTypeException = exports.FilterRequirement = exports.FilterBehavior = exports.Platform = exports.WAFAssociatedItemException = exports.WAFConfigurationWarningException = exports.ResponseContentType = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFOptimisticLockException = exports.WAFDuplicateItemException = exports.IPAddressVersion = exports.WAFSubscriptionNotFoundException = exports.WAFLimitsExceededException = exports.WAFInvalidResourceException = exports.WAFExpiredManagedRuleGroupVersionException = exports.Scope = exports.SizeInspectionLimit = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.ParameterExceptionField = exports.WAFInvalidOperationException = exports.WAFInternalErrorException = exports.AssociatedResourceType = exports.SensitivityLevel = exports.ComparisonOperator = exports.RateBasedStatementAggregateKeyType = exports.InspectionLevel = exports.PayloadType = exports.LabelMatchScope = exports.ForwardedIPPosition = exports.
|
|
3
|
+
exports.WAFInvalidPermissionPolicyException = exports.WAFServiceLinkedRoleErrorException = exports.WAFLogDestinationPermissionIssueException = exports.ResourceType = exports.FailureReason = exports.WAFUnsupportedAggregateKeyTypeException = exports.FilterRequirement = exports.FilterBehavior = exports.Platform = exports.WAFAssociatedItemException = exports.WAFConfigurationWarningException = exports.ResponseContentType = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFOptimisticLockException = exports.WAFDuplicateItemException = exports.IPAddressVersion = exports.WAFSubscriptionNotFoundException = exports.WAFLimitsExceededException = exports.WAFInvalidResourceException = exports.WAFExpiredManagedRuleGroupVersionException = exports.Scope = exports.SizeInspectionLimit = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.ParameterExceptionField = exports.WAFInvalidOperationException = exports.WAFInternalErrorException = exports.AssociatedResourceType = exports.SensitivityLevel = exports.ComparisonOperator = exports.RateBasedStatementAggregateKeyType = exports.InspectionLevel = exports.PayloadType = exports.LabelMatchScope = exports.ForwardedIPPosition = exports.CountryCode = exports.TextTransformationType = exports.PositionalConstraint = exports.JsonMatchScope = exports.BodyParsingFallbackBehavior = exports.FallbackBehavior = exports.MapMatchScope = exports.OversizeHandling = exports.ActionValue = void 0;
|
|
4
4
|
const WAFV2ServiceException_1 = require("./WAFV2ServiceException");
|
|
5
5
|
exports.ActionValue = {
|
|
6
6
|
ALLOW: "ALLOW",
|
|
@@ -20,6 +20,10 @@ exports.MapMatchScope = {
|
|
|
20
20
|
KEY: "KEY",
|
|
21
21
|
VALUE: "VALUE",
|
|
22
22
|
};
|
|
23
|
+
exports.FallbackBehavior = {
|
|
24
|
+
MATCH: "MATCH",
|
|
25
|
+
NO_MATCH: "NO_MATCH",
|
|
26
|
+
};
|
|
23
27
|
exports.BodyParsingFallbackBehavior = {
|
|
24
28
|
EVALUATE_AS_STRING: "EVALUATE_AS_STRING",
|
|
25
29
|
MATCH: "MATCH",
|
|
@@ -312,10 +316,6 @@ exports.CountryCode = {
|
|
|
312
316
|
ZM: "ZM",
|
|
313
317
|
ZW: "ZW",
|
|
314
318
|
};
|
|
315
|
-
exports.FallbackBehavior = {
|
|
316
|
-
MATCH: "MATCH",
|
|
317
|
-
NO_MATCH: "NO_MATCH",
|
|
318
|
-
};
|
|
319
319
|
exports.ForwardedIPPosition = {
|
|
320
320
|
ANY: "ANY",
|
|
321
321
|
FIRST: "FIRST",
|
|
@@ -17,6 +17,10 @@ export const MapMatchScope = {
|
|
|
17
17
|
KEY: "KEY",
|
|
18
18
|
VALUE: "VALUE",
|
|
19
19
|
};
|
|
20
|
+
export const FallbackBehavior = {
|
|
21
|
+
MATCH: "MATCH",
|
|
22
|
+
NO_MATCH: "NO_MATCH",
|
|
23
|
+
};
|
|
20
24
|
export const BodyParsingFallbackBehavior = {
|
|
21
25
|
EVALUATE_AS_STRING: "EVALUATE_AS_STRING",
|
|
22
26
|
MATCH: "MATCH",
|
|
@@ -309,10 +313,6 @@ export const CountryCode = {
|
|
|
309
313
|
ZM: "ZM",
|
|
310
314
|
ZW: "ZW",
|
|
311
315
|
};
|
|
312
|
-
export const FallbackBehavior = {
|
|
313
|
-
MATCH: "MATCH",
|
|
314
|
-
NO_MATCH: "NO_MATCH",
|
|
315
|
-
};
|
|
316
316
|
export const ForwardedIPPosition = {
|
|
317
317
|
ANY: "ANY",
|
|
318
318
|
FIRST: "FIRST",
|
|
@@ -104,6 +104,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
104
104
|
* HeaderOrder: { // HeaderOrder
|
|
105
105
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
106
106
|
* },
|
|
107
|
+
* JA3Fingerprint: { // JA3Fingerprint
|
|
108
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
109
|
+
* },
|
|
107
110
|
* },
|
|
108
111
|
* TextTransformations: [ // TextTransformations // required
|
|
109
112
|
* { // TextTransformation
|
|
@@ -168,6 +171,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
168
171
|
* HeaderOrder: {
|
|
169
172
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
170
173
|
* },
|
|
174
|
+
* JA3Fingerprint: {
|
|
175
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
176
|
+
* },
|
|
171
177
|
* },
|
|
172
178
|
* TextTransformations: [ // required
|
|
173
179
|
* {
|
|
@@ -228,6 +234,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
228
234
|
* HeaderOrder: {
|
|
229
235
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
230
236
|
* },
|
|
237
|
+
* JA3Fingerprint: {
|
|
238
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
239
|
+
* },
|
|
231
240
|
* },
|
|
232
241
|
* TextTransformations: [ // required
|
|
233
242
|
* {
|
|
@@ -283,6 +292,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
283
292
|
* HeaderOrder: {
|
|
284
293
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
285
294
|
* },
|
|
295
|
+
* JA3Fingerprint: {
|
|
296
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
297
|
+
* },
|
|
286
298
|
* },
|
|
287
299
|
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
288
300
|
* Size: Number("long"), // required
|
|
@@ -425,6 +437,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
425
437
|
* HeaderOrder: {
|
|
426
438
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
427
439
|
* },
|
|
440
|
+
* JA3Fingerprint: {
|
|
441
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
442
|
+
* },
|
|
428
443
|
* },
|
|
429
444
|
* TextTransformations: [ // required
|
|
430
445
|
* {
|
|
@@ -97,6 +97,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
97
97
|
* HeaderOrder: { // HeaderOrder
|
|
98
98
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
99
99
|
* },
|
|
100
|
+
* JA3Fingerprint: { // JA3Fingerprint
|
|
101
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
102
|
+
* },
|
|
100
103
|
* },
|
|
101
104
|
* TextTransformations: [ // TextTransformations // required
|
|
102
105
|
* { // TextTransformation
|
|
@@ -161,6 +164,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
161
164
|
* HeaderOrder: {
|
|
162
165
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
163
166
|
* },
|
|
167
|
+
* JA3Fingerprint: {
|
|
168
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
169
|
+
* },
|
|
164
170
|
* },
|
|
165
171
|
* TextTransformations: [ // required
|
|
166
172
|
* {
|
|
@@ -221,6 +227,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
221
227
|
* HeaderOrder: {
|
|
222
228
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
223
229
|
* },
|
|
230
|
+
* JA3Fingerprint: {
|
|
231
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
232
|
+
* },
|
|
224
233
|
* },
|
|
225
234
|
* TextTransformations: [ // required
|
|
226
235
|
* {
|
|
@@ -276,6 +285,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
276
285
|
* HeaderOrder: {
|
|
277
286
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
278
287
|
* },
|
|
288
|
+
* JA3Fingerprint: {
|
|
289
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
290
|
+
* },
|
|
279
291
|
* },
|
|
280
292
|
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
281
293
|
* Size: Number("long"), // required
|
|
@@ -418,6 +430,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
418
430
|
* HeaderOrder: {
|
|
419
431
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
420
432
|
* },
|
|
433
|
+
* JA3Fingerprint: {
|
|
434
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
435
|
+
* },
|
|
421
436
|
* },
|
|
422
437
|
* TextTransformations: [ // required
|
|
423
438
|
* {
|
|
@@ -24,7 +24,7 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a <a>WebACL</a> per the specifications provided.</p>
|
|
27
|
-
* <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has
|
|
27
|
+
* <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -120,6 +120,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
120
120
|
* HeaderOrder: { // HeaderOrder
|
|
121
121
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
122
122
|
* },
|
|
123
|
+
* JA3Fingerprint: { // JA3Fingerprint
|
|
124
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
125
|
+
* },
|
|
123
126
|
* },
|
|
124
127
|
* TextTransformations: [ // TextTransformations // required
|
|
125
128
|
* { // TextTransformation
|
|
@@ -184,6 +187,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
184
187
|
* HeaderOrder: {
|
|
185
188
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
186
189
|
* },
|
|
190
|
+
* JA3Fingerprint: {
|
|
191
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
192
|
+
* },
|
|
187
193
|
* },
|
|
188
194
|
* TextTransformations: [ // required
|
|
189
195
|
* {
|
|
@@ -244,6 +250,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
244
250
|
* HeaderOrder: {
|
|
245
251
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
246
252
|
* },
|
|
253
|
+
* JA3Fingerprint: {
|
|
254
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
255
|
+
* },
|
|
247
256
|
* },
|
|
248
257
|
* TextTransformations: [ // required
|
|
249
258
|
* {
|
|
@@ -299,6 +308,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
299
308
|
* HeaderOrder: {
|
|
300
309
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
301
310
|
* },
|
|
311
|
+
* JA3Fingerprint: {
|
|
312
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
313
|
+
* },
|
|
302
314
|
* },
|
|
303
315
|
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
304
316
|
* Size: Number("long"), // required
|
|
@@ -431,6 +443,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
431
443
|
* HeaderOrder: {
|
|
432
444
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
433
445
|
* },
|
|
446
|
+
* JA3Fingerprint: {
|
|
447
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
448
|
+
* },
|
|
434
449
|
* },
|
|
435
450
|
* TextTransformations: [ // required
|
|
436
451
|
* {
|
|
@@ -96,6 +96,9 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
|
|
|
96
96
|
* // HeaderOrder: { // HeaderOrder
|
|
97
97
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
98
98
|
* // },
|
|
99
|
+
* // JA3Fingerprint: { // JA3Fingerprint
|
|
100
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
101
|
+
* // },
|
|
99
102
|
* // },
|
|
100
103
|
* // ],
|
|
101
104
|
* // ManagedByFirewallManager: true || false,
|
|
@@ -106,6 +106,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
|
|
|
106
106
|
* // HeaderOrder: { // HeaderOrder
|
|
107
107
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
108
108
|
* // },
|
|
109
|
+
* // JA3Fingerprint: { // JA3Fingerprint
|
|
110
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
111
|
+
* // },
|
|
109
112
|
* // },
|
|
110
113
|
* // TextTransformations: [ // TextTransformations // required
|
|
111
114
|
* // { // TextTransformation
|
|
@@ -170,6 +173,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
|
|
|
170
173
|
* // HeaderOrder: {
|
|
171
174
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
172
175
|
* // },
|
|
176
|
+
* // JA3Fingerprint: {
|
|
177
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
178
|
+
* // },
|
|
173
179
|
* // },
|
|
174
180
|
* // TextTransformations: [ // required
|
|
175
181
|
* // {
|
|
@@ -230,6 +236,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
|
|
|
230
236
|
* // HeaderOrder: {
|
|
231
237
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
232
238
|
* // },
|
|
239
|
+
* // JA3Fingerprint: {
|
|
240
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
241
|
+
* // },
|
|
233
242
|
* // },
|
|
234
243
|
* // TextTransformations: [ // required
|
|
235
244
|
* // {
|
|
@@ -285,6 +294,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
|
|
|
285
294
|
* // HeaderOrder: {
|
|
286
295
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
287
296
|
* // },
|
|
297
|
+
* // JA3Fingerprint: {
|
|
298
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
299
|
+
* // },
|
|
288
300
|
* // },
|
|
289
301
|
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
290
302
|
* // Size: Number("long"), // required
|
|
@@ -427,6 +439,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
|
|
|
427
439
|
* // HeaderOrder: {
|
|
428
440
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
429
441
|
* // },
|
|
442
|
+
* // JA3Fingerprint: {
|
|
443
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
444
|
+
* // },
|
|
430
445
|
* // },
|
|
431
446
|
* // TextTransformations: [ // required
|
|
432
447
|
* // {
|
|
@@ -128,6 +128,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
128
128
|
* // HeaderOrder: { // HeaderOrder
|
|
129
129
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
130
130
|
* // },
|
|
131
|
+
* // JA3Fingerprint: { // JA3Fingerprint
|
|
132
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
133
|
+
* // },
|
|
131
134
|
* // },
|
|
132
135
|
* // TextTransformations: [ // TextTransformations // required
|
|
133
136
|
* // { // TextTransformation
|
|
@@ -192,6 +195,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
192
195
|
* // HeaderOrder: {
|
|
193
196
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
194
197
|
* // },
|
|
198
|
+
* // JA3Fingerprint: {
|
|
199
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
200
|
+
* // },
|
|
195
201
|
* // },
|
|
196
202
|
* // TextTransformations: [ // required
|
|
197
203
|
* // {
|
|
@@ -252,6 +258,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
252
258
|
* // HeaderOrder: {
|
|
253
259
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
254
260
|
* // },
|
|
261
|
+
* // JA3Fingerprint: {
|
|
262
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
263
|
+
* // },
|
|
255
264
|
* // },
|
|
256
265
|
* // TextTransformations: [ // required
|
|
257
266
|
* // {
|
|
@@ -307,6 +316,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
307
316
|
* // HeaderOrder: {
|
|
308
317
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
309
318
|
* // },
|
|
319
|
+
* // JA3Fingerprint: {
|
|
320
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
321
|
+
* // },
|
|
310
322
|
* // },
|
|
311
323
|
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
312
324
|
* // Size: Number("long"), // required
|
|
@@ -439,6 +451,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
439
451
|
* // HeaderOrder: {
|
|
440
452
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
441
453
|
* // },
|
|
454
|
+
* // JA3Fingerprint: {
|
|
455
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
456
|
+
* // },
|
|
442
457
|
* // },
|
|
443
458
|
* // TextTransformations: [ // required
|
|
444
459
|
* // {
|
|
@@ -126,6 +126,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
126
126
|
* // HeaderOrder: { // HeaderOrder
|
|
127
127
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
128
128
|
* // },
|
|
129
|
+
* // JA3Fingerprint: { // JA3Fingerprint
|
|
130
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
131
|
+
* // },
|
|
129
132
|
* // },
|
|
130
133
|
* // TextTransformations: [ // TextTransformations // required
|
|
131
134
|
* // { // TextTransformation
|
|
@@ -190,6 +193,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
190
193
|
* // HeaderOrder: {
|
|
191
194
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
192
195
|
* // },
|
|
196
|
+
* // JA3Fingerprint: {
|
|
197
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
198
|
+
* // },
|
|
193
199
|
* // },
|
|
194
200
|
* // TextTransformations: [ // required
|
|
195
201
|
* // {
|
|
@@ -250,6 +256,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
250
256
|
* // HeaderOrder: {
|
|
251
257
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
252
258
|
* // },
|
|
259
|
+
* // JA3Fingerprint: {
|
|
260
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
261
|
+
* // },
|
|
253
262
|
* // },
|
|
254
263
|
* // TextTransformations: [ // required
|
|
255
264
|
* // {
|
|
@@ -305,6 +314,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
305
314
|
* // HeaderOrder: {
|
|
306
315
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
307
316
|
* // },
|
|
317
|
+
* // JA3Fingerprint: {
|
|
318
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
319
|
+
* // },
|
|
308
320
|
* // },
|
|
309
321
|
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
310
322
|
* // Size: Number("long"), // required
|
|
@@ -437,6 +449,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
437
449
|
* // HeaderOrder: {
|
|
438
450
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
439
451
|
* // },
|
|
452
|
+
* // JA3Fingerprint: {
|
|
453
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
454
|
+
* // },
|
|
440
455
|
* // },
|
|
441
456
|
* // TextTransformations: [ // required
|
|
442
457
|
* // {
|
|
@@ -99,6 +99,9 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
|
|
|
99
99
|
* // HeaderOrder: { // HeaderOrder
|
|
100
100
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
101
101
|
* // },
|
|
102
|
+
* // JA3Fingerprint: { // JA3Fingerprint
|
|
103
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
104
|
+
* // },
|
|
102
105
|
* // },
|
|
103
106
|
* // ],
|
|
104
107
|
* // ManagedByFirewallManager: true || false,
|
|
@@ -133,6 +133,9 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
133
133
|
* HeaderOrder: { // HeaderOrder
|
|
134
134
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
135
135
|
* },
|
|
136
|
+
* JA3Fingerprint: { // JA3Fingerprint
|
|
137
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
138
|
+
* },
|
|
136
139
|
* },
|
|
137
140
|
* ],
|
|
138
141
|
* ManagedByFirewallManager: true || false,
|
|
@@ -220,6 +223,9 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
220
223
|
* // HeaderOrder: { // HeaderOrder
|
|
221
224
|
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
222
225
|
* // },
|
|
226
|
+
* // JA3Fingerprint: { // JA3Fingerprint
|
|
227
|
+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
228
|
+
* // },
|
|
223
229
|
* // },
|
|
224
230
|
* // ],
|
|
225
231
|
* // ManagedByFirewallManager: true || false,
|
|
@@ -114,6 +114,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
114
114
|
* HeaderOrder: { // HeaderOrder
|
|
115
115
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
116
116
|
* },
|
|
117
|
+
* JA3Fingerprint: { // JA3Fingerprint
|
|
118
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
119
|
+
* },
|
|
117
120
|
* },
|
|
118
121
|
* TextTransformations: [ // TextTransformations // required
|
|
119
122
|
* { // TextTransformation
|
|
@@ -178,6 +181,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
178
181
|
* HeaderOrder: {
|
|
179
182
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
180
183
|
* },
|
|
184
|
+
* JA3Fingerprint: {
|
|
185
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
186
|
+
* },
|
|
181
187
|
* },
|
|
182
188
|
* TextTransformations: [ // required
|
|
183
189
|
* {
|
|
@@ -238,6 +244,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
238
244
|
* HeaderOrder: {
|
|
239
245
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
240
246
|
* },
|
|
247
|
+
* JA3Fingerprint: {
|
|
248
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
249
|
+
* },
|
|
241
250
|
* },
|
|
242
251
|
* TextTransformations: [ // required
|
|
243
252
|
* {
|
|
@@ -293,6 +302,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
293
302
|
* HeaderOrder: {
|
|
294
303
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
295
304
|
* },
|
|
305
|
+
* JA3Fingerprint: {
|
|
306
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
307
|
+
* },
|
|
296
308
|
* },
|
|
297
309
|
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
298
310
|
* Size: Number("long"), // required
|
|
@@ -435,6 +447,9 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
435
447
|
* HeaderOrder: {
|
|
436
448
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
437
449
|
* },
|
|
450
|
+
* JA3Fingerprint: {
|
|
451
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
452
|
+
* },
|
|
438
453
|
* },
|
|
439
454
|
* TextTransformations: [ // required
|
|
440
455
|
* {
|
|
@@ -42,7 +42,7 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
42
42
|
* </ol>
|
|
43
43
|
* </note>
|
|
44
44
|
* <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
|
|
45
|
-
* <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has
|
|
45
|
+
* <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
|
|
46
46
|
* @example
|
|
47
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
48
48
|
* ```javascript
|
|
@@ -139,6 +139,9 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
139
139
|
* HeaderOrder: { // HeaderOrder
|
|
140
140
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
141
141
|
* },
|
|
142
|
+
* JA3Fingerprint: { // JA3Fingerprint
|
|
143
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
144
|
+
* },
|
|
142
145
|
* },
|
|
143
146
|
* TextTransformations: [ // TextTransformations // required
|
|
144
147
|
* { // TextTransformation
|
|
@@ -203,6 +206,9 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
203
206
|
* HeaderOrder: {
|
|
204
207
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
205
208
|
* },
|
|
209
|
+
* JA3Fingerprint: {
|
|
210
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
211
|
+
* },
|
|
206
212
|
* },
|
|
207
213
|
* TextTransformations: [ // required
|
|
208
214
|
* {
|
|
@@ -263,6 +269,9 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
263
269
|
* HeaderOrder: {
|
|
264
270
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
265
271
|
* },
|
|
272
|
+
* JA3Fingerprint: {
|
|
273
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
274
|
+
* },
|
|
266
275
|
* },
|
|
267
276
|
* TextTransformations: [ // required
|
|
268
277
|
* {
|
|
@@ -318,6 +327,9 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
318
327
|
* HeaderOrder: {
|
|
319
328
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
320
329
|
* },
|
|
330
|
+
* JA3Fingerprint: {
|
|
331
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
332
|
+
* },
|
|
321
333
|
* },
|
|
322
334
|
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
|
|
323
335
|
* Size: Number("long"), // required
|
|
@@ -450,6 +462,9 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
450
462
|
* HeaderOrder: {
|
|
451
463
|
* OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
452
464
|
* },
|
|
465
|
+
* JA3Fingerprint: {
|
|
466
|
+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
|
|
467
|
+
* },
|
|
453
468
|
* },
|
|
454
469
|
* TextTransformations: [ // required
|
|
455
470
|
* {
|