@aws-sdk/client-cleanrooms 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 +80 -240
- package/dist-es/commands/BatchGetCollaborationAnalysisTemplateCommand.js +1 -3
- package/dist-es/commands/BatchGetSchemaAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/BatchGetSchemaCommand.js +1 -3
- package/dist-es/commands/CreateAnalysisTemplateCommand.js +1 -3
- package/dist-es/commands/CreateCollaborationCommand.js +1 -3
- package/dist-es/commands/CreateConfiguredAudienceModelAssociationCommand.js +1 -3
- package/dist-es/commands/CreateConfiguredTableAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/CreateConfiguredTableAssociationAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/CreateConfiguredTableAssociationCommand.js +1 -3
- package/dist-es/commands/CreateConfiguredTableCommand.js +1 -3
- package/dist-es/commands/CreateIdMappingTableCommand.js +1 -3
- package/dist-es/commands/CreateIdNamespaceAssociationCommand.js +1 -3
- package/dist-es/commands/CreateMembershipCommand.js +1 -3
- package/dist-es/commands/CreatePrivacyBudgetTemplateCommand.js +1 -3
- package/dist-es/commands/DeleteAnalysisTemplateCommand.js +1 -3
- package/dist-es/commands/DeleteCollaborationCommand.js +1 -3
- package/dist-es/commands/DeleteConfiguredAudienceModelAssociationCommand.js +1 -3
- package/dist-es/commands/DeleteConfiguredTableAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/DeleteConfiguredTableAssociationAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/DeleteConfiguredTableAssociationCommand.js +1 -3
- package/dist-es/commands/DeleteConfiguredTableCommand.js +1 -3
- package/dist-es/commands/DeleteIdMappingTableCommand.js +1 -3
- package/dist-es/commands/DeleteIdNamespaceAssociationCommand.js +1 -3
- package/dist-es/commands/DeleteMemberCommand.js +1 -3
- package/dist-es/commands/DeleteMembershipCommand.js +1 -3
- package/dist-es/commands/DeletePrivacyBudgetTemplateCommand.js +1 -3
- package/dist-es/commands/GetAnalysisTemplateCommand.js +1 -3
- package/dist-es/commands/GetCollaborationAnalysisTemplateCommand.js +1 -3
- package/dist-es/commands/GetCollaborationCommand.js +1 -3
- package/dist-es/commands/GetCollaborationConfiguredAudienceModelAssociationCommand.js +1 -3
- package/dist-es/commands/GetCollaborationIdNamespaceAssociationCommand.js +1 -3
- package/dist-es/commands/GetCollaborationPrivacyBudgetTemplateCommand.js +1 -3
- package/dist-es/commands/GetConfiguredAudienceModelAssociationCommand.js +1 -3
- package/dist-es/commands/GetConfiguredTableAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/GetConfiguredTableAssociationAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/GetConfiguredTableAssociationCommand.js +1 -3
- package/dist-es/commands/GetConfiguredTableCommand.js +1 -3
- package/dist-es/commands/GetIdMappingTableCommand.js +1 -3
- package/dist-es/commands/GetIdNamespaceAssociationCommand.js +1 -3
- package/dist-es/commands/GetMembershipCommand.js +1 -3
- package/dist-es/commands/GetPrivacyBudgetTemplateCommand.js +1 -3
- package/dist-es/commands/GetProtectedQueryCommand.js +1 -3
- package/dist-es/commands/GetSchemaAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/GetSchemaCommand.js +1 -3
- package/dist-es/commands/ListAnalysisTemplatesCommand.js +1 -3
- package/dist-es/commands/ListCollaborationAnalysisTemplatesCommand.js +1 -3
- package/dist-es/commands/ListCollaborationConfiguredAudienceModelAssociationsCommand.js +1 -3
- package/dist-es/commands/ListCollaborationIdNamespaceAssociationsCommand.js +1 -3
- package/dist-es/commands/ListCollaborationPrivacyBudgetTemplatesCommand.js +1 -3
- package/dist-es/commands/ListCollaborationPrivacyBudgetsCommand.js +1 -3
- package/dist-es/commands/ListCollaborationsCommand.js +1 -3
- package/dist-es/commands/ListConfiguredAudienceModelAssociationsCommand.js +1 -3
- package/dist-es/commands/ListConfiguredTableAssociationsCommand.js +1 -3
- package/dist-es/commands/ListConfiguredTablesCommand.js +1 -3
- package/dist-es/commands/ListIdMappingTablesCommand.js +1 -3
- package/dist-es/commands/ListIdNamespaceAssociationsCommand.js +1 -3
- package/dist-es/commands/ListMembersCommand.js +1 -3
- package/dist-es/commands/ListMembershipsCommand.js +1 -3
- package/dist-es/commands/ListPrivacyBudgetTemplatesCommand.js +1 -3
- package/dist-es/commands/ListPrivacyBudgetsCommand.js +1 -3
- package/dist-es/commands/ListProtectedQueriesCommand.js +1 -3
- package/dist-es/commands/ListSchemasCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/PopulateIdMappingTableCommand.js +1 -3
- package/dist-es/commands/PreviewPrivacyImpactCommand.js +1 -3
- package/dist-es/commands/StartProtectedQueryCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAnalysisTemplateCommand.js +1 -3
- package/dist-es/commands/UpdateCollaborationCommand.js +1 -3
- package/dist-es/commands/UpdateConfiguredAudienceModelAssociationCommand.js +1 -3
- package/dist-es/commands/UpdateConfiguredTableAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/UpdateConfiguredTableAssociationAnalysisRuleCommand.js +1 -3
- package/dist-es/commands/UpdateConfiguredTableAssociationCommand.js +1 -3
- package/dist-es/commands/UpdateConfiguredTableCommand.js +1 -3
- package/dist-es/commands/UpdateIdMappingTableCommand.js +1 -3
- package/dist-es/commands/UpdateIdNamespaceAssociationCommand.js +1 -3
- package/dist-es/commands/UpdateMembershipCommand.js +1 -3
- package/dist-es/commands/UpdatePrivacyBudgetTemplateCommand.js +1 -3
- package/dist-es/commands/UpdateProtectedQueryCommand.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", "UseDualStack", "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;
|