@aws-sdk/client-waf 3.39.0 → 3.43.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 +38 -0
- package/dist-cjs/endpoints.js +86 -9
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +86 -9
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/WAFClient.d.ts +8 -0
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateIPSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateWebACLCommand.d.ts +1 -1
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +1 -1
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIPSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWebACLCommand.d.ts +1 -1
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/GetChangeTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +1 -1
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -1
- package/dist-types/commands/GetRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -1
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +1 -1
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/GetWebACLCommand.d.ts +1 -1
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListIPSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWebACLsCommand.d.ts +1 -1
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +1 -1
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIPSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWebACLCommand.d.ts +1 -1
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/WAFClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-waf
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-waf
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
45
|
|
|
8
46
|
**Note:** Version bump only for package @aws-sdk/client-waf
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,12 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"aws-fips": {
|
|
7
|
-
hostname: "waf-fips.amazonaws.com",
|
|
8
|
-
signingRegion: "us-east-1",
|
|
9
|
-
},
|
|
10
6
|
"aws-global": {
|
|
11
|
-
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "waf.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "waf-fips.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
12
17
|
signingRegion: "us-east-1",
|
|
13
18
|
},
|
|
14
19
|
};
|
|
@@ -23,8 +28,10 @@ const partitionHash = {
|
|
|
23
28
|
"ap-south-1",
|
|
24
29
|
"ap-southeast-1",
|
|
25
30
|
"ap-southeast-2",
|
|
31
|
+
"aws",
|
|
26
32
|
"aws-fips",
|
|
27
33
|
"aws-global",
|
|
34
|
+
"aws-global-fips",
|
|
28
35
|
"ca-central-1",
|
|
29
36
|
"eu-central-1",
|
|
30
37
|
"eu-north-1",
|
|
@@ -40,27 +47,97 @@ const partitionHash = {
|
|
|
40
47
|
"us-west-2",
|
|
41
48
|
],
|
|
42
49
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
50
|
+
variants: [
|
|
51
|
+
{
|
|
52
|
+
hostname: "waf.{region}.amazonaws.com",
|
|
53
|
+
tags: [],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
hostname: "waf-fips.{region}.amazonaws.com",
|
|
57
|
+
tags: ["fips"],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
hostname: "waf-fips.{region}.api.aws",
|
|
61
|
+
tags: ["dualstack", "fips"],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
hostname: "waf.{region}.api.aws",
|
|
65
|
+
tags: ["dualstack"],
|
|
66
|
+
},
|
|
67
|
+
],
|
|
43
68
|
endpoint: "aws-global",
|
|
44
69
|
},
|
|
45
70
|
"aws-cn": {
|
|
46
71
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
47
72
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
48
|
-
|
|
73
|
+
variants: [
|
|
74
|
+
{
|
|
75
|
+
hostname: "waf.{region}.amazonaws.com.cn",
|
|
76
|
+
tags: [],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
hostname: "waf-fips.{region}.amazonaws.com.cn",
|
|
80
|
+
tags: ["fips"],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
hostname: "waf-fips.{region}.api.amazonwebservices.com.cn",
|
|
84
|
+
tags: ["dualstack", "fips"],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
hostname: "waf.{region}.api.amazonwebservices.com.cn",
|
|
88
|
+
tags: ["dualstack"],
|
|
89
|
+
},
|
|
90
|
+
],
|
|
49
91
|
},
|
|
50
92
|
"aws-iso": {
|
|
51
93
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
52
94
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
53
|
-
|
|
95
|
+
variants: [
|
|
96
|
+
{
|
|
97
|
+
hostname: "waf.{region}.c2s.ic.gov",
|
|
98
|
+
tags: [],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
hostname: "waf-fips.{region}.c2s.ic.gov",
|
|
102
|
+
tags: ["fips"],
|
|
103
|
+
},
|
|
104
|
+
],
|
|
54
105
|
},
|
|
55
106
|
"aws-iso-b": {
|
|
56
107
|
regions: ["us-isob-east-1"],
|
|
57
108
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
58
|
-
|
|
109
|
+
variants: [
|
|
110
|
+
{
|
|
111
|
+
hostname: "waf.{region}.sc2s.sgov.gov",
|
|
112
|
+
tags: [],
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
hostname: "waf-fips.{region}.sc2s.sgov.gov",
|
|
116
|
+
tags: ["fips"],
|
|
117
|
+
},
|
|
118
|
+
],
|
|
59
119
|
},
|
|
60
120
|
"aws-us-gov": {
|
|
61
121
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
62
122
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
63
|
-
|
|
123
|
+
variants: [
|
|
124
|
+
{
|
|
125
|
+
hostname: "waf.{region}.amazonaws.com",
|
|
126
|
+
tags: [],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
hostname: "waf-fips.{region}.amazonaws.com",
|
|
130
|
+
tags: ["fips"],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
hostname: "waf-fips.{region}.api.aws",
|
|
134
|
+
tags: ["dualstack", "fips"],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
hostname: "waf.{region}.api.aws",
|
|
138
|
+
tags: ["dualstack"],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
64
141
|
},
|
|
65
142
|
};
|
|
66
143
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"aws-fips": {
|
|
5
|
-
hostname: "waf-fips.amazonaws.com",
|
|
6
|
-
signingRegion: "us-east-1",
|
|
7
|
-
},
|
|
8
4
|
"aws-global": {
|
|
9
|
-
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "waf.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "waf-fips.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
10
15
|
signingRegion: "us-east-1",
|
|
11
16
|
},
|
|
12
17
|
};
|
|
@@ -21,8 +26,10 @@ var partitionHash = {
|
|
|
21
26
|
"ap-south-1",
|
|
22
27
|
"ap-southeast-1",
|
|
23
28
|
"ap-southeast-2",
|
|
29
|
+
"aws",
|
|
24
30
|
"aws-fips",
|
|
25
31
|
"aws-global",
|
|
32
|
+
"aws-global-fips",
|
|
26
33
|
"ca-central-1",
|
|
27
34
|
"eu-central-1",
|
|
28
35
|
"eu-north-1",
|
|
@@ -38,27 +45,97 @@ var partitionHash = {
|
|
|
38
45
|
"us-west-2",
|
|
39
46
|
],
|
|
40
47
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
48
|
+
variants: [
|
|
49
|
+
{
|
|
50
|
+
hostname: "waf.{region}.amazonaws.com",
|
|
51
|
+
tags: [],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
hostname: "waf-fips.{region}.amazonaws.com",
|
|
55
|
+
tags: ["fips"],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "waf-fips.{region}.api.aws",
|
|
59
|
+
tags: ["dualstack", "fips"],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
hostname: "waf.{region}.api.aws",
|
|
63
|
+
tags: ["dualstack"],
|
|
64
|
+
},
|
|
65
|
+
],
|
|
41
66
|
endpoint: "aws-global",
|
|
42
67
|
},
|
|
43
68
|
"aws-cn": {
|
|
44
69
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
45
70
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
46
|
-
|
|
71
|
+
variants: [
|
|
72
|
+
{
|
|
73
|
+
hostname: "waf.{region}.amazonaws.com.cn",
|
|
74
|
+
tags: [],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
hostname: "waf-fips.{region}.amazonaws.com.cn",
|
|
78
|
+
tags: ["fips"],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "waf-fips.{region}.api.amazonwebservices.com.cn",
|
|
82
|
+
tags: ["dualstack", "fips"],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
hostname: "waf.{region}.api.amazonwebservices.com.cn",
|
|
86
|
+
tags: ["dualstack"],
|
|
87
|
+
},
|
|
88
|
+
],
|
|
47
89
|
},
|
|
48
90
|
"aws-iso": {
|
|
49
91
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
50
92
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
51
|
-
|
|
93
|
+
variants: [
|
|
94
|
+
{
|
|
95
|
+
hostname: "waf.{region}.c2s.ic.gov",
|
|
96
|
+
tags: [],
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
hostname: "waf-fips.{region}.c2s.ic.gov",
|
|
100
|
+
tags: ["fips"],
|
|
101
|
+
},
|
|
102
|
+
],
|
|
52
103
|
},
|
|
53
104
|
"aws-iso-b": {
|
|
54
105
|
regions: ["us-isob-east-1"],
|
|
55
106
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
56
|
-
|
|
107
|
+
variants: [
|
|
108
|
+
{
|
|
109
|
+
hostname: "waf.{region}.sc2s.sgov.gov",
|
|
110
|
+
tags: [],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "waf-fips.{region}.sc2s.sgov.gov",
|
|
114
|
+
tags: ["fips"],
|
|
115
|
+
},
|
|
116
|
+
],
|
|
57
117
|
},
|
|
58
118
|
"aws-us-gov": {
|
|
59
119
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
60
120
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
61
|
-
|
|
121
|
+
variants: [
|
|
122
|
+
{
|
|
123
|
+
hostname: "waf.{region}.amazonaws.com",
|
|
124
|
+
tags: [],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
hostname: "waf-fips.{region}.amazonaws.com",
|
|
128
|
+
tags: ["fips"],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
hostname: "waf-fips.{region}.api.aws",
|
|
132
|
+
tags: ["dualstack", "fips"],
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
hostname: "waf.{region}.api.aws",
|
|
136
|
+
tags: ["dualstack"],
|
|
137
|
+
},
|
|
138
|
+
],
|
|
62
139
|
},
|
|
63
140
|
};
|
|
64
141
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
|
@@ -153,6 +153,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
153
153
|
* Optional logger for logging debug/info/warn/error.
|
|
154
154
|
*/
|
|
155
155
|
logger?: __Logger;
|
|
156
|
+
/**
|
|
157
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
158
|
+
*/
|
|
159
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* Enables FIPS compatible endpoints.
|
|
162
|
+
*/
|
|
163
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
156
164
|
/**
|
|
157
165
|
* Unique service identifier.
|
|
158
166
|
* @internal
|
|
@@ -51,7 +51,7 @@ export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetRespo
|
|
|
51
51
|
*
|
|
52
52
|
* @see {@link CreateByteMatchSetCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link CreateByteMatchSetCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
54
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
export declare class CreateByteMatchSetCommand extends $Command<CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -48,7 +48,7 @@ export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetRespons
|
|
|
48
48
|
*
|
|
49
49
|
* @see {@link CreateGeoMatchSetCommandInput} for command's `input` shape.
|
|
50
50
|
* @see {@link CreateGeoMatchSetCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
51
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
export declare class CreateGeoMatchSetCommand extends $Command<CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -53,7 +53,7 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
|
|
|
53
53
|
*
|
|
54
54
|
* @see {@link CreateIPSetCommandInput} for command's `input` shape.
|
|
55
55
|
* @see {@link CreateIPSetCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
56
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
59
|
export declare class CreateIPSetCommand extends $Command<CreateIPSetCommandInput, CreateIPSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -113,7 +113,7 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes
|
|
|
113
113
|
*
|
|
114
114
|
* @see {@link CreateRateBasedRuleCommandInput} for command's `input` shape.
|
|
115
115
|
* @see {@link CreateRateBasedRuleCommandOutput} for command's `response` shape.
|
|
116
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
116
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
117
117
|
*
|
|
118
118
|
*/
|
|
119
119
|
export declare class CreateRateBasedRuleCommand extends $Command<CreateRateBasedRuleCommandInput, CreateRateBasedRuleCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -51,7 +51,7 @@ export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetRes
|
|
|
51
51
|
*
|
|
52
52
|
* @see {@link CreateRegexMatchSetCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link CreateRegexMatchSetCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
54
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
export declare class CreateRegexMatchSetCommand extends $Command<CreateRegexMatchSetCommandInput, CreateRegexMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -47,7 +47,7 @@ export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSe
|
|
|
47
47
|
*
|
|
48
48
|
* @see {@link CreateRegexPatternSetCommandInput} for command's `input` shape.
|
|
49
49
|
* @see {@link CreateRegexPatternSetCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
50
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
53
|
export declare class CreateRegexPatternSetCommand extends $Command<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -71,7 +71,7 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
71
71
|
*
|
|
72
72
|
* @see {@link CreateRuleCommandInput} for command's `input` shape.
|
|
73
73
|
* @see {@link CreateRuleCommandOutput} for command's `response` shape.
|
|
74
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
74
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
export declare class CreateRuleCommand extends $Command<CreateRuleCommandInput, CreateRuleCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -42,7 +42,7 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
42
42
|
*
|
|
43
43
|
* @see {@link CreateRuleGroupCommandInput} for command's `input` shape.
|
|
44
44
|
* @see {@link CreateRuleGroupCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
45
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
48
|
export declare class CreateRuleGroupCommand extends $Command<CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -51,7 +51,7 @@ export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstrai
|
|
|
51
51
|
*
|
|
52
52
|
* @see {@link CreateSizeConstraintSetCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link CreateSizeConstraintSetCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
54
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
export declare class CreateSizeConstraintSetCommand extends $Command<CreateSizeConstraintSetCommandInput, CreateSizeConstraintSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -49,7 +49,7 @@ export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInject
|
|
|
49
49
|
*
|
|
50
50
|
* @see {@link CreateSqlInjectionMatchSetCommandInput} for command's `input` shape.
|
|
51
51
|
* @see {@link CreateSqlInjectionMatchSetCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
52
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
export declare class CreateSqlInjectionMatchSetCommand extends $Command<CreateSqlInjectionMatchSetCommandInput, CreateSqlInjectionMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -59,7 +59,7 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
59
59
|
*
|
|
60
60
|
* @see {@link CreateWebACLCommandInput} for command's `input` shape.
|
|
61
61
|
* @see {@link CreateWebACLCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
62
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
63
63
|
*
|
|
64
64
|
*/
|
|
65
65
|
export declare class CreateWebACLCommand extends $Command<CreateWebACLCommandInput, CreateWebACLCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface CreateWebACLMigrationStackCommandOutput extends CreateWebACLMig
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link CreateWebACLMigrationStackCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link CreateWebACLMigrationStackCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class CreateWebACLMigrationStackCommand extends $Command<CreateWebACLMigrationStackCommandInput, CreateWebACLMigrationStackCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -49,7 +49,7 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons
|
|
|
49
49
|
*
|
|
50
50
|
* @see {@link CreateXssMatchSetCommandInput} for command's `input` shape.
|
|
51
51
|
* @see {@link CreateXssMatchSetCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
52
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
export declare class CreateXssMatchSetCommand extends $Command<CreateXssMatchSetCommandInput, CreateXssMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -43,7 +43,7 @@ export interface DeleteByteMatchSetCommandOutput extends DeleteByteMatchSetRespo
|
|
|
43
43
|
*
|
|
44
44
|
* @see {@link DeleteByteMatchSetCommandInput} for command's `input` shape.
|
|
45
45
|
* @see {@link DeleteByteMatchSetCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
46
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
49
|
export declare class DeleteByteMatchSetCommand extends $Command<DeleteByteMatchSetCommandInput, DeleteByteMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -43,7 +43,7 @@ export interface DeleteGeoMatchSetCommandOutput extends DeleteGeoMatchSetRespons
|
|
|
43
43
|
*
|
|
44
44
|
* @see {@link DeleteGeoMatchSetCommandInput} for command's `input` shape.
|
|
45
45
|
* @see {@link DeleteGeoMatchSetCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
46
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
49
|
export declare class DeleteGeoMatchSetCommand extends $Command<DeleteGeoMatchSetCommandInput, DeleteGeoMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -43,7 +43,7 @@ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __Metadat
|
|
|
43
43
|
*
|
|
44
44
|
* @see {@link DeleteIPSetCommandInput} for command's `input` shape.
|
|
45
45
|
* @see {@link DeleteIPSetCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
46
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
49
|
export declare class DeleteIPSetCommand extends $Command<DeleteIPSetCommandInput, DeleteIPSetCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -29,7 +29,7 @@ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingCo
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link DeleteLoggingConfigurationCommandInput} for command's `input` shape.
|
|
31
31
|
* @see {@link DeleteLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare class DeleteLoggingConfigurationCommand extends $Command<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -29,7 +29,7 @@ export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPol
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link DeletePermissionPolicyCommandInput} for command's `input` shape.
|
|
31
31
|
* @see {@link DeletePermissionPolicyCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare class DeletePermissionPolicyCommand extends $Command<DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput, WAFClientResolvedConfig> {
|
|
@@ -47,7 +47,7 @@ export interface DeleteRateBasedRuleCommandOutput extends DeleteRateBasedRuleRes
|
|
|
47
47
|
*
|
|
48
48
|
* @see {@link DeleteRateBasedRuleCommandInput} for command's `input` shape.
|
|
49
49
|
* @see {@link DeleteRateBasedRuleCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link WAFClientResolvedConfig | config} for
|
|
50
|
+
* @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
53
|
export declare class DeleteRateBasedRuleCommand extends $Command<DeleteRateBasedRuleCommandInput, DeleteRateBasedRuleCommandOutput, WAFClientResolvedConfig> {
|