@aws-sdk/client-datazone 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 +363 -1757
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/DataZoneClient.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 +363 -1757
- package/dist-types/DataZone.d.ts +1 -1
- package/dist-types/DataZoneClient.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/AcceptPredictionsCommand.d.ts +3 -3
- package/dist-types/commands/AcceptSubscriptionRequestCommand.d.ts +3 -3
- package/dist-types/commands/AddEntityOwnerCommand.d.ts +3 -3
- package/dist-types/commands/AddPolicyGrantCommand.d.ts +3 -3
- package/dist-types/commands/AssociateEnvironmentRoleCommand.d.ts +3 -3
- package/dist-types/commands/AssociateGovernedTermsCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetAttributesMetadataCommand.d.ts +3 -3
- package/dist-types/commands/BatchPutAttributesMetadataCommand.d.ts +3 -3
- package/dist-types/commands/CancelMetadataGenerationRunCommand.d.ts +3 -3
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateAccountPoolCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssetCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssetFilterCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssetRevisionCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssetTypeCommand.d.ts +3 -3
- package/dist-types/commands/CreateConnectionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDataProductCommand.d.ts +3 -3
- package/dist-types/commands/CreateDataProductRevisionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainUnitCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentActionCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentBlueprintCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentProfileCommand.d.ts +3 -3
- package/dist-types/commands/CreateFormTypeCommand.d.ts +3 -3
- package/dist-types/commands/CreateGlossaryCommand.d.ts +3 -3
- package/dist-types/commands/CreateGlossaryTermCommand.d.ts +3 -3
- package/dist-types/commands/CreateGroupProfileCommand.d.ts +3 -3
- package/dist-types/commands/CreateListingChangeSetCommand.d.ts +3 -3
- package/dist-types/commands/CreateProjectCommand.d.ts +3 -3
- package/dist-types/commands/CreateProjectMembershipCommand.d.ts +3 -3
- package/dist-types/commands/CreateProjectProfileCommand.d.ts +3 -3
- package/dist-types/commands/CreateRuleCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubscriptionGrantCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubscriptionRequestCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubscriptionTargetCommand.d.ts +3 -3
- package/dist-types/commands/CreateUserProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAccountPoolCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAssetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAssetFilterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAssetTypeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDataProductCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDomainUnitCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentActionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentBlueprintCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentBlueprintConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFormTypeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGlossaryCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGlossaryTermCommand.d.ts +3 -3
- package/dist-types/commands/DeleteListingCommand.d.ts +3 -3
- package/dist-types/commands/DeleteProjectCommand.d.ts +3 -3
- package/dist-types/commands/DeleteProjectMembershipCommand.d.ts +3 -3
- package/dist-types/commands/DeleteProjectProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRuleCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSubscriptionGrantCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSubscriptionRequestCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSubscriptionTargetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTimeSeriesDataPointsCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateEnvironmentRoleCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateGovernedTermsCommand.d.ts +3 -3
- package/dist-types/commands/GetAccountPoolCommand.d.ts +3 -3
- package/dist-types/commands/GetAssetCommand.d.ts +3 -3
- package/dist-types/commands/GetAssetFilterCommand.d.ts +4 -4
- package/dist-types/commands/GetAssetTypeCommand.d.ts +3 -3
- package/dist-types/commands/GetConnectionCommand.d.ts +3 -3
- package/dist-types/commands/GetDataExportConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetDataProductCommand.d.ts +3 -3
- package/dist-types/commands/GetDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/GetDataSourceRunCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainUnitCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentActionCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentBlueprintCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentBlueprintConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentCredentialsCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentProfileCommand.d.ts +3 -3
- package/dist-types/commands/GetFormTypeCommand.d.ts +3 -3
- package/dist-types/commands/GetGlossaryCommand.d.ts +3 -3
- package/dist-types/commands/GetGlossaryTermCommand.d.ts +3 -3
- package/dist-types/commands/GetGroupProfileCommand.d.ts +3 -3
- package/dist-types/commands/GetIamPortalLoginUrlCommand.d.ts +3 -3
- package/dist-types/commands/GetJobRunCommand.d.ts +3 -3
- package/dist-types/commands/GetLineageEventCommand.d.ts +3 -3
- package/dist-types/commands/GetLineageNodeCommand.d.ts +3 -3
- package/dist-types/commands/GetListingCommand.d.ts +3 -3
- package/dist-types/commands/GetMetadataGenerationRunCommand.d.ts +3 -3
- package/dist-types/commands/GetProjectCommand.d.ts +3 -3
- package/dist-types/commands/GetProjectProfileCommand.d.ts +3 -3
- package/dist-types/commands/GetRuleCommand.d.ts +3 -3
- package/dist-types/commands/GetSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/GetSubscriptionGrantCommand.d.ts +3 -3
- package/dist-types/commands/GetSubscriptionRequestDetailsCommand.d.ts +3 -3
- package/dist-types/commands/GetSubscriptionTargetCommand.d.ts +3 -3
- package/dist-types/commands/GetTimeSeriesDataPointCommand.d.ts +3 -3
- package/dist-types/commands/GetUserProfileCommand.d.ts +3 -3
- package/dist-types/commands/ListAccountPoolsCommand.d.ts +3 -3
- package/dist-types/commands/ListAccountsInAccountPoolCommand.d.ts +3 -3
- package/dist-types/commands/ListAssetFiltersCommand.d.ts +3 -3
- package/dist-types/commands/ListAssetRevisionsCommand.d.ts +3 -3
- package/dist-types/commands/ListConnectionsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataProductRevisionsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourceRunActivitiesCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourceRunsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListDomainUnitsForParentCommand.d.ts +3 -3
- package/dist-types/commands/ListDomainsCommand.d.ts +3 -3
- package/dist-types/commands/ListEntityOwnersCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentActionsCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentBlueprintConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentBlueprintsCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentProfilesCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -3
- package/dist-types/commands/ListJobRunsCommand.d.ts +3 -3
- package/dist-types/commands/ListLineageEventsCommand.d.ts +3 -3
- package/dist-types/commands/ListLineageNodeHistoryCommand.d.ts +3 -3
- package/dist-types/commands/ListMetadataGenerationRunsCommand.d.ts +3 -3
- package/dist-types/commands/ListNotificationsCommand.d.ts +3 -3
- package/dist-types/commands/ListPolicyGrantsCommand.d.ts +3 -3
- package/dist-types/commands/ListProjectMembershipsCommand.d.ts +3 -3
- package/dist-types/commands/ListProjectProfilesCommand.d.ts +3 -3
- package/dist-types/commands/ListProjectsCommand.d.ts +3 -3
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionTargetsCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListTimeSeriesDataPointsCommand.d.ts +3 -3
- package/dist-types/commands/PostLineageEventCommand.d.ts +3 -3
- package/dist-types/commands/PostTimeSeriesDataPointsCommand.d.ts +3 -3
- package/dist-types/commands/PutDataExportConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutEnvironmentBlueprintConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/RejectPredictionsCommand.d.ts +3 -3
- package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +3 -3
- package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +3 -3
- package/dist-types/commands/RemovePolicyGrantCommand.d.ts +3 -3
- package/dist-types/commands/RevokeSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/SearchCommand.d.ts +4 -4
- package/dist-types/commands/SearchGroupProfilesCommand.d.ts +3 -3
- package/dist-types/commands/SearchListingsCommand.d.ts +4 -4
- package/dist-types/commands/SearchTypesCommand.d.ts +4 -4
- package/dist-types/commands/SearchUserProfilesCommand.d.ts +3 -3
- package/dist-types/commands/StartDataSourceRunCommand.d.ts +3 -3
- package/dist-types/commands/StartMetadataGenerationRunCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAccountPoolCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAssetFilterCommand.d.ts +3 -3
- package/dist-types/commands/UpdateConnectionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDomainCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDomainUnitCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnvironmentActionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnvironmentBlueprintCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnvironmentProfileCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGlossaryCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGlossaryTermCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGroupProfileCommand.d.ts +3 -3
- package/dist-types/commands/UpdateProjectCommand.d.ts +3 -3
- package/dist-types/commands/UpdateProjectProfileCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRootDomainUnitOwnerCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRuleCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSubscriptionGrantStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSubscriptionRequestCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSubscriptionTargetCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserProfileCommand.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/DataZoneServiceException.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/models/models_2.d.ts +2 -2
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAccountPoolsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccountsInAccountPoolPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssetFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssetRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataProductRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourceRunActivitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourceRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainUnitsForParentPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntityOwnersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentBlueprintConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentBlueprintsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLineageEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLineageNodeHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetadataGenerationRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNotificationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectMembershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionRequestsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTimeSeriesDataPointsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchGroupProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchListingsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchUserProfilesPaginator.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 +2 -2
- package/dist-types/ts3.4/DataZoneClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/PostLineageEventCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/DataZoneServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +25 -25
- package/dist-types/ts3.4/models/models_2.d.ts +10 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -1
- 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 { defaultDataZoneHttpAuthSchemeParametersProvider, 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);
|