@aws-sdk/client-ssm 3.940.0 → 3.946.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 +186 -1091
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/SSMClient.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 +186 -1091
- package/dist-types/SSM.d.ts +1 -1
- package/dist-types/SSMClient.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/AddTagsToResourceCommand.d.ts +3 -3
- package/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +3 -3
- package/dist-types/commands/CancelCommandCommand.d.ts +3 -3
- package/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +3 -3
- package/dist-types/commands/CreateActivationCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssociationBatchCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssociationCommand.d.ts +3 -3
- package/dist-types/commands/CreateDocumentCommand.d.ts +3 -3
- package/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/CreateOpsItemCommand.d.ts +3 -3
- package/dist-types/commands/CreateOpsMetadataCommand.d.ts +3 -3
- package/dist-types/commands/CreatePatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +3 -3
- package/dist-types/commands/DeleteActivationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAssociationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDocumentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteInventoryCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOpsItemCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOpsMetadataCommand.d.ts +3 -3
- package/dist-types/commands/DeleteParameterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteParametersCommand.d.ts +3 -3
- package/dist-types/commands/DeletePatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/DescribeActivationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAssociationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDocumentCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +3 -3
- package/dist-types/commands/DescribeOpsItemsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeParametersCommand.d.ts +3 -3
- package/dist-types/commands/DescribePatchBaselinesCommand.d.ts +3 -3
- package/dist-types/commands/DescribePatchGroupStateCommand.d.ts +3 -3
- package/dist-types/commands/DescribePatchGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribePatchPropertiesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSessionsCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +3 -3
- package/dist-types/commands/GetAccessTokenCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomationExecutionCommand.d.ts +3 -3
- package/dist-types/commands/GetCalendarStateCommand.d.ts +3 -3
- package/dist-types/commands/GetCommandInvocationCommand.d.ts +3 -3
- package/dist-types/commands/GetConnectionStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentCommand.d.ts +3 -3
- package/dist-types/commands/GetExecutionPreviewCommand.d.ts +3 -3
- package/dist-types/commands/GetInventoryCommand.d.ts +4 -4
- package/dist-types/commands/GetInventorySchemaCommand.d.ts +3 -3
- package/dist-types/commands/GetMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +3 -3
- package/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +3 -3
- package/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +3 -3
- package/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +3 -3
- package/dist-types/commands/GetOpsItemCommand.d.ts +3 -3
- package/dist-types/commands/GetOpsMetadataCommand.d.ts +3 -3
- package/dist-types/commands/GetOpsSummaryCommand.d.ts +4 -4
- package/dist-types/commands/GetParameterCommand.d.ts +3 -3
- package/dist-types/commands/GetParameterHistoryCommand.d.ts +3 -3
- package/dist-types/commands/GetParametersByPathCommand.d.ts +3 -3
- package/dist-types/commands/GetParametersCommand.d.ts +3 -3
- package/dist-types/commands/GetPatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -3
- package/dist-types/commands/GetServiceSettingCommand.d.ts +4 -4
- package/dist-types/commands/LabelParameterVersionCommand.d.ts +3 -3
- package/dist-types/commands/ListAssociationVersionsCommand.d.ts +3 -3
- package/dist-types/commands/ListAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/ListCommandInvocationsCommand.d.ts +3 -3
- package/dist-types/commands/ListCommandsCommand.d.ts +3 -3
- package/dist-types/commands/ListComplianceItemsCommand.d.ts +3 -3
- package/dist-types/commands/ListComplianceSummariesCommand.d.ts +3 -3
- package/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +3 -3
- package/dist-types/commands/ListDocumentVersionsCommand.d.ts +3 -3
- package/dist-types/commands/ListDocumentsCommand.d.ts +3 -3
- package/dist-types/commands/ListInventoryEntriesCommand.d.ts +3 -3
- package/dist-types/commands/ListNodesCommand.d.ts +3 -3
- package/dist-types/commands/ListNodesSummaryCommand.d.ts +3 -3
- package/dist-types/commands/ListOpsItemEventsCommand.d.ts +3 -3
- package/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +3 -3
- package/dist-types/commands/ListOpsMetadataCommand.d.ts +3 -3
- package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +3 -3
- package/dist-types/commands/ListResourceDataSyncCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +3 -3
- package/dist-types/commands/PutComplianceItemsCommand.d.ts +3 -3
- package/dist-types/commands/PutInventoryCommand.d.ts +3 -3
- package/dist-types/commands/PutParameterCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +3 -3
- package/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -3
- package/dist-types/commands/ResetServiceSettingCommand.d.ts +3 -3
- package/dist-types/commands/ResumeSessionCommand.d.ts +3 -3
- package/dist-types/commands/SendAutomationSignalCommand.d.ts +3 -3
- package/dist-types/commands/SendCommandCommand.d.ts +3 -3
- package/dist-types/commands/StartAccessRequestCommand.d.ts +3 -3
- package/dist-types/commands/StartAssociationsOnceCommand.d.ts +3 -3
- package/dist-types/commands/StartAutomationExecutionCommand.d.ts +3 -3
- package/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +3 -3
- package/dist-types/commands/StartExecutionPreviewCommand.d.ts +3 -3
- package/dist-types/commands/StartSessionCommand.d.ts +3 -3
- package/dist-types/commands/StopAutomationExecutionCommand.d.ts +3 -3
- package/dist-types/commands/TerminateSessionCommand.d.ts +3 -3
- package/dist-types/commands/UnlabelParameterVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAssociationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDocumentCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +3 -3
- package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOpsItemCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOpsMetadataCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePatchBaselineCommand.d.ts +3 -3
- package/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +3 -3
- package/dist-types/commands/UpdateServiceSettingCommand.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/SSMServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/pagination/DescribeActivationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOpsItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePatchGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetInventoryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetInventorySchemaPaginator.d.ts +1 -1
- package/dist-types/pagination/GetOpsSummaryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetParameterHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetParametersByPathPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAssociationVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCommandInvocationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCommandsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListComplianceItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListComplianceSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNodesSummaryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOpsItemEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOpsMetadataPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceDataSyncPaginator.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 +1 -1
- package/dist-types/ts3.4/SSMClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SSMServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +11 -11
- package/package.json +13 -12
|
@@ -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/SSMClient.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 { defaultSSMHttpAuthSchemeParametersProvider, 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);
|