@aws-sdk/client-rds 3.943.0 → 3.947.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/index.js +299 -1663
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/RDSClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +275 -1639
- package/dist-types/RDS.d.ts +1 -1
- package/dist-types/RDSClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -3
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +3 -3
- package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +3 -3
- package/dist-types/commands/BacktrackDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -3
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CopyOptionGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBClusterCommand.d.ts +14 -3
- package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +14 -3
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +14 -3
- package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBProxyCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBShardGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/CreateIntegrationCommand.d.ts +3 -3
- package/dist-types/commands/CreateOptionGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateTenantDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +9 -3
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +9 -3
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBProxyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBShardGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOptionGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +9 -3
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +9 -3
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBMajorEngineVersionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBParametersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBProxiesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBRecommendationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBShardGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEventsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeIntegrationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTenantDatabasesCommand.d.ts +4 -3
- package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +3 -3
- package/dist-types/commands/DisableHttpEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +3 -3
- package/dist-types/commands/EnableHttpEndpointCommand.d.ts +3 -3
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ModifyActivityStreamCommand.d.ts +3 -3
- package/dist-types/commands/ModifyCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +3 -3
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +4 -4
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +4 -4
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +14 -3
- package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBProxyCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBRecommendationCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBShardGroupCommand.d.ts +4 -4
- package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +3 -3
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/ModifyIntegrationCommand.d.ts +4 -4
- package/dist-types/commands/ModifyOptionGroupCommand.d.ts +3 -3
- package/dist-types/commands/ModifyTenantDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +14 -3
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +3 -3
- package/dist-types/commands/RebootDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/RebootDBShardGroupCommand.d.ts +4 -4
- package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +3 -3
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -3
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +3 -3
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +14 -3
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +14 -3
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +14 -3
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +14 -3
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +14 -3
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +14 -3
- package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +3 -3
- package/dist-types/commands/StartActivityStreamCommand.d.ts +3 -3
- package/dist-types/commands/StartDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +15 -3
- package/dist-types/commands/StartDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/StartExportTaskCommand.d.ts +4 -4
- package/dist-types/commands/StopActivityStreamCommand.d.ts +3 -3
- package/dist-types/commands/StopDBClusterCommand.d.ts +3 -3
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +9 -3
- package/dist-types/commands/StopDBInstanceCommand.d.ts +3 -3
- package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/SwitchoverGlobalClusterCommand.d.ts +3 -3
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/RDSServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +85 -19
- package/dist-types/models/models_1.d.ts +121 -1
- package/dist-types/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterAutomatedBackupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterBacktracksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBInstanceAutomatedBackupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBLogFilesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBMajorEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxiesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxyEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxyTargetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxyTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSecurityGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeExportTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeIntegrationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOptionGroupOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOptionGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedDBInstancesOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedDBInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSourceRegionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTenantDatabasesPaginator.d.ts +1 -1
- package/dist-types/pagination/DownloadDBLogFilePortionPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -1
- package/dist-types/ts3.4/RDSClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTenantDatabasesCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/RDSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -4
- package/dist-types/ts3.4/models/models_1.d.ts +21 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +14 -13
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/RDSClient.js
CHANGED
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultRDSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
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
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|