@aws-sdk/client-wafv2 3.413.0 → 3.418.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AssociateWebACLCommand.js +5 -0
- package/dist-cjs/commands/CheckCapacityCommand.js +5 -0
- package/dist-cjs/commands/CreateAPIKeyCommand.js +5 -0
- package/dist-cjs/commands/CreateIPSetCommand.js +5 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +5 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js +5 -0
- package/dist-cjs/commands/CreateWebACLCommand.js +5 -0
- package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +5 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js +5 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +5 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +5 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js +5 -0
- package/dist-cjs/commands/DescribeAllManagedProductsCommand.js +5 -0
- package/dist-cjs/commands/DescribeManagedProductsByVendorCommand.js +5 -0
- package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +5 -0
- package/dist-cjs/commands/DisassociateWebACLCommand.js +5 -0
- package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +5 -0
- package/dist-cjs/commands/GetDecryptedAPIKeyCommand.js +5 -0
- package/dist-cjs/commands/GetIPSetCommand.js +5 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetManagedRuleSetCommand.js +5 -0
- package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +5 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +5 -0
- package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +5 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +5 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js +5 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js +5 -0
- package/dist-cjs/commands/GetWebACLCommand.js +5 -0
- package/dist-cjs/commands/GetWebACLForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListAPIKeysCommand.js +5 -0
- package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +5 -0
- package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +5 -0
- package/dist-cjs/commands/ListIPSetsCommand.js +5 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListManagedRuleSetsCommand.js +5 -0
- package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +5 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +5 -0
- package/dist-cjs/commands/ListResourcesForWebACLCommand.js +5 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListWebACLsCommand.js +5 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +5 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js +5 -0
- package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +5 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +5 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +5 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js +5 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/commands/AssociateWebACLCommand.js +5 -0
- package/dist-es/commands/CheckCapacityCommand.js +5 -0
- package/dist-es/commands/CreateAPIKeyCommand.js +5 -0
- package/dist-es/commands/CreateIPSetCommand.js +5 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js +5 -0
- package/dist-es/commands/CreateRuleGroupCommand.js +5 -0
- package/dist-es/commands/CreateWebACLCommand.js +5 -0
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +5 -0
- package/dist-es/commands/DeleteIPSetCommand.js +5 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +5 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js +5 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +5 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js +5 -0
- package/dist-es/commands/DeleteWebACLCommand.js +5 -0
- package/dist-es/commands/DescribeAllManagedProductsCommand.js +5 -0
- package/dist-es/commands/DescribeManagedProductsByVendorCommand.js +5 -0
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +5 -0
- package/dist-es/commands/DisassociateWebACLCommand.js +5 -0
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +5 -0
- package/dist-es/commands/GetDecryptedAPIKeyCommand.js +5 -0
- package/dist-es/commands/GetIPSetCommand.js +5 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +5 -0
- package/dist-es/commands/GetManagedRuleSetCommand.js +5 -0
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +5 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js +5 -0
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +5 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js +5 -0
- package/dist-es/commands/GetRuleGroupCommand.js +5 -0
- package/dist-es/commands/GetSampledRequestsCommand.js +5 -0
- package/dist-es/commands/GetWebACLCommand.js +5 -0
- package/dist-es/commands/GetWebACLForResourceCommand.js +5 -0
- package/dist-es/commands/ListAPIKeysCommand.js +5 -0
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +5 -0
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +5 -0
- package/dist-es/commands/ListIPSetsCommand.js +5 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListManagedRuleSetsCommand.js +5 -0
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +5 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js +5 -0
- package/dist-es/commands/ListResourcesForWebACLCommand.js +5 -0
- package/dist-es/commands/ListRuleGroupsCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListWebACLsCommand.js +5 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js +5 -0
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +5 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateIPSetCommand.js +5 -0
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +5 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +5 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js +5 -0
- package/dist-es/commands/UpdateWebACLCommand.js +5 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/package.json +31 -30
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListWebACLsCommand, se_ListWebACLsCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListWebACLsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListWebACLsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "ListWebACLs",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutLoggingConfigurationCommand, se_PutLoggingConfigurationCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutLoggingConfigurationCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PutLoggingConfigurationCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "PutLoggingConfiguration",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutManagedRuleSetVersionsCommand, se_PutManagedRuleSetVersionsCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutManagedRuleSetVersionsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PutManagedRuleSetVersionsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "PutManagedRuleSetVersions",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutPermissionPolicyCommand, se_PutPermissionPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutPermissionPolicyCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PutPermissionPolicyCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "PutPermissionPolicy",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateIPSetCommand, se_UpdateIPSetCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateIPSetCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateIPSetCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "UpdateIPSet",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateManagedRuleSetVersionExpiryDateCommand, se_UpdateManagedRuleSetVersionExpiryDateCommand, } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "UpdateManagedRuleSetVersionExpiryDate",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateRegexPatternSetCommand, se_UpdateRegexPatternSetCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateRegexPatternSetCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateRegexPatternSetCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "UpdateRegexPatternSet",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateRuleGroupCommand, se_UpdateRuleGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateRuleGroupCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateRuleGroupCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "UpdateRuleGroup",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateWebACLCommand, se_UpdateWebACLCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateWebACLCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateWebACLCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSWAF_20190729",
|
|
35
|
+
operation: "UpdateWebACL",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface WAFV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface WAFV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface WAFV2ExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.418.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/util-
|
|
34
|
-
"@aws-sdk/util-user-agent-
|
|
35
|
-
"@
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/middleware-
|
|
41
|
-
"@smithy/middleware-
|
|
42
|
-
"@smithy/middleware-
|
|
43
|
-
"@smithy/middleware-
|
|
44
|
-
"@smithy/
|
|
45
|
-
"@smithy/node-
|
|
46
|
-
"@smithy/
|
|
47
|
-
"@smithy/
|
|
48
|
-
"@smithy/
|
|
49
|
-
"@smithy/
|
|
24
|
+
"@aws-sdk/client-sts": "3.418.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
50
51
|
"@smithy/util-base64": "^2.0.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
56
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
58
|
"tslib": "^2.5.0"
|
|
58
59
|
},
|