@aws-sdk/client-waf 3.774.0 → 3.777.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-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/WAFClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +12 -12
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +15 -15
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +15 -15
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +13 -13
- package/dist-types/commands/CreateWebACLCommand.d.ts +20 -20
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +1 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +13 -13
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -6
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -6
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +14 -14
- package/dist-types/commands/GetChangeTokenCommand.d.ts +5 -5
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +5 -5
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +10 -10
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +1 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/GetRuleCommand.d.ts +12 -12
- package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -45
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +13 -13
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +11 -11
- package/dist-types/commands/GetWebACLCommand.d.ts +15 -15
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +11 -11
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +1 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListRulesCommand.d.ts +7 -7
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +7 -7
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -7
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +15 -15
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +11 -11
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +12 -12
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +14 -14
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +12 -12
- package/dist-types/commands/UpdateWebACLCommand.d.ts +15 -15
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +12 -12
- package/package.json +33 -33
|
@@ -228,37 +228,37 @@ declare const UpdateSizeConstraintSetCommand_base: {
|
|
|
228
228
|
* @throws {@link WAFServiceException}
|
|
229
229
|
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
230
230
|
*
|
|
231
|
-
*
|
|
231
|
+
*
|
|
232
232
|
* @example To update a size constraint set
|
|
233
233
|
* ```javascript
|
|
234
234
|
* // The following example deletes a SizeConstraint object (filters) in a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
235
235
|
* const input = {
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
236
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
237
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
238
|
+
* Updates: [
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
240
|
+
* Action: "DELETE",
|
|
241
|
+
* SizeConstraint: {
|
|
242
|
+
* ComparisonOperator: "GT",
|
|
243
|
+
* FieldToMatch: {
|
|
244
|
+
* Type: "QUERY_STRING"
|
|
245
245
|
* },
|
|
246
|
-
*
|
|
247
|
-
*
|
|
246
|
+
* Size: 0,
|
|
247
|
+
* TextTransformation: "NONE"
|
|
248
248
|
* }
|
|
249
249
|
* }
|
|
250
250
|
* ]
|
|
251
251
|
* };
|
|
252
252
|
* const command = new UpdateSizeConstraintSetCommand(input);
|
|
253
253
|
* const response = await client.send(command);
|
|
254
|
-
* /* response
|
|
254
|
+
* /* response is
|
|
255
255
|
* {
|
|
256
|
-
*
|
|
256
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
257
257
|
* }
|
|
258
258
|
* *\/
|
|
259
|
-
* // example id: updatesizeconstraintset-1475531697891
|
|
260
259
|
* ```
|
|
261
260
|
*
|
|
261
|
+
* @public
|
|
262
262
|
*/
|
|
263
263
|
export declare class UpdateSizeConstraintSetCommand extends UpdateSizeConstraintSetCommand_base {
|
|
264
264
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -214,35 +214,35 @@ declare const UpdateSqlInjectionMatchSetCommand_base: {
|
|
|
214
214
|
* @throws {@link WAFServiceException}
|
|
215
215
|
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
216
216
|
*
|
|
217
|
-
*
|
|
217
|
+
*
|
|
218
218
|
* @example To update a SQL injection match set
|
|
219
219
|
* ```javascript
|
|
220
220
|
* // The following example deletes a SqlInjectionMatchTuple object (filters) in a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
221
221
|
* const input = {
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
222
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
223
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
224
|
+
* Updates: [
|
|
225
225
|
* {
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
226
|
+
* Action: "DELETE",
|
|
227
|
+
* SqlInjectionMatchTuple: {
|
|
228
|
+
* FieldToMatch: {
|
|
229
|
+
* Type: "QUERY_STRING"
|
|
230
230
|
* },
|
|
231
|
-
*
|
|
231
|
+
* TextTransformation: "URL_DECODE"
|
|
232
232
|
* }
|
|
233
233
|
* }
|
|
234
234
|
* ]
|
|
235
235
|
* };
|
|
236
236
|
* const command = new UpdateSqlInjectionMatchSetCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
-
* /* response
|
|
238
|
+
* /* response is
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
240
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
241
241
|
* }
|
|
242
242
|
* *\/
|
|
243
|
-
* // example id: updatesqlinjectionmatchset-1475532094686
|
|
244
243
|
* ```
|
|
245
244
|
*
|
|
245
|
+
* @public
|
|
246
246
|
*/
|
|
247
247
|
export declare class UpdateSqlInjectionMatchSetCommand extends UpdateSqlInjectionMatchSetCommand_base {
|
|
248
248
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -270,39 +270,39 @@ declare const UpdateWebACLCommand_base: {
|
|
|
270
270
|
* @throws {@link WAFServiceException}
|
|
271
271
|
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
272
272
|
*
|
|
273
|
-
*
|
|
273
|
+
*
|
|
274
274
|
* @example To update a Web ACL
|
|
275
275
|
* ```javascript
|
|
276
276
|
* // The following example deletes an ActivatedRule object in a WebACL with the ID webacl-1472061481310.
|
|
277
277
|
* const input = {
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
278
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
279
|
+
* DefaultAction: {
|
|
280
|
+
* Type: "ALLOW"
|
|
281
281
|
* },
|
|
282
|
-
*
|
|
282
|
+
* Updates: [
|
|
283
283
|
* {
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
284
|
+
* Action: "DELETE",
|
|
285
|
+
* ActivatedRule: {
|
|
286
|
+
* Action: {
|
|
287
|
+
* Type: "ALLOW"
|
|
288
288
|
* },
|
|
289
|
-
*
|
|
290
|
-
*
|
|
289
|
+
* Priority: 1,
|
|
290
|
+
* RuleId: "WAFRule-1-Example"
|
|
291
291
|
* }
|
|
292
292
|
* }
|
|
293
293
|
* ],
|
|
294
|
-
*
|
|
294
|
+
* WebACLId: "webacl-1472061481310"
|
|
295
295
|
* };
|
|
296
296
|
* const command = new UpdateWebACLCommand(input);
|
|
297
297
|
* const response = await client.send(command);
|
|
298
|
-
* /* response
|
|
298
|
+
* /* response is
|
|
299
299
|
* {
|
|
300
|
-
*
|
|
300
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
301
301
|
* }
|
|
302
302
|
* *\/
|
|
303
|
-
* // example id: updatewebacl-1475533627385
|
|
304
303
|
* ```
|
|
305
304
|
*
|
|
305
|
+
* @public
|
|
306
306
|
*/
|
|
307
307
|
export declare class UpdateWebACLCommand extends UpdateWebACLCommand_base {
|
|
308
308
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -216,35 +216,35 @@ declare const UpdateXssMatchSetCommand_base: {
|
|
|
216
216
|
* @throws {@link WAFServiceException}
|
|
217
217
|
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
218
218
|
*
|
|
219
|
-
*
|
|
219
|
+
*
|
|
220
220
|
* @example To update an XSS match set
|
|
221
221
|
* ```javascript
|
|
222
222
|
* // The following example deletes an XssMatchTuple object (filters) in an XssMatchSet with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
223
223
|
* const input = {
|
|
224
|
-
*
|
|
225
|
-
*
|
|
224
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
225
|
+
* Updates: [
|
|
226
226
|
* {
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
227
|
+
* Action: "DELETE",
|
|
228
|
+
* XssMatchTuple: {
|
|
229
|
+
* FieldToMatch: {
|
|
230
|
+
* Type: "QUERY_STRING"
|
|
231
231
|
* },
|
|
232
|
-
*
|
|
232
|
+
* TextTransformation: "URL_DECODE"
|
|
233
233
|
* }
|
|
234
234
|
* }
|
|
235
235
|
* ],
|
|
236
|
-
*
|
|
236
|
+
* XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
237
237
|
* };
|
|
238
238
|
* const command = new UpdateXssMatchSetCommand(input);
|
|
239
239
|
* const response = await client.send(command);
|
|
240
|
-
* /* response
|
|
240
|
+
* /* response is
|
|
241
241
|
* {
|
|
242
|
-
*
|
|
242
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
243
243
|
* }
|
|
244
244
|
* *\/
|
|
245
|
-
* // example id: updatexssmatchset-1475534098881
|
|
246
245
|
* ```
|
|
247
246
|
*
|
|
247
|
+
* @public
|
|
248
248
|
*/
|
|
249
249
|
export declare class UpdateXssMatchSetCommand extends UpdateXssMatchSetCommand_base {
|
|
250
250
|
/** @internal type navigation helper, not in runtime. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-waf",
|
|
3
3
|
"description": "AWS SDK for JavaScript Waf Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.777.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-waf",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.0
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0
|
|
41
|
-
"@smithy/middleware-retry": "^4.0
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.0.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.0
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.775.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
|
+
"@aws-sdk/types": "3.775.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.775.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
35
|
+
"@smithy/core": "^3.2.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
37
|
+
"@smithy/hash-node": "^4.0.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.0",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
47
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
48
|
+
"@smithy/types": "^4.2.0",
|
|
49
|
+
"@smithy/url-parser": "^4.0.2",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.2",
|
|
57
|
+
"@smithy/util-retry": "^4.0.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|