@aws-sdk/client-wafv2 3.52.0 → 3.53.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/CHANGELOG.md +12 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WAFV2ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +245 -5
- package/dist-cjs/protocols/Aws_json1_1.js +567 -2156
- package/dist-es/index.js +1 -0
- package/dist-es/models/WAFV2ServiceException.js +12 -0
- package/dist-es/models/models_0.js +224 -1
- package/dist-es/protocols/Aws_json1_1.js +1212 -2315
- package/dist-types/WAFV2.d.ts +14 -5
- package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +2 -1
- package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +2 -1
- package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +2 -1
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +8 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WAFV2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +212 -66
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -1
- package/package.json +25 -25
package/dist-types/WAFV2.d.ts
CHANGED
|
@@ -232,7 +232,8 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
232
232
|
disassociateWebACL(args: DisassociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
|
|
233
233
|
/**
|
|
234
234
|
* <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
|
|
235
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
235
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
236
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
236
237
|
*/
|
|
237
238
|
generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateMobileSdkReleaseUrlCommandOutput>;
|
|
238
239
|
generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, cb: (err: any, data?: GenerateMobileSdkReleaseUrlCommandOutput) => void): void;
|
|
@@ -261,7 +262,8 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
261
262
|
getManagedRuleSet(args: GetManagedRuleSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedRuleSetCommandOutput) => void): void;
|
|
262
263
|
/**
|
|
263
264
|
* <p>Retrieves information for the specified mobile SDK release, including release notes and tags.</p>
|
|
264
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
265
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
266
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
265
267
|
*/
|
|
266
268
|
getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, options?: __HttpHandlerOptions): Promise<GetMobileSdkReleaseCommandOutput>;
|
|
267
269
|
getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, cb: (err: any, data?: GetMobileSdkReleaseCommandOutput) => void): void;
|
|
@@ -359,7 +361,8 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
359
361
|
listManagedRuleSets(args: ListManagedRuleSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedRuleSetsCommandOutput) => void): void;
|
|
360
362
|
/**
|
|
361
363
|
* <p>Retrieves a list of the available releases for the mobile SDK and the specified device platform. </p>
|
|
362
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
364
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
365
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
363
366
|
*/
|
|
364
367
|
listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, options?: __HttpHandlerOptions): Promise<ListMobileSdkReleasesCommandOutput>;
|
|
365
368
|
listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, cb: (err: any, data?: ListMobileSdkReleasesCommandOutput) => void): void;
|
|
@@ -408,8 +411,11 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
408
411
|
listWebACLs(args: ListWebACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
409
412
|
/**
|
|
410
413
|
* <p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a
|
|
411
|
-
* web ACL, according to the configuration provided
|
|
412
|
-
* <
|
|
414
|
+
* web ACL, according to the configuration provided. </p>
|
|
415
|
+
* <note>
|
|
416
|
+
* <p>You can define one logging destination per web ACL.</p>
|
|
417
|
+
* </note>
|
|
418
|
+
* <p>You can access information about the traffic that WAF inspects using the following
|
|
413
419
|
* steps:</p>
|
|
414
420
|
* <ol>
|
|
415
421
|
* <li>
|
|
@@ -427,6 +433,9 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
427
433
|
* request, WAF creates an additional role or policy that is required to write
|
|
428
434
|
* logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
|
|
429
435
|
* For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
|
|
436
|
+
* <p>For additional information about web ACL logging, see
|
|
437
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
438
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
430
439
|
* <note>
|
|
431
440
|
* <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p>
|
|
432
441
|
* </note>
|
|
@@ -8,7 +8,8 @@ export interface GenerateMobileSdkReleaseUrlCommandOutput extends GenerateMobile
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
|
|
11
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
11
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
12
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface GetMobileSdkReleaseCommandOutput extends GetMobileSdkReleaseRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves information for the specified mobile SDK release, including release notes and tags.</p>
|
|
11
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
11
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
12
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface ListMobileSdkReleasesCommandOutput extends ListMobileSdkRelease
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves a list of the available releases for the mobile SDK and the specified device platform. </p>
|
|
11
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
11
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
12
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,8 +8,11 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a
|
|
11
|
-
* web ACL, according to the configuration provided
|
|
12
|
-
* <
|
|
11
|
+
* web ACL, according to the configuration provided. </p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>You can define one logging destination per web ACL.</p>
|
|
14
|
+
* </note>
|
|
15
|
+
* <p>You can access information about the traffic that WAF inspects using the following
|
|
13
16
|
* steps:</p>
|
|
14
17
|
* <ol>
|
|
15
18
|
* <li>
|
|
@@ -27,6 +30,9 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
27
30
|
* request, WAF creates an additional role or policy that is required to write
|
|
28
31
|
* logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
|
|
29
32
|
* For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
|
|
33
|
+
* <p>For additional information about web ACL logging, see
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
35
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
30
36
|
* <note>
|
|
31
37
|
* <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p>
|
|
32
38
|
* </note>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from WAFV2 service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WAFV2ServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WAFV2ServiceException as __BaseException } from "./WAFV2ServiceException";
|
|
2
3
|
export declare enum ActionValue {
|
|
3
4
|
ALLOW = "ALLOW",
|
|
4
5
|
BLOCK = "BLOCK",
|
|
@@ -1241,7 +1242,7 @@ export declare namespace UsernameField {
|
|
|
1241
1242
|
*/
|
|
1242
1243
|
export interface ManagedRuleGroupConfig {
|
|
1243
1244
|
/**
|
|
1244
|
-
* <p>The login endpoint for your application. For example <code>https://example.com/web/login</code>.</p>
|
|
1245
|
+
* <p>The path of the login endpoint for your application. For example, for the URL <code>https://example.com/web/login</code>, you would provide the path <code>/web/login</code>.</p>
|
|
1245
1246
|
*/
|
|
1246
1247
|
LoginPath?: string;
|
|
1247
1248
|
/**
|
|
@@ -1475,18 +1476,26 @@ export declare namespace AssociateWebACLResponse {
|
|
|
1475
1476
|
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
1476
1477
|
* problem. Retry your request. </p>
|
|
1477
1478
|
*/
|
|
1478
|
-
export
|
|
1479
|
-
name: "WAFInternalErrorException";
|
|
1480
|
-
$fault: "server";
|
|
1479
|
+
export declare class WAFInternalErrorException extends __BaseException {
|
|
1480
|
+
readonly name: "WAFInternalErrorException";
|
|
1481
|
+
readonly $fault: "server";
|
|
1481
1482
|
Message?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* @internal
|
|
1485
|
+
*/
|
|
1486
|
+
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
1482
1487
|
}
|
|
1483
1488
|
/**
|
|
1484
1489
|
* <p>The operation isn't valid. </p>
|
|
1485
1490
|
*/
|
|
1486
|
-
export
|
|
1487
|
-
name: "WAFInvalidOperationException";
|
|
1488
|
-
$fault: "client";
|
|
1491
|
+
export declare class WAFInvalidOperationException extends __BaseException {
|
|
1492
|
+
readonly name: "WAFInvalidOperationException";
|
|
1493
|
+
readonly $fault: "client";
|
|
1489
1494
|
Message?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* @internal
|
|
1497
|
+
*/
|
|
1498
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
1490
1499
|
}
|
|
1491
1500
|
export declare enum ParameterExceptionField {
|
|
1492
1501
|
AND_STATEMENT = "AND_STATEMENT",
|
|
@@ -1569,10 +1578,9 @@ export declare enum ParameterExceptionField {
|
|
|
1569
1578
|
* </li>
|
|
1570
1579
|
* </ul>
|
|
1571
1580
|
*/
|
|
1572
|
-
export
|
|
1573
|
-
name: "WAFInvalidParameterException";
|
|
1574
|
-
$fault: "client";
|
|
1575
|
-
message?: string;
|
|
1581
|
+
export declare class WAFInvalidParameterException extends __BaseException {
|
|
1582
|
+
readonly name: "WAFInvalidParameterException";
|
|
1583
|
+
readonly $fault: "client";
|
|
1576
1584
|
/**
|
|
1577
1585
|
* <p>The settings where the invalid parameter was found. </p>
|
|
1578
1586
|
*/
|
|
@@ -1585,22 +1593,34 @@ export interface WAFInvalidParameterException extends __SmithyException, $Metada
|
|
|
1585
1593
|
* <p>Additional information about the exception.</p>
|
|
1586
1594
|
*/
|
|
1587
1595
|
Reason?: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* @internal
|
|
1598
|
+
*/
|
|
1599
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
1588
1600
|
}
|
|
1589
1601
|
/**
|
|
1590
1602
|
* <p>WAF couldn’t perform the operation because your resource doesn’t exist. </p>
|
|
1591
1603
|
*/
|
|
1592
|
-
export
|
|
1593
|
-
name: "WAFNonexistentItemException";
|
|
1594
|
-
$fault: "client";
|
|
1604
|
+
export declare class WAFNonexistentItemException extends __BaseException {
|
|
1605
|
+
readonly name: "WAFNonexistentItemException";
|
|
1606
|
+
readonly $fault: "client";
|
|
1595
1607
|
Message?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* @internal
|
|
1610
|
+
*/
|
|
1611
|
+
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
1596
1612
|
}
|
|
1597
1613
|
/**
|
|
1598
1614
|
* <p>WAF couldn’t retrieve the resource that you requested. Retry your request.</p>
|
|
1599
1615
|
*/
|
|
1600
|
-
export
|
|
1601
|
-
name: "WAFUnavailableEntityException";
|
|
1602
|
-
$fault: "client";
|
|
1616
|
+
export declare class WAFUnavailableEntityException extends __BaseException {
|
|
1617
|
+
readonly name: "WAFUnavailableEntityException";
|
|
1618
|
+
readonly $fault: "client";
|
|
1603
1619
|
Message?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* @internal
|
|
1622
|
+
*/
|
|
1623
|
+
constructor(opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>);
|
|
1604
1624
|
}
|
|
1605
1625
|
/**
|
|
1606
1626
|
* <p>A custom response to send to the client. You can define a custom response for rule
|
|
@@ -1888,19 +1908,27 @@ export declare namespace CheckCapacityResponse {
|
|
|
1888
1908
|
* expired. You can retrieve the available versions for the managed rule group by calling
|
|
1889
1909
|
* <a>ListAvailableManagedRuleGroupVersions</a>.</p>
|
|
1890
1910
|
*/
|
|
1891
|
-
export
|
|
1892
|
-
name: "WAFExpiredManagedRuleGroupVersionException";
|
|
1893
|
-
$fault: "client";
|
|
1911
|
+
export declare class WAFExpiredManagedRuleGroupVersionException extends __BaseException {
|
|
1912
|
+
readonly name: "WAFExpiredManagedRuleGroupVersionException";
|
|
1913
|
+
readonly $fault: "client";
|
|
1894
1914
|
Message?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* @internal
|
|
1917
|
+
*/
|
|
1918
|
+
constructor(opts: __ExceptionOptionType<WAFExpiredManagedRuleGroupVersionException, __BaseException>);
|
|
1895
1919
|
}
|
|
1896
1920
|
/**
|
|
1897
1921
|
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
1898
1922
|
* valid. Check the resource, and try again.</p>
|
|
1899
1923
|
*/
|
|
1900
|
-
export
|
|
1901
|
-
name: "WAFInvalidResourceException";
|
|
1902
|
-
$fault: "client";
|
|
1924
|
+
export declare class WAFInvalidResourceException extends __BaseException {
|
|
1925
|
+
readonly name: "WAFInvalidResourceException";
|
|
1926
|
+
readonly $fault: "client";
|
|
1903
1927
|
Message?: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* @internal
|
|
1930
|
+
*/
|
|
1931
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidResourceException, __BaseException>);
|
|
1904
1932
|
}
|
|
1905
1933
|
/**
|
|
1906
1934
|
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
@@ -1908,19 +1936,27 @@ export interface WAFInvalidResourceException extends __SmithyException, $Metadat
|
|
|
1908
1936
|
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
1909
1937
|
* <i>WAF Developer Guide</i>.</p>
|
|
1910
1938
|
*/
|
|
1911
|
-
export
|
|
1912
|
-
name: "WAFLimitsExceededException";
|
|
1913
|
-
$fault: "client";
|
|
1939
|
+
export declare class WAFLimitsExceededException extends __BaseException {
|
|
1940
|
+
readonly name: "WAFLimitsExceededException";
|
|
1941
|
+
readonly $fault: "client";
|
|
1914
1942
|
Message?: string;
|
|
1943
|
+
/**
|
|
1944
|
+
* @internal
|
|
1945
|
+
*/
|
|
1946
|
+
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
1915
1947
|
}
|
|
1916
1948
|
/**
|
|
1917
1949
|
* <p>You tried to use a managed rule group that's available by subscription, but you aren't
|
|
1918
1950
|
* subscribed to it yet. </p>
|
|
1919
1951
|
*/
|
|
1920
|
-
export
|
|
1921
|
-
name: "WAFSubscriptionNotFoundException";
|
|
1922
|
-
$fault: "client";
|
|
1952
|
+
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
1953
|
+
readonly name: "WAFSubscriptionNotFoundException";
|
|
1954
|
+
readonly $fault: "client";
|
|
1923
1955
|
Message?: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* @internal
|
|
1958
|
+
*/
|
|
1959
|
+
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
1924
1960
|
}
|
|
1925
1961
|
export declare enum IPAddressVersion {
|
|
1926
1962
|
IPV4 = "IPV4",
|
|
@@ -1984,8 +2020,8 @@ export interface CreateIPSetRequest {
|
|
|
1984
2020
|
*/
|
|
1985
2021
|
IPAddressVersion: IPAddressVersion | string | undefined;
|
|
1986
2022
|
/**
|
|
1987
|
-
* <p>Contains an array of strings that
|
|
1988
|
-
* <p>
|
|
2023
|
+
* <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>
|
|
2024
|
+
* <p>Example address strings: </p>
|
|
1989
2025
|
* <ul>
|
|
1990
2026
|
* <li>
|
|
1991
2027
|
* <p>To configure WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
@@ -2002,6 +2038,24 @@ export interface CreateIPSetRequest {
|
|
|
2002
2038
|
* </li>
|
|
2003
2039
|
* </ul>
|
|
2004
2040
|
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless Inter-Domain Routing</a>.</p>
|
|
2041
|
+
* <p>Example JSON <code>Addresses</code> specifications: </p>
|
|
2042
|
+
* <ul>
|
|
2043
|
+
* <li>
|
|
2044
|
+
* <p>Empty array: <code>"Addresses": []</code>
|
|
2045
|
+
* </p>
|
|
2046
|
+
* </li>
|
|
2047
|
+
* <li>
|
|
2048
|
+
* <p>Array with one address: <code>"Addresses": ["192.0.2.44/32"]</code>
|
|
2049
|
+
* </p>
|
|
2050
|
+
* </li>
|
|
2051
|
+
* <li>
|
|
2052
|
+
* <p>Array with three addresses: <code>"Addresses": ["192.0.2.44/32", "192.0.2.0/24", "192.0.0.0/16"]</code>
|
|
2053
|
+
* </p>
|
|
2054
|
+
* </li>
|
|
2055
|
+
* <li>
|
|
2056
|
+
* <p>INVALID specification: <code>"Addresses": [""]</code> INVALID </p>
|
|
2057
|
+
* </li>
|
|
2058
|
+
* </ul>
|
|
2005
2059
|
*/
|
|
2006
2060
|
Addresses: string[] | undefined;
|
|
2007
2061
|
/**
|
|
@@ -2062,37 +2116,53 @@ export declare namespace CreateIPSetResponse {
|
|
|
2062
2116
|
* <p>WAF couldn’t perform the operation because the resource that you tried to save is
|
|
2063
2117
|
* a duplicate of an existing one.</p>
|
|
2064
2118
|
*/
|
|
2065
|
-
export
|
|
2066
|
-
name: "WAFDuplicateItemException";
|
|
2067
|
-
$fault: "client";
|
|
2119
|
+
export declare class WAFDuplicateItemException extends __BaseException {
|
|
2120
|
+
readonly name: "WAFDuplicateItemException";
|
|
2121
|
+
readonly $fault: "client";
|
|
2068
2122
|
Message?: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* @internal
|
|
2125
|
+
*/
|
|
2126
|
+
constructor(opts: __ExceptionOptionType<WAFDuplicateItemException, __BaseException>);
|
|
2069
2127
|
}
|
|
2070
2128
|
/**
|
|
2071
2129
|
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
2072
2130
|
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
2073
2131
|
* need to make to the new copy, and retry your operation. </p>
|
|
2074
2132
|
*/
|
|
2075
|
-
export
|
|
2076
|
-
name: "WAFOptimisticLockException";
|
|
2077
|
-
$fault: "client";
|
|
2133
|
+
export declare class WAFOptimisticLockException extends __BaseException {
|
|
2134
|
+
readonly name: "WAFOptimisticLockException";
|
|
2135
|
+
readonly $fault: "client";
|
|
2078
2136
|
Message?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* @internal
|
|
2139
|
+
*/
|
|
2140
|
+
constructor(opts: __ExceptionOptionType<WAFOptimisticLockException, __BaseException>);
|
|
2079
2141
|
}
|
|
2080
2142
|
/**
|
|
2081
2143
|
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
2082
2144
|
*/
|
|
2083
|
-
export
|
|
2084
|
-
name: "WAFTagOperationException";
|
|
2085
|
-
$fault: "client";
|
|
2145
|
+
export declare class WAFTagOperationException extends __BaseException {
|
|
2146
|
+
readonly name: "WAFTagOperationException";
|
|
2147
|
+
readonly $fault: "client";
|
|
2086
2148
|
Message?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* @internal
|
|
2151
|
+
*/
|
|
2152
|
+
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
2087
2153
|
}
|
|
2088
2154
|
/**
|
|
2089
2155
|
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
2090
2156
|
* your request.</p>
|
|
2091
2157
|
*/
|
|
2092
|
-
export
|
|
2093
|
-
name: "WAFTagOperationInternalErrorException";
|
|
2094
|
-
$fault: "server";
|
|
2158
|
+
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
2159
|
+
readonly name: "WAFTagOperationInternalErrorException";
|
|
2160
|
+
readonly $fault: "server";
|
|
2095
2161
|
Message?: string;
|
|
2162
|
+
/**
|
|
2163
|
+
* @internal
|
|
2164
|
+
*/
|
|
2165
|
+
constructor(opts: __ExceptionOptionType<WAFTagOperationInternalErrorException, __BaseException>);
|
|
2096
2166
|
}
|
|
2097
2167
|
/**
|
|
2098
2168
|
* <p>A single regular expression. This is used in a <a>RegexPatternSet</a>.</p>
|
|
@@ -2400,10 +2470,14 @@ export declare namespace DeleteIPSetResponse {
|
|
|
2400
2470
|
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
2401
2471
|
* resource or it’s associated with another resource. </p>
|
|
2402
2472
|
*/
|
|
2403
|
-
export
|
|
2404
|
-
name: "WAFAssociatedItemException";
|
|
2405
|
-
$fault: "client";
|
|
2473
|
+
export declare class WAFAssociatedItemException extends __BaseException {
|
|
2474
|
+
readonly name: "WAFAssociatedItemException";
|
|
2475
|
+
readonly $fault: "client";
|
|
2406
2476
|
Message?: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* @internal
|
|
2479
|
+
*/
|
|
2480
|
+
constructor(opts: __ExceptionOptionType<WAFAssociatedItemException, __BaseException>);
|
|
2407
2481
|
}
|
|
2408
2482
|
export interface DeleteLoggingConfigurationRequest {
|
|
2409
2483
|
/**
|
|
@@ -2813,7 +2887,7 @@ export declare namespace GetIPSetRequest {
|
|
|
2813
2887
|
const filterSensitiveLog: (obj: GetIPSetRequest) => any;
|
|
2814
2888
|
}
|
|
2815
2889
|
/**
|
|
2816
|
-
* <p>Contains
|
|
2890
|
+
* <p>Contains zero or more IP addresses or blocks of IP addresses specified in Classless
|
|
2817
2891
|
* Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
2818
2892
|
* except for /0. For information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
2819
2893
|
* Inter-Domain Routing</a>. </p>
|
|
@@ -2842,8 +2916,8 @@ export interface IPSet {
|
|
|
2842
2916
|
*/
|
|
2843
2917
|
IPAddressVersion: IPAddressVersion | string | undefined;
|
|
2844
2918
|
/**
|
|
2845
|
-
* <p>Contains an array of strings that
|
|
2846
|
-
* <p>
|
|
2919
|
+
* <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>
|
|
2920
|
+
* <p>Example address strings: </p>
|
|
2847
2921
|
* <ul>
|
|
2848
2922
|
* <li>
|
|
2849
2923
|
* <p>To configure WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
@@ -2860,6 +2934,24 @@ export interface IPSet {
|
|
|
2860
2934
|
* </li>
|
|
2861
2935
|
* </ul>
|
|
2862
2936
|
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless Inter-Domain Routing</a>.</p>
|
|
2937
|
+
* <p>Example JSON <code>Addresses</code> specifications: </p>
|
|
2938
|
+
* <ul>
|
|
2939
|
+
* <li>
|
|
2940
|
+
* <p>Empty array: <code>"Addresses": []</code>
|
|
2941
|
+
* </p>
|
|
2942
|
+
* </li>
|
|
2943
|
+
* <li>
|
|
2944
|
+
* <p>Array with one address: <code>"Addresses": ["192.0.2.44/32"]</code>
|
|
2945
|
+
* </p>
|
|
2946
|
+
* </li>
|
|
2947
|
+
* <li>
|
|
2948
|
+
* <p>Array with three addresses: <code>"Addresses": ["192.0.2.44/32", "192.0.2.0/24", "192.0.0.0/16"]</code>
|
|
2949
|
+
* </p>
|
|
2950
|
+
* </li>
|
|
2951
|
+
* <li>
|
|
2952
|
+
* <p>INVALID specification: <code>"Addresses": [""]</code> INVALID </p>
|
|
2953
|
+
* </li>
|
|
2954
|
+
* </ul>
|
|
2863
2955
|
*/
|
|
2864
2956
|
Addresses: string[] | undefined;
|
|
2865
2957
|
}
|
|
@@ -2994,7 +3086,28 @@ export declare namespace LoggingFilter {
|
|
|
2994
3086
|
* resource, for logging from WAF. As part of the association, you can specify parts of
|
|
2995
3087
|
* the standard logging fields to keep out of the logs and you can specify filters so that you
|
|
2996
3088
|
* log only a subset of the logging records. </p>
|
|
2997
|
-
* <
|
|
3089
|
+
* <note>
|
|
3090
|
+
* <p>You can define one logging destination per web ACL.</p>
|
|
3091
|
+
* </note>
|
|
3092
|
+
* <p>You can access information about the traffic that WAF inspects using the following
|
|
3093
|
+
* steps:</p>
|
|
3094
|
+
* <ol>
|
|
3095
|
+
* <li>
|
|
3096
|
+
* <p>Create your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose.
|
|
3097
|
+
* For information about configuring logging destinations and the permissions that are required for each, see
|
|
3098
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
3099
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
3100
|
+
* </li>
|
|
3101
|
+
* <li>
|
|
3102
|
+
* <p>Associate your logging destination to your web ACL using a
|
|
3103
|
+
* <code>PutLoggingConfiguration</code> request.</p>
|
|
3104
|
+
* </li>
|
|
3105
|
+
* </ol>
|
|
3106
|
+
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code>
|
|
3107
|
+
* request, WAF creates an additional role or policy that is required to write
|
|
3108
|
+
* logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
|
|
3109
|
+
* For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
|
|
3110
|
+
* <p>For additional information about web ACL logging, see
|
|
2998
3111
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
2999
3112
|
* in the <i>WAF Developer Guide</i>.</p>
|
|
3000
3113
|
*/
|
|
@@ -3005,8 +3118,11 @@ export interface LoggingConfiguration {
|
|
|
3005
3118
|
*/
|
|
3006
3119
|
ResourceArn: string | undefined;
|
|
3007
3120
|
/**
|
|
3008
|
-
* <p>The
|
|
3121
|
+
* <p>The logging destination configuration that you want to associate
|
|
3009
3122
|
* with the web ACL.</p>
|
|
3123
|
+
* <note>
|
|
3124
|
+
* <p>You can associate one logging destination to a web ACL.</p>
|
|
3125
|
+
* </note>
|
|
3010
3126
|
*/
|
|
3011
3127
|
LogDestinationConfigs: string[] | undefined;
|
|
3012
3128
|
/**
|
|
@@ -3225,7 +3341,8 @@ export declare namespace GetMobileSdkReleaseRequest {
|
|
|
3225
3341
|
}
|
|
3226
3342
|
/**
|
|
3227
3343
|
* <p>Information for a release of the mobile SDK, including release notes and tags.</p>
|
|
3228
|
-
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
3344
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
3345
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
3229
3346
|
*/
|
|
3230
3347
|
export interface MobileSdkRelease {
|
|
3231
3348
|
/**
|
|
@@ -4506,10 +4623,14 @@ export declare namespace PutLoggingConfigurationResponse {
|
|
|
4506
4623
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
4507
4624
|
* in the <i>WAF Developer Guide</i>.</p>
|
|
4508
4625
|
*/
|
|
4509
|
-
export
|
|
4510
|
-
name: "WAFLogDestinationPermissionIssueException";
|
|
4511
|
-
$fault: "client";
|
|
4626
|
+
export declare class WAFLogDestinationPermissionIssueException extends __BaseException {
|
|
4627
|
+
readonly name: "WAFLogDestinationPermissionIssueException";
|
|
4628
|
+
readonly $fault: "client";
|
|
4512
4629
|
Message?: string;
|
|
4630
|
+
/**
|
|
4631
|
+
* @internal
|
|
4632
|
+
*/
|
|
4633
|
+
constructor(opts: __ExceptionOptionType<WAFLogDestinationPermissionIssueException, __BaseException>);
|
|
4513
4634
|
}
|
|
4514
4635
|
/**
|
|
4515
4636
|
* <p>WAF is not able to access the service linked role. This can be caused by a
|
|
@@ -4521,10 +4642,13 @@ export interface WAFLogDestinationPermissionIssueException extends __SmithyExcep
|
|
|
4521
4642
|
* again. If you receive this same exception again, you will have to wait additional time
|
|
4522
4643
|
* until the role is unlocked.</p>
|
|
4523
4644
|
*/
|
|
4524
|
-
export
|
|
4525
|
-
name: "WAFServiceLinkedRoleErrorException";
|
|
4526
|
-
$fault: "client";
|
|
4527
|
-
|
|
4645
|
+
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
4646
|
+
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
4647
|
+
readonly $fault: "client";
|
|
4648
|
+
/**
|
|
4649
|
+
* @internal
|
|
4650
|
+
*/
|
|
4651
|
+
constructor(opts: __ExceptionOptionType<WAFServiceLinkedRoleErrorException, __BaseException>);
|
|
4528
4652
|
}
|
|
4529
4653
|
/**
|
|
4530
4654
|
* <p>A version of the named managed rule group, that the rule group's vendor publishes for
|
|
@@ -4682,10 +4806,14 @@ export declare namespace PutPermissionPolicyResponse {
|
|
|
4682
4806
|
* </ul>
|
|
4683
4807
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
4684
4808
|
*/
|
|
4685
|
-
export
|
|
4686
|
-
name: "WAFInvalidPermissionPolicyException";
|
|
4687
|
-
$fault: "client";
|
|
4809
|
+
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
4810
|
+
readonly name: "WAFInvalidPermissionPolicyException";
|
|
4811
|
+
readonly $fault: "client";
|
|
4688
4812
|
Message?: string;
|
|
4813
|
+
/**
|
|
4814
|
+
* @internal
|
|
4815
|
+
*/
|
|
4816
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidPermissionPolicyException, __BaseException>);
|
|
4689
4817
|
}
|
|
4690
4818
|
export interface TagResourceRequest {
|
|
4691
4819
|
/**
|
|
@@ -4762,8 +4890,8 @@ export interface UpdateIPSetRequest {
|
|
|
4762
4890
|
*/
|
|
4763
4891
|
Description?: string;
|
|
4764
4892
|
/**
|
|
4765
|
-
* <p>Contains an array of strings that
|
|
4766
|
-
* <p>
|
|
4893
|
+
* <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>
|
|
4894
|
+
* <p>Example address strings: </p>
|
|
4767
4895
|
* <ul>
|
|
4768
4896
|
* <li>
|
|
4769
4897
|
* <p>To configure WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
@@ -4780,6 +4908,24 @@ export interface UpdateIPSetRequest {
|
|
|
4780
4908
|
* </li>
|
|
4781
4909
|
* </ul>
|
|
4782
4910
|
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless Inter-Domain Routing</a>.</p>
|
|
4911
|
+
* <p>Example JSON <code>Addresses</code> specifications: </p>
|
|
4912
|
+
* <ul>
|
|
4913
|
+
* <li>
|
|
4914
|
+
* <p>Empty array: <code>"Addresses": []</code>
|
|
4915
|
+
* </p>
|
|
4916
|
+
* </li>
|
|
4917
|
+
* <li>
|
|
4918
|
+
* <p>Array with one address: <code>"Addresses": ["192.0.2.44/32"]</code>
|
|
4919
|
+
* </p>
|
|
4920
|
+
* </li>
|
|
4921
|
+
* <li>
|
|
4922
|
+
* <p>Array with three addresses: <code>"Addresses": ["192.0.2.44/32", "192.0.2.0/24", "192.0.0.0/16"]</code>
|
|
4923
|
+
* </p>
|
|
4924
|
+
* </li>
|
|
4925
|
+
* <li>
|
|
4926
|
+
* <p>INVALID specification: <code>"Addresses": [""]</code> INVALID </p>
|
|
4927
|
+
* </li>
|
|
4928
|
+
* </ul>
|
|
4783
4929
|
*/
|
|
4784
4930
|
Addresses: string[] | undefined;
|
|
4785
4931
|
/**
|
|
@@ -5878,7 +6024,7 @@ export interface GetWebACLResponse {
|
|
|
5878
6024
|
*/
|
|
5879
6025
|
LockToken?: string;
|
|
5880
6026
|
/**
|
|
5881
|
-
* <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
6027
|
+
* <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
5882
6028
|
*/
|
|
5883
6029
|
ApplicationIntegrationURL?: string;
|
|
5884
6030
|
}
|