@aws-sdk/client-appstream 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 +79 -237
- package/dist-es/commands/AssociateAppBlockBuilderAppBlockCommand.js +1 -3
- package/dist-es/commands/AssociateApplicationFleetCommand.js +1 -3
- package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +1 -3
- package/dist-es/commands/AssociateFleetCommand.js +1 -3
- package/dist-es/commands/BatchAssociateUserStackCommand.js +1 -3
- package/dist-es/commands/BatchDisassociateUserStackCommand.js +1 -3
- package/dist-es/commands/CopyImageCommand.js +1 -3
- package/dist-es/commands/CreateAppBlockBuilderCommand.js +1 -3
- package/dist-es/commands/CreateAppBlockBuilderStreamingURLCommand.js +1 -3
- package/dist-es/commands/CreateAppBlockCommand.js +1 -3
- package/dist-es/commands/CreateApplicationCommand.js +1 -3
- package/dist-es/commands/CreateDirectoryConfigCommand.js +1 -3
- package/dist-es/commands/CreateEntitlementCommand.js +1 -3
- package/dist-es/commands/CreateFleetCommand.js +1 -3
- package/dist-es/commands/CreateImageBuilderCommand.js +1 -3
- package/dist-es/commands/CreateImageBuilderStreamingURLCommand.js +1 -3
- package/dist-es/commands/CreateStackCommand.js +1 -3
- package/dist-es/commands/CreateStreamingURLCommand.js +1 -3
- package/dist-es/commands/CreateThemeForStackCommand.js +1 -3
- package/dist-es/commands/CreateUpdatedImageCommand.js +1 -3
- package/dist-es/commands/CreateUsageReportSubscriptionCommand.js +1 -3
- package/dist-es/commands/CreateUserCommand.js +1 -3
- package/dist-es/commands/DeleteAppBlockBuilderCommand.js +1 -3
- package/dist-es/commands/DeleteAppBlockCommand.js +1 -3
- package/dist-es/commands/DeleteApplicationCommand.js +1 -3
- package/dist-es/commands/DeleteDirectoryConfigCommand.js +1 -3
- package/dist-es/commands/DeleteEntitlementCommand.js +1 -3
- package/dist-es/commands/DeleteFleetCommand.js +1 -3
- package/dist-es/commands/DeleteImageBuilderCommand.js +1 -3
- package/dist-es/commands/DeleteImageCommand.js +1 -3
- package/dist-es/commands/DeleteImagePermissionsCommand.js +1 -3
- package/dist-es/commands/DeleteStackCommand.js +1 -3
- package/dist-es/commands/DeleteThemeForStackCommand.js +1 -3
- package/dist-es/commands/DeleteUsageReportSubscriptionCommand.js +1 -3
- package/dist-es/commands/DeleteUserCommand.js +1 -3
- package/dist-es/commands/DescribeAppBlockBuilderAppBlockAssociationsCommand.js +1 -3
- package/dist-es/commands/DescribeAppBlockBuildersCommand.js +1 -3
- package/dist-es/commands/DescribeAppBlocksCommand.js +1 -3
- package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +1 -3
- package/dist-es/commands/DescribeApplicationsCommand.js +1 -3
- package/dist-es/commands/DescribeDirectoryConfigsCommand.js +1 -3
- package/dist-es/commands/DescribeEntitlementsCommand.js +1 -3
- package/dist-es/commands/DescribeFleetsCommand.js +1 -3
- package/dist-es/commands/DescribeImageBuildersCommand.js +1 -3
- package/dist-es/commands/DescribeImagePermissionsCommand.js +1 -3
- package/dist-es/commands/DescribeImagesCommand.js +1 -3
- package/dist-es/commands/DescribeSessionsCommand.js +1 -3
- package/dist-es/commands/DescribeStacksCommand.js +1 -3
- package/dist-es/commands/DescribeThemeForStackCommand.js +1 -3
- package/dist-es/commands/DescribeUsageReportSubscriptionsCommand.js +1 -3
- package/dist-es/commands/DescribeUserStackAssociationsCommand.js +1 -3
- package/dist-es/commands/DescribeUsersCommand.js +1 -3
- package/dist-es/commands/DisableUserCommand.js +1 -3
- package/dist-es/commands/DisassociateAppBlockBuilderAppBlockCommand.js +1 -3
- package/dist-es/commands/DisassociateApplicationFleetCommand.js +1 -3
- package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +1 -3
- package/dist-es/commands/DisassociateFleetCommand.js +1 -3
- package/dist-es/commands/EnableUserCommand.js +1 -3
- package/dist-es/commands/ExpireSessionCommand.js +1 -3
- package/dist-es/commands/ListAssociatedFleetsCommand.js +1 -3
- package/dist-es/commands/ListAssociatedStacksCommand.js +1 -3
- package/dist-es/commands/ListEntitledApplicationsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/StartAppBlockBuilderCommand.js +1 -3
- package/dist-es/commands/StartFleetCommand.js +1 -3
- package/dist-es/commands/StartImageBuilderCommand.js +1 -3
- package/dist-es/commands/StopAppBlockBuilderCommand.js +1 -3
- package/dist-es/commands/StopFleetCommand.js +1 -3
- package/dist-es/commands/StopImageBuilderCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAppBlockBuilderCommand.js +1 -3
- package/dist-es/commands/UpdateApplicationCommand.js +1 -3
- package/dist-es/commands/UpdateDirectoryConfigCommand.js +1 -3
- package/dist-es/commands/UpdateEntitlementCommand.js +1 -3
- package/dist-es/commands/UpdateFleetCommand.js +1 -3
- package/dist-es/commands/UpdateImagePermissionsCommand.js +1 -3
- package/dist-es/commands/UpdateStackCommand.js +1 -3
- package/dist-es/commands/UpdateThemeForStackCommand.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 +36 -36
|
@@ -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;
|