@aws-sdk/client-datazone 3.645.0 → 3.650.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/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +139 -417
- package/dist-es/commands/AcceptPredictionsCommand.js +1 -3
- package/dist-es/commands/AcceptSubscriptionRequestCommand.js +1 -3
- package/dist-es/commands/AddEntityOwnerCommand.js +1 -3
- package/dist-es/commands/AddPolicyGrantCommand.js +1 -3
- package/dist-es/commands/AssociateEnvironmentRoleCommand.js +1 -3
- package/dist-es/commands/CancelMetadataGenerationRunCommand.js +1 -3
- package/dist-es/commands/CancelSubscriptionCommand.js +1 -3
- package/dist-es/commands/CreateAssetCommand.js +1 -3
- package/dist-es/commands/CreateAssetFilterCommand.js +1 -3
- package/dist-es/commands/CreateAssetRevisionCommand.js +1 -3
- package/dist-es/commands/CreateAssetTypeCommand.js +1 -3
- package/dist-es/commands/CreateDataProductCommand.js +1 -3
- package/dist-es/commands/CreateDataProductRevisionCommand.js +1 -3
- package/dist-es/commands/CreateDataSourceCommand.js +1 -3
- package/dist-es/commands/CreateDomainCommand.js +1 -3
- package/dist-es/commands/CreateDomainUnitCommand.js +1 -3
- package/dist-es/commands/CreateEnvironmentActionCommand.js +1 -3
- package/dist-es/commands/CreateEnvironmentCommand.js +1 -3
- package/dist-es/commands/CreateEnvironmentProfileCommand.js +1 -3
- package/dist-es/commands/CreateFormTypeCommand.js +1 -3
- package/dist-es/commands/CreateGlossaryCommand.js +1 -3
- package/dist-es/commands/CreateGlossaryTermCommand.js +1 -3
- package/dist-es/commands/CreateGroupProfileCommand.js +1 -3
- package/dist-es/commands/CreateListingChangeSetCommand.js +1 -3
- package/dist-es/commands/CreateProjectCommand.js +1 -3
- package/dist-es/commands/CreateProjectMembershipCommand.js +1 -3
- package/dist-es/commands/CreateSubscriptionGrantCommand.js +1 -3
- package/dist-es/commands/CreateSubscriptionRequestCommand.js +1 -3
- package/dist-es/commands/CreateSubscriptionTargetCommand.js +1 -3
- package/dist-es/commands/CreateUserProfileCommand.js +1 -3
- package/dist-es/commands/DeleteAssetCommand.js +1 -3
- package/dist-es/commands/DeleteAssetFilterCommand.js +1 -3
- package/dist-es/commands/DeleteAssetTypeCommand.js +1 -3
- package/dist-es/commands/DeleteDataProductCommand.js +1 -3
- package/dist-es/commands/DeleteDataSourceCommand.js +1 -3
- package/dist-es/commands/DeleteDomainCommand.js +1 -3
- package/dist-es/commands/DeleteDomainUnitCommand.js +1 -3
- package/dist-es/commands/DeleteEnvironmentActionCommand.js +1 -3
- package/dist-es/commands/DeleteEnvironmentBlueprintConfigurationCommand.js +1 -3
- package/dist-es/commands/DeleteEnvironmentCommand.js +1 -3
- package/dist-es/commands/DeleteEnvironmentProfileCommand.js +1 -3
- package/dist-es/commands/DeleteFormTypeCommand.js +1 -3
- package/dist-es/commands/DeleteGlossaryCommand.js +1 -3
- package/dist-es/commands/DeleteGlossaryTermCommand.js +1 -3
- package/dist-es/commands/DeleteListingCommand.js +1 -3
- package/dist-es/commands/DeleteProjectCommand.js +1 -3
- package/dist-es/commands/DeleteProjectMembershipCommand.js +1 -3
- package/dist-es/commands/DeleteSubscriptionGrantCommand.js +1 -3
- package/dist-es/commands/DeleteSubscriptionRequestCommand.js +1 -3
- package/dist-es/commands/DeleteSubscriptionTargetCommand.js +1 -3
- package/dist-es/commands/DeleteTimeSeriesDataPointsCommand.js +1 -3
- package/dist-es/commands/DisassociateEnvironmentRoleCommand.js +1 -3
- package/dist-es/commands/GetAssetCommand.js +1 -3
- package/dist-es/commands/GetAssetFilterCommand.js +1 -3
- package/dist-es/commands/GetAssetTypeCommand.js +1 -3
- package/dist-es/commands/GetDataProductCommand.js +1 -3
- package/dist-es/commands/GetDataSourceCommand.js +1 -3
- package/dist-es/commands/GetDataSourceRunCommand.js +1 -3
- package/dist-es/commands/GetDomainCommand.js +1 -3
- package/dist-es/commands/GetDomainUnitCommand.js +1 -3
- package/dist-es/commands/GetEnvironmentActionCommand.js +1 -3
- package/dist-es/commands/GetEnvironmentBlueprintCommand.js +1 -3
- package/dist-es/commands/GetEnvironmentBlueprintConfigurationCommand.js +1 -3
- package/dist-es/commands/GetEnvironmentCommand.js +1 -3
- package/dist-es/commands/GetEnvironmentCredentialsCommand.js +1 -3
- package/dist-es/commands/GetEnvironmentProfileCommand.js +1 -3
- package/dist-es/commands/GetFormTypeCommand.js +1 -3
- package/dist-es/commands/GetGlossaryCommand.js +1 -3
- package/dist-es/commands/GetGlossaryTermCommand.js +1 -3
- package/dist-es/commands/GetGroupProfileCommand.js +1 -3
- package/dist-es/commands/GetIamPortalLoginUrlCommand.js +1 -3
- package/dist-es/commands/GetLineageNodeCommand.js +1 -3
- package/dist-es/commands/GetListingCommand.js +1 -3
- package/dist-es/commands/GetMetadataGenerationRunCommand.js +1 -3
- package/dist-es/commands/GetProjectCommand.js +1 -3
- package/dist-es/commands/GetSubscriptionCommand.js +1 -3
- package/dist-es/commands/GetSubscriptionGrantCommand.js +1 -3
- package/dist-es/commands/GetSubscriptionRequestDetailsCommand.js +1 -3
- package/dist-es/commands/GetSubscriptionTargetCommand.js +1 -3
- package/dist-es/commands/GetTimeSeriesDataPointCommand.js +1 -3
- package/dist-es/commands/GetUserProfileCommand.js +1 -3
- package/dist-es/commands/ListAssetFiltersCommand.js +1 -3
- package/dist-es/commands/ListAssetRevisionsCommand.js +1 -3
- package/dist-es/commands/ListDataProductRevisionsCommand.js +1 -3
- package/dist-es/commands/ListDataSourceRunActivitiesCommand.js +1 -3
- package/dist-es/commands/ListDataSourceRunsCommand.js +1 -3
- package/dist-es/commands/ListDataSourcesCommand.js +1 -3
- package/dist-es/commands/ListDomainUnitsForParentCommand.js +1 -3
- package/dist-es/commands/ListDomainsCommand.js +1 -3
- package/dist-es/commands/ListEntityOwnersCommand.js +1 -3
- package/dist-es/commands/ListEnvironmentActionsCommand.js +1 -3
- package/dist-es/commands/ListEnvironmentBlueprintConfigurationsCommand.js +1 -3
- package/dist-es/commands/ListEnvironmentBlueprintsCommand.js +1 -3
- package/dist-es/commands/ListEnvironmentProfilesCommand.js +1 -3
- package/dist-es/commands/ListEnvironmentsCommand.js +1 -3
- package/dist-es/commands/ListLineageNodeHistoryCommand.js +1 -3
- package/dist-es/commands/ListMetadataGenerationRunsCommand.js +1 -3
- package/dist-es/commands/ListNotificationsCommand.js +1 -3
- package/dist-es/commands/ListPolicyGrantsCommand.js +1 -3
- package/dist-es/commands/ListProjectMembershipsCommand.js +1 -3
- package/dist-es/commands/ListProjectsCommand.js +1 -3
- package/dist-es/commands/ListSubscriptionGrantsCommand.js +1 -3
- package/dist-es/commands/ListSubscriptionRequestsCommand.js +1 -3
- package/dist-es/commands/ListSubscriptionTargetsCommand.js +1 -3
- package/dist-es/commands/ListSubscriptionsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListTimeSeriesDataPointsCommand.js +1 -3
- package/dist-es/commands/PostLineageEventCommand.js +1 -3
- package/dist-es/commands/PostTimeSeriesDataPointsCommand.js +1 -3
- package/dist-es/commands/PutEnvironmentBlueprintConfigurationCommand.js +1 -3
- package/dist-es/commands/RejectPredictionsCommand.js +1 -3
- package/dist-es/commands/RejectSubscriptionRequestCommand.js +1 -3
- package/dist-es/commands/RemoveEntityOwnerCommand.js +1 -3
- package/dist-es/commands/RemovePolicyGrantCommand.js +1 -3
- package/dist-es/commands/RevokeSubscriptionCommand.js +1 -3
- package/dist-es/commands/SearchCommand.js +1 -3
- package/dist-es/commands/SearchGroupProfilesCommand.js +1 -3
- package/dist-es/commands/SearchListingsCommand.js +1 -3
- package/dist-es/commands/SearchTypesCommand.js +1 -3
- package/dist-es/commands/SearchUserProfilesCommand.js +1 -3
- package/dist-es/commands/StartDataSourceRunCommand.js +1 -3
- package/dist-es/commands/StartMetadataGenerationRunCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAssetFilterCommand.js +1 -3
- package/dist-es/commands/UpdateDataSourceCommand.js +1 -3
- package/dist-es/commands/UpdateDomainCommand.js +1 -3
- package/dist-es/commands/UpdateDomainUnitCommand.js +1 -3
- package/dist-es/commands/UpdateEnvironmentActionCommand.js +1 -3
- package/dist-es/commands/UpdateEnvironmentCommand.js +1 -3
- package/dist-es/commands/UpdateEnvironmentProfileCommand.js +1 -3
- package/dist-es/commands/UpdateGlossaryCommand.js +1 -3
- package/dist-es/commands/UpdateGlossaryTermCommand.js +1 -3
- package/dist-es/commands/UpdateGroupProfileCommand.js +1 -3
- package/dist-es/commands/UpdateProjectCommand.js +1 -3
- package/dist-es/commands/UpdateSubscriptionGrantStatusCommand.js +1 -3
- package/dist-es/commands/UpdateSubscriptionRequestCommand.js +1 -3
- package/dist-es/commands/UpdateSubscriptionTargetCommand.js +1 -3
- package/dist-es/commands/UpdateUserProfileCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|