@aws-sdk/client-waf-regional 3.312.0 → 3.316.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/WAFRegional.js +85 -1134
- package/dist-cjs/protocols/Aws_json1_1.js +406 -2335
- package/dist-es/WAFRegional.js +85 -1134
- package/dist-es/protocols/Aws_json1_1.js +407 -2336
- package/dist-types/WAFRegional.d.ts +99 -1941
- package/dist-types/ts3.4/WAFRegional.d.ts +4 -1
- package/package.json +6 -6
|
@@ -81,2349 +81,507 @@ import { UpdateSqlInjectionMatchSetCommandInput, UpdateSqlInjectionMatchSetComma
|
|
|
81
81
|
import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
|
|
82
82
|
import { UpdateXssMatchSetCommandInput, UpdateXssMatchSetCommandOutput } from "./commands/UpdateXssMatchSetCommand";
|
|
83
83
|
import { WAFRegionalClient } from "./WAFRegionalClient";
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
* <p>This is <b>AWS WAF Classic Regional</b> documentation. For
|
|
88
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
89
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
90
|
-
* <p>
|
|
91
|
-
* <b>For the latest version of AWS
|
|
92
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
93
|
-
* </note>
|
|
94
|
-
* <p>This is the <i>AWS WAF Regional Classic API Reference</i> for using AWS WAF Classic with the AWS resources, Elastic Load Balancing (ELB) Application Load Balancers and API Gateway APIs. The AWS WAF Classic actions and data types listed in the reference are available for protecting Elastic Load Balancing (ELB) Application Load Balancers and API Gateway APIs. You can use these actions and data types by means of the endpoints listed in <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#waf_region">AWS Regions and Endpoints</a>. This guide is for developers who need detailed information about the AWS WAF Classic API actions, data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the
|
|
95
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
96
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
97
|
-
*/
|
|
98
|
-
export declare class WAFRegional extends WAFRegionalClient {
|
|
99
|
-
/**
|
|
100
|
-
* @public
|
|
101
|
-
* <note>
|
|
102
|
-
* <p>This is <b>AWS WAF Classic Regional</b> documentation. For
|
|
103
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
104
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
105
|
-
* <p>
|
|
106
|
-
* <b>For the latest version of AWS
|
|
107
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
108
|
-
* </note>
|
|
109
|
-
* <p>Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage.</p>
|
|
84
|
+
export interface WAFRegional {
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link AssociateWebACLCommand}
|
|
110
87
|
*/
|
|
111
88
|
associateWebACL(args: AssociateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<AssociateWebACLCommandOutput>;
|
|
112
89
|
associateWebACL(args: AssociateWebACLCommandInput, cb: (err: any, data?: AssociateWebACLCommandOutput) => void): void;
|
|
113
90
|
associateWebACL(args: AssociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateWebACLCommandOutput) => void): void;
|
|
114
91
|
/**
|
|
115
|
-
* @
|
|
116
|
-
* <note>
|
|
117
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
118
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
119
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
120
|
-
* <p>
|
|
121
|
-
* <b>For the latest version of AWS
|
|
122
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
123
|
-
* </note>
|
|
124
|
-
* <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
|
|
125
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
126
|
-
* For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
127
|
-
* that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
128
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
129
|
-
* <ol>
|
|
130
|
-
* <li>
|
|
131
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
132
|
-
* <code>CreateByteMatchSet</code> request.</p>
|
|
133
|
-
* </li>
|
|
134
|
-
* <li>
|
|
135
|
-
* <p>Submit a <code>CreateByteMatchSet</code> request.</p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
139
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
140
|
-
* </li>
|
|
141
|
-
* <li>
|
|
142
|
-
* <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
143
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
144
|
-
* </li>
|
|
145
|
-
* </ol>
|
|
146
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
147
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
92
|
+
* @see {@link CreateByteMatchSetCommand}
|
|
148
93
|
*/
|
|
149
94
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateByteMatchSetCommandOutput>;
|
|
150
95
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void): void;
|
|
151
96
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void): void;
|
|
152
97
|
/**
|
|
153
|
-
* @
|
|
154
|
-
* <note>
|
|
155
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
156
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
157
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
158
|
-
* <p>
|
|
159
|
-
* <b>For the latest version of AWS
|
|
160
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
161
|
-
* </note>
|
|
162
|
-
* <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
|
|
163
|
-
* that the requests originate from. For example, if you're receiving a lot of requests from one or more countries and you want to block the requests, you can create an <code>GeoMatchSet</code> that contains those countries and then configure AWS WAF to block the requests. </p>
|
|
164
|
-
* <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
165
|
-
* <ol>
|
|
166
|
-
* <li>
|
|
167
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
168
|
-
* <code>CreateGeoMatchSet</code> request.</p>
|
|
169
|
-
* </li>
|
|
170
|
-
* <li>
|
|
171
|
-
* <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
|
|
172
|
-
* </li>
|
|
173
|
-
* <li>
|
|
174
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
175
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
176
|
-
* </li>
|
|
177
|
-
* <li>
|
|
178
|
-
* <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
|
|
179
|
-
* </li>
|
|
180
|
-
* </ol>
|
|
181
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
182
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
98
|
+
* @see {@link CreateGeoMatchSetCommand}
|
|
183
99
|
*/
|
|
184
100
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateGeoMatchSetCommandOutput>;
|
|
185
101
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void): void;
|
|
186
102
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void): void;
|
|
187
103
|
/**
|
|
188
|
-
* @
|
|
189
|
-
* <note>
|
|
190
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
191
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
192
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
193
|
-
* <p>
|
|
194
|
-
* <b>For the latest version of AWS
|
|
195
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
196
|
-
* </note>
|
|
197
|
-
* <p>Creates an <a>IPSet</a>, which you use to specify which web requests
|
|
198
|
-
* that
|
|
199
|
-
* you want to allow or block based on the IP addresses that the requests
|
|
200
|
-
* originate from. For example, if you're receiving a lot of requests from one or more
|
|
201
|
-
* individual IP addresses or one or more ranges of IP addresses and you want to block the
|
|
202
|
-
* requests, you can create an <code>IPSet</code> that contains those IP addresses and then
|
|
203
|
-
* configure AWS WAF to block the requests. </p>
|
|
204
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
205
|
-
* <ol>
|
|
206
|
-
* <li>
|
|
207
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
208
|
-
* <code>CreateIPSet</code> request.</p>
|
|
209
|
-
* </li>
|
|
210
|
-
* <li>
|
|
211
|
-
* <p>Submit a <code>CreateIPSet</code> request.</p>
|
|
212
|
-
* </li>
|
|
213
|
-
* <li>
|
|
214
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
215
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
216
|
-
* </li>
|
|
217
|
-
* <li>
|
|
218
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
|
|
219
|
-
* </li>
|
|
220
|
-
* </ol>
|
|
221
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
222
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
104
|
+
* @see {@link CreateIPSetCommand}
|
|
223
105
|
*/
|
|
224
106
|
createIPSet(args: CreateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateIPSetCommandOutput>;
|
|
225
107
|
createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
226
108
|
createIPSet(args: CreateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
227
109
|
/**
|
|
228
|
-
* @
|
|
229
|
-
* <note>
|
|
230
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
231
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
232
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
233
|
-
* <p>
|
|
234
|
-
* <b>For the latest version of AWS
|
|
235
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
236
|
-
* </note>
|
|
237
|
-
* <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
|
|
238
|
-
* <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
|
|
239
|
-
* from a specified IP address in a five-minute period.
|
|
240
|
-
* The <code>RateBasedRule</code> also
|
|
241
|
-
* contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
|
|
242
|
-
* predicates that identify the requests that you want to count or block if these requests
|
|
243
|
-
* exceed the <code>RateLimit</code>.</p>
|
|
244
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
|
|
245
|
-
* only must exceed the <code>RateLimit</code>, but it also must match all the
|
|
246
|
-
* conditions to be counted or blocked. For example, suppose you add the following to a
|
|
247
|
-
* <code>RateBasedRule</code>:</p>
|
|
248
|
-
* <ul>
|
|
249
|
-
* <li>
|
|
250
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
251
|
-
* </p>
|
|
252
|
-
* </li>
|
|
253
|
-
* <li>
|
|
254
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
255
|
-
* <code>User-Agent</code> header</p>
|
|
256
|
-
* </li>
|
|
257
|
-
* </ul>
|
|
258
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
259
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
260
|
-
* you want to block requests that meet the conditions in the rule. For a request to be
|
|
261
|
-
* blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
|
|
262
|
-
* <code>User-Agent</code> header in the request must contain the value
|
|
263
|
-
* <code>BadBot</code>. Further, requests that match these two conditions must be received at
|
|
264
|
-
* a rate of more than 1,000 requests every five minutes. If both conditions are met and the
|
|
265
|
-
* rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
|
|
266
|
-
* five-minute period, AWS WAF no longer blocks the requests.</p>
|
|
267
|
-
*
|
|
268
|
-
* <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
|
|
269
|
-
* <code>RateBasedRule</code>:</p>
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
* <ul>
|
|
273
|
-
* <li>
|
|
274
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
275
|
-
* </p>
|
|
276
|
-
* </li>
|
|
277
|
-
* <li>
|
|
278
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
279
|
-
* </p>
|
|
280
|
-
* </li>
|
|
281
|
-
* <li>
|
|
282
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
283
|
-
* </p>
|
|
284
|
-
* </li>
|
|
285
|
-
* </ul>
|
|
286
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
287
|
-
* <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
* <p>To create and configure a <code>RateBasedRule</code>, perform the following
|
|
291
|
-
* steps:</p>
|
|
292
|
-
* <ol>
|
|
293
|
-
* <li>
|
|
294
|
-
* <p>Create and update the predicates that you want to include in the rule. For more
|
|
295
|
-
* information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
|
|
296
|
-
* and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
297
|
-
* </li>
|
|
298
|
-
* <li>
|
|
299
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
300
|
-
* in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
|
|
301
|
-
* request.</p>
|
|
302
|
-
* </li>
|
|
303
|
-
* <li>
|
|
304
|
-
* <p>Submit a <code>CreateRateBasedRule</code> request.</p>
|
|
305
|
-
* </li>
|
|
306
|
-
* <li>
|
|
307
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
|
|
308
|
-
* <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
|
|
309
|
-
* request.</p>
|
|
310
|
-
* </li>
|
|
311
|
-
* <li>
|
|
312
|
-
* <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
|
|
313
|
-
* that you want to include in the rule.</p>
|
|
314
|
-
* </li>
|
|
315
|
-
* <li>
|
|
316
|
-
* <p>Create and update a <code>WebACL</code> that contains the
|
|
317
|
-
* <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
318
|
-
* </li>
|
|
319
|
-
* </ol>
|
|
320
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
|
|
321
|
-
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
|
|
322
|
-
* Guide</a>.</p>
|
|
110
|
+
* @see {@link CreateRateBasedRuleCommand}
|
|
323
111
|
*/
|
|
324
112
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRateBasedRuleCommandOutput>;
|
|
325
113
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void): void;
|
|
326
114
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void): void;
|
|
327
115
|
/**
|
|
328
|
-
* @
|
|
329
|
-
* <note>
|
|
330
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
331
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
332
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
333
|
-
* <p>
|
|
334
|
-
* <b>For the latest version of AWS
|
|
335
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
336
|
-
* </note>
|
|
337
|
-
* <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
|
|
338
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
339
|
-
* For example, you can create a <code>RegexMatchSet</code> that contains a <code>RegexMatchTuple</code> that looks for any requests with <code>User-Agent</code> headers
|
|
340
|
-
* that match a <code>RegexPatternSet</code> with pattern <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
341
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
342
|
-
* <ol>
|
|
343
|
-
* <li>
|
|
344
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
345
|
-
* <code>CreateRegexMatchSet</code> request.</p>
|
|
346
|
-
* </li>
|
|
347
|
-
* <li>
|
|
348
|
-
* <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
|
|
349
|
-
* </li>
|
|
350
|
-
* <li>
|
|
351
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
352
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
353
|
-
* </li>
|
|
354
|
-
* <li>
|
|
355
|
-
* <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
356
|
-
* (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
|
|
357
|
-
* </li>
|
|
358
|
-
* </ol>
|
|
359
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
360
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
116
|
+
* @see {@link CreateRegexMatchSetCommand}
|
|
361
117
|
*/
|
|
362
118
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegexMatchSetCommandOutput>;
|
|
363
119
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void): void;
|
|
364
120
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void): void;
|
|
365
121
|
/**
|
|
366
|
-
* @
|
|
367
|
-
* <note>
|
|
368
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
369
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
370
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
371
|
-
* <p>
|
|
372
|
-
* <b>For the latest version of AWS
|
|
373
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
374
|
-
* </note>
|
|
375
|
-
* <p>Creates a <code>RegexPatternSet</code>. You then use <a>UpdateRegexPatternSet</a> to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
376
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
377
|
-
* <ol>
|
|
378
|
-
* <li>
|
|
379
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
380
|
-
* <code>CreateRegexPatternSet</code> request.</p>
|
|
381
|
-
* </li>
|
|
382
|
-
* <li>
|
|
383
|
-
* <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
|
|
384
|
-
* </li>
|
|
385
|
-
* <li>
|
|
386
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
387
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
388
|
-
* </li>
|
|
389
|
-
* <li>
|
|
390
|
-
* <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
|
|
391
|
-
* </li>
|
|
392
|
-
* </ol>
|
|
393
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
394
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
122
|
+
* @see {@link CreateRegexPatternSetCommand}
|
|
395
123
|
*/
|
|
396
124
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegexPatternSetCommandOutput>;
|
|
397
125
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
398
126
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
399
127
|
/**
|
|
400
|
-
* @
|
|
401
|
-
* <note>
|
|
402
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
403
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
404
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
405
|
-
* <p>
|
|
406
|
-
* <b>For the latest version of AWS
|
|
407
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
408
|
-
* </note>
|
|
409
|
-
* <p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects,
|
|
410
|
-
* <code>ByteMatchSet</code> objects, and other predicates that identify the requests that
|
|
411
|
-
* you want to block. If you add more than one predicate to a <code>Rule</code>, a request
|
|
412
|
-
* must match all of the specifications to be allowed or blocked. For example, suppose
|
|
413
|
-
* that
|
|
414
|
-
* you add the following to a <code>Rule</code>:</p>
|
|
415
|
-
* <ul>
|
|
416
|
-
* <li>
|
|
417
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
418
|
-
* </p>
|
|
419
|
-
* </li>
|
|
420
|
-
* <li>
|
|
421
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
422
|
-
* </li>
|
|
423
|
-
* </ul>
|
|
424
|
-
* <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to blocks requests that satisfy the <code>Rule</code>.
|
|
425
|
-
* For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request
|
|
426
|
-
* must contain the value <code>BadBot</code>.</p>
|
|
427
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
428
|
-
* <ol>
|
|
429
|
-
* <li>
|
|
430
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see
|
|
431
|
-
* <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
432
|
-
* </li>
|
|
433
|
-
* <li>
|
|
434
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
435
|
-
* <code>CreateRule</code> request.</p>
|
|
436
|
-
* </li>
|
|
437
|
-
* <li>
|
|
438
|
-
* <p>Submit a <code>CreateRule</code> request.</p>
|
|
439
|
-
* </li>
|
|
440
|
-
* <li>
|
|
441
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
442
|
-
* <a>UpdateRule</a> request.</p>
|
|
443
|
-
* </li>
|
|
444
|
-
* <li>
|
|
445
|
-
* <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p>
|
|
446
|
-
* </li>
|
|
447
|
-
* <li>
|
|
448
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
449
|
-
* </li>
|
|
450
|
-
* </ol>
|
|
451
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
452
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
128
|
+
* @see {@link CreateRuleCommand}
|
|
453
129
|
*/
|
|
454
130
|
createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
|
|
455
131
|
createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
456
132
|
createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
457
133
|
/**
|
|
458
|
-
* @
|
|
459
|
-
* <note>
|
|
460
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
461
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
462
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
463
|
-
* <p>
|
|
464
|
-
* <b>For the latest version of AWS
|
|
465
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
466
|
-
* </note>
|
|
467
|
-
* <p>Creates a <code>RuleGroup</code>. A rule group is a collection of predefined rules that you add to a web ACL. You use <a>UpdateRuleGroup</a> to add rules to the rule group.</p>
|
|
468
|
-
* <p>Rule groups are subject to the following limits:</p>
|
|
469
|
-
* <ul>
|
|
470
|
-
* <li>
|
|
471
|
-
* <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p>
|
|
472
|
-
* </li>
|
|
473
|
-
* <li>
|
|
474
|
-
* <p>One rule group per web ACL.</p>
|
|
475
|
-
* </li>
|
|
476
|
-
* <li>
|
|
477
|
-
* <p>Ten rules per rule group.</p>
|
|
478
|
-
* </li>
|
|
479
|
-
* </ul>
|
|
480
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
481
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
134
|
+
* @see {@link CreateRuleGroupCommand}
|
|
482
135
|
*/
|
|
483
136
|
createRuleGroup(args: CreateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupCommandOutput>;
|
|
484
137
|
createRuleGroup(args: CreateRuleGroupCommandInput, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
485
138
|
createRuleGroup(args: CreateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
486
139
|
/**
|
|
487
|
-
* @
|
|
488
|
-
* <note>
|
|
489
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
490
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
491
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
492
|
-
* <p>
|
|
493
|
-
* <b>For the latest version of AWS
|
|
494
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
495
|
-
* </note>
|
|
496
|
-
* <p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a
|
|
497
|
-
* web request that you want AWS WAF to check for length, such as the length of the <code>User-Agent</code> header or the length of the query string.
|
|
498
|
-
* For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes.
|
|
499
|
-
* You can then configure AWS WAF to reject those requests.</p>
|
|
500
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
501
|
-
* <ol>
|
|
502
|
-
* <li>
|
|
503
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
504
|
-
* <code>CreateSizeConstraintSet</code> request.</p>
|
|
505
|
-
* </li>
|
|
506
|
-
* <li>
|
|
507
|
-
* <p>Submit a <code>CreateSizeConstraintSet</code> request.</p>
|
|
508
|
-
* </li>
|
|
509
|
-
* <li>
|
|
510
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
511
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
512
|
-
* </li>
|
|
513
|
-
* <li>
|
|
514
|
-
* <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
515
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
516
|
-
* </li>
|
|
517
|
-
* </ol>
|
|
518
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
519
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
140
|
+
* @see {@link CreateSizeConstraintSetCommand}
|
|
520
141
|
*/
|
|
521
142
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSizeConstraintSetCommandOutput>;
|
|
522
143
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void): void;
|
|
523
144
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void): void;
|
|
524
145
|
/**
|
|
525
|
-
* @
|
|
526
|
-
* <note>
|
|
527
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
528
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
529
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
530
|
-
* <p>
|
|
531
|
-
* <b>For the latest version of AWS
|
|
532
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
533
|
-
* </note>
|
|
534
|
-
* <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
|
|
535
|
-
* specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
536
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
537
|
-
* <ol>
|
|
538
|
-
* <li>
|
|
539
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
540
|
-
* <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
541
|
-
* </li>
|
|
542
|
-
* <li>
|
|
543
|
-
* <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
544
|
-
* </li>
|
|
545
|
-
* <li>
|
|
546
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
547
|
-
* <a>UpdateSqlInjectionMatchSet</a> request.</p>
|
|
548
|
-
* </li>
|
|
549
|
-
* <li>
|
|
550
|
-
* <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
|
|
551
|
-
* allow, block, or count malicious SQL code.</p>
|
|
552
|
-
* </li>
|
|
553
|
-
* </ol>
|
|
554
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
555
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
146
|
+
* @see {@link CreateSqlInjectionMatchSetCommand}
|
|
556
147
|
*/
|
|
557
148
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSqlInjectionMatchSetCommandOutput>;
|
|
558
149
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
559
150
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
560
151
|
/**
|
|
561
|
-
* @
|
|
562
|
-
* <note>
|
|
563
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
564
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
565
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
566
|
-
* <p>
|
|
567
|
-
* <b>For the latest version of AWS
|
|
568
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
569
|
-
* </note>
|
|
570
|
-
* <p>Creates a <code>WebACL</code>, which contains the <code>Rules</code> that identify the CloudFront web requests that you want to allow, block, or count.
|
|
571
|
-
* AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
|
|
572
|
-
* <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
|
|
573
|
-
* any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
|
|
574
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
575
|
-
* <ol>
|
|
576
|
-
* <li>
|
|
577
|
-
* <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
|
|
578
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
579
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
580
|
-
* </li>
|
|
581
|
-
* <li>
|
|
582
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
583
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
584
|
-
* </li>
|
|
585
|
-
* <li>
|
|
586
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
587
|
-
* <code>CreateWebACL</code> request.</p>
|
|
588
|
-
* </li>
|
|
589
|
-
* <li>
|
|
590
|
-
* <p>Submit a <code>CreateWebACL</code> request.</p>
|
|
591
|
-
* </li>
|
|
592
|
-
* <li>
|
|
593
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
594
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
595
|
-
* </li>
|
|
596
|
-
* <li>
|
|
597
|
-
* <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
|
|
598
|
-
* to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
|
|
599
|
-
* </li>
|
|
600
|
-
* </ol>
|
|
601
|
-
* <p>For more information about how to use the AWS WAF API, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
152
|
+
* @see {@link CreateWebACLCommand}
|
|
602
153
|
*/
|
|
603
154
|
createWebACL(args: CreateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLCommandOutput>;
|
|
604
155
|
createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
605
156
|
createWebACL(args: CreateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
606
157
|
/**
|
|
607
|
-
* @
|
|
608
|
-
* <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
|
|
609
|
-
* Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
|
|
610
|
-
* Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
|
|
611
|
-
* <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
|
|
612
|
-
* For the full procedure, including caveats and manual steps to complete
|
|
613
|
-
* the migration and switch over to the new web ACL, see
|
|
614
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html">Migrating your AWS WAF Classic resources to AWS WAF</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF
|
|
615
|
-
* Developer Guide</a>. </p>
|
|
158
|
+
* @see {@link CreateWebACLMigrationStackCommand}
|
|
616
159
|
*/
|
|
617
160
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLMigrationStackCommandOutput>;
|
|
618
161
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void): void;
|
|
619
162
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void): void;
|
|
620
163
|
/**
|
|
621
|
-
* @
|
|
622
|
-
* <note>
|
|
623
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
624
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
625
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
626
|
-
* <p>
|
|
627
|
-
* <b>For the latest version of AWS
|
|
628
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
629
|
-
* </note>
|
|
630
|
-
* <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
|
|
631
|
-
* in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
632
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
633
|
-
* <ol>
|
|
634
|
-
* <li>
|
|
635
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
636
|
-
* <code>CreateXssMatchSet</code> request.</p>
|
|
637
|
-
* </li>
|
|
638
|
-
* <li>
|
|
639
|
-
* <p>Submit a <code>CreateXssMatchSet</code> request.</p>
|
|
640
|
-
* </li>
|
|
641
|
-
* <li>
|
|
642
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
643
|
-
* <a>UpdateXssMatchSet</a> request.</p>
|
|
644
|
-
* </li>
|
|
645
|
-
* <li>
|
|
646
|
-
* <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
|
|
647
|
-
* allow, block, or count cross-site scripting attacks.</p>
|
|
648
|
-
* </li>
|
|
649
|
-
* </ol>
|
|
650
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
651
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
164
|
+
* @see {@link CreateXssMatchSetCommand}
|
|
652
165
|
*/
|
|
653
166
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateXssMatchSetCommandOutput>;
|
|
654
167
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void): void;
|
|
655
168
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void): void;
|
|
656
169
|
/**
|
|
657
|
-
* @
|
|
658
|
-
* <note>
|
|
659
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
660
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
661
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
662
|
-
* <p>
|
|
663
|
-
* <b>For the latest version of AWS
|
|
664
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
665
|
-
* </note>
|
|
666
|
-
* <p>Permanently deletes a <a>ByteMatchSet</a>. You can't delete a <code>ByteMatchSet</code> if it's still used in any <code>Rules</code>
|
|
667
|
-
* or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
|
|
668
|
-
* <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
669
|
-
* <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
670
|
-
* <ol>
|
|
671
|
-
* <li>
|
|
672
|
-
* <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
|
|
673
|
-
* </li>
|
|
674
|
-
* <li>
|
|
675
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
676
|
-
* <code>DeleteByteMatchSet</code> request.</p>
|
|
677
|
-
* </li>
|
|
678
|
-
* <li>
|
|
679
|
-
* <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
|
|
680
|
-
* </li>
|
|
681
|
-
* </ol>
|
|
170
|
+
* @see {@link DeleteByteMatchSetCommand}
|
|
682
171
|
*/
|
|
683
172
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteByteMatchSetCommandOutput>;
|
|
684
173
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void): void;
|
|
685
174
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void): void;
|
|
686
175
|
/**
|
|
687
|
-
* @
|
|
688
|
-
* <note>
|
|
689
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
690
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
691
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
692
|
-
* <p>
|
|
693
|
-
* <b>For the latest version of AWS
|
|
694
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
695
|
-
* </note>
|
|
696
|
-
* <p>Permanently deletes a <a>GeoMatchSet</a>. You can't delete a <code>GeoMatchSet</code> if it's still used in any <code>Rules</code> or
|
|
697
|
-
* if it still includes any countries.</p>
|
|
698
|
-
* <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
699
|
-
* <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
700
|
-
* <ol>
|
|
701
|
-
* <li>
|
|
702
|
-
* <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p>
|
|
703
|
-
* </li>
|
|
704
|
-
* <li>
|
|
705
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
706
|
-
* <code>DeleteGeoMatchSet</code> request.</p>
|
|
707
|
-
* </li>
|
|
708
|
-
* <li>
|
|
709
|
-
* <p>Submit a <code>DeleteGeoMatchSet</code> request.</p>
|
|
710
|
-
* </li>
|
|
711
|
-
* </ol>
|
|
176
|
+
* @see {@link DeleteGeoMatchSetCommand}
|
|
712
177
|
*/
|
|
713
178
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGeoMatchSetCommandOutput>;
|
|
714
179
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void): void;
|
|
715
180
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void): void;
|
|
716
181
|
/**
|
|
717
|
-
* @
|
|
718
|
-
* <note>
|
|
719
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
720
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
721
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
722
|
-
* <p>
|
|
723
|
-
* <b>For the latest version of AWS
|
|
724
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
725
|
-
* </note>
|
|
726
|
-
* <p>Permanently deletes an <a>IPSet</a>. You can't delete an <code>IPSet</code> if it's still used in any <code>Rules</code> or
|
|
727
|
-
* if it still includes any IP addresses.</p>
|
|
728
|
-
* <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
729
|
-
* <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p>
|
|
730
|
-
* <ol>
|
|
731
|
-
* <li>
|
|
732
|
-
* <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p>
|
|
733
|
-
* </li>
|
|
734
|
-
* <li>
|
|
735
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
736
|
-
* <code>DeleteIPSet</code> request.</p>
|
|
737
|
-
* </li>
|
|
738
|
-
* <li>
|
|
739
|
-
* <p>Submit a <code>DeleteIPSet</code> request.</p>
|
|
740
|
-
* </li>
|
|
741
|
-
* </ol>
|
|
182
|
+
* @see {@link DeleteIPSetCommand}
|
|
742
183
|
*/
|
|
743
184
|
deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
|
|
744
185
|
deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
745
186
|
deleteIPSet(args: DeleteIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
746
187
|
/**
|
|
747
|
-
* @
|
|
748
|
-
* <note>
|
|
749
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
750
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
751
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
752
|
-
* <p>
|
|
753
|
-
* <b>For the latest version of AWS
|
|
754
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
755
|
-
* </note>
|
|
756
|
-
* <p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web
|
|
757
|
-
* ACL.</p>
|
|
188
|
+
* @see {@link DeleteLoggingConfigurationCommand}
|
|
758
189
|
*/
|
|
759
190
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
760
191
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
761
192
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
762
193
|
/**
|
|
763
|
-
* @
|
|
764
|
-
* <note>
|
|
765
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
766
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
767
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
768
|
-
* <p>
|
|
769
|
-
* <b>For the latest version of AWS
|
|
770
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
771
|
-
* </note>
|
|
772
|
-
* <p>Permanently deletes an IAM policy from the specified RuleGroup.</p>
|
|
773
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
194
|
+
* @see {@link DeletePermissionPolicyCommand}
|
|
774
195
|
*/
|
|
775
196
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePermissionPolicyCommandOutput>;
|
|
776
197
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
777
198
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
778
199
|
/**
|
|
779
|
-
* @
|
|
780
|
-
* <note>
|
|
781
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
782
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
783
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
784
|
-
* <p>
|
|
785
|
-
* <b>For the latest version of AWS
|
|
786
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
787
|
-
* </note>
|
|
788
|
-
* <p>Permanently deletes a <a>RateBasedRule</a>. You can't delete a rule if
|
|
789
|
-
* it's still used in any <code>WebACL</code> objects or if it still includes any predicates,
|
|
790
|
-
* such as <code>ByteMatchSet</code> objects.</p>
|
|
791
|
-
* <p>If you just want to remove a rule from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
792
|
-
* <p>To permanently delete a <code>RateBasedRule</code> from AWS WAF, perform the following
|
|
793
|
-
* steps:</p>
|
|
794
|
-
* <ol>
|
|
795
|
-
* <li>
|
|
796
|
-
* <p>Update the <code>RateBasedRule</code> to remove predicates, if any. For more
|
|
797
|
-
* information, see <a>UpdateRateBasedRule</a>.</p>
|
|
798
|
-
* </li>
|
|
799
|
-
* <li>
|
|
800
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
801
|
-
* in the <code>ChangeToken</code> parameter of a <code>DeleteRateBasedRule</code>
|
|
802
|
-
* request.</p>
|
|
803
|
-
* </li>
|
|
804
|
-
* <li>
|
|
805
|
-
* <p>Submit a <code>DeleteRateBasedRule</code> request.</p>
|
|
806
|
-
* </li>
|
|
807
|
-
* </ol>
|
|
200
|
+
* @see {@link DeleteRateBasedRuleCommand}
|
|
808
201
|
*/
|
|
809
202
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRateBasedRuleCommandOutput>;
|
|
810
203
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void): void;
|
|
811
204
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void): void;
|
|
812
205
|
/**
|
|
813
|
-
* @
|
|
814
|
-
* <note>
|
|
815
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
816
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
817
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
818
|
-
* <p>
|
|
819
|
-
* <b>For the latest version of AWS
|
|
820
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
821
|
-
* </note>
|
|
822
|
-
* <p>Permanently deletes a <a>RegexMatchSet</a>. You can't delete a <code>RegexMatchSet</code> if it's still used in any <code>Rules</code>
|
|
823
|
-
* or if it still includes any <code>RegexMatchTuples</code> objects (any filters).</p>
|
|
824
|
-
* <p>If you just want to remove a <code>RegexMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
825
|
-
* <p>To permanently delete a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
826
|
-
* <ol>
|
|
827
|
-
* <li>
|
|
828
|
-
* <p>Update the <code>RegexMatchSet</code> to remove filters, if any. For more information, see <a>UpdateRegexMatchSet</a>.</p>
|
|
829
|
-
* </li>
|
|
830
|
-
* <li>
|
|
831
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
832
|
-
* <code>DeleteRegexMatchSet</code> request.</p>
|
|
833
|
-
* </li>
|
|
834
|
-
* <li>
|
|
835
|
-
* <p>Submit a <code>DeleteRegexMatchSet</code> request.</p>
|
|
836
|
-
* </li>
|
|
837
|
-
* </ol>
|
|
206
|
+
* @see {@link DeleteRegexMatchSetCommand}
|
|
838
207
|
*/
|
|
839
208
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexMatchSetCommandOutput>;
|
|
840
209
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void): void;
|
|
841
210
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void): void;
|
|
842
211
|
/**
|
|
843
|
-
* @
|
|
844
|
-
* <note>
|
|
845
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
846
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
847
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
848
|
-
* <p>
|
|
849
|
-
* <b>For the latest version of AWS
|
|
850
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
851
|
-
* </note>
|
|
852
|
-
* <p>Permanently deletes a <a>RegexPatternSet</a>. You can't delete a <code>RegexPatternSet</code> if it's still used in any <code>RegexMatchSet</code>
|
|
853
|
-
* or if the <code>RegexPatternSet</code> is not empty. </p>
|
|
212
|
+
* @see {@link DeleteRegexPatternSetCommand}
|
|
854
213
|
*/
|
|
855
214
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexPatternSetCommandOutput>;
|
|
856
215
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
857
216
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
858
217
|
/**
|
|
859
|
-
* @
|
|
860
|
-
* <note>
|
|
861
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
862
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
863
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
864
|
-
* <p>
|
|
865
|
-
* <b>For the latest version of AWS
|
|
866
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
867
|
-
* </note>
|
|
868
|
-
* <p>Permanently deletes a <a>Rule</a>. You can't delete a <code>Rule</code> if it's still used in any <code>WebACL</code>
|
|
869
|
-
* objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p>
|
|
870
|
-
* <p>If you just want to remove a <code>Rule</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
871
|
-
* <p>To permanently delete a <code>Rule</code> from AWS WAF, perform the following steps:</p>
|
|
872
|
-
* <ol>
|
|
873
|
-
* <li>
|
|
874
|
-
* <p>Update the <code>Rule</code> to remove predicates, if any. For more information, see <a>UpdateRule</a>.</p>
|
|
875
|
-
* </li>
|
|
876
|
-
* <li>
|
|
877
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
878
|
-
* <code>DeleteRule</code> request.</p>
|
|
879
|
-
* </li>
|
|
880
|
-
* <li>
|
|
881
|
-
* <p>Submit a <code>DeleteRule</code> request.</p>
|
|
882
|
-
* </li>
|
|
883
|
-
* </ol>
|
|
218
|
+
* @see {@link DeleteRuleCommand}
|
|
884
219
|
*/
|
|
885
220
|
deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
|
|
886
221
|
deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
887
222
|
deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
888
223
|
/**
|
|
889
|
-
* @
|
|
890
|
-
* <note>
|
|
891
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
892
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
893
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
894
|
-
* <p>
|
|
895
|
-
* <b>For the latest version of AWS
|
|
896
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
897
|
-
* </note>
|
|
898
|
-
* <p>Permanently deletes a <a>RuleGroup</a>. You can't delete a <code>RuleGroup</code> if it's still used in any <code>WebACL</code>
|
|
899
|
-
* objects or if it still includes any rules.</p>
|
|
900
|
-
* <p>If you just want to remove a <code>RuleGroup</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
901
|
-
* <p>To permanently delete a <code>RuleGroup</code> from AWS WAF, perform the following steps:</p>
|
|
902
|
-
* <ol>
|
|
903
|
-
* <li>
|
|
904
|
-
* <p>Update the <code>RuleGroup</code> to remove rules, if any. For more information, see <a>UpdateRuleGroup</a>.</p>
|
|
905
|
-
* </li>
|
|
906
|
-
* <li>
|
|
907
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
908
|
-
* <code>DeleteRuleGroup</code> request.</p>
|
|
909
|
-
* </li>
|
|
910
|
-
* <li>
|
|
911
|
-
* <p>Submit a <code>DeleteRuleGroup</code> request.</p>
|
|
912
|
-
* </li>
|
|
913
|
-
* </ol>
|
|
224
|
+
* @see {@link DeleteRuleGroupCommand}
|
|
914
225
|
*/
|
|
915
226
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupCommandOutput>;
|
|
916
227
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
917
228
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
918
229
|
/**
|
|
919
|
-
* @
|
|
920
|
-
* <note>
|
|
921
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
922
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
923
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
924
|
-
* <p>
|
|
925
|
-
* <b>For the latest version of AWS
|
|
926
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
927
|
-
* </note>
|
|
928
|
-
* <p>Permanently deletes a <a>SizeConstraintSet</a>. You can't delete a <code>SizeConstraintSet</code> if it's still used in any <code>Rules</code>
|
|
929
|
-
* or if it still includes any <a>SizeConstraint</a> objects (any filters).</p>
|
|
930
|
-
* <p>If you just want to remove a <code>SizeConstraintSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
931
|
-
* <p>To permanently delete a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
932
|
-
* <ol>
|
|
933
|
-
* <li>
|
|
934
|
-
* <p>Update the <code>SizeConstraintSet</code> to remove filters, if any. For more information, see <a>UpdateSizeConstraintSet</a>.</p>
|
|
935
|
-
* </li>
|
|
936
|
-
* <li>
|
|
937
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
938
|
-
* <code>DeleteSizeConstraintSet</code> request.</p>
|
|
939
|
-
* </li>
|
|
940
|
-
* <li>
|
|
941
|
-
* <p>Submit a <code>DeleteSizeConstraintSet</code> request.</p>
|
|
942
|
-
* </li>
|
|
943
|
-
* </ol>
|
|
230
|
+
* @see {@link DeleteSizeConstraintSetCommand}
|
|
944
231
|
*/
|
|
945
232
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSizeConstraintSetCommandOutput>;
|
|
946
233
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void): void;
|
|
947
234
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void): void;
|
|
948
235
|
/**
|
|
949
|
-
* @
|
|
950
|
-
* <note>
|
|
951
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
952
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
953
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
954
|
-
* <p>
|
|
955
|
-
* <b>For the latest version of AWS
|
|
956
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
957
|
-
* </note>
|
|
958
|
-
* <p>Permanently deletes a <a>SqlInjectionMatchSet</a>. You can't delete a <code>SqlInjectionMatchSet</code> if it's
|
|
959
|
-
* still used in any <code>Rules</code> or if it still contains any <a>SqlInjectionMatchTuple</a> objects.</p>
|
|
960
|
-
* <p>If you just want to remove a <code>SqlInjectionMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
961
|
-
* <p>To permanently delete a <code>SqlInjectionMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
962
|
-
* <ol>
|
|
963
|
-
* <li>
|
|
964
|
-
* <p>Update the <code>SqlInjectionMatchSet</code> to remove filters, if any. For more information, see
|
|
965
|
-
* <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
966
|
-
* </li>
|
|
967
|
-
* <li>
|
|
968
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
969
|
-
* <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
970
|
-
* </li>
|
|
971
|
-
* <li>
|
|
972
|
-
* <p>Submit a <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
973
|
-
* </li>
|
|
974
|
-
* </ol>
|
|
236
|
+
* @see {@link DeleteSqlInjectionMatchSetCommand}
|
|
975
237
|
*/
|
|
976
238
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSqlInjectionMatchSetCommandOutput>;
|
|
977
239
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void): void;
|
|
978
240
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void): void;
|
|
979
241
|
/**
|
|
980
|
-
* @
|
|
981
|
-
* <note>
|
|
982
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
983
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
984
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
985
|
-
* <p>
|
|
986
|
-
* <b>For the latest version of AWS
|
|
987
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
988
|
-
* </note>
|
|
989
|
-
* <p>Permanently deletes a <a>WebACL</a>. You can't delete a <code>WebACL</code> if it still contains any <code>Rules</code>.</p>
|
|
990
|
-
* <p>To delete a <code>WebACL</code>, perform the following steps:</p>
|
|
991
|
-
* <ol>
|
|
992
|
-
* <li>
|
|
993
|
-
* <p>Update the <code>WebACL</code> to remove <code>Rules</code>, if any. For more information, see <a>UpdateWebACL</a>.</p>
|
|
994
|
-
* </li>
|
|
995
|
-
* <li>
|
|
996
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
997
|
-
* <code>DeleteWebACL</code> request.</p>
|
|
998
|
-
* </li>
|
|
999
|
-
* <li>
|
|
1000
|
-
* <p>Submit a <code>DeleteWebACL</code> request.</p>
|
|
1001
|
-
* </li>
|
|
1002
|
-
* </ol>
|
|
242
|
+
* @see {@link DeleteWebACLCommand}
|
|
1003
243
|
*/
|
|
1004
244
|
deleteWebACL(args: DeleteWebACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebACLCommandOutput>;
|
|
1005
245
|
deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
1006
246
|
deleteWebACL(args: DeleteWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
1007
247
|
/**
|
|
1008
|
-
* @
|
|
1009
|
-
* <note>
|
|
1010
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1011
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1012
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1013
|
-
* <p>
|
|
1014
|
-
* <b>For the latest version of AWS
|
|
1015
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1016
|
-
* </note>
|
|
1017
|
-
* <p>Permanently deletes an <a>XssMatchSet</a>. You can't delete an <code>XssMatchSet</code> if it's
|
|
1018
|
-
* still used in any <code>Rules</code> or if it still contains any <a>XssMatchTuple</a> objects.</p>
|
|
1019
|
-
* <p>If you just want to remove an <code>XssMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1020
|
-
* <p>To permanently delete an <code>XssMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
1021
|
-
* <ol>
|
|
1022
|
-
* <li>
|
|
1023
|
-
* <p>Update the <code>XssMatchSet</code> to remove filters, if any. For more information, see
|
|
1024
|
-
* <a>UpdateXssMatchSet</a>.</p>
|
|
1025
|
-
* </li>
|
|
1026
|
-
* <li>
|
|
1027
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1028
|
-
* <code>DeleteXssMatchSet</code> request.</p>
|
|
1029
|
-
* </li>
|
|
1030
|
-
* <li>
|
|
1031
|
-
* <p>Submit a <code>DeleteXssMatchSet</code> request.</p>
|
|
1032
|
-
* </li>
|
|
1033
|
-
* </ol>
|
|
248
|
+
* @see {@link DeleteXssMatchSetCommand}
|
|
1034
249
|
*/
|
|
1035
250
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteXssMatchSetCommandOutput>;
|
|
1036
251
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void): void;
|
|
1037
252
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void): void;
|
|
1038
253
|
/**
|
|
1039
|
-
* @
|
|
1040
|
-
* <note>
|
|
1041
|
-
* <p>This is <b>AWS WAF Classic Regional</b> documentation. For
|
|
1042
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1043
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1044
|
-
* <p>
|
|
1045
|
-
* <b>For the latest version of AWS
|
|
1046
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1047
|
-
* </note>
|
|
1048
|
-
* <p>Removes a web ACL from the specified resource, either an application load balancer or Amazon API Gateway stage.</p>
|
|
254
|
+
* @see {@link DisassociateWebACLCommand}
|
|
1049
255
|
*/
|
|
1050
256
|
disassociateWebACL(args: DisassociateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateWebACLCommandOutput>;
|
|
1051
257
|
disassociateWebACL(args: DisassociateWebACLCommandInput, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
|
|
1052
258
|
disassociateWebACL(args: DisassociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
|
|
1053
259
|
/**
|
|
1054
|
-
* @
|
|
1055
|
-
* <note>
|
|
1056
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1057
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1058
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1059
|
-
* <p>
|
|
1060
|
-
* <b>For the latest version of AWS
|
|
1061
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1062
|
-
* </note>
|
|
1063
|
-
* <p>Returns the <a>ByteMatchSet</a> specified by <code>ByteMatchSetId</code>.</p>
|
|
260
|
+
* @see {@link GetByteMatchSetCommand}
|
|
1064
261
|
*/
|
|
1065
262
|
getByteMatchSet(args: GetByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetByteMatchSetCommandOutput>;
|
|
1066
263
|
getByteMatchSet(args: GetByteMatchSetCommandInput, cb: (err: any, data?: GetByteMatchSetCommandOutput) => void): void;
|
|
1067
264
|
getByteMatchSet(args: GetByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetByteMatchSetCommandOutput) => void): void;
|
|
1068
265
|
/**
|
|
1069
|
-
* @
|
|
1070
|
-
* <note>
|
|
1071
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1072
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1073
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1074
|
-
* <p>
|
|
1075
|
-
* <b>For the latest version of AWS
|
|
1076
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1077
|
-
* </note>
|
|
1078
|
-
* <p>When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.</p>
|
|
1079
|
-
* <p>Each create, update, or delete request must use a unique change token. If your application submits a <code>GetChangeToken</code> request
|
|
1080
|
-
* and then submits a second <code>GetChangeToken</code> request before submitting a create, update, or delete request, the second
|
|
1081
|
-
* <code>GetChangeToken</code> request returns the same value as the first <code>GetChangeToken</code> request.</p>
|
|
1082
|
-
* <p>When you use a change token in a create, update, or delete request, the status of the change token changes to <code>PENDING</code>,
|
|
1083
|
-
* which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use <code>GetChangeTokenStatus</code> to determine the
|
|
1084
|
-
* status of your change token.</p>
|
|
266
|
+
* @see {@link GetChangeTokenCommand}
|
|
1085
267
|
*/
|
|
1086
268
|
getChangeToken(args: GetChangeTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetChangeTokenCommandOutput>;
|
|
1087
269
|
getChangeToken(args: GetChangeTokenCommandInput, cb: (err: any, data?: GetChangeTokenCommandOutput) => void): void;
|
|
1088
270
|
getChangeToken(args: GetChangeTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChangeTokenCommandOutput) => void): void;
|
|
1089
271
|
/**
|
|
1090
|
-
* @
|
|
1091
|
-
* <note>
|
|
1092
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1093
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1094
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1095
|
-
* <p>
|
|
1096
|
-
* <b>For the latest version of AWS
|
|
1097
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1098
|
-
* </note>
|
|
1099
|
-
* <p>Returns the status of a <code>ChangeToken</code> that you got by calling <a>GetChangeToken</a>. <code>ChangeTokenStatus</code> is
|
|
1100
|
-
* one of the following values:</p>
|
|
1101
|
-
* <ul>
|
|
1102
|
-
* <li>
|
|
1103
|
-
* <p>
|
|
1104
|
-
* <code>PROVISIONED</code>: You requested the change token by calling <code>GetChangeToken</code>, but you haven't used it yet
|
|
1105
|
-
* in a call to create, update, or delete an AWS WAF object.</p>
|
|
1106
|
-
* </li>
|
|
1107
|
-
* <li>
|
|
1108
|
-
* <p>
|
|
1109
|
-
* <code>PENDING</code>: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.</p>
|
|
1110
|
-
* </li>
|
|
1111
|
-
* <li>
|
|
1112
|
-
* <p>
|
|
1113
|
-
* <code>INSYNC</code>: Propagation is complete.</p>
|
|
1114
|
-
* </li>
|
|
1115
|
-
* </ul>
|
|
272
|
+
* @see {@link GetChangeTokenStatusCommand}
|
|
1116
273
|
*/
|
|
1117
274
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetChangeTokenStatusCommandOutput>;
|
|
1118
275
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void): void;
|
|
1119
276
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void): void;
|
|
1120
277
|
/**
|
|
1121
|
-
* @
|
|
1122
|
-
* <note>
|
|
1123
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1124
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1125
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1126
|
-
* <p>
|
|
1127
|
-
* <b>For the latest version of AWS
|
|
1128
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1129
|
-
* </note>
|
|
1130
|
-
* <p>Returns the <a>GeoMatchSet</a> that is specified by <code>GeoMatchSetId</code>.</p>
|
|
278
|
+
* @see {@link GetGeoMatchSetCommand}
|
|
1131
279
|
*/
|
|
1132
280
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetGeoMatchSetCommandOutput>;
|
|
1133
281
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void): void;
|
|
1134
282
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void): void;
|
|
1135
283
|
/**
|
|
1136
|
-
* @
|
|
1137
|
-
* <note>
|
|
1138
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1139
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1140
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1141
|
-
* <p>
|
|
1142
|
-
* <b>For the latest version of AWS
|
|
1143
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1144
|
-
* </note>
|
|
1145
|
-
* <p>Returns the <a>IPSet</a> that is specified by <code>IPSetId</code>.</p>
|
|
284
|
+
* @see {@link GetIPSetCommand}
|
|
1146
285
|
*/
|
|
1147
286
|
getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
|
|
1148
287
|
getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
1149
288
|
getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
1150
289
|
/**
|
|
1151
|
-
* @
|
|
1152
|
-
* <note>
|
|
1153
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1154
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1155
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1156
|
-
* <p>
|
|
1157
|
-
* <b>For the latest version of AWS
|
|
1158
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1159
|
-
* </note>
|
|
1160
|
-
* <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
290
|
+
* @see {@link GetLoggingConfigurationCommand}
|
|
1161
291
|
*/
|
|
1162
292
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLoggingConfigurationCommandOutput>;
|
|
1163
293
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
1164
294
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
1165
295
|
/**
|
|
1166
|
-
* @
|
|
1167
|
-
* <note>
|
|
1168
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1169
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1170
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1171
|
-
* <p>
|
|
1172
|
-
* <b>For the latest version of AWS
|
|
1173
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1174
|
-
* </note>
|
|
1175
|
-
* <p>Returns the IAM policy attached to the RuleGroup.</p>
|
|
296
|
+
* @see {@link GetPermissionPolicyCommand}
|
|
1176
297
|
*/
|
|
1177
298
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionPolicyCommandOutput>;
|
|
1178
299
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
1179
300
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
1180
301
|
/**
|
|
1181
|
-
* @
|
|
1182
|
-
* <note>
|
|
1183
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1184
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1185
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1186
|
-
* <p>
|
|
1187
|
-
* <b>For the latest version of AWS
|
|
1188
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1189
|
-
* </note>
|
|
1190
|
-
* <p>Returns the <a>RateBasedRule</a> that is specified by the
|
|
1191
|
-
* <code>RuleId</code> that you included in the <code>GetRateBasedRule</code>
|
|
1192
|
-
* request.</p>
|
|
302
|
+
* @see {@link GetRateBasedRuleCommand}
|
|
1193
303
|
*/
|
|
1194
304
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRateBasedRuleCommandOutput>;
|
|
1195
305
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void): void;
|
|
1196
306
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void): void;
|
|
1197
307
|
/**
|
|
1198
|
-
* @
|
|
1199
|
-
* <note>
|
|
1200
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1201
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1202
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1203
|
-
* <p>
|
|
1204
|
-
* <b>For the latest version of AWS
|
|
1205
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1206
|
-
* </note>
|
|
1207
|
-
* <p>Returns an array of IP addresses currently being blocked by the <a>RateBasedRule</a> that is specified by the <code>RuleId</code>. The maximum
|
|
1208
|
-
* number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed
|
|
1209
|
-
* the rate limit, the 10,000 addresses with the highest rates will be blocked.</p>
|
|
308
|
+
* @see {@link GetRateBasedRuleManagedKeysCommand}
|
|
1210
309
|
*/
|
|
1211
310
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetRateBasedRuleManagedKeysCommandOutput>;
|
|
1212
311
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void): void;
|
|
1213
312
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void): void;
|
|
1214
313
|
/**
|
|
1215
|
-
* @
|
|
1216
|
-
* <note>
|
|
1217
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1218
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1219
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1220
|
-
* <p>
|
|
1221
|
-
* <b>For the latest version of AWS
|
|
1222
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1223
|
-
* </note>
|
|
1224
|
-
* <p>Returns the <a>RegexMatchSet</a> specified by <code>RegexMatchSetId</code>.</p>
|
|
314
|
+
* @see {@link GetRegexMatchSetCommand}
|
|
1225
315
|
*/
|
|
1226
316
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexMatchSetCommandOutput>;
|
|
1227
317
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void): void;
|
|
1228
318
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void): void;
|
|
1229
319
|
/**
|
|
1230
|
-
* @
|
|
1231
|
-
* <note>
|
|
1232
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1233
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1234
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1235
|
-
* <p>
|
|
1236
|
-
* <b>For the latest version of AWS
|
|
1237
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1238
|
-
* </note>
|
|
1239
|
-
* <p>Returns the <a>RegexPatternSet</a> specified by <code>RegexPatternSetId</code>.</p>
|
|
320
|
+
* @see {@link GetRegexPatternSetCommand}
|
|
1240
321
|
*/
|
|
1241
322
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexPatternSetCommandOutput>;
|
|
1242
323
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
1243
324
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
1244
325
|
/**
|
|
1245
|
-
* @
|
|
1246
|
-
* <note>
|
|
1247
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1248
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1249
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1250
|
-
* <p>
|
|
1251
|
-
* <b>For the latest version of AWS
|
|
1252
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1253
|
-
* </note>
|
|
1254
|
-
* <p>Returns the <a>Rule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRule</code> request.</p>
|
|
326
|
+
* @see {@link GetRuleCommand}
|
|
1255
327
|
*/
|
|
1256
328
|
getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
|
|
1257
329
|
getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
1258
330
|
getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
1259
331
|
/**
|
|
1260
|
-
* @
|
|
1261
|
-
* <note>
|
|
1262
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1263
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1264
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1265
|
-
* <p>
|
|
1266
|
-
* <b>For the latest version of AWS
|
|
1267
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1268
|
-
* </note>
|
|
1269
|
-
* <p>Returns the <a>RuleGroup</a> that is specified by the <code>RuleGroupId</code> that you included in the <code>GetRuleGroup</code> request.</p>
|
|
1270
|
-
* <p>To view the rules in a rule group, use <a>ListActivatedRulesInRuleGroup</a>.</p>
|
|
332
|
+
* @see {@link GetRuleGroupCommand}
|
|
1271
333
|
*/
|
|
1272
334
|
getRuleGroup(args: GetRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleGroupCommandOutput>;
|
|
1273
335
|
getRuleGroup(args: GetRuleGroupCommandInput, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
1274
336
|
getRuleGroup(args: GetRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
1275
337
|
/**
|
|
1276
|
-
* @
|
|
1277
|
-
* <note>
|
|
1278
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1279
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1280
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1281
|
-
* <p>
|
|
1282
|
-
* <b>For the latest version of AWS
|
|
1283
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1284
|
-
* </note>
|
|
1285
|
-
* <p>Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.</p>
|
|
1286
|
-
* <p>
|
|
1287
|
-
* <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource
|
|
1288
|
-
* (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code>
|
|
1289
|
-
* returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>
|
|
338
|
+
* @see {@link GetSampledRequestsCommand}
|
|
1290
339
|
*/
|
|
1291
340
|
getSampledRequests(args: GetSampledRequestsCommandInput, options?: __HttpHandlerOptions): Promise<GetSampledRequestsCommandOutput>;
|
|
1292
341
|
getSampledRequests(args: GetSampledRequestsCommandInput, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
1293
342
|
getSampledRequests(args: GetSampledRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
1294
343
|
/**
|
|
1295
|
-
* @
|
|
1296
|
-
* <note>
|
|
1297
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1298
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1299
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1300
|
-
* <p>
|
|
1301
|
-
* <b>For the latest version of AWS
|
|
1302
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1303
|
-
* </note>
|
|
1304
|
-
* <p>Returns the <a>SizeConstraintSet</a> specified by <code>SizeConstraintSetId</code>.</p>
|
|
344
|
+
* @see {@link GetSizeConstraintSetCommand}
|
|
1305
345
|
*/
|
|
1306
346
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<GetSizeConstraintSetCommandOutput>;
|
|
1307
347
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void): void;
|
|
1308
348
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void): void;
|
|
1309
349
|
/**
|
|
1310
|
-
* @
|
|
1311
|
-
* <note>
|
|
1312
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1313
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1314
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1315
|
-
* <p>
|
|
1316
|
-
* <b>For the latest version of AWS
|
|
1317
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1318
|
-
* </note>
|
|
1319
|
-
* <p>Returns the <a>SqlInjectionMatchSet</a> that is specified by <code>SqlInjectionMatchSetId</code>.</p>
|
|
350
|
+
* @see {@link GetSqlInjectionMatchSetCommand}
|
|
1320
351
|
*/
|
|
1321
352
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetSqlInjectionMatchSetCommandOutput>;
|
|
1322
353
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void): void;
|
|
1323
354
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void): void;
|
|
1324
355
|
/**
|
|
1325
|
-
* @
|
|
1326
|
-
* <note>
|
|
1327
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1328
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1329
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1330
|
-
* <p>
|
|
1331
|
-
* <b>For the latest version of AWS
|
|
1332
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1333
|
-
* </note>
|
|
1334
|
-
* <p>Returns the <a>WebACL</a> that is specified by <code>WebACLId</code>.</p>
|
|
356
|
+
* @see {@link GetWebACLCommand}
|
|
1335
357
|
*/
|
|
1336
358
|
getWebACL(args: GetWebACLCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLCommandOutput>;
|
|
1337
359
|
getWebACL(args: GetWebACLCommandInput, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
1338
360
|
getWebACL(args: GetWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
1339
361
|
/**
|
|
1340
|
-
* @
|
|
1341
|
-
* <note>
|
|
1342
|
-
* <p>This is <b>AWS WAF Classic Regional</b> documentation. For
|
|
1343
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1344
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1345
|
-
* <p>
|
|
1346
|
-
* <b>For the latest version of AWS
|
|
1347
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1348
|
-
* </note>
|
|
1349
|
-
* <p>Returns the web ACL for the specified resource, either an application load balancer or Amazon API Gateway stage.</p>
|
|
362
|
+
* @see {@link GetWebACLForResourceCommand}
|
|
1350
363
|
*/
|
|
1351
364
|
getWebACLForResource(args: GetWebACLForResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLForResourceCommandOutput>;
|
|
1352
365
|
getWebACLForResource(args: GetWebACLForResourceCommandInput, cb: (err: any, data?: GetWebACLForResourceCommandOutput) => void): void;
|
|
1353
366
|
getWebACLForResource(args: GetWebACLForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWebACLForResourceCommandOutput) => void): void;
|
|
1354
367
|
/**
|
|
1355
|
-
* @
|
|
1356
|
-
* <note>
|
|
1357
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1358
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1359
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1360
|
-
* <p>
|
|
1361
|
-
* <b>For the latest version of AWS
|
|
1362
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1363
|
-
* </note>
|
|
1364
|
-
* <p>Returns the <a>XssMatchSet</a> that is specified by <code>XssMatchSetId</code>.</p>
|
|
368
|
+
* @see {@link GetXssMatchSetCommand}
|
|
1365
369
|
*/
|
|
1366
370
|
getXssMatchSet(args: GetXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetXssMatchSetCommandOutput>;
|
|
1367
371
|
getXssMatchSet(args: GetXssMatchSetCommandInput, cb: (err: any, data?: GetXssMatchSetCommandOutput) => void): void;
|
|
1368
372
|
getXssMatchSet(args: GetXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetXssMatchSetCommandOutput) => void): void;
|
|
1369
373
|
/**
|
|
1370
|
-
* @
|
|
1371
|
-
* <note>
|
|
1372
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1373
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1374
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1375
|
-
* <p>
|
|
1376
|
-
* <b>For the latest version of AWS
|
|
1377
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1378
|
-
* </note>
|
|
1379
|
-
* <p>Returns an array of <a>ActivatedRule</a> objects.</p>
|
|
374
|
+
* @see {@link ListActivatedRulesInRuleGroupCommand}
|
|
1380
375
|
*/
|
|
1381
376
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListActivatedRulesInRuleGroupCommandOutput>;
|
|
1382
377
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void): void;
|
|
1383
378
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void): void;
|
|
1384
379
|
/**
|
|
1385
|
-
* @
|
|
1386
|
-
* <note>
|
|
1387
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1388
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1389
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1390
|
-
* <p>
|
|
1391
|
-
* <b>For the latest version of AWS
|
|
1392
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1393
|
-
* </note>
|
|
1394
|
-
* <p>Returns an array of <a>ByteMatchSetSummary</a> objects.</p>
|
|
380
|
+
* @see {@link ListByteMatchSetsCommand}
|
|
1395
381
|
*/
|
|
1396
382
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListByteMatchSetsCommandOutput>;
|
|
1397
383
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void): void;
|
|
1398
384
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void): void;
|
|
1399
385
|
/**
|
|
1400
|
-
* @
|
|
1401
|
-
* <note>
|
|
1402
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1403
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1404
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1405
|
-
* <p>
|
|
1406
|
-
* <b>For the latest version of AWS
|
|
1407
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1408
|
-
* </note>
|
|
1409
|
-
* <p>Returns an array of <a>GeoMatchSetSummary</a> objects in the response.</p>
|
|
386
|
+
* @see {@link ListGeoMatchSetsCommand}
|
|
1410
387
|
*/
|
|
1411
388
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListGeoMatchSetsCommandOutput>;
|
|
1412
389
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void): void;
|
|
1413
390
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void): void;
|
|
1414
391
|
/**
|
|
1415
|
-
* @
|
|
1416
|
-
* <note>
|
|
1417
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1418
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1419
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1420
|
-
* <p>
|
|
1421
|
-
* <b>For the latest version of AWS
|
|
1422
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1423
|
-
* </note>
|
|
1424
|
-
* <p>Returns an array of <a>IPSetSummary</a> objects in the response.</p>
|
|
392
|
+
* @see {@link ListIPSetsCommand}
|
|
1425
393
|
*/
|
|
1426
394
|
listIPSets(args: ListIPSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListIPSetsCommandOutput>;
|
|
1427
395
|
listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
1428
396
|
listIPSets(args: ListIPSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
1429
397
|
/**
|
|
1430
|
-
* @
|
|
1431
|
-
* <note>
|
|
1432
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1433
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1434
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1435
|
-
* <p>
|
|
1436
|
-
* <b>For the latest version of AWS
|
|
1437
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1438
|
-
* </note>
|
|
1439
|
-
* <p>Returns an array of <a>LoggingConfiguration</a> objects.</p>
|
|
398
|
+
* @see {@link ListLoggingConfigurationsCommand}
|
|
1440
399
|
*/
|
|
1441
400
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLoggingConfigurationsCommandOutput>;
|
|
1442
401
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
1443
402
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
1444
403
|
/**
|
|
1445
|
-
* @
|
|
1446
|
-
* <note>
|
|
1447
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1448
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1449
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1450
|
-
* <p>
|
|
1451
|
-
* <b>For the latest version of AWS
|
|
1452
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1453
|
-
* </note>
|
|
1454
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
404
|
+
* @see {@link ListRateBasedRulesCommand}
|
|
1455
405
|
*/
|
|
1456
406
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRateBasedRulesCommandOutput>;
|
|
1457
407
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void): void;
|
|
1458
408
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void): void;
|
|
1459
409
|
/**
|
|
1460
|
-
* @
|
|
1461
|
-
* <note>
|
|
1462
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1463
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1464
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1465
|
-
* <p>
|
|
1466
|
-
* <b>For the latest version of AWS
|
|
1467
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1468
|
-
* </note>
|
|
1469
|
-
* <p>Returns an array of <a>RegexMatchSetSummary</a> objects.</p>
|
|
410
|
+
* @see {@link ListRegexMatchSetsCommand}
|
|
1470
411
|
*/
|
|
1471
412
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegexMatchSetsCommandOutput>;
|
|
1472
413
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void): void;
|
|
1473
414
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void): void;
|
|
1474
415
|
/**
|
|
1475
|
-
* @
|
|
1476
|
-
* <note>
|
|
1477
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1478
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1479
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1480
|
-
* <p>
|
|
1481
|
-
* <b>For the latest version of AWS
|
|
1482
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1483
|
-
* </note>
|
|
1484
|
-
* <p>Returns an array of <a>RegexPatternSetSummary</a> objects.</p>
|
|
416
|
+
* @see {@link ListRegexPatternSetsCommand}
|
|
1485
417
|
*/
|
|
1486
418
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegexPatternSetsCommandOutput>;
|
|
1487
419
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
1488
420
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
1489
421
|
/**
|
|
1490
|
-
* @
|
|
1491
|
-
* <note>
|
|
1492
|
-
* <p>This is <b>AWS WAF Classic Regional</b> documentation. For
|
|
1493
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1494
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1495
|
-
* <p>
|
|
1496
|
-
* <b>For the latest version of AWS
|
|
1497
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1498
|
-
* </note>
|
|
1499
|
-
* <p>Returns an array of resources associated with the specified web ACL.</p>
|
|
422
|
+
* @see {@link ListResourcesForWebACLCommand}
|
|
1500
423
|
*/
|
|
1501
424
|
listResourcesForWebACL(args: ListResourcesForWebACLCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesForWebACLCommandOutput>;
|
|
1502
425
|
listResourcesForWebACL(args: ListResourcesForWebACLCommandInput, cb: (err: any, data?: ListResourcesForWebACLCommandOutput) => void): void;
|
|
1503
426
|
listResourcesForWebACL(args: ListResourcesForWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesForWebACLCommandOutput) => void): void;
|
|
1504
427
|
/**
|
|
1505
|
-
* @
|
|
1506
|
-
* <note>
|
|
1507
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1508
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1509
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1510
|
-
* <p>
|
|
1511
|
-
* <b>For the latest version of AWS
|
|
1512
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1513
|
-
* </note>
|
|
1514
|
-
* <p>Returns an array of <a>RuleGroup</a> objects.</p>
|
|
428
|
+
* @see {@link ListRuleGroupsCommand}
|
|
1515
429
|
*/
|
|
1516
430
|
listRuleGroups(args: ListRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsCommandOutput>;
|
|
1517
431
|
listRuleGroups(args: ListRuleGroupsCommandInput, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
1518
432
|
listRuleGroups(args: ListRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
1519
433
|
/**
|
|
1520
|
-
* @
|
|
1521
|
-
* <note>
|
|
1522
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1523
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1524
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1525
|
-
* <p>
|
|
1526
|
-
* <b>For the latest version of AWS
|
|
1527
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1528
|
-
* </note>
|
|
1529
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
434
|
+
* @see {@link ListRulesCommand}
|
|
1530
435
|
*/
|
|
1531
436
|
listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
|
|
1532
437
|
listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
1533
438
|
listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
1534
439
|
/**
|
|
1535
|
-
* @
|
|
1536
|
-
* <note>
|
|
1537
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1538
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1539
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1540
|
-
* <p>
|
|
1541
|
-
* <b>For the latest version of AWS
|
|
1542
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1543
|
-
* </note>
|
|
1544
|
-
* <p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
440
|
+
* @see {@link ListSizeConstraintSetsCommand}
|
|
1545
441
|
*/
|
|
1546
442
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListSizeConstraintSetsCommandOutput>;
|
|
1547
443
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void): void;
|
|
1548
444
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void): void;
|
|
1549
445
|
/**
|
|
1550
|
-
* @
|
|
1551
|
-
* <note>
|
|
1552
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1553
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1554
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1555
|
-
* <p>
|
|
1556
|
-
* <b>For the latest version of AWS
|
|
1557
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1558
|
-
* </note>
|
|
1559
|
-
* <p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
|
|
446
|
+
* @see {@link ListSqlInjectionMatchSetsCommand}
|
|
1560
447
|
*/
|
|
1561
448
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListSqlInjectionMatchSetsCommandOutput>;
|
|
1562
449
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void): void;
|
|
1563
450
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void): void;
|
|
1564
451
|
/**
|
|
1565
|
-
* @
|
|
1566
|
-
* <note>
|
|
1567
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1568
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1569
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1570
|
-
* <p>
|
|
1571
|
-
* <b>For the latest version of AWS
|
|
1572
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1573
|
-
* </note>
|
|
1574
|
-
* <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
|
|
452
|
+
* @see {@link ListSubscribedRuleGroupsCommand}
|
|
1575
453
|
*/
|
|
1576
454
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscribedRuleGroupsCommandOutput>;
|
|
1577
455
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void): void;
|
|
1578
456
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void): void;
|
|
1579
457
|
/**
|
|
1580
|
-
* @
|
|
1581
|
-
* <note>
|
|
1582
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1583
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1584
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1585
|
-
* <p>
|
|
1586
|
-
* <b>For the latest version of AWS
|
|
1587
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1588
|
-
* </note>
|
|
1589
|
-
* <p>Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
1590
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
458
|
+
* @see {@link ListTagsForResourceCommand}
|
|
1591
459
|
*/
|
|
1592
460
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
1593
461
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1594
462
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1595
463
|
/**
|
|
1596
|
-
* @
|
|
1597
|
-
* <note>
|
|
1598
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1599
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1600
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1601
|
-
* <p>
|
|
1602
|
-
* <b>For the latest version of AWS
|
|
1603
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1604
|
-
* </note>
|
|
1605
|
-
* <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
|
|
464
|
+
* @see {@link ListWebACLsCommand}
|
|
1606
465
|
*/
|
|
1607
466
|
listWebACLs(args: ListWebACLsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebACLsCommandOutput>;
|
|
1608
467
|
listWebACLs(args: ListWebACLsCommandInput, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
1609
468
|
listWebACLs(args: ListWebACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
1610
469
|
/**
|
|
1611
|
-
* @
|
|
1612
|
-
* <note>
|
|
1613
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1614
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1615
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1616
|
-
* <p>
|
|
1617
|
-
* <b>For the latest version of AWS
|
|
1618
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1619
|
-
* </note>
|
|
1620
|
-
* <p>Returns an array of <a>XssMatchSet</a> objects.</p>
|
|
470
|
+
* @see {@link ListXssMatchSetsCommand}
|
|
1621
471
|
*/
|
|
1622
472
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListXssMatchSetsCommandOutput>;
|
|
1623
473
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void): void;
|
|
1624
474
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void): void;
|
|
1625
475
|
/**
|
|
1626
|
-
* @
|
|
1627
|
-
* <note>
|
|
1628
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1629
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1630
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1631
|
-
* <p>
|
|
1632
|
-
* <b>For the latest version of AWS
|
|
1633
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1634
|
-
* </note>
|
|
1635
|
-
* <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
|
|
1636
|
-
* <p>You can access information about all traffic that AWS WAF inspects using the following
|
|
1637
|
-
* steps:</p>
|
|
1638
|
-
* <ol>
|
|
1639
|
-
* <li>
|
|
1640
|
-
* <p>Create an Amazon Kinesis Data
|
|
1641
|
-
* Firehose. </p>
|
|
1642
|
-
* <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>
|
|
1643
|
-
* <note>
|
|
1644
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
|
|
1645
|
-
* </note>
|
|
1646
|
-
* </li>
|
|
1647
|
-
* <li>
|
|
1648
|
-
* <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
|
|
1649
|
-
* </li>
|
|
1650
|
-
* </ol>
|
|
1651
|
-
*
|
|
1652
|
-
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
476
|
+
* @see {@link PutLoggingConfigurationCommand}
|
|
1653
477
|
*/
|
|
1654
478
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutLoggingConfigurationCommandOutput>;
|
|
1655
479
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
1656
480
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
1657
481
|
/**
|
|
1658
|
-
* @
|
|
1659
|
-
* <note>
|
|
1660
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1661
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1662
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1663
|
-
* <p>
|
|
1664
|
-
* <b>For the latest version of AWS
|
|
1665
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1666
|
-
* </note>
|
|
1667
|
-
* <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
|
|
1668
|
-
* <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
|
|
1669
|
-
* <ul>
|
|
1670
|
-
* <li>
|
|
1671
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
|
|
1672
|
-
* </li>
|
|
1673
|
-
* <li>
|
|
1674
|
-
* <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
|
|
1675
|
-
* </li>
|
|
1676
|
-
* <li>
|
|
1677
|
-
*
|
|
1678
|
-
* <p>
|
|
1679
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
1680
|
-
* </li>
|
|
1681
|
-
* <li>
|
|
1682
|
-
* <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
|
|
1683
|
-
* </li>
|
|
1684
|
-
* <li>
|
|
1685
|
-
* <p>The policy cannot include a <code>Resource</code> parameter.</p>
|
|
1686
|
-
* </li>
|
|
1687
|
-
* <li>
|
|
1688
|
-
* <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
|
|
1689
|
-
* </li>
|
|
1690
|
-
* <li>
|
|
1691
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
1692
|
-
* </li>
|
|
1693
|
-
* <li>
|
|
1694
|
-
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
1695
|
-
* </li>
|
|
1696
|
-
* </ul>
|
|
1697
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
1698
|
-
*
|
|
1699
|
-
* <p>An example of a valid policy parameter is shown in the Examples section below.</p>
|
|
482
|
+
* @see {@link PutPermissionPolicyCommand}
|
|
1700
483
|
*/
|
|
1701
484
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionPolicyCommandOutput>;
|
|
1702
485
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
1703
486
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
1704
487
|
/**
|
|
1705
|
-
* @
|
|
1706
|
-
* <note>
|
|
1707
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1708
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1709
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1710
|
-
* <p>
|
|
1711
|
-
* <b>For the latest version of AWS
|
|
1712
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1713
|
-
* </note>
|
|
1714
|
-
* <p>Associates tags with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
1715
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can use this action to tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
488
|
+
* @see {@link TagResourceCommand}
|
|
1716
489
|
*/
|
|
1717
490
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1718
491
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1719
492
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1720
493
|
/**
|
|
1721
|
-
* @
|
|
1722
|
-
* <note>
|
|
1723
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1724
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1725
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1726
|
-
* <p>
|
|
1727
|
-
* <b>For the latest version of AWS
|
|
1728
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1729
|
-
* </note>
|
|
1730
|
-
* <p></p>
|
|
494
|
+
* @see {@link UntagResourceCommand}
|
|
1731
495
|
*/
|
|
1732
496
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
1733
497
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1734
498
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1735
499
|
/**
|
|
1736
|
-
* @
|
|
1737
|
-
* <note>
|
|
1738
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1739
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1740
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1741
|
-
* <p>
|
|
1742
|
-
* <b>For the latest version of AWS
|
|
1743
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1744
|
-
* </note>
|
|
1745
|
-
* <p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object,
|
|
1746
|
-
* you specify the following values: </p>
|
|
1747
|
-
* <ul>
|
|
1748
|
-
* <li>
|
|
1749
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object,
|
|
1750
|
-
* you delete the existing object and add a new one.</p>
|
|
1751
|
-
* </li>
|
|
1752
|
-
* <li>
|
|
1753
|
-
* <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p>
|
|
1754
|
-
* </li>
|
|
1755
|
-
* <li>
|
|
1756
|
-
* <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify
|
|
1757
|
-
* the values for the AWS WAF API and the AWS CLI or SDKs, see <code>TargetString</code> in the <a>ByteMatchTuple</a> data type. </p>
|
|
1758
|
-
* </li>
|
|
1759
|
-
* <li>
|
|
1760
|
-
* <p>Where to look, such as at the beginning or the end of a query string.</p>
|
|
1761
|
-
* </li>
|
|
1762
|
-
* <li>
|
|
1763
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1764
|
-
* </li>
|
|
1765
|
-
* </ul>
|
|
1766
|
-
* <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain
|
|
1767
|
-
* the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p>
|
|
1768
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
1769
|
-
* <ol>
|
|
1770
|
-
* <li>
|
|
1771
|
-
* <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p>
|
|
1772
|
-
* </li>
|
|
1773
|
-
* <li>
|
|
1774
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1775
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
1776
|
-
* </li>
|
|
1777
|
-
* <li>
|
|
1778
|
-
* <p>Submit an <code>UpdateByteMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
1779
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
1780
|
-
* </li>
|
|
1781
|
-
* </ol>
|
|
1782
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1783
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
500
|
+
* @see {@link UpdateByteMatchSetCommand}
|
|
1784
501
|
*/
|
|
1785
502
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateByteMatchSetCommandOutput>;
|
|
1786
503
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void): void;
|
|
1787
504
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void): void;
|
|
1788
505
|
/**
|
|
1789
|
-
* @
|
|
1790
|
-
* <note>
|
|
1791
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1792
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1793
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1794
|
-
* <p>
|
|
1795
|
-
* <b>For the latest version of AWS
|
|
1796
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1797
|
-
* </note>
|
|
1798
|
-
* <p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object,
|
|
1799
|
-
* you specify the following values: </p>
|
|
1800
|
-
* <ul>
|
|
1801
|
-
* <li>
|
|
1802
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an <code>GeoMatchConstraint</code> object, you delete the existing object and add a new one.</p>
|
|
1803
|
-
* </li>
|
|
1804
|
-
* <li>
|
|
1805
|
-
* <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p>
|
|
1806
|
-
* </li>
|
|
1807
|
-
* <li>
|
|
1808
|
-
* <p>The <code>Value</code>, which is a two character code for the country to add to the <code>GeoMatchConstraint</code> object. Valid codes are listed in <a>GeoMatchConstraint$Value</a>.</p>
|
|
1809
|
-
* </li>
|
|
1810
|
-
* </ul>
|
|
1811
|
-
*
|
|
1812
|
-
* <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
1813
|
-
* <ol>
|
|
1814
|
-
* <li>
|
|
1815
|
-
* <p>Submit a <a>CreateGeoMatchSet</a> request.</p>
|
|
1816
|
-
* </li>
|
|
1817
|
-
* <li>
|
|
1818
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1819
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
1820
|
-
* </li>
|
|
1821
|
-
* <li>
|
|
1822
|
-
* <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p>
|
|
1823
|
-
* </li>
|
|
1824
|
-
* </ol>
|
|
1825
|
-
* <p>When you update an <code>GeoMatchSet</code>, you specify the country that you want to add and/or the country that you want to delete.
|
|
1826
|
-
* If you want to change a country, you delete the existing country and add the new one.</p>
|
|
1827
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1828
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
506
|
+
* @see {@link UpdateGeoMatchSetCommand}
|
|
1829
507
|
*/
|
|
1830
508
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGeoMatchSetCommandOutput>;
|
|
1831
509
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void): void;
|
|
1832
510
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void): void;
|
|
1833
511
|
/**
|
|
1834
|
-
* @
|
|
1835
|
-
* <note>
|
|
1836
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1837
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1838
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1839
|
-
* <p>
|
|
1840
|
-
* <b>For the latest version of AWS
|
|
1841
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1842
|
-
* </note>
|
|
1843
|
-
* <p>Inserts or deletes <a>IPSetDescriptor</a> objects in an
|
|
1844
|
-
* <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following
|
|
1845
|
-
* values: </p>
|
|
1846
|
-
* <ul>
|
|
1847
|
-
* <li>
|
|
1848
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an
|
|
1849
|
-
* <code>IPSetDescriptor</code> object, you delete the existing object and add a new
|
|
1850
|
-
* one.</p>
|
|
1851
|
-
* </li>
|
|
1852
|
-
* <li>
|
|
1853
|
-
* <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p>
|
|
1854
|
-
* </li>
|
|
1855
|
-
* <li>
|
|
1856
|
-
* <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for
|
|
1857
|
-
* the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or
|
|
1858
|
-
* <code>192.0.2.44/32</code> (for the individual IP address
|
|
1859
|
-
* <code>192.0.2.44</code>). </p>
|
|
1860
|
-
* </li>
|
|
1861
|
-
* </ul>
|
|
1862
|
-
* <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS
|
|
1863
|
-
* WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more
|
|
1864
|
-
* information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
1865
|
-
* Inter-Domain Routing</a>.</p>
|
|
1866
|
-
* <p>IPv6 addresses can be represented using any of the following formats:</p>
|
|
1867
|
-
* <ul>
|
|
1868
|
-
* <li>
|
|
1869
|
-
* <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p>
|
|
1870
|
-
* </li>
|
|
1871
|
-
* <li>
|
|
1872
|
-
* <p>1111:0:0:0:0:0:0:0111/128</p>
|
|
1873
|
-
* </li>
|
|
1874
|
-
* <li>
|
|
1875
|
-
* <p>1111::0111/128</p>
|
|
1876
|
-
* </li>
|
|
1877
|
-
* <li>
|
|
1878
|
-
* <p>1111::111/128</p>
|
|
1879
|
-
* </li>
|
|
1880
|
-
* </ul>
|
|
1881
|
-
* <p>You use an <code>IPSet</code> to specify which web requests you want to allow or
|
|
1882
|
-
* block based on the IP addresses that the requests originated from. For example, if you're
|
|
1883
|
-
* receiving a lot of requests from one or a small number of IP addresses and you want to
|
|
1884
|
-
* block the requests, you can create an <code>IPSet</code> that specifies those IP addresses,
|
|
1885
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
1886
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
1887
|
-
* <ol>
|
|
1888
|
-
* <li>
|
|
1889
|
-
* <p>Submit a <a>CreateIPSet</a> request.</p>
|
|
1890
|
-
* </li>
|
|
1891
|
-
* <li>
|
|
1892
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
1893
|
-
* in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a>
|
|
1894
|
-
* request.</p>
|
|
1895
|
-
* </li>
|
|
1896
|
-
* <li>
|
|
1897
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you
|
|
1898
|
-
* want AWS WAF to watch for.</p>
|
|
1899
|
-
* </li>
|
|
1900
|
-
* </ol>
|
|
1901
|
-
* <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to
|
|
1902
|
-
* add and/or the IP addresses that you want to delete. If you want to change an IP address,
|
|
1903
|
-
* you delete the existing IP address and add the new one.</p>
|
|
1904
|
-
* <p>You can insert a maximum of 1000 addresses in a single
|
|
1905
|
-
* request.</p>
|
|
1906
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP
|
|
1907
|
-
* requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF
|
|
1908
|
-
* Developer Guide</a>.</p>
|
|
512
|
+
* @see {@link UpdateIPSetCommand}
|
|
1909
513
|
*/
|
|
1910
514
|
updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
|
|
1911
515
|
updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
1912
516
|
updateIPSet(args: UpdateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
1913
517
|
/**
|
|
1914
|
-
* @
|
|
1915
|
-
* <note>
|
|
1916
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1917
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1918
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1919
|
-
* <p>
|
|
1920
|
-
* <b>For the latest version of AWS
|
|
1921
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1922
|
-
* </note>
|
|
1923
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the
|
|
1924
|
-
* <code>RateLimit</code> in the rule. </p>
|
|
1925
|
-
* <p>Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
1926
|
-
* that you want to block or count. The <code>RateLimit</code> specifies the number of
|
|
1927
|
-
* requests every five minutes that triggers the rule.</p>
|
|
1928
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must
|
|
1929
|
-
* match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked.
|
|
1930
|
-
* For example, suppose you add the following to a <code>RateBasedRule</code>:</p>
|
|
1931
|
-
* <ul>
|
|
1932
|
-
* <li>
|
|
1933
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
1934
|
-
* </p>
|
|
1935
|
-
* </li>
|
|
1936
|
-
* <li>
|
|
1937
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
1938
|
-
* <code>User-Agent</code> header</p>
|
|
1939
|
-
* </li>
|
|
1940
|
-
* </ul>
|
|
1941
|
-
* <p>Further, you specify a
|
|
1942
|
-
* <code>RateLimit</code> of 1,000.</p>
|
|
1943
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
1944
|
-
* you want to block requests that satisfy the rule. For a request to be blocked, it must come
|
|
1945
|
-
* from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header
|
|
1946
|
-
* in the request must contain the value <code>BadBot</code>. Further, requests that match
|
|
1947
|
-
* these two conditions much be received at a rate of more than 1,000 every five minutes. If
|
|
1948
|
-
* the rate drops below this limit, AWS WAF no longer blocks the requests.</p>
|
|
1949
|
-
*
|
|
1950
|
-
* <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
|
|
1951
|
-
* <code>RateBasedRule</code>:</p>
|
|
1952
|
-
*
|
|
1953
|
-
*
|
|
1954
|
-
* <ul>
|
|
1955
|
-
* <li>
|
|
1956
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
1957
|
-
* </p>
|
|
1958
|
-
* </li>
|
|
1959
|
-
* <li>
|
|
1960
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
1961
|
-
* </p>
|
|
1962
|
-
* </li>
|
|
1963
|
-
* <li>
|
|
1964
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
1965
|
-
* </p>
|
|
1966
|
-
* </li>
|
|
1967
|
-
* </ul>
|
|
1968
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
1969
|
-
* <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
|
|
518
|
+
* @see {@link UpdateRateBasedRuleCommand}
|
|
1970
519
|
*/
|
|
1971
520
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRateBasedRuleCommandOutput>;
|
|
1972
521
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void): void;
|
|
1973
522
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void): void;
|
|
1974
523
|
/**
|
|
1975
|
-
* @
|
|
1976
|
-
* <note>
|
|
1977
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1978
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1979
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1980
|
-
* <p>
|
|
1981
|
-
* <b>For the latest version of AWS
|
|
1982
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1983
|
-
* </note>
|
|
1984
|
-
* <p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object,
|
|
1985
|
-
* you specify the following values: </p>
|
|
1986
|
-
* <ul>
|
|
1987
|
-
* <li>
|
|
1988
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object,
|
|
1989
|
-
* you delete the existing object and add a new one.</p>
|
|
1990
|
-
* </li>
|
|
1991
|
-
* <li>
|
|
1992
|
-
* <p>The part of a web request that you want AWS WAF to inspectupdate, such as a query string or the value of the <code>User-Agent</code> header. </p>
|
|
1993
|
-
* </li>
|
|
1994
|
-
* <li>
|
|
1995
|
-
* <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p>
|
|
1996
|
-
* </li>
|
|
1997
|
-
* <li>
|
|
1998
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1999
|
-
* </li>
|
|
2000
|
-
* </ul>
|
|
2001
|
-
* <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
2002
|
-
* that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
2003
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
2004
|
-
* <ol>
|
|
2005
|
-
* <li>
|
|
2006
|
-
* <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p>
|
|
2007
|
-
* </li>
|
|
2008
|
-
* <li>
|
|
2009
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2010
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
2011
|
-
* </li>
|
|
2012
|
-
* <li>
|
|
2013
|
-
* <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
2014
|
-
* (for example, the header or the URI) and the identifier of the <code>RegexPatternSet</code> that contain the regular expression patters you want AWS WAF to watch for.</p>
|
|
2015
|
-
* </li>
|
|
2016
|
-
* </ol>
|
|
2017
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2018
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
524
|
+
* @see {@link UpdateRegexMatchSetCommand}
|
|
2019
525
|
*/
|
|
2020
526
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexMatchSetCommandOutput>;
|
|
2021
527
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void): void;
|
|
2022
528
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void): void;
|
|
2023
529
|
/**
|
|
2024
|
-
* @
|
|
2025
|
-
* <note>
|
|
2026
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2027
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2028
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2029
|
-
* <p>
|
|
2030
|
-
* <b>For the latest version of AWS
|
|
2031
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2032
|
-
* </note>
|
|
2033
|
-
* <p>Inserts or deletes <code>RegexPatternString</code> objects in a <a>RegexPatternSet</a>. For each <code>RegexPatternString</code> object,
|
|
2034
|
-
* you specify the following values: </p>
|
|
2035
|
-
* <ul>
|
|
2036
|
-
* <li>
|
|
2037
|
-
* <p>Whether to insert or delete the <code>RegexPatternString</code>.</p>
|
|
2038
|
-
* </li>
|
|
2039
|
-
* <li>
|
|
2040
|
-
* <p>The regular expression pattern that you want to insert or delete. For more information, see <a>RegexPatternSet</a>. </p>
|
|
2041
|
-
* </li>
|
|
2042
|
-
* </ul>
|
|
2043
|
-
* <p> For example, you can create a <code>RegexPatternString</code> such as <code>B[a@]dB[o0]t</code>. AWS WAF will match this <code>RegexPatternString</code> to:</p>
|
|
2044
|
-
* <ul>
|
|
2045
|
-
* <li>
|
|
2046
|
-
* <p>BadBot</p>
|
|
2047
|
-
* </li>
|
|
2048
|
-
* <li>
|
|
2049
|
-
* <p>BadB0t</p>
|
|
2050
|
-
* </li>
|
|
2051
|
-
* <li>
|
|
2052
|
-
* <p>B@dBot</p>
|
|
2053
|
-
* </li>
|
|
2054
|
-
* <li>
|
|
2055
|
-
* <p>B@dB0t</p>
|
|
2056
|
-
* </li>
|
|
2057
|
-
* </ul>
|
|
2058
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
2059
|
-
* <ol>
|
|
2060
|
-
* <li>
|
|
2061
|
-
* <p>Create a <code>RegexPatternSet.</code> For more information, see <a>CreateRegexPatternSet</a>.</p>
|
|
2062
|
-
* </li>
|
|
2063
|
-
* <li>
|
|
2064
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2065
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
2066
|
-
* </li>
|
|
2067
|
-
* <li>
|
|
2068
|
-
* <p>Submit an <code>UpdateRegexPatternSet</code> request to specify the regular expression pattern that you want AWS WAF to watch for.</p>
|
|
2069
|
-
* </li>
|
|
2070
|
-
* </ol>
|
|
2071
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2072
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
530
|
+
* @see {@link UpdateRegexPatternSetCommand}
|
|
2073
531
|
*/
|
|
2074
532
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexPatternSetCommandOutput>;
|
|
2075
533
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
2076
534
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
2077
535
|
/**
|
|
2078
|
-
* @
|
|
2079
|
-
* <note>
|
|
2080
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2081
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2082
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2083
|
-
* <p>
|
|
2084
|
-
* <b>For the latest version of AWS
|
|
2085
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2086
|
-
* </note>
|
|
2087
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a <code>Rule</code>. Each
|
|
2088
|
-
* <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
2089
|
-
* that you want to allow, block, or count. If you add more than one predicate to a
|
|
2090
|
-
* <code>Rule</code>, a request must match all of the specifications to be allowed,
|
|
2091
|
-
* blocked, or counted. For example, suppose
|
|
2092
|
-
* that
|
|
2093
|
-
* you add the following to a <code>Rule</code>: </p>
|
|
2094
|
-
* <ul>
|
|
2095
|
-
* <li>
|
|
2096
|
-
* <p>A <code>ByteMatchSet</code> that matches the value <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
2097
|
-
* </li>
|
|
2098
|
-
* <li>
|
|
2099
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44</code>
|
|
2100
|
-
* </p>
|
|
2101
|
-
* </li>
|
|
2102
|
-
* </ul>
|
|
2103
|
-
* <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to block requests that satisfy the <code>Rule</code>.
|
|
2104
|
-
* For a request to be blocked, the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>
|
|
2105
|
-
* <i>and</i> the request must originate from the IP address 192.0.2.44.</p>
|
|
2106
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
2107
|
-
* <ol>
|
|
2108
|
-
* <li>
|
|
2109
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>.</p>
|
|
2110
|
-
* </li>
|
|
2111
|
-
* <li>
|
|
2112
|
-
* <p>Create the <code>Rule</code>. See <a>CreateRule</a>.</p>
|
|
2113
|
-
* </li>
|
|
2114
|
-
* <li>
|
|
2115
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2116
|
-
* <a>UpdateRule</a> request.</p>
|
|
2117
|
-
* </li>
|
|
2118
|
-
* <li>
|
|
2119
|
-
* <p>Submit an <code>UpdateRule</code> request to add predicates to the <code>Rule</code>.</p>
|
|
2120
|
-
* </li>
|
|
2121
|
-
* <li>
|
|
2122
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. See <a>CreateWebACL</a>.</p>
|
|
2123
|
-
* </li>
|
|
2124
|
-
* </ol>
|
|
2125
|
-
* <p>If you want to replace one <code>ByteMatchSet</code> or <code>IPSet</code> with another, you delete the existing one and
|
|
2126
|
-
* add the new one.</p>
|
|
2127
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2128
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
536
|
+
* @see {@link UpdateRuleCommand}
|
|
2129
537
|
*/
|
|
2130
538
|
updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
|
|
2131
539
|
updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
2132
540
|
updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
2133
541
|
/**
|
|
2134
|
-
* @
|
|
2135
|
-
* <note>
|
|
2136
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2137
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2138
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2139
|
-
* <p>
|
|
2140
|
-
* <b>For the latest version of AWS
|
|
2141
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2142
|
-
* </note>
|
|
2143
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>RuleGroup</code>.</p>
|
|
2144
|
-
* <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
|
|
2145
|
-
* <p>You can have a maximum of ten rules per rule group.</p>
|
|
2146
|
-
*
|
|
2147
|
-
*
|
|
2148
|
-
* <p>To create and configure a <code>RuleGroup</code>, perform the following steps:</p>
|
|
2149
|
-
* <ol>
|
|
2150
|
-
* <li>
|
|
2151
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>RuleGroup</code>. See <a>CreateRule</a>.</p>
|
|
2152
|
-
* </li>
|
|
2153
|
-
* <li>
|
|
2154
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2155
|
-
* <a>UpdateRuleGroup</a> request.</p>
|
|
2156
|
-
* </li>
|
|
2157
|
-
* <li>
|
|
2158
|
-
* <p>Submit an <code>UpdateRuleGroup</code> request to add <code>Rules</code> to the <code>RuleGroup</code>.</p>
|
|
2159
|
-
* </li>
|
|
2160
|
-
* <li>
|
|
2161
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>RuleGroup</code>. See <a>CreateWebACL</a>.</p>
|
|
2162
|
-
* </li>
|
|
2163
|
-
* </ol>
|
|
2164
|
-
* <p>If you want to replace one <code>Rule</code> with another, you delete the existing one and
|
|
2165
|
-
* add the new one.</p>
|
|
2166
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2167
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
542
|
+
* @see {@link UpdateRuleGroupCommand}
|
|
2168
543
|
*/
|
|
2169
544
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleGroupCommandOutput>;
|
|
2170
545
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
2171
546
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
2172
547
|
/**
|
|
2173
|
-
* @
|
|
2174
|
-
* <note>
|
|
2175
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2176
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2177
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2178
|
-
* <p>
|
|
2179
|
-
* <b>For the latest version of AWS
|
|
2180
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2181
|
-
* </note>
|
|
2182
|
-
* <p>Inserts or deletes <a>SizeConstraint</a> objects (filters) in a <a>SizeConstraintSet</a>. For each <code>SizeConstraint</code> object,
|
|
2183
|
-
* you specify the following values: </p>
|
|
2184
|
-
* <ul>
|
|
2185
|
-
* <li>
|
|
2186
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>SizeConstraintSetUpdate</code> object,
|
|
2187
|
-
* you delete the existing object and add a new one.</p>
|
|
2188
|
-
* </li>
|
|
2189
|
-
* <li>
|
|
2190
|
-
* <p>The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the
|
|
2191
|
-
* <code>User-Agent</code> header.</p>
|
|
2192
|
-
* </li>
|
|
2193
|
-
* <li>
|
|
2194
|
-
* <p>Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length.
|
|
2195
|
-
* Note that transformations of the request body are not supported because the AWS resource forwards only the first <code>8192</code> bytes
|
|
2196
|
-
* of your request to AWS WAF.</p>
|
|
2197
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2198
|
-
* </li>
|
|
2199
|
-
* <li>
|
|
2200
|
-
* <p>A <code>ComparisonOperator</code> used for evaluating the selected part of the request against the specified <code>Size</code>, such as
|
|
2201
|
-
* equals, greater than, less than, and so on.</p>
|
|
2202
|
-
* </li>
|
|
2203
|
-
* <li>
|
|
2204
|
-
* <p>The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.</p>
|
|
2205
|
-
* </li>
|
|
2206
|
-
* </ul>
|
|
2207
|
-
* <p>For example, you can add a <code>SizeConstraintSetUpdate</code> object that matches web requests in which the length of the
|
|
2208
|
-
* <code>User-Agent</code> header is greater than 100 bytes. You can then configure AWS WAF to block those requests.</p>
|
|
2209
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
2210
|
-
* <ol>
|
|
2211
|
-
* <li>
|
|
2212
|
-
* <p>Create a <code>SizeConstraintSet.</code> For more information, see <a>CreateSizeConstraintSet</a>.</p>
|
|
2213
|
-
* </li>
|
|
2214
|
-
* <li>
|
|
2215
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2216
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
2217
|
-
* </li>
|
|
2218
|
-
* <li>
|
|
2219
|
-
* <p>Submit an <code>UpdateSizeConstraintSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
2220
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
2221
|
-
* </li>
|
|
2222
|
-
* </ol>
|
|
2223
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2224
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
548
|
+
* @see {@link UpdateSizeConstraintSetCommand}
|
|
2225
549
|
*/
|
|
2226
550
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSizeConstraintSetCommandOutput>;
|
|
2227
551
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void): void;
|
|
2228
552
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void): void;
|
|
2229
553
|
/**
|
|
2230
|
-
* @
|
|
2231
|
-
* <note>
|
|
2232
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2233
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2234
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2235
|
-
* <p>
|
|
2236
|
-
* <b>For the latest version of AWS
|
|
2237
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2238
|
-
* </note>
|
|
2239
|
-
* <p>Inserts or deletes <a>SqlInjectionMatchTuple</a> objects (filters) in a <a>SqlInjectionMatchSet</a>.
|
|
2240
|
-
* For each <code>SqlInjectionMatchTuple</code> object, you specify the following values:</p>
|
|
2241
|
-
* <ul>
|
|
2242
|
-
* <li>
|
|
2243
|
-
* <p>
|
|
2244
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the array. To change a
|
|
2245
|
-
* <code>SqlInjectionMatchTuple</code>, you delete the existing object and add a new one.</p>
|
|
2246
|
-
* </li>
|
|
2247
|
-
* <li>
|
|
2248
|
-
* <p>
|
|
2249
|
-
* <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
|
|
2250
|
-
* the name of the header or parameter.</p>
|
|
2251
|
-
* </li>
|
|
2252
|
-
* <li>
|
|
2253
|
-
* <p>
|
|
2254
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
2255
|
-
* inspecting the request for snippets of malicious SQL code.</p>
|
|
2256
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2257
|
-
* </li>
|
|
2258
|
-
* </ul>
|
|
2259
|
-
* <p>You use <code>SqlInjectionMatchSet</code> objects to specify which CloudFront
|
|
2260
|
-
* requests that
|
|
2261
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
2262
|
-
* requests that contain snippets of SQL code in the query string and you want to block the
|
|
2263
|
-
* requests, you can create a <code>SqlInjectionMatchSet</code> with the applicable settings,
|
|
2264
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
2265
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
2266
|
-
* <ol>
|
|
2267
|
-
* <li>
|
|
2268
|
-
* <p>Submit a <a>CreateSqlInjectionMatchSet</a> request.</p>
|
|
2269
|
-
* </li>
|
|
2270
|
-
* <li>
|
|
2271
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2272
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
2273
|
-
* </li>
|
|
2274
|
-
* <li>
|
|
2275
|
-
* <p>Submit an <code>UpdateSqlInjectionMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
2276
|
-
* inspect for snippets of SQL code.</p>
|
|
2277
|
-
* </li>
|
|
2278
|
-
* </ol>
|
|
2279
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2280
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
554
|
+
* @see {@link UpdateSqlInjectionMatchSetCommand}
|
|
2281
555
|
*/
|
|
2282
556
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSqlInjectionMatchSetCommandOutput>;
|
|
2283
557
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
2284
558
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
2285
559
|
/**
|
|
2286
|
-
* @
|
|
2287
|
-
* <note>
|
|
2288
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2289
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2290
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2291
|
-
* <p>
|
|
2292
|
-
* <b>For the latest version of AWS
|
|
2293
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2294
|
-
* </note>
|
|
2295
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>WebACL</code>. Each <code>Rule</code> identifies
|
|
2296
|
-
* web requests that you want to allow, block, or count. When you update a <code>WebACL</code>, you specify the following values:</p>
|
|
2297
|
-
* <ul>
|
|
2298
|
-
* <li>
|
|
2299
|
-
* <p>A default action for the <code>WebACL</code>, either <code>ALLOW</code> or <code>BLOCK</code>.
|
|
2300
|
-
* AWS WAF performs the default action if a request doesn't match the criteria in any of the <code>Rules</code> in a <code>WebACL</code>.</p>
|
|
2301
|
-
* </li>
|
|
2302
|
-
* <li>
|
|
2303
|
-
* <p>The <code>Rules</code> that you want to add
|
|
2304
|
-
* or
|
|
2305
|
-
* delete. If you want to replace one <code>Rule</code> with another, you delete the
|
|
2306
|
-
* existing <code>Rule</code> and add the new one.</p>
|
|
2307
|
-
* </li>
|
|
2308
|
-
* <li>
|
|
2309
|
-
* <p>For each <code>Rule</code>, whether you want AWS WAF to allow requests, block requests, or count requests that match
|
|
2310
|
-
* the conditions in the <code>Rule</code>.</p>
|
|
2311
|
-
* </li>
|
|
2312
|
-
* <li>
|
|
2313
|
-
* <p>The order in which you want AWS WAF to evaluate the <code>Rules</code> in a
|
|
2314
|
-
* <code>WebACL</code>. If you add more than one <code>Rule</code> to a
|
|
2315
|
-
* <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code>
|
|
2316
|
-
* in order based on the value of <code>Priority</code>. (The <code>Rule</code> that has
|
|
2317
|
-
* the lowest value for <code>Priority</code> is evaluated first.) When a web request
|
|
2318
|
-
* matches all
|
|
2319
|
-
* the
|
|
2320
|
-
* predicates (such as <code>ByteMatchSets</code> and <code>IPSets</code>) in a
|
|
2321
|
-
* <code>Rule</code>, AWS WAF immediately takes the corresponding action, allow or
|
|
2322
|
-
* block, and doesn't evaluate the request against the remaining <code>Rules</code> in
|
|
2323
|
-
* the <code>WebACL</code>, if any. </p>
|
|
2324
|
-
* </li>
|
|
2325
|
-
* </ul>
|
|
2326
|
-
*
|
|
2327
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
2328
|
-
* <ol>
|
|
2329
|
-
* <li>
|
|
2330
|
-
* <p>Create and update the predicates that you want to include in <code>Rules</code>.
|
|
2331
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
2332
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
2333
|
-
* </li>
|
|
2334
|
-
* <li>
|
|
2335
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
2336
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
2337
|
-
* </li>
|
|
2338
|
-
* <li>
|
|
2339
|
-
* <p>Create a <code>WebACL</code>. See <a>CreateWebACL</a>.</p>
|
|
2340
|
-
* </li>
|
|
2341
|
-
* <li>
|
|
2342
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2343
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
2344
|
-
* </li>
|
|
2345
|
-
* <li>
|
|
2346
|
-
* <p>Submit an <code>UpdateWebACL</code> request to specify the <code>Rules</code>
|
|
2347
|
-
* that you want to include in the <code>WebACL</code>, to specify the default action,
|
|
2348
|
-
* and to associate the <code>WebACL</code> with a CloudFront distribution. </p>
|
|
2349
|
-
* <p>The <code>ActivatedRule</code> can be a rule group. If you specify a rule group
|
|
2350
|
-
* as your
|
|
2351
|
-
* <code>ActivatedRule</code>
|
|
2352
|
-
* ,
|
|
2353
|
-
* you can exclude specific rules from that rule group.</p>
|
|
2354
|
-
* <p>If you already have a rule group associated with a web ACL and want to submit
|
|
2355
|
-
* an <code>UpdateWebACL</code> request to exclude certain rules from that rule group,
|
|
2356
|
-
* you must first remove the rule group from the web ACL, the re-insert it again,
|
|
2357
|
-
* specifying the excluded rules.
|
|
2358
|
-
* For details,
|
|
2359
|
-
* see
|
|
2360
|
-
* <a>ActivatedRule$ExcludedRules</a>
|
|
2361
|
-
* .
|
|
2362
|
-
* </p>
|
|
2363
|
-
* </li>
|
|
2364
|
-
* </ol>
|
|
2365
|
-
* <p>Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. </p>
|
|
2366
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
560
|
+
* @see {@link UpdateWebACLCommand}
|
|
2367
561
|
*/
|
|
2368
562
|
updateWebACL(args: UpdateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebACLCommandOutput>;
|
|
2369
563
|
updateWebACL(args: UpdateWebACLCommandInput, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
2370
564
|
updateWebACL(args: UpdateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
2371
565
|
/**
|
|
2372
|
-
* @
|
|
2373
|
-
* <note>
|
|
2374
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2375
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2376
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2377
|
-
* <p>
|
|
2378
|
-
* <b>For the latest version of AWS
|
|
2379
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2380
|
-
* </note>
|
|
2381
|
-
* <p>Inserts or deletes <a>XssMatchTuple</a> objects (filters) in an <a>XssMatchSet</a>.
|
|
2382
|
-
* For each <code>XssMatchTuple</code> object, you specify the following values:</p>
|
|
2383
|
-
* <ul>
|
|
2384
|
-
* <li>
|
|
2385
|
-
* <p>
|
|
2386
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the
|
|
2387
|
-
* array. To change an
|
|
2388
|
-
* <code>XssMatchTuple</code>, you delete the existing object and add a new
|
|
2389
|
-
* one.</p>
|
|
2390
|
-
* </li>
|
|
2391
|
-
* <li>
|
|
2392
|
-
* <p>
|
|
2393
|
-
* <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
|
|
2394
|
-
* the name of the header or parameter.</p>
|
|
2395
|
-
* </li>
|
|
2396
|
-
* <li>
|
|
2397
|
-
* <p>
|
|
2398
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
2399
|
-
* inspecting the request for cross-site scripting attacks.</p>
|
|
2400
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2401
|
-
* </li>
|
|
2402
|
-
* </ul>
|
|
2403
|
-
* <p>You use <code>XssMatchSet</code> objects to specify which CloudFront requests
|
|
2404
|
-
* that
|
|
2405
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
2406
|
-
* requests that contain cross-site scripting attacks in the request body and you want to
|
|
2407
|
-
* block the requests, you can create an <code>XssMatchSet</code> with the applicable
|
|
2408
|
-
* settings, and then configure AWS WAF to block the requests. </p>
|
|
2409
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
2410
|
-
* <ol>
|
|
2411
|
-
* <li>
|
|
2412
|
-
* <p>Submit a <a>CreateXssMatchSet</a> request.</p>
|
|
2413
|
-
* </li>
|
|
2414
|
-
* <li>
|
|
2415
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2416
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
2417
|
-
* </li>
|
|
2418
|
-
* <li>
|
|
2419
|
-
* <p>Submit an <code>UpdateXssMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
2420
|
-
* inspect for cross-site scripting attacks.</p>
|
|
2421
|
-
* </li>
|
|
2422
|
-
* </ol>
|
|
2423
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2424
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
566
|
+
* @see {@link UpdateXssMatchSetCommand}
|
|
2425
567
|
*/
|
|
2426
568
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateXssMatchSetCommandOutput>;
|
|
2427
569
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void): void;
|
|
2428
570
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void): void;
|
|
2429
571
|
}
|
|
572
|
+
/**
|
|
573
|
+
* @public
|
|
574
|
+
* <note>
|
|
575
|
+
* <p>This is <b>AWS WAF Classic Regional</b> documentation. For
|
|
576
|
+
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
577
|
+
* WAF Classic</a> in the developer guide.</p>
|
|
578
|
+
* <p>
|
|
579
|
+
* <b>For the latest version of AWS
|
|
580
|
+
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
581
|
+
* </note>
|
|
582
|
+
* <p>This is the <i>AWS WAF Regional Classic API Reference</i> for using AWS WAF Classic with the AWS resources, Elastic Load Balancing (ELB) Application Load Balancers and API Gateway APIs. The AWS WAF Classic actions and data types listed in the reference are available for protecting Elastic Load Balancing (ELB) Application Load Balancers and API Gateway APIs. You can use these actions and data types by means of the endpoints listed in <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#waf_region">AWS Regions and Endpoints</a>. This guide is for developers who need detailed information about the AWS WAF Classic API actions, data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the
|
|
583
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
584
|
+
* WAF Classic</a> in the developer guide.</p>
|
|
585
|
+
*/
|
|
586
|
+
export declare class WAFRegional extends WAFRegionalClient implements WAFRegional {
|
|
587
|
+
}
|