@aws-sdk/client-cloudfront 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 +703 -4439
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/CloudFrontClient.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 +662 -4398
- package/dist-types/CloudFront.d.ts +1 -1
- package/dist-types/CloudFrontClient.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/AssociateAliasCommand.d.ts +3 -3
- package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +3 -3
- package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +3 -3
- package/dist-types/commands/CopyDistributionCommand.d.ts +3 -3
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +3 -3
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +3 -3
- package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/CreateConnectionGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateDistributionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +3 -3
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +3 -3
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +3 -3
- package/dist-types/commands/CreateFunctionCommand.d.ts +3 -3
- package/dist-types/commands/CreateInvalidationCommand.d.ts +3 -3
- package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +3 -3
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +3 -3
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +3 -3
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +3 -3
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFunctionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +3 -3
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +3 -3
- package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeFunctionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +3 -3
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +3 -3
- package/dist-types/commands/GetCachePolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +3 -3
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +3 -3
- package/dist-types/commands/GetConnectionGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +3 -3
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +3 -3
- package/dist-types/commands/GetInvalidationCommand.d.ts +3 -3
- package/dist-types/commands/GetInvalidationForDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/GetKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +4 -4
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +3 -3
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -3
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +3 -3
- package/dist-types/commands/GetTrustStoreCommand.d.ts +3 -3
- package/dist-types/commands/GetVpcOriginCommand.d.ts +3 -3
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +3 -3
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +3 -3
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +3 -3
- package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +3 -3
- package/dist-types/commands/ListConnectionGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionTenantsCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByOwnedResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +3 -3
- package/dist-types/commands/ListDistributionsCommand.d.ts +3 -3
- package/dist-types/commands/ListDomainConflictsCommand.d.ts +3 -3
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +3 -3
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +3 -3
- package/dist-types/commands/ListFunctionsCommand.d.ts +3 -3
- package/dist-types/commands/ListInvalidationsCommand.d.ts +3 -3
- package/dist-types/commands/ListInvalidationsForDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListKeyValueStoresCommand.d.ts +3 -3
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +3 -3
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListPublicKeysCommand.d.ts +3 -3
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +3 -3
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListTrustStoresCommand.d.ts +3 -3
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +3 -3
- package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/PublishFunctionCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/TestFunctionCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +3 -3
- package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDistributionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +3 -3
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +3 -3
- package/dist-types/commands/UpdateFunctionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +3 -3
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTrustStoreCommand.d.ts +3 -3
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +3 -3
- package/dist-types/commands/VerifyDnsConfigurationCommand.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/CloudFrontServiceException.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/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConnectionGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionTenantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionsByConnectionModePaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainConflictsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvalidationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeyValueStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOriginAccessControlsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPublicKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamingDistributionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrustStoresPaginator.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/CloudFrontClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/CloudFrontServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +9 -9
- 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);
|
|
@@ -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 { defaultCloudFrontHttpAuthSchemeParametersProvider, 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);
|