@aws-sdk/client-waf-regional 3.321.1 → 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.
Files changed (82) hide show
  1. package/dist-types/commands/AssociateWebACLCommand.d.ts +4 -0
  2. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +21 -0
  3. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateIPSetCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +20 -0
  6. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +20 -0
  7. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +13 -0
  8. package/dist-types/commands/CreateRuleCommand.d.ts +18 -0
  9. package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +19 -0
  12. package/dist-types/commands/CreateWebACLCommand.d.ts +33 -0
  13. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -0
  14. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +19 -0
  15. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -0
  17. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
  18. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
  19. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +4 -0
  20. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -0
  22. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
  23. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
  25. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -0
  26. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -0
  27. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
  28. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -0
  29. package/dist-types/commands/DisassociateWebACLCommand.d.ts +4 -0
  30. package/dist-types/commands/GetByteMatchSetCommand.d.ts +20 -0
  31. package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -0
  32. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -0
  33. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +15 -0
  34. package/dist-types/commands/GetIPSetCommand.d.ts +15 -0
  35. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +17 -0
  36. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -0
  37. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +19 -0
  38. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +9 -0
  39. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +19 -0
  40. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +12 -0
  41. package/dist-types/commands/GetRuleCommand.d.ts +17 -0
  42. package/dist-types/commands/GetRuleGroupCommand.d.ts +10 -0
  43. package/dist-types/commands/GetSampledRequestsCommand.d.ts +31 -0
  44. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +20 -0
  45. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +18 -0
  46. package/dist-types/commands/GetWebACLCommand.d.ts +32 -0
  47. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +9 -0
  48. package/dist-types/commands/GetXssMatchSetCommand.d.ts +18 -0
  49. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +24 -0
  50. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +12 -0
  51. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +12 -0
  52. package/dist-types/commands/ListIPSetsCommand.d.ts +12 -0
  53. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +20 -0
  54. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +12 -0
  55. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +12 -0
  56. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +12 -0
  57. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +8 -0
  58. package/dist-types/commands/ListRuleGroupsCommand.d.ts +12 -0
  59. package/dist-types/commands/ListRulesCommand.d.ts +12 -0
  60. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +12 -0
  61. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +12 -0
  62. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +13 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
  64. package/dist-types/commands/ListWebACLsCommand.d.ts +12 -0
  65. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +12 -0
  66. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +17 -0
  67. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -0
  71. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -0
  72. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -0
  73. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -0
  74. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -0
  75. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -0
  76. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -0
  77. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -0
  78. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -0
  79. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -0
  80. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -0
  81. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -0
  82. package/package.json +16 -16
@@ -97,6 +97,10 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes
97
97
  * };
98
98
  * const command = new UpdateRateBasedRuleCommand(input);
99
99
  * const response = await client.send(command);
100
+ * // { // UpdateRateBasedRuleResponse
101
+ * // ChangeToken: "STRING_VALUE",
102
+ * // };
103
+ *
100
104
  * ```
101
105
  *
102
106
  * @param UpdateRateBasedRuleCommandInput - {@link UpdateRateBasedRuleCommandInput}
@@ -214,6 +218,8 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes
214
218
  * @throws {@link WAFStaleDataException} (client fault)
215
219
  * <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>
216
220
  *
221
+ * @throws {@link WAFRegionalServiceException}
222
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
217
223
  *
218
224
  */
219
225
  export declare class UpdateRateBasedRuleCommand extends $Command<UpdateRateBasedRuleCommandInput, UpdateRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -87,6 +87,10 @@ export interface UpdateRegexMatchSetCommandOutput extends UpdateRegexMatchSetRes
87
87
  * };
88
88
  * const command = new UpdateRegexMatchSetCommand(input);
89
89
  * const response = await client.send(command);
90
+ * // { // UpdateRegexMatchSetResponse
91
+ * // ChangeToken: "STRING_VALUE",
92
+ * // };
93
+ *
90
94
  * ```
91
95
  *
92
96
  * @param UpdateRegexMatchSetCommandInput - {@link UpdateRegexMatchSetCommandInput}
@@ -156,6 +160,8 @@ export interface UpdateRegexMatchSetCommandOutput extends UpdateRegexMatchSetRes
156
160
  * @throws {@link WAFStaleDataException} (client fault)
157
161
  * <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>
158
162
  *
163
+ * @throws {@link WAFRegionalServiceException}
164
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
159
165
  *
160
166
  */
161
167
  export declare class UpdateRegexMatchSetCommand extends $Command<UpdateRegexMatchSetCommandInput, UpdateRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -85,6 +85,10 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
85
85
  * };
86
86
  * const command = new UpdateRegexPatternSetCommand(input);
87
87
  * const response = await client.send(command);
88
+ * // { // UpdateRegexPatternSetResponse
89
+ * // ChangeToken: "STRING_VALUE",
90
+ * // };
91
+ *
88
92
  * ```
89
93
  *
90
94
  * @param UpdateRegexPatternSetCommandInput - {@link UpdateRegexPatternSetCommandInput}
@@ -154,6 +158,8 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
154
158
  * @throws {@link WAFStaleDataException} (client fault)
155
159
  * <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>
156
160
  *
161
+ * @throws {@link WAFRegionalServiceException}
162
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
157
163
  *
158
164
  */
159
165
  export declare class UpdateRegexPatternSetCommand extends $Command<UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -91,6 +91,10 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
91
91
  * };
92
92
  * const command = new UpdateRuleCommand(input);
93
93
  * const response = await client.send(command);
94
+ * // { // UpdateRuleResponse
95
+ * // ChangeToken: "STRING_VALUE",
96
+ * // };
97
+ *
94
98
  * ```
95
99
  *
96
100
  * @param UpdateRuleCommandInput - {@link UpdateRuleCommandInput}
@@ -208,6 +212,8 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
208
212
  * @throws {@link WAFStaleDataException} (client fault)
209
213
  * <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>
210
214
  *
215
+ * @throws {@link WAFRegionalServiceException}
216
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
211
217
  *
212
218
  * @example To update a rule
213
219
  * ```javascript
@@ -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 WAFRegionalServiceException}
196
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
191
197
  *
192
198
  */
193
199
  export declare class UpdateRuleGroupCommand extends $Command<UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -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 WAFRegionalServiceException}
221
+ * <p>Base exception class for all service exceptions from WAFRegional 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 WAFRegionalServiceException}
207
+ * <p>Base exception class for all service exceptions from WAFRegional 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 WAFRegionalServiceException}
263
+ * <p>Base exception class for all service exceptions from WAFRegional 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 WAFRegionalServiceException}
209
+ * <p>Base exception class for all service exceptions from WAFRegional 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-regional",
3
3
  "description": "AWS SDK for JavaScript Waf Regional Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
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",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.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",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",