@aws-sdk/client-waf 3.289.0 → 3.290.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 +58 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +58 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +58 -0
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +64 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +15 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +15 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +64 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +24 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +58 -0
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +58 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +67 -0
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +103 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +10 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +48 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +48 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +68 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +42 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +48 -0
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +42 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +10 -0
- package/dist-types/commands/GetChangeTokenCommand.d.ts +4 -0
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +7 -0
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +10 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +10 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +10 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +50 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +10 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +10 -0
- package/dist-types/commands/GetRuleCommand.d.ts +10 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +7 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +7 -0
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +10 -0
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +10 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +10 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +10 -0
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +47 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +47 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +7 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListRulesCommand.d.ts +7 -0
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -0
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +7 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +56 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +7 -0
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +13 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +42 -0
- package/dist-types/commands/TagResourceCommand.d.ts +61 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +56 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +99 -0
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +110 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +110 -0
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +110 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +62 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +62 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +110 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +96 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +110 -0
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +99 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +113 -0
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +99 -0
- package/package.json +29 -29
|
@@ -67,6 +67,116 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons
|
|
|
67
67
|
* @see {@link UpdateGeoMatchSetCommandOutput} for command's `response` shape.
|
|
68
68
|
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
71
|
+
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link WAFInvalidAccountException} (client fault)
|
|
74
|
+
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
77
|
+
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
78
|
+
* <ul>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* <li>
|
|
83
|
+
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
87
|
+
* isn't in the specified <code>WebACL</code>.</p>
|
|
88
|
+
* </li>
|
|
89
|
+
* <li>
|
|
90
|
+
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
91
|
+
* specified <code>WebACL</code>.</p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
95
|
+
* already exists in the specified <code>WebACL</code>.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* </ul>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
100
|
+
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
101
|
+
* <ul>
|
|
102
|
+
* <li>
|
|
103
|
+
* <p>You specified an invalid parameter name.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* <li>
|
|
106
|
+
* <p>You specified an invalid value.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
|
|
110
|
+
* using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
|
|
114
|
+
* <code>Type</code> other than
|
|
115
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
|
|
122
|
+
* <code>Type</code> other than
|
|
123
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
124
|
+
* </li>
|
|
125
|
+
* <li>
|
|
126
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
|
|
127
|
+
* <code>Type</code> other than
|
|
128
|
+
* HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
|
|
129
|
+
* </li>
|
|
130
|
+
* <li>
|
|
131
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
|
|
132
|
+
* but no value for <code>Data</code>.</p>
|
|
133
|
+
* </li>
|
|
134
|
+
* <li>
|
|
135
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
136
|
+
* </li>
|
|
137
|
+
* </ul>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
140
|
+
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
141
|
+
* for an AWS account. For more information, see
|
|
142
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link WAFNonexistentContainerException} (client fault)
|
|
145
|
+
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
146
|
+
* <ul>
|
|
147
|
+
* <li>
|
|
148
|
+
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
149
|
+
* </li>
|
|
150
|
+
* <li>
|
|
151
|
+
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
152
|
+
* </li>
|
|
153
|
+
* <li>
|
|
154
|
+
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
155
|
+
* </li>
|
|
156
|
+
* <li>
|
|
157
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
158
|
+
* that doesn't exist.</p>
|
|
159
|
+
* </li>
|
|
160
|
+
* </ul>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
163
|
+
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link WAFReferencedItemException} (client fault)
|
|
166
|
+
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
167
|
+
* <ul>
|
|
168
|
+
* <li>
|
|
169
|
+
* <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
173
|
+
* </li>
|
|
174
|
+
* </ul>
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link WAFStaleDataException} (client fault)
|
|
177
|
+
* <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>
|
|
178
|
+
*
|
|
179
|
+
*
|
|
70
180
|
*/
|
|
71
181
|
export declare class UpdateGeoMatchSetCommand extends $Command<UpdateGeoMatchSetCommandInput, UpdateGeoMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
72
182
|
readonly input: UpdateGeoMatchSetCommandInput;
|
|
@@ -102,6 +102,116 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
|
|
|
102
102
|
* @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
|
|
103
103
|
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
104
104
|
*
|
|
105
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
106
|
+
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link WAFInvalidAccountException} (client fault)
|
|
109
|
+
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
112
|
+
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
113
|
+
* <ul>
|
|
114
|
+
* <li>
|
|
115
|
+
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
122
|
+
* isn't in the specified <code>WebACL</code>.</p>
|
|
123
|
+
* </li>
|
|
124
|
+
* <li>
|
|
125
|
+
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
126
|
+
* specified <code>WebACL</code>.</p>
|
|
127
|
+
* </li>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
130
|
+
* already exists in the specified <code>WebACL</code>.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* </ul>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
135
|
+
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
136
|
+
* <ul>
|
|
137
|
+
* <li>
|
|
138
|
+
* <p>You specified an invalid parameter name.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>You specified an invalid value.</p>
|
|
142
|
+
* </li>
|
|
143
|
+
* <li>
|
|
144
|
+
* <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
|
|
145
|
+
* using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
|
|
146
|
+
* </li>
|
|
147
|
+
* <li>
|
|
148
|
+
* <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
|
|
149
|
+
* <code>Type</code> other than
|
|
150
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
151
|
+
* </li>
|
|
152
|
+
* <li>
|
|
153
|
+
* <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
|
|
154
|
+
* </li>
|
|
155
|
+
* <li>
|
|
156
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
|
|
157
|
+
* <code>Type</code> other than
|
|
158
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
159
|
+
* </li>
|
|
160
|
+
* <li>
|
|
161
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
|
|
162
|
+
* <code>Type</code> other than
|
|
163
|
+
* HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
|
|
164
|
+
* </li>
|
|
165
|
+
* <li>
|
|
166
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
|
|
167
|
+
* but no value for <code>Data</code>.</p>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
171
|
+
* </li>
|
|
172
|
+
* </ul>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
175
|
+
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
176
|
+
* for an AWS account. For more information, see
|
|
177
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link WAFNonexistentContainerException} (client fault)
|
|
180
|
+
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
181
|
+
* <ul>
|
|
182
|
+
* <li>
|
|
183
|
+
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* <li>
|
|
186
|
+
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
187
|
+
* </li>
|
|
188
|
+
* <li>
|
|
189
|
+
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
192
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
193
|
+
* that doesn't exist.</p>
|
|
194
|
+
* </li>
|
|
195
|
+
* </ul>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
198
|
+
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
199
|
+
*
|
|
200
|
+
* @throws {@link WAFReferencedItemException} (client fault)
|
|
201
|
+
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
202
|
+
* <ul>
|
|
203
|
+
* <li>
|
|
204
|
+
* <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
|
|
205
|
+
* </li>
|
|
206
|
+
* <li>
|
|
207
|
+
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
208
|
+
* </li>
|
|
209
|
+
* </ul>
|
|
210
|
+
*
|
|
211
|
+
* @throws {@link WAFStaleDataException} (client fault)
|
|
212
|
+
* <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>
|
|
213
|
+
*
|
|
214
|
+
*
|
|
105
215
|
* @example To update an IP set
|
|
106
216
|
* ```javascript
|
|
107
217
|
* // The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
@@ -83,6 +83,116 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes
|
|
|
83
83
|
* @see {@link UpdateRateBasedRuleCommandOutput} for command's `response` shape.
|
|
84
84
|
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
85
85
|
*
|
|
86
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
87
|
+
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WAFInvalidAccountException} (client fault)
|
|
90
|
+
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
93
|
+
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
94
|
+
* <ul>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
103
|
+
* isn't in the specified <code>WebACL</code>.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* <li>
|
|
106
|
+
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
107
|
+
* specified <code>WebACL</code>.</p>
|
|
108
|
+
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
111
|
+
* already exists in the specified <code>WebACL</code>.</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* </ul>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
116
|
+
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
117
|
+
* <ul>
|
|
118
|
+
* <li>
|
|
119
|
+
* <p>You specified an invalid parameter name.</p>
|
|
120
|
+
* </li>
|
|
121
|
+
* <li>
|
|
122
|
+
* <p>You specified an invalid value.</p>
|
|
123
|
+
* </li>
|
|
124
|
+
* <li>
|
|
125
|
+
* <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
|
|
126
|
+
* using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
|
|
127
|
+
* </li>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
|
|
130
|
+
* <code>Type</code> other than
|
|
131
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
|
|
138
|
+
* <code>Type</code> other than
|
|
139
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
140
|
+
* </li>
|
|
141
|
+
* <li>
|
|
142
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
|
|
143
|
+
* <code>Type</code> other than
|
|
144
|
+
* HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
|
|
145
|
+
* </li>
|
|
146
|
+
* <li>
|
|
147
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
|
|
148
|
+
* but no value for <code>Data</code>.</p>
|
|
149
|
+
* </li>
|
|
150
|
+
* <li>
|
|
151
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
152
|
+
* </li>
|
|
153
|
+
* </ul>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
156
|
+
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
157
|
+
* for an AWS account. For more information, see
|
|
158
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link WAFNonexistentContainerException} (client fault)
|
|
161
|
+
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
162
|
+
* <ul>
|
|
163
|
+
* <li>
|
|
164
|
+
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
165
|
+
* </li>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
171
|
+
* </li>
|
|
172
|
+
* <li>
|
|
173
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
174
|
+
* that doesn't exist.</p>
|
|
175
|
+
* </li>
|
|
176
|
+
* </ul>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
179
|
+
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link WAFReferencedItemException} (client fault)
|
|
182
|
+
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
183
|
+
* <ul>
|
|
184
|
+
* <li>
|
|
185
|
+
* <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
|
|
186
|
+
* </li>
|
|
187
|
+
* <li>
|
|
188
|
+
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
189
|
+
* </li>
|
|
190
|
+
* </ul>
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link WAFStaleDataException} (client fault)
|
|
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>
|
|
194
|
+
*
|
|
195
|
+
*
|
|
86
196
|
*/
|
|
87
197
|
export declare class UpdateRateBasedRuleCommand extends $Command<UpdateRateBasedRuleCommandInput, UpdateRateBasedRuleCommandOutput, WAFClientResolvedConfig> {
|
|
88
198
|
readonly input: UpdateRateBasedRuleCommandInput;
|
|
@@ -71,6 +71,68 @@ export interface UpdateRegexMatchSetCommandOutput extends UpdateRegexMatchSetRes
|
|
|
71
71
|
* @see {@link UpdateRegexMatchSetCommandOutput} for command's `response` shape.
|
|
72
72
|
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
73
73
|
*
|
|
74
|
+
* @throws {@link WAFDisallowedNameException} (client fault)
|
|
75
|
+
* <p>The name specified is invalid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
78
|
+
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link WAFInvalidAccountException} (client fault)
|
|
81
|
+
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
84
|
+
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
85
|
+
* <ul>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
88
|
+
* </li>
|
|
89
|
+
* <li>
|
|
90
|
+
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
94
|
+
* isn't in the specified <code>WebACL</code>.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
98
|
+
* specified <code>WebACL</code>.</p>
|
|
99
|
+
* </li>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
102
|
+
* already exists in the specified <code>WebACL</code>.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* </ul>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
107
|
+
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
108
|
+
* for an AWS account. For more information, see
|
|
109
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link WAFNonexistentContainerException} (client fault)
|
|
112
|
+
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
113
|
+
* <ul>
|
|
114
|
+
* <li>
|
|
115
|
+
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
125
|
+
* that doesn't exist.</p>
|
|
126
|
+
* </li>
|
|
127
|
+
* </ul>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
130
|
+
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link WAFStaleDataException} (client fault)
|
|
133
|
+
* <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>
|
|
134
|
+
*
|
|
135
|
+
*
|
|
74
136
|
*/
|
|
75
137
|
export declare class UpdateRegexMatchSetCommand extends $Command<UpdateRegexMatchSetCommandInput, UpdateRegexMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
76
138
|
readonly input: UpdateRegexMatchSetCommandInput;
|
|
@@ -76,6 +76,68 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
|
|
|
76
76
|
* @see {@link UpdateRegexPatternSetCommandOutput} for command's `response` shape.
|
|
77
77
|
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
78
78
|
*
|
|
79
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
80
|
+
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link WAFInvalidAccountException} (client fault)
|
|
83
|
+
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
86
|
+
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
87
|
+
* <ul>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
96
|
+
* isn't in the specified <code>WebACL</code>.</p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
100
|
+
* specified <code>WebACL</code>.</p>
|
|
101
|
+
* </li>
|
|
102
|
+
* <li>
|
|
103
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
104
|
+
* already exists in the specified <code>WebACL</code>.</p>
|
|
105
|
+
* </li>
|
|
106
|
+
* </ul>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link WAFInvalidRegexPatternException} (client fault)
|
|
109
|
+
* <p>The regular expression (regex) you specified in <code>RegexPatternString</code> is invalid.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
112
|
+
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
113
|
+
* for an AWS account. For more information, see
|
|
114
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link WAFNonexistentContainerException} (client fault)
|
|
117
|
+
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
118
|
+
* <ul>
|
|
119
|
+
* <li>
|
|
120
|
+
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
121
|
+
* </li>
|
|
122
|
+
* <li>
|
|
123
|
+
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
124
|
+
* </li>
|
|
125
|
+
* <li>
|
|
126
|
+
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
127
|
+
* </li>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
130
|
+
* that doesn't exist.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* </ul>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
135
|
+
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link WAFStaleDataException} (client fault)
|
|
138
|
+
* <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>
|
|
139
|
+
*
|
|
140
|
+
*
|
|
79
141
|
*/
|
|
80
142
|
export declare class UpdateRegexPatternSetCommand extends $Command<UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput, WAFClientResolvedConfig> {
|
|
81
143
|
readonly input: UpdateRegexPatternSetCommandInput;
|
|
@@ -78,6 +78,116 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
|
|
|
78
78
|
* @see {@link UpdateRuleCommandOutput} for command's `response` shape.
|
|
79
79
|
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
80
80
|
*
|
|
81
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
82
|
+
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link WAFInvalidAccountException} (client fault)
|
|
85
|
+
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
88
|
+
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
98
|
+
* isn't in the specified <code>WebACL</code>.</p>
|
|
99
|
+
* </li>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
|
|
102
|
+
* specified <code>WebACL</code>.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
|
|
106
|
+
* already exists in the specified <code>WebACL</code>.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* </ul>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
111
|
+
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
112
|
+
* <ul>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>You specified an invalid parameter name.</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* <li>
|
|
117
|
+
* <p>You specified an invalid value.</p>
|
|
118
|
+
* </li>
|
|
119
|
+
* <li>
|
|
120
|
+
* <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
|
|
121
|
+
* using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
|
|
125
|
+
* <code>Type</code> other than
|
|
126
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
127
|
+
* </li>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
|
|
130
|
+
* </li>
|
|
131
|
+
* <li>
|
|
132
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
|
|
133
|
+
* <code>Type</code> other than
|
|
134
|
+
* <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
|
|
138
|
+
* <code>Type</code> other than
|
|
139
|
+
* HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
|
|
140
|
+
* </li>
|
|
141
|
+
* <li>
|
|
142
|
+
* <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
|
|
143
|
+
* but no value for <code>Data</code>.</p>
|
|
144
|
+
* </li>
|
|
145
|
+
* <li>
|
|
146
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* </ul>
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
151
|
+
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
152
|
+
* for an AWS account. For more information, see
|
|
153
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link WAFNonexistentContainerException} (client fault)
|
|
156
|
+
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
157
|
+
* <ul>
|
|
158
|
+
* <li>
|
|
159
|
+
* <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
|
|
160
|
+
* </li>
|
|
161
|
+
* <li>
|
|
162
|
+
* <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
|
|
163
|
+
* </li>
|
|
164
|
+
* <li>
|
|
165
|
+
* <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
|
|
166
|
+
* </li>
|
|
167
|
+
* <li>
|
|
168
|
+
* <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
|
|
169
|
+
* that doesn't exist.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* </ul>
|
|
172
|
+
*
|
|
173
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
174
|
+
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link WAFReferencedItemException} (client fault)
|
|
177
|
+
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
178
|
+
* <ul>
|
|
179
|
+
* <li>
|
|
180
|
+
* <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
|
|
181
|
+
* </li>
|
|
182
|
+
* <li>
|
|
183
|
+
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* </ul>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link WAFStaleDataException} (client fault)
|
|
188
|
+
* <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>
|
|
189
|
+
*
|
|
190
|
+
*
|
|
81
191
|
* @example To update a rule
|
|
82
192
|
* ```javascript
|
|
83
193
|
* // The following example deletes a Predicate object in a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|