@aws-sdk/client-gamelift 3.218.0 → 3.222.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/README.md +19 -20
- package/dist-cjs/GameLift.js +135 -0
- package/dist-cjs/commands/CreateLocationCommand.js +46 -0
- package/dist-cjs/commands/DeleteLocationCommand.js +46 -0
- package/dist-cjs/commands/DeregisterComputeCommand.js +46 -0
- package/dist-cjs/commands/DescribeComputeCommand.js +46 -0
- package/dist-cjs/commands/GetComputeAccessCommand.js +46 -0
- package/dist-cjs/commands/GetComputeAuthTokenCommand.js +46 -0
- package/dist-cjs/commands/ListComputeCommand.js +46 -0
- package/dist-cjs/commands/ListLocationsCommand.js +46 -0
- package/dist-cjs/commands/RegisterComputeCommand.js +46 -0
- package/dist-cjs/commands/UpdateFleetPortSettingsCommand.js +2 -1
- package/dist-cjs/commands/UpdateGameServerCommand.js +3 -3
- package/dist-cjs/commands/UpdateGameServerGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateGameSessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateGameSessionQueueCommand.js +3 -3
- package/dist-cjs/commands/UpdateMatchmakingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateRuntimeConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateScriptCommand.js +3 -3
- package/dist-cjs/commands/ValidateMatchmakingRuleSetCommand.js +3 -3
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +348 -78
- package/dist-cjs/models/models_1.js +75 -0
- package/dist-cjs/pagination/ListComputePaginator.js +36 -0
- package/dist-cjs/pagination/ListLocationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +731 -34
- package/dist-es/GameLift.js +135 -0
- package/dist-es/commands/CreateLocationCommand.js +42 -0
- package/dist-es/commands/DeleteLocationCommand.js +42 -0
- package/dist-es/commands/DeregisterComputeCommand.js +42 -0
- package/dist-es/commands/DescribeComputeCommand.js +42 -0
- package/dist-es/commands/GetComputeAccessCommand.js +42 -0
- package/dist-es/commands/GetComputeAuthTokenCommand.js +42 -0
- package/dist-es/commands/ListComputeCommand.js +42 -0
- package/dist-es/commands/ListLocationsCommand.js +42 -0
- package/dist-es/commands/RegisterComputeCommand.js +42 -0
- package/dist-es/commands/UpdateFleetPortSettingsCommand.js +2 -1
- package/dist-es/commands/UpdateGameServerCommand.js +1 -1
- package/dist-es/commands/UpdateGameServerGroupCommand.js +1 -1
- package/dist-es/commands/UpdateGameSessionCommand.js +1 -1
- package/dist-es/commands/UpdateGameSessionQueueCommand.js +1 -1
- package/dist-es/commands/UpdateMatchmakingConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateRuntimeConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateScriptCommand.js +1 -1
- package/dist-es/commands/ValidateMatchmakingRuleSetCommand.js +1 -1
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +321 -55
- package/dist-es/models/models_1.js +55 -0
- package/dist-es/pagination/ListComputePaginator.js +32 -0
- package/dist-es/pagination/ListLocationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +729 -51
- package/dist-types/GameLift.d.ts +756 -1757
- package/dist-types/GameLiftClient.d.ts +32 -23
- package/dist-types/commands/AcceptMatchCommand.d.ts +3 -13
- package/dist-types/commands/ClaimGameServerCommand.d.ts +15 -26
- package/dist-types/commands/CreateAliasCommand.d.ts +2 -8
- package/dist-types/commands/CreateBuildCommand.d.ts +15 -26
- package/dist-types/commands/CreateFleetCommand.d.ts +9 -28
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +11 -30
- package/dist-types/commands/CreateGameServerGroupCommand.d.ts +13 -25
- package/dist-types/commands/CreateGameSessionCommand.d.ts +8 -21
- package/dist-types/commands/CreateGameSessionQueueCommand.d.ts +9 -14
- package/dist-types/commands/CreateLocationCommand.d.ts +37 -0
- package/dist-types/commands/CreateMatchmakingConfigurationCommand.d.ts +7 -23
- package/dist-types/commands/CreateMatchmakingRuleSetCommand.d.ts +3 -19
- package/dist-types/commands/CreatePlayerSessionCommand.d.ts +12 -20
- package/dist-types/commands/CreatePlayerSessionsCommand.d.ts +11 -18
- package/dist-types/commands/CreateScriptCommand.d.ts +11 -15
- package/dist-types/commands/CreateVpcPeeringAuthorizationCommand.d.ts +14 -21
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +18 -25
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -7
- package/dist-types/commands/DeleteBuildCommand.d.ts +6 -14
- package/dist-types/commands/DeleteFleetCommand.d.ts +6 -22
- package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +3 -18
- package/dist-types/commands/DeleteGameServerGroupCommand.d.ts +10 -23
- package/dist-types/commands/DeleteGameSessionQueueCommand.d.ts +2 -24
- package/dist-types/commands/DeleteLocationCommand.d.ts +39 -0
- package/dist-types/commands/DeleteMatchmakingConfigurationCommand.d.ts +0 -14
- package/dist-types/commands/DeleteMatchmakingRuleSetCommand.d.ts +2 -16
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +4 -18
- package/dist-types/commands/DeleteScriptCommand.d.ts +2 -7
- package/dist-types/commands/DeleteVpcPeeringAuthorizationCommand.d.ts +3 -9
- package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +5 -13
- package/dist-types/commands/DeregisterComputeCommand.d.ts +38 -0
- package/dist-types/commands/DeregisterGameServerCommand.d.ts +5 -16
- package/dist-types/commands/DescribeAliasCommand.d.ts +1 -7
- package/dist-types/commands/DescribeBuildCommand.d.ts +3 -11
- package/dist-types/commands/DescribeComputeCommand.d.ts +39 -0
- package/dist-types/commands/DescribeEC2InstanceLimitsCommand.d.ts +9 -25
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +8 -22
- package/dist-types/commands/DescribeFleetEventsCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetLocationAttributesCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetLocationUtilizationCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +8 -23
- package/dist-types/commands/DescribeFleetUtilizationCommand.d.ts +9 -24
- package/dist-types/commands/DescribeGameServerCommand.d.ts +5 -15
- package/dist-types/commands/DescribeGameServerGroupCommand.d.ts +8 -20
- package/dist-types/commands/DescribeGameServerInstancesCommand.d.ts +7 -23
- package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +6 -20
- package/dist-types/commands/DescribeGameSessionPlacementCommand.d.ts +8 -26
- package/dist-types/commands/DescribeGameSessionQueuesCommand.d.ts +5 -20
- package/dist-types/commands/DescribeGameSessionsCommand.d.ts +9 -32
- package/dist-types/commands/DescribeInstancesCommand.d.ts +5 -7
- package/dist-types/commands/DescribeMatchmakingCommand.d.ts +6 -19
- package/dist-types/commands/DescribeMatchmakingConfigurationsCommand.d.ts +1 -16
- package/dist-types/commands/DescribeMatchmakingRuleSetsCommand.d.ts +2 -16
- package/dist-types/commands/DescribePlayerSessionsCommand.d.ts +3 -11
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +5 -20
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +6 -22
- package/dist-types/commands/DescribeScriptCommand.d.ts +3 -8
- package/dist-types/commands/DescribeVpcPeeringAuthorizationsCommand.d.ts +2 -8
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +7 -13
- package/dist-types/commands/GetComputeAccessCommand.d.ts +59 -0
- package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +40 -0
- package/dist-types/commands/GetGameSessionLogUrlCommand.d.ts +3 -15
- package/dist-types/commands/GetInstanceAccessCommand.d.ts +2 -8
- package/dist-types/commands/ListAliasesCommand.d.ts +4 -10
- package/dist-types/commands/ListBuildsCommand.d.ts +3 -11
- package/dist-types/commands/ListComputeCommand.d.ts +37 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +9 -23
- package/dist-types/commands/ListGameServerGroupsCommand.d.ts +1 -26
- package/dist-types/commands/ListGameServersCommand.d.ts +6 -16
- package/dist-types/commands/ListLocationsCommand.d.ts +37 -0
- package/dist-types/commands/ListScriptsCommand.d.ts +3 -7
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -13
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +21 -40
- package/dist-types/commands/RegisterComputeCommand.d.ts +57 -0
- package/dist-types/commands/RegisterGameServerCommand.d.ts +9 -21
- package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +3 -12
- package/dist-types/commands/ResolveAliasCommand.d.ts +1 -7
- package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +11 -23
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +21 -38
- package/dist-types/commands/StartFleetActionsCommand.d.ts +7 -21
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +31 -46
- package/dist-types/commands/StartMatchBackfillCommand.d.ts +19 -29
- package/dist-types/commands/StartMatchmakingCommand.d.ts +4 -15
- package/dist-types/commands/StopFleetActionsCommand.d.ts +5 -21
- package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +2 -17
- package/dist-types/commands/StopMatchmakingCommand.d.ts +3 -14
- package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +7 -19
- package/dist-types/commands/TagResourceCommand.d.ts +7 -10
- package/dist-types/commands/UntagResourceCommand.d.ts +12 -16
- package/dist-types/commands/UpdateAliasCommand.d.ts +1 -7
- package/dist-types/commands/UpdateBuildCommand.d.ts +3 -11
- package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +3 -19
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +10 -26
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGameServerCommand.d.ts +20 -29
- package/dist-types/commands/UpdateGameServerGroupCommand.d.ts +9 -21
- package/dist-types/commands/UpdateGameSessionCommand.d.ts +1 -13
- package/dist-types/commands/UpdateGameSessionQueueCommand.d.ts +2 -16
- package/dist-types/commands/UpdateMatchmakingConfigurationCommand.d.ts +6 -20
- package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +5 -21
- package/dist-types/commands/UpdateScriptCommand.d.ts +2 -7
- package/dist-types/commands/ValidateMatchmakingRuleSetCommand.d.ts +4 -18
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1598 -1987
- package/dist-types/models/models_1.d.ts +452 -0
- package/dist-types/pagination/ListComputePaginator.d.ts +4 -0
- package/dist-types/pagination/ListLocationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/GameLift.d.ts +153 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateLocationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeregisterComputeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeComputeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetComputeAccessCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetComputeAuthTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListComputeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/RegisterComputeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateFleetPortSettingsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateGameServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGameServerGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGameSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGameSessionQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMatchmakingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRuntimeConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateScriptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ValidateMatchmakingRuleSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +417 -370
- package/dist-types/ts3.4/models/models_1.d.ts +166 -0
- package/dist-types/ts3.4/pagination/ListComputePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/package.json +29 -28
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export var GameServerHealthCheck;
|
|
2
|
+
(function (GameServerHealthCheck) {
|
|
3
|
+
GameServerHealthCheck["HEALTHY"] = "HEALTHY";
|
|
4
|
+
})(GameServerHealthCheck || (GameServerHealthCheck = {}));
|
|
5
|
+
export const UpdateFleetPortSettingsOutputFilterSensitiveLog = (obj) => ({
|
|
6
|
+
...obj,
|
|
7
|
+
});
|
|
8
|
+
export const UpdateGameServerInputFilterSensitiveLog = (obj) => ({
|
|
9
|
+
...obj,
|
|
10
|
+
});
|
|
11
|
+
export const UpdateGameServerOutputFilterSensitiveLog = (obj) => ({
|
|
12
|
+
...obj,
|
|
13
|
+
});
|
|
14
|
+
export const UpdateGameServerGroupInputFilterSensitiveLog = (obj) => ({
|
|
15
|
+
...obj,
|
|
16
|
+
});
|
|
17
|
+
export const UpdateGameServerGroupOutputFilterSensitiveLog = (obj) => ({
|
|
18
|
+
...obj,
|
|
19
|
+
});
|
|
20
|
+
export const UpdateGameSessionInputFilterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
});
|
|
23
|
+
export const UpdateGameSessionOutputFilterSensitiveLog = (obj) => ({
|
|
24
|
+
...obj,
|
|
25
|
+
});
|
|
26
|
+
export const UpdateGameSessionQueueInputFilterSensitiveLog = (obj) => ({
|
|
27
|
+
...obj,
|
|
28
|
+
});
|
|
29
|
+
export const UpdateGameSessionQueueOutputFilterSensitiveLog = (obj) => ({
|
|
30
|
+
...obj,
|
|
31
|
+
});
|
|
32
|
+
export const UpdateMatchmakingConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
33
|
+
...obj,
|
|
34
|
+
});
|
|
35
|
+
export const UpdateMatchmakingConfigurationOutputFilterSensitiveLog = (obj) => ({
|
|
36
|
+
...obj,
|
|
37
|
+
});
|
|
38
|
+
export const UpdateRuntimeConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
39
|
+
...obj,
|
|
40
|
+
});
|
|
41
|
+
export const UpdateRuntimeConfigurationOutputFilterSensitiveLog = (obj) => ({
|
|
42
|
+
...obj,
|
|
43
|
+
});
|
|
44
|
+
export const UpdateScriptInputFilterSensitiveLog = (obj) => ({
|
|
45
|
+
...obj,
|
|
46
|
+
});
|
|
47
|
+
export const UpdateScriptOutputFilterSensitiveLog = (obj) => ({
|
|
48
|
+
...obj,
|
|
49
|
+
});
|
|
50
|
+
export const ValidateMatchmakingRuleSetInputFilterSensitiveLog = (obj) => ({
|
|
51
|
+
...obj,
|
|
52
|
+
});
|
|
53
|
+
export const ValidateMatchmakingRuleSetOutputFilterSensitiveLog = (obj) => ({
|
|
54
|
+
...obj,
|
|
55
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListComputeCommand } from "../commands/ListComputeCommand";
|
|
2
|
+
import { GameLift } from "../GameLift";
|
|
3
|
+
import { GameLiftClient } from "../GameLiftClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListComputeCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listCompute(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListCompute(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["Limit"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof GameLift) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof GameLiftClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected GameLift | GameLiftClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListLocationsCommand, } from "../commands/ListLocationsCommand";
|
|
2
|
+
import { GameLift } from "../GameLift";
|
|
3
|
+
import { GameLiftClient } from "../GameLiftClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListLocationsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listLocations(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListLocations(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["Limit"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof GameLift) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof GameLiftClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected GameLift | GameLiftClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -15,8 +15,10 @@ export * from "./DescribePlayerSessionsPaginator";
|
|
|
15
15
|
export * from "./DescribeScalingPoliciesPaginator";
|
|
16
16
|
export * from "./ListAliasesPaginator";
|
|
17
17
|
export * from "./ListBuildsPaginator";
|
|
18
|
+
export * from "./ListComputePaginator";
|
|
18
19
|
export * from "./ListFleetsPaginator";
|
|
19
20
|
export * from "./ListGameServerGroupsPaginator";
|
|
20
21
|
export * from "./ListGameServersPaginator";
|
|
22
|
+
export * from "./ListLocationsPaginator";
|
|
21
23
|
export * from "./ListScriptsPaginator";
|
|
22
24
|
export * from "./SearchGameSessionsPaginator";
|