@aws-sdk/client-service-catalog 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 +90 -270
- package/dist-es/commands/AcceptPortfolioShareCommand.js +1 -3
- package/dist-es/commands/AssociateBudgetWithResourceCommand.js +1 -3
- package/dist-es/commands/AssociatePrincipalWithPortfolioCommand.js +1 -3
- package/dist-es/commands/AssociateProductWithPortfolioCommand.js +1 -3
- package/dist-es/commands/AssociateServiceActionWithProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/AssociateTagOptionWithResourceCommand.js +1 -3
- package/dist-es/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/CopyProductCommand.js +1 -3
- package/dist-es/commands/CreateConstraintCommand.js +1 -3
- package/dist-es/commands/CreatePortfolioCommand.js +1 -3
- package/dist-es/commands/CreatePortfolioShareCommand.js +1 -3
- package/dist-es/commands/CreateProductCommand.js +1 -3
- package/dist-es/commands/CreateProvisionedProductPlanCommand.js +1 -3
- package/dist-es/commands/CreateProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/CreateServiceActionCommand.js +1 -3
- package/dist-es/commands/CreateTagOptionCommand.js +1 -3
- package/dist-es/commands/DeleteConstraintCommand.js +1 -3
- package/dist-es/commands/DeletePortfolioCommand.js +1 -3
- package/dist-es/commands/DeletePortfolioShareCommand.js +1 -3
- package/dist-es/commands/DeleteProductCommand.js +1 -3
- package/dist-es/commands/DeleteProvisionedProductPlanCommand.js +1 -3
- package/dist-es/commands/DeleteProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/DeleteServiceActionCommand.js +1 -3
- package/dist-es/commands/DeleteTagOptionCommand.js +1 -3
- package/dist-es/commands/DescribeConstraintCommand.js +1 -3
- package/dist-es/commands/DescribeCopyProductStatusCommand.js +1 -3
- package/dist-es/commands/DescribePortfolioCommand.js +1 -3
- package/dist-es/commands/DescribePortfolioShareStatusCommand.js +1 -3
- package/dist-es/commands/DescribePortfolioSharesCommand.js +1 -3
- package/dist-es/commands/DescribeProductAsAdminCommand.js +1 -3
- package/dist-es/commands/DescribeProductCommand.js +1 -3
- package/dist-es/commands/DescribeProductViewCommand.js +1 -3
- package/dist-es/commands/DescribeProvisionedProductCommand.js +1 -3
- package/dist-es/commands/DescribeProvisionedProductPlanCommand.js +1 -3
- package/dist-es/commands/DescribeProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/DescribeProvisioningParametersCommand.js +1 -3
- package/dist-es/commands/DescribeRecordCommand.js +1 -3
- package/dist-es/commands/DescribeServiceActionCommand.js +1 -3
- package/dist-es/commands/DescribeServiceActionExecutionParametersCommand.js +1 -3
- package/dist-es/commands/DescribeTagOptionCommand.js +1 -3
- package/dist-es/commands/DisableAWSOrganizationsAccessCommand.js +1 -3
- package/dist-es/commands/DisassociateBudgetFromResourceCommand.js +1 -3
- package/dist-es/commands/DisassociatePrincipalFromPortfolioCommand.js +1 -3
- package/dist-es/commands/DisassociateProductFromPortfolioCommand.js +1 -3
- package/dist-es/commands/DisassociateServiceActionFromProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/DisassociateTagOptionFromResourceCommand.js +1 -3
- package/dist-es/commands/EnableAWSOrganizationsAccessCommand.js +1 -3
- package/dist-es/commands/ExecuteProvisionedProductPlanCommand.js +1 -3
- package/dist-es/commands/ExecuteProvisionedProductServiceActionCommand.js +1 -3
- package/dist-es/commands/GetAWSOrganizationsAccessStatusCommand.js +1 -3
- package/dist-es/commands/GetProvisionedProductOutputsCommand.js +1 -3
- package/dist-es/commands/ImportAsProvisionedProductCommand.js +1 -3
- package/dist-es/commands/ListAcceptedPortfolioSharesCommand.js +1 -3
- package/dist-es/commands/ListBudgetsForResourceCommand.js +1 -3
- package/dist-es/commands/ListConstraintsForPortfolioCommand.js +1 -3
- package/dist-es/commands/ListLaunchPathsCommand.js +1 -3
- package/dist-es/commands/ListOrganizationPortfolioAccessCommand.js +1 -3
- package/dist-es/commands/ListPortfolioAccessCommand.js +1 -3
- package/dist-es/commands/ListPortfoliosCommand.js +1 -3
- package/dist-es/commands/ListPortfoliosForProductCommand.js +1 -3
- package/dist-es/commands/ListPrincipalsForPortfolioCommand.js +1 -3
- package/dist-es/commands/ListProvisionedProductPlansCommand.js +1 -3
- package/dist-es/commands/ListProvisioningArtifactsCommand.js +1 -3
- package/dist-es/commands/ListProvisioningArtifactsForServiceActionCommand.js +1 -3
- package/dist-es/commands/ListRecordHistoryCommand.js +1 -3
- package/dist-es/commands/ListResourcesForTagOptionCommand.js +1 -3
- package/dist-es/commands/ListServiceActionsCommand.js +1 -3
- package/dist-es/commands/ListServiceActionsForProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/ListStackInstancesForProvisionedProductCommand.js +1 -3
- package/dist-es/commands/ListTagOptionsCommand.js +1 -3
- package/dist-es/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +1 -3
- package/dist-es/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +1 -3
- package/dist-es/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +1 -3
- package/dist-es/commands/ProvisionProductCommand.js +1 -3
- package/dist-es/commands/RejectPortfolioShareCommand.js +1 -3
- package/dist-es/commands/ScanProvisionedProductsCommand.js +1 -3
- package/dist-es/commands/SearchProductsAsAdminCommand.js +1 -3
- package/dist-es/commands/SearchProductsCommand.js +1 -3
- package/dist-es/commands/SearchProvisionedProductsCommand.js +1 -3
- package/dist-es/commands/TerminateProvisionedProductCommand.js +1 -3
- package/dist-es/commands/UpdateConstraintCommand.js +1 -3
- package/dist-es/commands/UpdatePortfolioCommand.js +1 -3
- package/dist-es/commands/UpdatePortfolioShareCommand.js +1 -3
- package/dist-es/commands/UpdateProductCommand.js +1 -3
- package/dist-es/commands/UpdateProvisionedProductCommand.js +1 -3
- package/dist-es/commands/UpdateProvisionedProductPropertiesCommand.js +1 -3
- package/dist-es/commands/UpdateProvisioningArtifactCommand.js +1 -3
- package/dist-es/commands/UpdateServiceActionCommand.js +1 -3
- package/dist-es/commands/UpdateTagOptionCommand.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;
|