@aws-sdk/client-route-53 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 +165 -167
- package/dist-cjs/models/Route53ServiceException.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/Route53.js +1 -1
- package/dist-es/Route53Client.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/ActivateKeySigningKeyCommand.js +2 -2
- package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +2 -2
- package/dist-es/commands/ChangeCidrCollectionCommand.js +2 -2
- package/dist-es/commands/ChangeResourceRecordSetsCommand.js +2 -2
- package/dist-es/commands/ChangeTagsForResourceCommand.js +2 -2
- package/dist-es/commands/CreateCidrCollectionCommand.js +2 -2
- package/dist-es/commands/CreateHealthCheckCommand.js +2 -2
- package/dist-es/commands/CreateHostedZoneCommand.js +2 -2
- package/dist-es/commands/CreateKeySigningKeyCommand.js +2 -2
- package/dist-es/commands/CreateQueryLoggingConfigCommand.js +2 -2
- package/dist-es/commands/CreateReusableDelegationSetCommand.js +2 -2
- package/dist-es/commands/CreateTrafficPolicyCommand.js +2 -2
- package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +2 -2
- package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +2 -2
- package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +2 -2
- package/dist-es/commands/DeactivateKeySigningKeyCommand.js +2 -2
- package/dist-es/commands/DeleteCidrCollectionCommand.js +2 -2
- package/dist-es/commands/DeleteHealthCheckCommand.js +2 -2
- package/dist-es/commands/DeleteHostedZoneCommand.js +2 -2
- package/dist-es/commands/DeleteKeySigningKeyCommand.js +2 -2
- package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +2 -2
- package/dist-es/commands/DeleteReusableDelegationSetCommand.js +2 -2
- package/dist-es/commands/DeleteTrafficPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +2 -2
- package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +2 -2
- package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +2 -2
- package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +2 -2
- package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +2 -2
- package/dist-es/commands/GetAccountLimitCommand.js +2 -2
- package/dist-es/commands/GetChangeCommand.js +2 -2
- package/dist-es/commands/GetCheckerIpRangesCommand.js +2 -2
- package/dist-es/commands/GetDNSSECCommand.js +2 -2
- package/dist-es/commands/GetGeoLocationCommand.js +2 -2
- package/dist-es/commands/GetHealthCheckCommand.js +2 -2
- package/dist-es/commands/GetHealthCheckCountCommand.js +2 -2
- package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +2 -2
- package/dist-es/commands/GetHealthCheckStatusCommand.js +2 -2
- package/dist-es/commands/GetHostedZoneCommand.js +2 -2
- package/dist-es/commands/GetHostedZoneCountCommand.js +2 -2
- package/dist-es/commands/GetHostedZoneLimitCommand.js +2 -2
- package/dist-es/commands/GetQueryLoggingConfigCommand.js +2 -2
- package/dist-es/commands/GetReusableDelegationSetCommand.js +2 -2
- package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +2 -2
- package/dist-es/commands/GetTrafficPolicyCommand.js +2 -2
- package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +2 -2
- package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +2 -2
- package/dist-es/commands/ListCidrBlocksCommand.js +2 -2
- package/dist-es/commands/ListCidrCollectionsCommand.js +2 -2
- package/dist-es/commands/ListCidrLocationsCommand.js +2 -2
- package/dist-es/commands/ListGeoLocationsCommand.js +2 -2
- package/dist-es/commands/ListHealthChecksCommand.js +2 -2
- package/dist-es/commands/ListHostedZonesByNameCommand.js +2 -2
- package/dist-es/commands/ListHostedZonesByVPCCommand.js +2 -2
- package/dist-es/commands/ListHostedZonesCommand.js +2 -2
- package/dist-es/commands/ListQueryLoggingConfigsCommand.js +2 -2
- package/dist-es/commands/ListResourceRecordSetsCommand.js +2 -2
- package/dist-es/commands/ListReusableDelegationSetsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourcesCommand.js +2 -2
- package/dist-es/commands/ListTrafficPoliciesCommand.js +2 -2
- package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +2 -2
- package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +2 -2
- package/dist-es/commands/ListTrafficPolicyInstancesCommand.js +2 -2
- package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +2 -2
- package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +2 -2
- package/dist-es/commands/TestDNSAnswerCommand.js +2 -2
- package/dist-es/commands/UpdateHealthCheckCommand.js +2 -2
- package/dist-es/commands/UpdateHostedZoneCommentCommand.js +2 -2
- package/dist-es/commands/UpdateHostedZoneFeaturesCommand.js +2 -2
- package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +2 -2
- package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/Route53ServiceException.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-es/waiters/waitForResourceRecordSetsChanged.js +1 -1
- package/dist-types/Route53.d.ts +1 -1
- package/dist-types/Route53Client.d.ts +5 -5
- package/dist-types/commands/ActivateKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +6 -4
- package/dist-types/commands/ChangeCidrCollectionCommand.d.ts +6 -4
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +6 -4
- package/dist-types/commands/ChangeTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/CreateCidrCollectionCommand.d.ts +6 -4
- package/dist-types/commands/CreateHealthCheckCommand.d.ts +6 -4
- package/dist-types/commands/CreateHostedZoneCommand.d.ts +6 -4
- package/dist-types/commands/CreateKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +6 -4
- package/dist-types/commands/CreateReusableDelegationSetCommand.d.ts +6 -4
- package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +6 -4
- package/dist-types/commands/CreateTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/commands/CreateTrafficPolicyVersionCommand.d.ts +6 -4
- package/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +6 -4
- package/dist-types/commands/DeactivateKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCidrCollectionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteHealthCheckCommand.d.ts +6 -4
- package/dist-types/commands/DeleteHostedZoneCommand.d.ts +6 -4
- package/dist-types/commands/DeleteKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteQueryLoggingConfigCommand.d.ts +6 -4
- package/dist-types/commands/DeleteReusableDelegationSetCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +6 -4
- package/dist-types/commands/DisableHostedZoneDNSSECCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +6 -4
- package/dist-types/commands/EnableHostedZoneDNSSECCommand.d.ts +6 -4
- package/dist-types/commands/GetAccountLimitCommand.d.ts +6 -4
- package/dist-types/commands/GetChangeCommand.d.ts +6 -4
- package/dist-types/commands/GetCheckerIpRangesCommand.d.ts +6 -4
- package/dist-types/commands/GetDNSSECCommand.d.ts +6 -4
- package/dist-types/commands/GetGeoLocationCommand.d.ts +6 -4
- package/dist-types/commands/GetHealthCheckCommand.d.ts +6 -4
- package/dist-types/commands/GetHealthCheckCountCommand.d.ts +6 -4
- package/dist-types/commands/GetHealthCheckLastFailureReasonCommand.d.ts +6 -4
- package/dist-types/commands/GetHealthCheckStatusCommand.d.ts +6 -4
- package/dist-types/commands/GetHostedZoneCommand.d.ts +6 -4
- package/dist-types/commands/GetHostedZoneCountCommand.d.ts +6 -4
- package/dist-types/commands/GetHostedZoneLimitCommand.d.ts +6 -4
- package/dist-types/commands/GetQueryLoggingConfigCommand.d.ts +6 -4
- package/dist-types/commands/GetReusableDelegationSetCommand.d.ts +6 -4
- package/dist-types/commands/GetReusableDelegationSetLimitCommand.d.ts +6 -4
- package/dist-types/commands/GetTrafficPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/commands/GetTrafficPolicyInstanceCountCommand.d.ts +6 -4
- package/dist-types/commands/ListCidrBlocksCommand.d.ts +6 -4
- package/dist-types/commands/ListCidrCollectionsCommand.d.ts +6 -4
- package/dist-types/commands/ListCidrLocationsCommand.d.ts +6 -4
- package/dist-types/commands/ListGeoLocationsCommand.d.ts +6 -4
- package/dist-types/commands/ListHealthChecksCommand.d.ts +6 -4
- package/dist-types/commands/ListHostedZonesByNameCommand.d.ts +6 -4
- package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +6 -4
- package/dist-types/commands/ListHostedZonesCommand.d.ts +6 -4
- package/dist-types/commands/ListQueryLoggingConfigsCommand.d.ts +6 -4
- package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +6 -4
- package/dist-types/commands/ListReusableDelegationSetsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +6 -4
- package/dist-types/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +6 -4
- package/dist-types/commands/ListTrafficPolicyInstancesCommand.d.ts +6 -4
- package/dist-types/commands/ListTrafficPolicyVersionsCommand.d.ts +6 -4
- package/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +6 -4
- package/dist-types/commands/TestDNSAnswerCommand.d.ts +6 -4
- package/dist-types/commands/UpdateHealthCheckCommand.d.ts +6 -4
- package/dist-types/commands/UpdateHostedZoneCommentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateHostedZoneFeaturesCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTrafficPolicyCommentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTrafficPolicyInstanceCommand.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/Route53ServiceException.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/Route53.d.ts +1 -1
- package/dist-types/ts3.4/Route53Client.d.ts +8 -14
- package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ChangeCidrCollectionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCidrCollectionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCidrCollectionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCidrBlocksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCidrCollectionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCidrLocationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateHostedZoneFeaturesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.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/Route53ServiceException.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/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +1 -1
- package/dist-types/waiters/waitForResourceRecordSetsChanged.d.ts +1 -1
- package/package.json +14 -36
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultRoute53HttpAuthSchemeProvider = exports.defaultRoute53HttpAuthSchemeParametersProvider = 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 defaultRoute53HttpAuthSchemeParametersProvider = 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.defaultRoute53HttpAuthSchemeProvider = defaultRoute53HttpAuthSchemeProvi
|
|
|
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 s = "ref", t = "authSchemes", u = "name", v = "signingRegion";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = "sigv4", i = { [s]: "Endpoint" }, j = { "fn": g, "argv": [{ [s]: d }, "name"] }, k = { [s]: d }, l = { [t]: [{ [u]: h, [v]: "us-east-1" }] }, m = { [t]: [{ [u]: h, [v]: "cn-northwest-1" }] }, n = { [t]: [{ [u]: h, [v]: "us-gov-west-1" }] }, o = { [t]: [{ [u]: h, [v]: "eusc-de-east-1" }] }, p = { [t]: [{ [u]: h, [v]: "{PartitionResult#implicitGlobalRegion}" }] }, q = [{ [s]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -83,4 +83,4 @@ const nodes = new Int32Array([
|
|
|
83
83
|
3, r + 1, 28,
|
|
84
84
|
7, r + 2, r + 3,
|
|
85
85
|
]);
|
|
86
|
-
exports.bdd =
|
|
86
|
+
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;
|