@aws-sdk/client-wafv2 3.362.0 → 3.369.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/WAFV2.js +1 -1
- package/dist-cjs/WAFV2Client.js +5 -5
- package/dist-cjs/commands/AssociateWebACLCommand.js +3 -3
- package/dist-cjs/commands/CheckCapacityCommand.js +3 -3
- package/dist-cjs/commands/CreateAPIKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateIPSetCommand.js +3 -3
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +3 -3
- package/dist-cjs/commands/CreateRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateWebACLCommand.js +3 -3
- package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +3 -3
- package/dist-cjs/commands/DeleteIPSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteWebACLCommand.js +3 -3
- package/dist-cjs/commands/DescribeAllManagedProductsCommand.js +3 -3
- package/dist-cjs/commands/DescribeManagedProductsByVendorCommand.js +3 -3
- package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWebACLCommand.js +3 -3
- package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +3 -3
- package/dist-cjs/commands/GetDecryptedAPIKeyCommand.js +3 -3
- package/dist-cjs/commands/GetIPSetCommand.js +3 -3
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetManagedRuleSetCommand.js +3 -3
- package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +3 -3
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +3 -3
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +3 -3
- package/dist-cjs/commands/GetRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/GetSampledRequestsCommand.js +3 -3
- package/dist-cjs/commands/GetWebACLCommand.js +3 -3
- package/dist-cjs/commands/GetWebACLForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListAPIKeysCommand.js +3 -3
- package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListIPSetsCommand.js +3 -3
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListManagedRuleSetsCommand.js +3 -3
- package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +3 -3
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +3 -3
- package/dist-cjs/commands/ListResourcesForWebACLCommand.js +3 -3
- package/dist-cjs/commands/ListRuleGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWebACLsCommand.js +3 -3
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +3 -3
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateIPSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +3 -3
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateWebACLCommand.js +3 -3
- package/dist-cjs/models/WAFV2ServiceException.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/WAFV2.js +1 -1
- package/dist-es/WAFV2Client.js +5 -5
- package/dist-es/commands/AssociateWebACLCommand.js +3 -3
- package/dist-es/commands/CheckCapacityCommand.js +3 -3
- package/dist-es/commands/CreateAPIKeyCommand.js +3 -3
- package/dist-es/commands/CreateIPSetCommand.js +3 -3
- package/dist-es/commands/CreateRegexPatternSetCommand.js +3 -3
- package/dist-es/commands/CreateRuleGroupCommand.js +3 -3
- package/dist-es/commands/CreateWebACLCommand.js +3 -3
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +3 -3
- package/dist-es/commands/DeleteIPSetCommand.js +3 -3
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -3
- package/dist-es/commands/DeletePermissionPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +3 -3
- package/dist-es/commands/DeleteRuleGroupCommand.js +3 -3
- package/dist-es/commands/DeleteWebACLCommand.js +3 -3
- package/dist-es/commands/DescribeAllManagedProductsCommand.js +3 -3
- package/dist-es/commands/DescribeManagedProductsByVendorCommand.js +3 -3
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +3 -3
- package/dist-es/commands/DisassociateWebACLCommand.js +3 -3
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +3 -3
- package/dist-es/commands/GetDecryptedAPIKeyCommand.js +3 -3
- package/dist-es/commands/GetIPSetCommand.js +3 -3
- package/dist-es/commands/GetLoggingConfigurationCommand.js +3 -3
- package/dist-es/commands/GetManagedRuleSetCommand.js +3 -3
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +3 -3
- package/dist-es/commands/GetPermissionPolicyCommand.js +3 -3
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +3 -3
- package/dist-es/commands/GetRegexPatternSetCommand.js +3 -3
- package/dist-es/commands/GetRuleGroupCommand.js +3 -3
- package/dist-es/commands/GetSampledRequestsCommand.js +3 -3
- package/dist-es/commands/GetWebACLCommand.js +3 -3
- package/dist-es/commands/GetWebACLForResourceCommand.js +3 -3
- package/dist-es/commands/ListAPIKeysCommand.js +3 -3
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +3 -3
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +3 -3
- package/dist-es/commands/ListIPSetsCommand.js +3 -3
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListManagedRuleSetsCommand.js +3 -3
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +3 -3
- package/dist-es/commands/ListRegexPatternSetsCommand.js +3 -3
- package/dist-es/commands/ListResourcesForWebACLCommand.js +3 -3
- package/dist-es/commands/ListRuleGroupsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListWebACLsCommand.js +3 -3
- package/dist-es/commands/PutLoggingConfigurationCommand.js +3 -3
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +3 -3
- package/dist-es/commands/PutPermissionPolicyCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateIPSetCommand.js +3 -3
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +3 -3
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +3 -3
- package/dist-es/commands/UpdateRuleGroupCommand.js +3 -3
- package/dist-es/commands/UpdateWebACLCommand.js +3 -3
- package/dist-es/models/WAFV2ServiceException.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/WAFV2.d.ts +1 -1
- package/dist-types/WAFV2Client.d.ts +8 -8
- package/dist-types/commands/AssociateWebACLCommand.d.ts +3 -3
- package/dist-types/commands/CheckCapacityCommand.d.ts +3 -3
- package/dist-types/commands/CreateAPIKeyCommand.d.ts +3 -3
- package/dist-types/commands/CreateIPSetCommand.d.ts +3 -3
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateWebACLCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIPSetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWebACLCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAllManagedProductsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeManagedProductsByVendorCommand.d.ts +3 -3
- package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +3 -3
- package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +3 -3
- package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +3 -3
- package/dist-types/commands/GetIPSetCommand.d.ts +3 -3
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetManagedRuleSetCommand.d.ts +3 -3
- package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +3 -3
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/commands/GetRuleGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +3 -3
- package/dist-types/commands/GetWebACLCommand.d.ts +3 -3
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListAPIKeysCommand.d.ts +3 -3
- package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
- package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListIPSetsCommand.d.ts +3 -3
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +3 -3
- package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +3 -3
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +3 -3
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +3 -3
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListWebACLsCommand.d.ts +3 -3
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIPSetCommand.d.ts +3 -3
- package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/WAFV2ServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/WAFV2.d.ts +1 -1
- package/dist-types/ts3.4/WAFV2Client.d.ts +19 -21
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +34 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetMobileSdkReleaseCommand, se_GetMobileSdkReleaseCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetMobileSdkReleaseCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetPermissionPolicyCommand, se_GetPermissionPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetPermissionPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetRateBasedStatementManagedKeysCommand, se_GetRateBasedStatementManagedKeysCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRateBasedStatementManagedKeysCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetRegexPatternSetCommand, se_GetRegexPatternSetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRegexPatternSetCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetRuleGroupCommand, se_GetRuleGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRuleGroupCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetSampledRequestsCommand, se_GetSampledRequestsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetSampledRequestsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetWebACLCommand, se_GetWebACLCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetWebACLCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetWebACLForResourceCommand, se_GetWebACLForResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetWebACLForResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListAPIKeysCommand, se_ListAPIKeysCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAPIKeysCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListAvailableManagedRuleGroupVersionsCommand, se_ListAvailableManagedRuleGroupVersionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAvailableManagedRuleGroupVersionsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListAvailableManagedRuleGroupsCommand, se_ListAvailableManagedRuleGroupsCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAvailableManagedRuleGroupsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListIPSetsCommand, se_ListIPSetsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListIPSetsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListLoggingConfigurationsCommand, se_ListLoggingConfigurationsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListLoggingConfigurationsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListManagedRuleSetsCommand, se_ListManagedRuleSetsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListManagedRuleSetsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListMobileSdkReleasesCommand, se_ListMobileSdkReleasesCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListMobileSdkReleasesCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListRegexPatternSetsCommand, se_ListRegexPatternSetsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListRegexPatternSetsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListResourcesForWebACLCommand, se_ListResourcesForWebACLCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListResourcesForWebACLCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListRuleGroupsCommand, se_ListRuleGroupsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListRuleGroupsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListWebACLsCommand, se_ListWebACLsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListWebACLsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutLoggingConfigurationCommand, se_PutLoggingConfigurationCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutLoggingConfigurationCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutManagedRuleSetVersionsCommand, se_PutManagedRuleSetVersionsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutManagedRuleSetVersionsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutPermissionPolicyCommand, se_PutPermissionPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutPermissionPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateIPSetCommand, se_UpdateIPSetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateIPSetCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateManagedRuleSetVersionExpiryDateCommand, se_UpdateManagedRuleSetVersionExpiryDateCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateRegexPatternSetCommand, se_UpdateRegexPatternSetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRegexPatternSetCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateRuleGroupCommand, se_UpdateRuleGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRuleGroupCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateWebACLCommand, se_UpdateWebACLCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateWebACLCommand extends $Command {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class WAFV2ServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { WAFAssociatedItemException, WAFConfigurationWarningException, WAFDuplicateItemException, WAFExpiredManagedRuleGroupVersionException, WAFInternalErrorException, WAFInvalidOperationException, WAFInvalidParameterException, WAFInvalidPermissionPolicyException, WAFInvalidResourceException, WAFLimitsExceededException, WAFLogDestinationPermissionIssueException, WAFNonexistentItemException, WAFOptimisticLockException, WAFServiceLinkedRoleErrorException, WAFSubscriptionNotFoundException, WAFTagOperationException, WAFTagOperationInternalErrorException, WAFUnavailableEntityException, WAFUnsupportedAggregateKeyTypeException, } from "../models/models_0";
|
|
4
4
|
import { WAFV2ServiceException as __BaseException } from "../models/WAFV2ServiceException";
|
|
5
5
|
export const se_AssociateWebACLCommand = async (input, context) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
-
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
3
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
-
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";
|
|
4
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
-
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
-
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
16
|
export const getRuntimeConfig = (config) => {
|
|
17
17
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
18
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NoOpLogger } from "@
|
|
2
|
-
import { parseUrl } from "@
|
|
3
|
-
import { fromBase64, toBase64 } from "@
|
|
4
|
-
import { fromUtf8, toUtf8 } from "@
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
6
|
export const getRuntimeConfig = (config) => ({
|
|
7
7
|
apiVersion: "2019-07-29",
|
package/dist-types/WAFV2.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AssociateWebACLCommandInput, AssociateWebACLCommandOutput } from "./commands/AssociateWebACLCommand";
|
|
3
3
|
import { CheckCapacityCommandInput, CheckCapacityCommandOutput } from "./commands/CheckCapacityCommand";
|
|
4
4
|
import { CreateAPIKeyCommandInput, CreateAPIKeyCommandOutput } from "./commands/CreateAPIKeyCommand";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
2
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
3
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
9
8
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
-
import {
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { AssociateWebACLCommandInput, AssociateWebACLCommandOutput } from "./commands/AssociateWebACLCommand";
|
|
12
12
|
import { CheckCapacityCommandInput, CheckCapacityCommandOutput } from "./commands/CheckCapacityCommand";
|
|
13
13
|
import { CreateAPIKeyCommandInput, CreateAPIKeyCommandOutput } from "./commands/CreateAPIKeyCommand";
|
|
@@ -80,7 +80,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
80
80
|
*/
|
|
81
81
|
requestHandler?: __HttpHandler;
|
|
82
82
|
/**
|
|
83
|
-
* A constructor for a class implementing the {@link @
|
|
83
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
84
84
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
85
85
|
* @internal
|
|
86
86
|
*/
|
|
@@ -170,7 +170,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
170
170
|
*/
|
|
171
171
|
logger?: __Logger;
|
|
172
172
|
/**
|
|
173
|
-
* The {@link @
|
|
173
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
174
174
|
*/
|
|
175
175
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
176
176
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { AssociateWebACLRequest, AssociateWebACLResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CheckCapacityRequest, CheckCapacityResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateAPIKeyRequest, CreateAPIKeyResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateRegexPatternSetRequest, CreateRegexPatternSetResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateRuleGroupRequest, CreateRuleGroupResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateWebACLRequest, CreateWebACLResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeleteFirewallManagerRuleGroupsRequest, DeleteFirewallManagerRuleGroupsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeleteIPSetRequest, DeleteIPSetResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeleteLoggingConfigurationRequest, DeleteLoggingConfigurationResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|