@aws-sdk/client-gamelift 3.646.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 +108 -324
- package/dist-es/commands/AcceptMatchCommand.js +1 -3
- package/dist-es/commands/ClaimGameServerCommand.js +1 -3
- package/dist-es/commands/CreateAliasCommand.js +1 -3
- package/dist-es/commands/CreateBuildCommand.js +1 -3
- package/dist-es/commands/CreateContainerGroupDefinitionCommand.js +1 -3
- package/dist-es/commands/CreateFleetCommand.js +1 -3
- package/dist-es/commands/CreateFleetLocationsCommand.js +1 -3
- package/dist-es/commands/CreateGameServerGroupCommand.js +1 -3
- package/dist-es/commands/CreateGameSessionCommand.js +1 -3
- package/dist-es/commands/CreateGameSessionQueueCommand.js +1 -3
- package/dist-es/commands/CreateLocationCommand.js +1 -3
- package/dist-es/commands/CreateMatchmakingConfigurationCommand.js +1 -3
- package/dist-es/commands/CreateMatchmakingRuleSetCommand.js +1 -3
- package/dist-es/commands/CreatePlayerSessionCommand.js +1 -3
- package/dist-es/commands/CreatePlayerSessionsCommand.js +1 -3
- package/dist-es/commands/CreateScriptCommand.js +1 -3
- package/dist-es/commands/CreateVpcPeeringAuthorizationCommand.js +1 -3
- package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +1 -3
- package/dist-es/commands/DeleteAliasCommand.js +1 -3
- package/dist-es/commands/DeleteBuildCommand.js +1 -3
- package/dist-es/commands/DeleteContainerGroupDefinitionCommand.js +1 -3
- package/dist-es/commands/DeleteFleetCommand.js +1 -3
- package/dist-es/commands/DeleteFleetLocationsCommand.js +1 -3
- package/dist-es/commands/DeleteGameServerGroupCommand.js +1 -3
- package/dist-es/commands/DeleteGameSessionQueueCommand.js +1 -3
- package/dist-es/commands/DeleteLocationCommand.js +1 -3
- package/dist-es/commands/DeleteMatchmakingConfigurationCommand.js +1 -3
- package/dist-es/commands/DeleteMatchmakingRuleSetCommand.js +1 -3
- package/dist-es/commands/DeleteScalingPolicyCommand.js +1 -3
- package/dist-es/commands/DeleteScriptCommand.js +1 -3
- package/dist-es/commands/DeleteVpcPeeringAuthorizationCommand.js +1 -3
- package/dist-es/commands/DeleteVpcPeeringConnectionCommand.js +1 -3
- package/dist-es/commands/DeregisterComputeCommand.js +1 -3
- package/dist-es/commands/DeregisterGameServerCommand.js +1 -3
- package/dist-es/commands/DescribeAliasCommand.js +1 -3
- package/dist-es/commands/DescribeBuildCommand.js +1 -3
- package/dist-es/commands/DescribeComputeCommand.js +1 -3
- package/dist-es/commands/DescribeContainerGroupDefinitionCommand.js +1 -3
- package/dist-es/commands/DescribeEC2InstanceLimitsCommand.js +1 -3
- package/dist-es/commands/DescribeFleetAttributesCommand.js +1 -3
- package/dist-es/commands/DescribeFleetCapacityCommand.js +1 -3
- package/dist-es/commands/DescribeFleetEventsCommand.js +1 -3
- package/dist-es/commands/DescribeFleetLocationAttributesCommand.js +1 -3
- package/dist-es/commands/DescribeFleetLocationCapacityCommand.js +1 -3
- package/dist-es/commands/DescribeFleetLocationUtilizationCommand.js +1 -3
- package/dist-es/commands/DescribeFleetPortSettingsCommand.js +1 -3
- package/dist-es/commands/DescribeFleetUtilizationCommand.js +1 -3
- package/dist-es/commands/DescribeGameServerCommand.js +1 -3
- package/dist-es/commands/DescribeGameServerGroupCommand.js +1 -3
- package/dist-es/commands/DescribeGameServerInstancesCommand.js +1 -3
- package/dist-es/commands/DescribeGameSessionDetailsCommand.js +1 -3
- package/dist-es/commands/DescribeGameSessionPlacementCommand.js +1 -3
- package/dist-es/commands/DescribeGameSessionQueuesCommand.js +1 -3
- package/dist-es/commands/DescribeGameSessionsCommand.js +1 -3
- package/dist-es/commands/DescribeInstancesCommand.js +1 -3
- package/dist-es/commands/DescribeMatchmakingCommand.js +1 -3
- package/dist-es/commands/DescribeMatchmakingConfigurationsCommand.js +1 -3
- package/dist-es/commands/DescribeMatchmakingRuleSetsCommand.js +1 -3
- package/dist-es/commands/DescribePlayerSessionsCommand.js +1 -3
- package/dist-es/commands/DescribeRuntimeConfigurationCommand.js +1 -3
- package/dist-es/commands/DescribeScalingPoliciesCommand.js +1 -3
- package/dist-es/commands/DescribeScriptCommand.js +1 -3
- package/dist-es/commands/DescribeVpcPeeringAuthorizationsCommand.js +1 -3
- package/dist-es/commands/DescribeVpcPeeringConnectionsCommand.js +1 -3
- package/dist-es/commands/GetComputeAccessCommand.js +1 -3
- package/dist-es/commands/GetComputeAuthTokenCommand.js +1 -3
- package/dist-es/commands/GetGameSessionLogUrlCommand.js +1 -3
- package/dist-es/commands/GetInstanceAccessCommand.js +1 -3
- package/dist-es/commands/ListAliasesCommand.js +1 -3
- package/dist-es/commands/ListBuildsCommand.js +1 -3
- package/dist-es/commands/ListComputeCommand.js +1 -3
- package/dist-es/commands/ListContainerGroupDefinitionsCommand.js +1 -3
- package/dist-es/commands/ListFleetsCommand.js +1 -3
- package/dist-es/commands/ListGameServerGroupsCommand.js +1 -3
- package/dist-es/commands/ListGameServersCommand.js +1 -3
- package/dist-es/commands/ListLocationsCommand.js +1 -3
- package/dist-es/commands/ListScriptsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/PutScalingPolicyCommand.js +1 -3
- package/dist-es/commands/RegisterComputeCommand.js +1 -3
- package/dist-es/commands/RegisterGameServerCommand.js +1 -3
- package/dist-es/commands/RequestUploadCredentialsCommand.js +1 -3
- package/dist-es/commands/ResolveAliasCommand.js +1 -3
- package/dist-es/commands/ResumeGameServerGroupCommand.js +1 -3
- package/dist-es/commands/SearchGameSessionsCommand.js +1 -3
- package/dist-es/commands/StartFleetActionsCommand.js +1 -3
- package/dist-es/commands/StartGameSessionPlacementCommand.js +1 -3
- package/dist-es/commands/StartMatchBackfillCommand.js +1 -3
- package/dist-es/commands/StartMatchmakingCommand.js +1 -3
- package/dist-es/commands/StopFleetActionsCommand.js +1 -3
- package/dist-es/commands/StopGameSessionPlacementCommand.js +1 -3
- package/dist-es/commands/StopMatchmakingCommand.js +1 -3
- package/dist-es/commands/SuspendGameServerGroupCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAliasCommand.js +1 -3
- package/dist-es/commands/UpdateBuildCommand.js +1 -3
- package/dist-es/commands/UpdateFleetAttributesCommand.js +1 -3
- package/dist-es/commands/UpdateFleetCapacityCommand.js +1 -3
- package/dist-es/commands/UpdateFleetPortSettingsCommand.js +1 -3
- package/dist-es/commands/UpdateGameServerCommand.js +1 -3
- package/dist-es/commands/UpdateGameServerGroupCommand.js +1 -3
- package/dist-es/commands/UpdateGameSessionCommand.js +1 -3
- package/dist-es/commands/UpdateGameSessionQueueCommand.js +1 -3
- package/dist-es/commands/UpdateMatchmakingConfigurationCommand.js +1 -3
- package/dist-es/commands/UpdateRuntimeConfigurationCommand.js +1 -3
- package/dist-es/commands/UpdateScriptCommand.js +1 -3
- package/dist-es/commands/ValidateMatchmakingRuleSetCommand.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;
|