@aws-sdk/client-auto-scaling 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 +65 -195
- package/dist-es/commands/AttachInstancesCommand.js +1 -3
- package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +1 -3
- package/dist-es/commands/AttachLoadBalancersCommand.js +1 -3
- package/dist-es/commands/AttachTrafficSourcesCommand.js +1 -3
- package/dist-es/commands/BatchDeleteScheduledActionCommand.js +1 -3
- package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +1 -3
- package/dist-es/commands/CancelInstanceRefreshCommand.js +1 -3
- package/dist-es/commands/CompleteLifecycleActionCommand.js +1 -3
- package/dist-es/commands/CreateAutoScalingGroupCommand.js +1 -3
- package/dist-es/commands/CreateLaunchConfigurationCommand.js +1 -3
- package/dist-es/commands/CreateOrUpdateTagsCommand.js +1 -3
- package/dist-es/commands/DeleteAutoScalingGroupCommand.js +1 -3
- package/dist-es/commands/DeleteLaunchConfigurationCommand.js +1 -3
- package/dist-es/commands/DeleteLifecycleHookCommand.js +1 -3
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +1 -3
- package/dist-es/commands/DeletePolicyCommand.js +1 -3
- package/dist-es/commands/DeleteScheduledActionCommand.js +1 -3
- package/dist-es/commands/DeleteTagsCommand.js +1 -3
- package/dist-es/commands/DeleteWarmPoolCommand.js +1 -3
- package/dist-es/commands/DescribeAccountLimitsCommand.js +1 -3
- package/dist-es/commands/DescribeAdjustmentTypesCommand.js +1 -3
- package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +1 -3
- package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +1 -3
- package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +1 -3
- package/dist-es/commands/DescribeInstanceRefreshesCommand.js +1 -3
- package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +1 -3
- package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +1 -3
- package/dist-es/commands/DescribeLifecycleHooksCommand.js +1 -3
- package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +1 -3
- package/dist-es/commands/DescribeLoadBalancersCommand.js +1 -3
- package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +1 -3
- package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +1 -3
- package/dist-es/commands/DescribePoliciesCommand.js +1 -3
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +1 -3
- package/dist-es/commands/DescribeScalingProcessTypesCommand.js +1 -3
- package/dist-es/commands/DescribeScheduledActionsCommand.js +1 -3
- package/dist-es/commands/DescribeTagsCommand.js +1 -3
- package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +1 -3
- package/dist-es/commands/DescribeTrafficSourcesCommand.js +1 -3
- package/dist-es/commands/DescribeWarmPoolCommand.js +1 -3
- package/dist-es/commands/DetachInstancesCommand.js +1 -3
- package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +1 -3
- package/dist-es/commands/DetachLoadBalancersCommand.js +1 -3
- package/dist-es/commands/DetachTrafficSourcesCommand.js +1 -3
- package/dist-es/commands/DisableMetricsCollectionCommand.js +1 -3
- package/dist-es/commands/EnableMetricsCollectionCommand.js +1 -3
- package/dist-es/commands/EnterStandbyCommand.js +1 -3
- package/dist-es/commands/ExecutePolicyCommand.js +1 -3
- package/dist-es/commands/ExitStandbyCommand.js +1 -3
- package/dist-es/commands/GetPredictiveScalingForecastCommand.js +1 -3
- package/dist-es/commands/PutLifecycleHookCommand.js +1 -3
- package/dist-es/commands/PutNotificationConfigurationCommand.js +1 -3
- package/dist-es/commands/PutScalingPolicyCommand.js +1 -3
- package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +1 -3
- package/dist-es/commands/PutWarmPoolCommand.js +1 -3
- package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +1 -3
- package/dist-es/commands/ResumeProcessesCommand.js +1 -3
- package/dist-es/commands/RollbackInstanceRefreshCommand.js +1 -3
- package/dist-es/commands/SetDesiredCapacityCommand.js +1 -3
- package/dist-es/commands/SetInstanceHealthCommand.js +1 -3
- package/dist-es/commands/SetInstanceProtectionCommand.js +1 -3
- package/dist-es/commands/StartInstanceRefreshCommand.js +1 -3
- package/dist-es/commands/SuspendProcessesCommand.js +1 -3
- package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +1 -3
- package/dist-es/commands/UpdateAutoScalingGroupCommand.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;
|