@aws-sdk/client-wafv2 3.478.0 → 3.484.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/commands/AssociateWebACLCommand.js +18 -41
- package/dist-cjs/commands/CheckCapacityCommand.js +18 -41
- package/dist-cjs/commands/CreateAPIKeyCommand.js +18 -41
- package/dist-cjs/commands/CreateIPSetCommand.js +18 -41
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +18 -41
- package/dist-cjs/commands/CreateRuleGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateWebACLCommand.js +18 -41
- package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +18 -41
- package/dist-cjs/commands/DeleteIPSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteWebACLCommand.js +18 -41
- package/dist-cjs/commands/DescribeAllManagedProductsCommand.js +18 -41
- package/dist-cjs/commands/DescribeManagedProductsByVendorCommand.js +18 -41
- package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +18 -41
- package/dist-cjs/commands/DisassociateWebACLCommand.js +18 -41
- package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +18 -41
- package/dist-cjs/commands/GetDecryptedAPIKeyCommand.js +18 -41
- package/dist-cjs/commands/GetIPSetCommand.js +18 -41
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetManagedRuleSetCommand.js +18 -41
- package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +18 -41
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +18 -41
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +18 -41
- package/dist-cjs/commands/GetRuleGroupCommand.js +18 -41
- package/dist-cjs/commands/GetSampledRequestsCommand.js +18 -41
- package/dist-cjs/commands/GetWebACLCommand.js +18 -41
- package/dist-cjs/commands/GetWebACLForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListAPIKeysCommand.js +18 -41
- package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListIPSetsCommand.js +18 -41
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListManagedRuleSetsCommand.js +18 -41
- package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +18 -41
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +18 -41
- package/dist-cjs/commands/ListResourcesForWebACLCommand.js +18 -41
- package/dist-cjs/commands/ListRuleGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListWebACLsCommand.js +18 -41
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +18 -41
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateIPSetCommand.js +18 -41
- package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +18 -41
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +18 -41
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateWebACLCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AssociateWebACLCommand.js +18 -41
- package/dist-es/commands/CheckCapacityCommand.js +18 -41
- package/dist-es/commands/CreateAPIKeyCommand.js +18 -41
- package/dist-es/commands/CreateIPSetCommand.js +18 -41
- package/dist-es/commands/CreateRegexPatternSetCommand.js +18 -41
- package/dist-es/commands/CreateRuleGroupCommand.js +18 -41
- package/dist-es/commands/CreateWebACLCommand.js +18 -41
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +18 -41
- package/dist-es/commands/DeleteIPSetCommand.js +18 -41
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/DeletePermissionPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +18 -41
- package/dist-es/commands/DeleteRuleGroupCommand.js +18 -41
- package/dist-es/commands/DeleteWebACLCommand.js +18 -41
- package/dist-es/commands/DescribeAllManagedProductsCommand.js +18 -41
- package/dist-es/commands/DescribeManagedProductsByVendorCommand.js +18 -41
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +18 -41
- package/dist-es/commands/DisassociateWebACLCommand.js +18 -41
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +18 -41
- package/dist-es/commands/GetDecryptedAPIKeyCommand.js +18 -41
- package/dist-es/commands/GetIPSetCommand.js +18 -41
- package/dist-es/commands/GetLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/GetManagedRuleSetCommand.js +18 -41
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +18 -41
- package/dist-es/commands/GetPermissionPolicyCommand.js +18 -41
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +18 -41
- package/dist-es/commands/GetRegexPatternSetCommand.js +18 -41
- package/dist-es/commands/GetRuleGroupCommand.js +18 -41
- package/dist-es/commands/GetSampledRequestsCommand.js +18 -41
- package/dist-es/commands/GetWebACLCommand.js +18 -41
- package/dist-es/commands/GetWebACLForResourceCommand.js +18 -41
- package/dist-es/commands/ListAPIKeysCommand.js +18 -41
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +18 -41
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +18 -41
- package/dist-es/commands/ListIPSetsCommand.js +18 -41
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListManagedRuleSetsCommand.js +18 -41
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +18 -41
- package/dist-es/commands/ListRegexPatternSetsCommand.js +18 -41
- package/dist-es/commands/ListResourcesForWebACLCommand.js +18 -41
- package/dist-es/commands/ListRuleGroupsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListWebACLsCommand.js +18 -41
- package/dist-es/commands/PutLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +18 -41
- package/dist-es/commands/PutPermissionPolicyCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateIPSetCommand.js +18 -41
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +18 -41
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +18 -41
- package/dist-es/commands/UpdateRuleGroupCommand.js +18 -41
- package/dist-es/commands/UpdateWebACLCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AssociateWebACLCommand.d.ts +6 -21
- package/dist-types/commands/CheckCapacityCommand.d.ts +6 -21
- package/dist-types/commands/CreateAPIKeyCommand.d.ts +6 -21
- package/dist-types/commands/CreateIPSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateWebACLCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAllManagedProductsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeManagedProductsByVendorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +6 -21
- package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +6 -21
- package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +6 -21
- package/dist-types/commands/GetIPSetCommand.d.ts +6 -21
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetManagedRuleSetCommand.d.ts +6 -21
- package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +6 -21
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +6 -21
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +6 -21
- package/dist-types/commands/GetRuleGroupCommand.d.ts +6 -21
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +6 -21
- package/dist-types/commands/GetWebACLCommand.d.ts +6 -21
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListAPIKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListIPSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +6 -21
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +6 -21
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListWebACLsCommand.d.ts +6 -21
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +6 -21
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +10 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class PutPermissionPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "PutPermissionPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "PutPermissionPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_PutPermissionPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_PutPermissionPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutPermissionPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "PutPermissionPolicy", {})
|
|
22
|
+
.n("WAFV2Client", "PutPermissionPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_PutPermissionPolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_PutPermissionPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutPermissionPolicyCommand = PutPermissionPolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "TagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "TagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "TagResource", {})
|
|
22
|
+
.n("WAFV2Client", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "UntagResource", {})
|
|
22
|
+
.n("WAFV2Client", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateIPSetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "UpdateIPSetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "UpdateIPSet",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateIPSetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateIPSetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateIPSetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "UpdateIPSet", {})
|
|
22
|
+
.n("WAFV2Client", "UpdateIPSetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateIPSetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateIPSetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateIPSetCommand = UpdateIPSetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateManagedRuleSetVersionExpiryDateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "UpdateManagedRuleSetVersionExpiryDateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "UpdateManagedRuleSetVersionExpiryDate",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateManagedRuleSetVersionExpiryDateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateManagedRuleSetVersionExpiryDateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateManagedRuleSetVersionExpiryDateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "UpdateManagedRuleSetVersionExpiryDate", {})
|
|
22
|
+
.n("WAFV2Client", "UpdateManagedRuleSetVersionExpiryDateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateManagedRuleSetVersionExpiryDateCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateManagedRuleSetVersionExpiryDateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateManagedRuleSetVersionExpiryDateCommand = UpdateManagedRuleSetVersionExpiryDateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateRegexPatternSetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "UpdateRegexPatternSetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "UpdateRegexPatternSet",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateRegexPatternSetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateRegexPatternSetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRegexPatternSetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "UpdateRegexPatternSet", {})
|
|
22
|
+
.n("WAFV2Client", "UpdateRegexPatternSetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateRegexPatternSetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateRegexPatternSetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRegexPatternSetCommand = UpdateRegexPatternSetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateRuleGroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "UpdateRuleGroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "UpdateRuleGroup",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateRuleGroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateRuleGroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRuleGroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "UpdateRuleGroup", {})
|
|
22
|
+
.n("WAFV2Client", "UpdateRuleGroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateRuleGroupCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateRuleGroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRuleGroupCommand = UpdateRuleGroupCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateWebACLCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WAFV2Client";
|
|
29
|
-
const commandName = "UpdateWebACLCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSWAF_20190729",
|
|
38
|
-
operation: "UpdateWebACL",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateWebACLCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateWebACLCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateWebACLCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSWAF_20190729", "UpdateWebACL", {})
|
|
22
|
+
.n("WAFV2Client", "UpdateWebACLCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateWebACLCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateWebACLCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateWebACLCommand = UpdateWebACLCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AssociateWebACLCommand, se_AssociateWebACLCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AssociateWebACLCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "WAFV2Client";
|
|
26
|
-
const commandName = "AssociateWebACLCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSWAF_20190729",
|
|
35
|
-
operation: "AssociateWebACL",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AssociateWebACLCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AssociateWebACLCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AssociateWebACLCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSWAF_20190729", "AssociateWebACL", {})
|
|
19
|
+
.n("WAFV2Client", "AssociateWebACLCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AssociateWebACLCommand)
|
|
22
|
+
.de(de_AssociateWebACLCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|