@aws-sdk/client-waf 3.325.0 → 3.327.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.
Files changed (78) hide show
  1. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +21 -0
  2. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +16 -0
  3. package/dist-types/commands/CreateIPSetCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +20 -0
  5. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +20 -0
  6. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +13 -0
  7. package/dist-types/commands/CreateRuleCommand.d.ts +18 -0
  8. package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +21 -0
  10. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +19 -0
  11. package/dist-types/commands/CreateWebACLCommand.d.ts +33 -0
  12. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +19 -0
  14. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -0
  15. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
  17. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
  18. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -0
  20. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
  22. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -0
  23. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -0
  25. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -0
  26. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
  27. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -0
  28. package/dist-types/commands/GetByteMatchSetCommand.d.ts +20 -0
  29. package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -0
  30. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -0
  31. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +15 -0
  32. package/dist-types/commands/GetIPSetCommand.d.ts +15 -0
  33. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +17 -0
  34. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -0
  35. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +19 -0
  36. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +9 -0
  37. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +19 -0
  38. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +12 -0
  39. package/dist-types/commands/GetRuleCommand.d.ts +17 -0
  40. package/dist-types/commands/GetRuleGroupCommand.d.ts +10 -0
  41. package/dist-types/commands/GetSampledRequestsCommand.d.ts +31 -0
  42. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +20 -0
  43. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +18 -0
  44. package/dist-types/commands/GetWebACLCommand.d.ts +32 -0
  45. package/dist-types/commands/GetXssMatchSetCommand.d.ts +18 -0
  46. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +24 -0
  47. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +12 -0
  48. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +12 -0
  49. package/dist-types/commands/ListIPSetsCommand.d.ts +12 -0
  50. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +20 -0
  51. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +12 -0
  52. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +12 -0
  53. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +12 -0
  54. package/dist-types/commands/ListRuleGroupsCommand.d.ts +12 -0
  55. package/dist-types/commands/ListRulesCommand.d.ts +12 -0
  56. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +12 -0
  57. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +12 -0
  58. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +13 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
  60. package/dist-types/commands/ListWebACLsCommand.d.ts +12 -0
  61. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +12 -0
  62. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +17 -0
  63. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  64. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  66. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -0
  67. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -0
  68. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -0
  69. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -0
  70. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -0
  71. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -0
  72. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -0
  73. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -0
  74. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -0
  75. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -0
  76. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -0
  77. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -0
  78. package/package.json +7 -7
@@ -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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.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",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",