@aws-sdk/client-neptune 3.1044.0 → 3.1046.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 +180 -182
- package/dist-cjs/models/NeptuneServiceException.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/Neptune.js +1 -1
- package/dist-es/NeptuneClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddRoleToDBClusterCommand.js +2 -2
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +2 -2
- package/dist-es/commands/AddTagsToResourceCommand.js +2 -2
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +2 -2
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +2 -2
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +2 -2
- package/dist-es/commands/CopyDBParameterGroupCommand.js +2 -2
- package/dist-es/commands/CreateDBClusterCommand.js +2 -2
- package/dist-es/commands/CreateDBClusterEndpointCommand.js +2 -2
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +2 -2
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +2 -2
- package/dist-es/commands/CreateDBInstanceCommand.js +2 -2
- package/dist-es/commands/CreateDBParameterGroupCommand.js +2 -2
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +2 -2
- package/dist-es/commands/CreateEventSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreateGlobalClusterCommand.js +2 -2
- package/dist-es/commands/DeleteDBClusterCommand.js +2 -2
- package/dist-es/commands/DeleteDBClusterEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +2 -2
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +2 -2
- package/dist-es/commands/DeleteDBInstanceCommand.js +2 -2
- package/dist-es/commands/DeleteDBParameterGroupCommand.js +2 -2
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +2 -2
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +2 -2
- package/dist-es/commands/DeleteGlobalClusterCommand.js +2 -2
- package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +2 -2
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +2 -2
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +2 -2
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +2 -2
- package/dist-es/commands/DescribeDBClustersCommand.js +2 -2
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +2 -2
- package/dist-es/commands/DescribeDBInstancesCommand.js +2 -2
- package/dist-es/commands/DescribeDBParameterGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeDBParametersCommand.js +2 -2
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +2 -2
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +2 -2
- package/dist-es/commands/DescribeEventCategoriesCommand.js +2 -2
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +2 -2
- package/dist-es/commands/DescribeEventsCommand.js +2 -2
- package/dist-es/commands/DescribeGlobalClustersCommand.js +2 -2
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +2 -2
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +2 -2
- package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +2 -2
- package/dist-es/commands/FailoverDBClusterCommand.js +2 -2
- package/dist-es/commands/FailoverGlobalClusterCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ModifyDBClusterCommand.js +2 -2
- package/dist-es/commands/ModifyDBClusterEndpointCommand.js +2 -2
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +2 -2
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +2 -2
- package/dist-es/commands/ModifyDBInstanceCommand.js +2 -2
- package/dist-es/commands/ModifyDBParameterGroupCommand.js +2 -2
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +2 -2
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +2 -2
- package/dist-es/commands/ModifyGlobalClusterCommand.js +2 -2
- package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +2 -2
- package/dist-es/commands/RebootDBInstanceCommand.js +2 -2
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +2 -2
- package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +2 -2
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +2 -2
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +2 -2
- package/dist-es/commands/ResetDBParameterGroupCommand.js +2 -2
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +2 -2
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +2 -2
- package/dist-es/commands/StartDBClusterCommand.js +2 -2
- package/dist-es/commands/StopDBClusterCommand.js +2 -2
- package/dist-es/commands/SwitchoverGlobalClusterCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/NeptuneServiceException.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/waitForDBInstanceAvailable.js +1 -1
- package/dist-es/waiters/waitForDBInstanceDeleted.js +1 -1
- package/dist-types/Neptune.d.ts +1 -1
- package/dist-types/NeptuneClient.d.ts +5 -5
- package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -4
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +6 -4
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +6 -4
- package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +6 -4
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBParametersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEventsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -4
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +6 -4
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +6 -4
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +6 -4
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +6 -4
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +6 -4
- package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -4
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +6 -4
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -4
- package/dist-types/commands/StartDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/StopDBClusterCommand.d.ts +6 -4
- package/dist-types/commands/SwitchoverGlobalClusterCommand.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/NeptuneServiceException.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/Neptune.d.ts +1 -1
- package/dist-types/ts3.4/NeptuneClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AddRoleToDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CopyDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBClusterEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBClusterEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBParametersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeValidDBInstanceModificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/FailoverGlobalClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBClusterEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PromoteReadReplicaDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveRoleFromDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ResetDBParameterGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SwitchoverGlobalClusterCommand.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/NeptuneServiceException.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/waitForDBInstanceAvailable.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForDBInstanceDeleted.d.ts +1 -1
- package/dist-types/waiters/waitForDBInstanceAvailable.d.ts +1 -1
- package/dist-types/waiters/waitForDBInstanceDeleted.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.defaultNeptuneHttpAuthSchemeProvider = exports.defaultNeptuneHttpAuthSchemeParametersProvider = 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 defaultNeptuneHttpAuthSchemeParametersProvider = 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.defaultNeptuneHttpAuthSchemeProvider = defaultNeptuneHttpAuthSchemeProvi
|
|
|
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 = {
|
|
@@ -49,4 +49,4 @@ const nodes = new Int32Array([
|
|
|
49
49
|
3, r + 1, 14,
|
|
50
50
|
4, r + 2, r + 3,
|
|
51
51
|
]);
|
|
52
|
-
exports.bdd =
|
|
52
|
+
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;
|