@aws-sdk/client-vpc-lattice 3.1045.0 → 3.1047.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +162 -163
- package/dist-cjs/models/VPCLatticeServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/VPCLattice.js +1 -1
- package/dist-es/VPCLatticeClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchUpdateRuleCommand.js +2 -2
- package/dist-es/commands/CreateAccessLogSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreateListenerCommand.js +2 -2
- package/dist-es/commands/CreateResourceConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateResourceGatewayCommand.js +2 -2
- package/dist-es/commands/CreateRuleCommand.js +2 -2
- package/dist-es/commands/CreateServiceCommand.js +2 -2
- package/dist-es/commands/CreateServiceNetworkCommand.js +2 -2
- package/dist-es/commands/CreateServiceNetworkResourceAssociationCommand.js +2 -2
- package/dist-es/commands/CreateServiceNetworkServiceAssociationCommand.js +2 -2
- package/dist-es/commands/CreateServiceNetworkVpcAssociationCommand.js +2 -2
- package/dist-es/commands/CreateTargetGroupCommand.js +2 -2
- package/dist-es/commands/DeleteAccessLogSubscriptionCommand.js +2 -2
- package/dist-es/commands/DeleteAuthPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteDomainVerificationCommand.js +2 -2
- package/dist-es/commands/DeleteListenerCommand.js +2 -2
- package/dist-es/commands/DeleteResourceConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteResourceEndpointAssociationCommand.js +2 -2
- package/dist-es/commands/DeleteResourceGatewayCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteRuleCommand.js +2 -2
- package/dist-es/commands/DeleteServiceCommand.js +2 -2
- package/dist-es/commands/DeleteServiceNetworkCommand.js +2 -2
- package/dist-es/commands/DeleteServiceNetworkResourceAssociationCommand.js +2 -2
- package/dist-es/commands/DeleteServiceNetworkServiceAssociationCommand.js +2 -2
- package/dist-es/commands/DeleteServiceNetworkVpcAssociationCommand.js +2 -2
- package/dist-es/commands/DeleteTargetGroupCommand.js +2 -2
- package/dist-es/commands/DeregisterTargetsCommand.js +2 -2
- package/dist-es/commands/GetAccessLogSubscriptionCommand.js +2 -2
- package/dist-es/commands/GetAuthPolicyCommand.js +2 -2
- package/dist-es/commands/GetDomainVerificationCommand.js +2 -2
- package/dist-es/commands/GetListenerCommand.js +2 -2
- package/dist-es/commands/GetResourceConfigurationCommand.js +2 -2
- package/dist-es/commands/GetResourceGatewayCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/GetRuleCommand.js +2 -2
- package/dist-es/commands/GetServiceCommand.js +2 -2
- package/dist-es/commands/GetServiceNetworkCommand.js +2 -2
- package/dist-es/commands/GetServiceNetworkResourceAssociationCommand.js +2 -2
- package/dist-es/commands/GetServiceNetworkServiceAssociationCommand.js +2 -2
- package/dist-es/commands/GetServiceNetworkVpcAssociationCommand.js +2 -2
- package/dist-es/commands/GetTargetGroupCommand.js +2 -2
- package/dist-es/commands/ListAccessLogSubscriptionsCommand.js +2 -2
- package/dist-es/commands/ListDomainVerificationsCommand.js +2 -2
- package/dist-es/commands/ListListenersCommand.js +2 -2
- package/dist-es/commands/ListResourceConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListResourceEndpointAssociationsCommand.js +2 -2
- package/dist-es/commands/ListResourceGatewaysCommand.js +2 -2
- package/dist-es/commands/ListRulesCommand.js +2 -2
- package/dist-es/commands/ListServiceNetworkResourceAssociationsCommand.js +2 -2
- package/dist-es/commands/ListServiceNetworkServiceAssociationsCommand.js +2 -2
- package/dist-es/commands/ListServiceNetworkVpcAssociationsCommand.js +2 -2
- package/dist-es/commands/ListServiceNetworkVpcEndpointAssociationsCommand.js +2 -2
- package/dist-es/commands/ListServiceNetworksCommand.js +2 -2
- package/dist-es/commands/ListServicesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetGroupsCommand.js +2 -2
- package/dist-es/commands/ListTargetsCommand.js +2 -2
- package/dist-es/commands/PutAuthPolicyCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/RegisterTargetsCommand.js +2 -2
- package/dist-es/commands/StartDomainVerificationCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAccessLogSubscriptionCommand.js +2 -2
- package/dist-es/commands/UpdateListenerCommand.js +2 -2
- package/dist-es/commands/UpdateResourceConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateResourceGatewayCommand.js +2 -2
- package/dist-es/commands/UpdateRuleCommand.js +2 -2
- package/dist-es/commands/UpdateServiceCommand.js +2 -2
- package/dist-es/commands/UpdateServiceNetworkCommand.js +2 -2
- package/dist-es/commands/UpdateServiceNetworkVpcAssociationCommand.js +2 -2
- package/dist-es/commands/UpdateTargetGroupCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/VPCLatticeServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/VPCLatticeClient.d.ts +5 -5
- package/dist-types/commands/BatchUpdateRuleCommand.d.ts +6 -4
- package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/CreateListenerCommand.d.ts +6 -4
- package/dist-types/commands/CreateResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateResourceGatewayCommand.d.ts +6 -4
- package/dist-types/commands/CreateRuleCommand.d.ts +6 -4
- package/dist-types/commands/CreateServiceCommand.d.ts +6 -4
- package/dist-types/commands/CreateServiceNetworkCommand.d.ts +6 -4
- package/dist-types/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +6 -4
- package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +6 -4
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDomainVerificationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteListenerCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourceEndpointAssociationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourceGatewayCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -4
- package/dist-types/commands/DeleteServiceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteServiceNetworkCommand.d.ts +6 -4
- package/dist-types/commands/DeleteServiceNetworkResourceAssociationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +6 -4
- package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/GetAuthPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetDomainVerificationCommand.d.ts +6 -4
- package/dist-types/commands/GetListenerCommand.d.ts +6 -4
- package/dist-types/commands/GetResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetResourceGatewayCommand.d.ts +6 -4
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetRuleCommand.d.ts +6 -4
- package/dist-types/commands/GetServiceCommand.d.ts +6 -4
- package/dist-types/commands/GetServiceNetworkCommand.d.ts +6 -4
- package/dist-types/commands/GetServiceNetworkResourceAssociationCommand.d.ts +6 -4
- package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +6 -4
- package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/commands/GetTargetGroupCommand.d.ts +6 -4
- package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +6 -4
- package/dist-types/commands/ListDomainVerificationsCommand.d.ts +6 -4
- package/dist-types/commands/ListListenersCommand.d.ts +6 -4
- package/dist-types/commands/ListResourceConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListResourceEndpointAssociationsCommand.d.ts +6 -4
- package/dist-types/commands/ListResourceGatewaysCommand.d.ts +6 -4
- package/dist-types/commands/ListRulesCommand.d.ts +6 -4
- package/dist-types/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +6 -4
- package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +6 -4
- package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +6 -4
- package/dist-types/commands/ListServiceNetworkVpcEndpointAssociationsCommand.d.ts +6 -4
- package/dist-types/commands/ListServiceNetworksCommand.d.ts +6 -4
- package/dist-types/commands/ListServicesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTargetGroupsCommand.d.ts +6 -4
- package/dist-types/commands/ListTargetsCommand.d.ts +6 -4
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +6 -4
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/RegisterTargetsCommand.d.ts +6 -4
- package/dist-types/commands/StartDomainVerificationCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateListenerCommand.d.ts +6 -4
- package/dist-types/commands/UpdateResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateResourceGatewayCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRuleCommand.d.ts +6 -4
- package/dist-types/commands/UpdateServiceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateServiceNetworkCommand.d.ts +6 -4
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTargetGroupCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/VPCLatticeServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/VPCLatticeClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/BatchUpdateRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateResourceGatewayCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateServiceNetworkCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAuthPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDomainVerificationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourceEndpointAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourceGatewayCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteServiceNetworkCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteServiceNetworkResourceAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAuthPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDomainVerificationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetListenerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourceGatewayCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetServiceNetworkCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetServiceNetworkResourceAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetServiceNetworkServiceAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTargetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAccessLogSubscriptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDomainVerificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListResourceConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListResourceEndpointAssociationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListResourceGatewaysCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServiceNetworkVpcEndpointAssociationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServiceNetworksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTargetGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutAuthPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartDomainVerificationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAccessLogSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateResourceConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateResourceGatewayCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateServiceNetworkCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTargetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/VPCLatticeServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultVPCLatticeHttpAuthSchemeProvider = exports.defaultVPCLatticeHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultVPCLatticeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultVPCLatticeHttpAuthSchemeProvider = defaultVPCLatticeHttpAuthSchem
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|