@aws-sdk/client-wafv2 3.193.0 → 3.195.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 +19 -0
- package/dist-cjs/WAFV2Client.js +11 -8
- package/dist-cjs/commands/AssociateWebACLCommand.js +10 -0
- package/dist-cjs/commands/CheckCapacityCommand.js +10 -0
- package/dist-cjs/commands/CreateIPSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateWebACLCommand.js +10 -0
- package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js +10 -0
- package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/DisassociateWebACLCommand.js +10 -0
- package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +10 -0
- package/dist-cjs/commands/GetIPSetCommand.js +10 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetManagedRuleSetCommand.js +10 -0
- package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +10 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +10 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js +10 -0
- package/dist-cjs/commands/GetWebACLCommand.js +10 -0
- package/dist-cjs/commands/GetWebACLForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +10 -0
- package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListIPSetsCommand.js +10 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListManagedRuleSetsCommand.js +10 -0
- package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +10 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +10 -0
- package/dist-cjs/commands/ListResourcesForWebACLCommand.js +10 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListWebACLsCommand.js +10 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +10 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +10 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/WAFV2Client.js +12 -9
- package/dist-es/commands/AssociateWebACLCommand.js +10 -0
- package/dist-es/commands/CheckCapacityCommand.js +10 -0
- package/dist-es/commands/CreateIPSetCommand.js +10 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/CreateRuleGroupCommand.js +10 -0
- package/dist-es/commands/CreateWebACLCommand.js +10 -0
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +10 -0
- package/dist-es/commands/DeleteIPSetCommand.js +10 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js +10 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js +10 -0
- package/dist-es/commands/DeleteWebACLCommand.js +10 -0
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +10 -0
- package/dist-es/commands/DisassociateWebACLCommand.js +10 -0
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +10 -0
- package/dist-es/commands/GetIPSetCommand.js +10 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/GetManagedRuleSetCommand.js +10 -0
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +10 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js +10 -0
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +10 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/GetRuleGroupCommand.js +10 -0
- package/dist-es/commands/GetSampledRequestsCommand.js +10 -0
- package/dist-es/commands/GetWebACLCommand.js +10 -0
- package/dist-es/commands/GetWebACLForResourceCommand.js +10 -0
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +10 -0
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +10 -0
- package/dist-es/commands/ListIPSetsCommand.js +10 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListManagedRuleSetsCommand.js +10 -0
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +10 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js +10 -0
- package/dist-es/commands/ListResourcesForWebACLCommand.js +10 -0
- package/dist-es/commands/ListRuleGroupsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListWebACLsCommand.js +10 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +10 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateIPSetCommand.js +10 -0
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +10 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js +10 -0
- package/dist-es/commands/UpdateWebACLCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/WAFV2Client.d.ts +6 -9
- package/dist-types/commands/AssociateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/CheckCapacityCommand.d.ts +2 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +2 -0
- package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +2 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +2 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetManagedRuleSetCommand.d.ts +2 -0
- package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +2 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +2 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +2 -0
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +2 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +2 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +2 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +2 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/WAFV2Client.d.ts +15 -8
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -2
- package/dist-cjs/endpoints.js +0 -493
- package/dist-es/endpoints.js +0 -489
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteIPSetRequestFilterSensitiveLog, DeleteIPSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteIPSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteIPSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteLoggingConfigurationRequestFilterSensitiveLog, DeleteLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteLoggingConfigurationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeletePermissionPolicyRequestFilterSensitiveLog, DeletePermissionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeletePermissionPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeletePermissionPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRegexPatternSetRequestFilterSensitiveLog, DeleteRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRegexPatternSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRegexPatternSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRuleGroupRequestFilterSensitiveLog, DeleteRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRuleGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRuleGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteWebACLRequestFilterSensitiveLog, DeleteWebACLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteWebACLCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteWebACLCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeManagedRuleGroupRequestFilterSensitiveLog, DescribeManagedRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeManagedRuleGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeManagedRuleGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisassociateWebACLRequestFilterSensitiveLog, DisassociateWebACLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DisassociateWebACLCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateWebACLCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GenerateMobileSdkReleaseUrlRequestFilterSensitiveLog, GenerateMobileSdkReleaseUrlResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GenerateMobileSdkReleaseUrlCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GenerateMobileSdkReleaseUrlCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetIPSetRequestFilterSensitiveLog, GetIPSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetIPSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetIPSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetLoggingConfigurationRequestFilterSensitiveLog, GetLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetLoggingConfigurationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetManagedRuleSetRequestFilterSensitiveLog, GetManagedRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetManagedRuleSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetManagedRuleSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetMobileSdkReleaseRequestFilterSensitiveLog, GetMobileSdkReleaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetMobileSdkReleaseCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMobileSdkReleaseCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetPermissionPolicyRequestFilterSensitiveLog, GetPermissionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetPermissionPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetPermissionPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetRateBasedStatementManagedKeysRequestFilterSensitiveLog, GetRateBasedStatementManagedKeysResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetRateBasedStatementManagedKeysCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetRateBasedStatementManagedKeysCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetRegexPatternSetRequestFilterSensitiveLog, GetRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetRegexPatternSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetRegexPatternSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetRuleGroupRequestFilterSensitiveLog, GetRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetRuleGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetRuleGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetSampledRequestsRequestFilterSensitiveLog, GetSampledRequestsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetSampledRequestsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSampledRequestsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetWebACLRequestFilterSensitiveLog, GetWebACLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetWebACLCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetWebACLCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetWebACLForResourceRequestFilterSensitiveLog, GetWebACLForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetWebACLForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetWebACLForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListAvailableManagedRuleGroupVersionsRequestFilterSensitiveLog, ListAvailableManagedRuleGroupVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListAvailableManagedRuleGroupVersionsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAvailableManagedRuleGroupVersionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListAvailableManagedRuleGroupsRequestFilterSensitiveLog, ListAvailableManagedRuleGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListAvailableManagedRuleGroupsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAvailableManagedRuleGroupsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListIPSetsRequestFilterSensitiveLog, ListIPSetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListIPSetsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListIPSetsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListLoggingConfigurationsRequestFilterSensitiveLog, ListLoggingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListLoggingConfigurationsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListLoggingConfigurationsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListManagedRuleSetsRequestFilterSensitiveLog, ListManagedRuleSetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListManagedRuleSetsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListManagedRuleSetsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListMobileSdkReleasesRequestFilterSensitiveLog, ListMobileSdkReleasesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListMobileSdkReleasesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListMobileSdkReleasesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListRegexPatternSetsRequestFilterSensitiveLog, ListRegexPatternSetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListRegexPatternSetsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListRegexPatternSetsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFV2Client";
|