@aws-sdk/client-waf 3.325.0 → 3.326.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/commands/CreateByteMatchSetCommand.d.ts +21 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +16 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +16 -0
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +20 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +20 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +13 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +18 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +21 -0
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +19 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +33 -0
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +19 -0
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +20 -0
- package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -0
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -0
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +15 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +15 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +19 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +9 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +19 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +12 -0
- package/dist-types/commands/GetRuleCommand.d.ts +17 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +10 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +31 -0
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +20 -0
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +18 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +32 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +18 -0
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +24 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +20 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +12 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +12 -0
- package/dist-types/commands/ListRulesCommand.d.ts +12 -0
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +12 -0
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +13 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +12 -0
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +12 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -0
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -0
- package/package.json +3 -3
|
@@ -85,6 +85,10 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
85
85
|
* };
|
|
86
86
|
* const command = new UpdateRuleGroupCommand(input);
|
|
87
87
|
* const response = await client.send(command);
|
|
88
|
+
* // { // UpdateRuleGroupResponse
|
|
89
|
+
* // ChangeToken: "STRING_VALUE",
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
88
92
|
* ```
|
|
89
93
|
*
|
|
90
94
|
* @param UpdateRuleGroupCommandInput - {@link UpdateRuleGroupCommandInput}
|
|
@@ -188,6 +192,8 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
188
192
|
* @throws {@link WAFStaleDataException} (client fault)
|
|
189
193
|
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
190
194
|
*
|
|
195
|
+
* @throws {@link WAFServiceException}
|
|
196
|
+
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
191
197
|
*
|
|
192
198
|
*/
|
|
193
199
|
export declare class UpdateRuleGroupCommand extends $Command<UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -96,6 +96,10 @@ export interface UpdateSizeConstraintSetCommandOutput extends UpdateSizeConstrai
|
|
|
96
96
|
* };
|
|
97
97
|
* const command = new UpdateSizeConstraintSetCommand(input);
|
|
98
98
|
* const response = await client.send(command);
|
|
99
|
+
* // { // UpdateSizeConstraintSetResponse
|
|
100
|
+
* // ChangeToken: "STRING_VALUE",
|
|
101
|
+
* // };
|
|
102
|
+
*
|
|
99
103
|
* ```
|
|
100
104
|
*
|
|
101
105
|
* @param UpdateSizeConstraintSetCommandInput - {@link UpdateSizeConstraintSetCommandInput}
|
|
@@ -213,6 +217,8 @@ export interface UpdateSizeConstraintSetCommandOutput extends UpdateSizeConstrai
|
|
|
213
217
|
* @throws {@link WAFStaleDataException} (client fault)
|
|
214
218
|
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
215
219
|
*
|
|
220
|
+
* @throws {@link WAFServiceException}
|
|
221
|
+
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
216
222
|
*
|
|
217
223
|
* @example To update a size constraint set
|
|
218
224
|
* ```javascript
|
|
@@ -93,6 +93,10 @@ export interface UpdateSqlInjectionMatchSetCommandOutput extends UpdateSqlInject
|
|
|
93
93
|
* };
|
|
94
94
|
* const command = new UpdateSqlInjectionMatchSetCommand(input);
|
|
95
95
|
* const response = await client.send(command);
|
|
96
|
+
* // { // UpdateSqlInjectionMatchSetResponse
|
|
97
|
+
* // ChangeToken: "STRING_VALUE",
|
|
98
|
+
* // };
|
|
99
|
+
*
|
|
96
100
|
* ```
|
|
97
101
|
*
|
|
98
102
|
* @param UpdateSqlInjectionMatchSetCommandInput - {@link UpdateSqlInjectionMatchSetCommandInput}
|
|
@@ -199,6 +203,8 @@ export interface UpdateSqlInjectionMatchSetCommandOutput extends UpdateSqlInject
|
|
|
199
203
|
* @throws {@link WAFStaleDataException} (client fault)
|
|
200
204
|
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
201
205
|
*
|
|
206
|
+
* @throws {@link WAFServiceException}
|
|
207
|
+
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
202
208
|
*
|
|
203
209
|
* @example To update a SQL injection match set
|
|
204
210
|
* ```javascript
|
|
@@ -135,6 +135,10 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
135
135
|
* };
|
|
136
136
|
* const command = new UpdateWebACLCommand(input);
|
|
137
137
|
* const response = await client.send(command);
|
|
138
|
+
* // { // UpdateWebACLResponse
|
|
139
|
+
* // ChangeToken: "STRING_VALUE",
|
|
140
|
+
* // };
|
|
141
|
+
*
|
|
138
142
|
* ```
|
|
139
143
|
*
|
|
140
144
|
* @param UpdateWebACLCommandInput - {@link UpdateWebACLCommandInput}
|
|
@@ -255,6 +259,8 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
255
259
|
* @throws {@link WAFSubscriptionNotFoundException} (client fault)
|
|
256
260
|
* <p>The specified subscription does not exist.</p>
|
|
257
261
|
*
|
|
262
|
+
* @throws {@link WAFServiceException}
|
|
263
|
+
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
258
264
|
*
|
|
259
265
|
* @example To update a Web ACL
|
|
260
266
|
* ```javascript
|
|
@@ -95,6 +95,10 @@ export interface UpdateXssMatchSetCommandOutput extends UpdateXssMatchSetRespons
|
|
|
95
95
|
* };
|
|
96
96
|
* const command = new UpdateXssMatchSetCommand(input);
|
|
97
97
|
* const response = await client.send(command);
|
|
98
|
+
* // { // UpdateXssMatchSetResponse
|
|
99
|
+
* // ChangeToken: "STRING_VALUE",
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
98
102
|
* ```
|
|
99
103
|
*
|
|
100
104
|
* @param UpdateXssMatchSetCommandInput - {@link UpdateXssMatchSetCommandInput}
|
|
@@ -201,6 +205,8 @@ export interface UpdateXssMatchSetCommandOutput extends UpdateXssMatchSetRespons
|
|
|
201
205
|
* @throws {@link WAFStaleDataException} (client fault)
|
|
202
206
|
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
203
207
|
*
|
|
208
|
+
* @throws {@link WAFServiceException}
|
|
209
|
+
* <p>Base exception class for all service exceptions from WAF service.</p>
|
|
204
210
|
*
|
|
205
211
|
* @example To update an XSS match set
|
|
206
212
|
* ```javascript
|
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.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|