@aws-sdk/client-gamelift 3.714.0 → 3.721.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 +8 -0
- package/dist-cjs/index.js +56 -1
- package/dist-es/GameLift.js +2 -0
- package/dist-es/commands/TerminateGameSessionCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +24 -0
- package/dist-types/GameLift.d.ts +7 -0
- package/dist-types/GameLiftClient.d.ts +3 -2
- package/dist-types/commands/CreateBuildCommand.d.ts +21 -27
- package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +3 -3
- package/dist-types/commands/CreateGameSessionCommand.d.ts +2 -2
- package/dist-types/commands/CreateScriptCommand.d.ts +12 -9
- package/dist-types/commands/DeleteContainerGroupDefinitionCommand.d.ts +17 -2
- package/dist-types/commands/DescribeComputeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGameSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +5 -3
- package/dist-types/commands/GetInstanceAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +1 -11
- package/dist-types/commands/ListFleetDeploymentsCommand.d.ts +3 -7
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +3 -3
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +2 -2
- package/dist-types/commands/TerminateGameSessionCommand.d.ts +160 -0
- package/dist-types/commands/UpdateContainerFleetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerGroupDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +0 -2
- package/dist-types/commands/UpdateGameSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +147 -115
- package/dist-types/models/models_1.d.ts +88 -6
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/GameLift.d.ts +17 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/TerminateGameSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +16 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -1067,6 +1067,14 @@ TagResource
|
|
|
1067
1067
|
|
|
1068
1068
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/TagResourceCommandOutput/)
|
|
1069
1069
|
|
|
1070
|
+
</details>
|
|
1071
|
+
<details>
|
|
1072
|
+
<summary>
|
|
1073
|
+
TerminateGameSession
|
|
1074
|
+
</summary>
|
|
1075
|
+
|
|
1076
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/TerminateGameSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/TerminateGameSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/TerminateGameSessionCommandOutput/)
|
|
1077
|
+
|
|
1070
1078
|
</details>
|
|
1071
1079
|
<details>
|
|
1072
1080
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -263,6 +263,9 @@ __export(src_exports, {
|
|
|
263
263
|
TagResourceCommand: () => TagResourceCommand,
|
|
264
264
|
TaggingFailedException: () => TaggingFailedException,
|
|
265
265
|
TerminalRoutingStrategyException: () => TerminalRoutingStrategyException,
|
|
266
|
+
TerminateGameSessionCommand: () => TerminateGameSessionCommand,
|
|
267
|
+
TerminateGameSessionOutputFilterSensitiveLog: () => TerminateGameSessionOutputFilterSensitiveLog,
|
|
268
|
+
TerminationMode: () => TerminationMode,
|
|
266
269
|
UnauthorizedException: () => UnauthorizedException,
|
|
267
270
|
UnsupportedRegionException: () => UnsupportedRegionException,
|
|
268
271
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
@@ -1116,7 +1119,9 @@ var GameSessionStatus = {
|
|
|
1116
1119
|
TERMINATING: "TERMINATING"
|
|
1117
1120
|
};
|
|
1118
1121
|
var GameSessionStatusReason = {
|
|
1119
|
-
|
|
1122
|
+
FORCE_TERMINATED: "FORCE_TERMINATED",
|
|
1123
|
+
INTERRUPTED: "INTERRUPTED",
|
|
1124
|
+
TRIGGERED_ON_PROCESS_TERMINATE: "TRIGGERED_ON_PROCESS_TERMINATE"
|
|
1120
1125
|
};
|
|
1121
1126
|
var _FleetCapacityExceededException = class _FleetCapacityExceededException extends GameLiftServiceException {
|
|
1122
1127
|
/**
|
|
@@ -2242,6 +2247,12 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2242
2247
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2243
2248
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2244
2249
|
}, "se_TagResourceCommand");
|
|
2250
|
+
var se_TerminateGameSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2251
|
+
const headers = sharedHeaders("TerminateGameSession");
|
|
2252
|
+
let body;
|
|
2253
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2254
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2255
|
+
}, "se_TerminateGameSessionCommand");
|
|
2245
2256
|
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2246
2257
|
const headers = sharedHeaders("UntagResource");
|
|
2247
2258
|
let body;
|
|
@@ -3633,6 +3644,19 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3633
3644
|
};
|
|
3634
3645
|
return response;
|
|
3635
3646
|
}, "de_TagResourceCommand");
|
|
3647
|
+
var de_TerminateGameSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3648
|
+
if (output.statusCode >= 300) {
|
|
3649
|
+
return de_CommandError(output, context);
|
|
3650
|
+
}
|
|
3651
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3652
|
+
let contents = {};
|
|
3653
|
+
contents = de_TerminateGameSessionOutput(data, context);
|
|
3654
|
+
const response = {
|
|
3655
|
+
$metadata: deserializeMetadata(output),
|
|
3656
|
+
...contents
|
|
3657
|
+
};
|
|
3658
|
+
return response;
|
|
3659
|
+
}, "de_TerminateGameSessionCommand");
|
|
3636
3660
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3637
3661
|
if (output.statusCode >= 300) {
|
|
3638
3662
|
return de_CommandError(output, context);
|
|
@@ -5071,6 +5095,11 @@ var de_TargetConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
5071
5095
|
TargetValue: import_smithy_client.limitedParseDouble
|
|
5072
5096
|
});
|
|
5073
5097
|
}, "de_TargetConfiguration");
|
|
5098
|
+
var de_TerminateGameSessionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
5099
|
+
return (0, import_smithy_client.take)(output, {
|
|
5100
|
+
GameSession: (_) => de_GameSession(_, context)
|
|
5101
|
+
});
|
|
5102
|
+
}, "de_TerminateGameSessionOutput");
|
|
5074
5103
|
var de_UpdateAliasOutput = /* @__PURE__ */ __name((output, context) => {
|
|
5075
5104
|
return (0, import_smithy_client.take)(output, {
|
|
5076
5105
|
Alias: (_) => de_Alias(_, context)
|
|
@@ -6240,6 +6269,10 @@ var LocationFilter = {
|
|
|
6240
6269
|
AWS: "AWS",
|
|
6241
6270
|
CUSTOM: "CUSTOM"
|
|
6242
6271
|
};
|
|
6272
|
+
var TerminationMode = {
|
|
6273
|
+
FORCE_TERMINATE: "FORCE_TERMINATE",
|
|
6274
|
+
TRIGGER_ON_PROCESS_TERMINATE: "TRIGGER_ON_PROCESS_TERMINATE"
|
|
6275
|
+
};
|
|
6243
6276
|
var GameServerHealthCheck = {
|
|
6244
6277
|
HEALTHY: "HEALTHY"
|
|
6245
6278
|
};
|
|
@@ -6302,6 +6335,10 @@ var StopGameSessionPlacementOutputFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
6302
6335
|
GameSessionPlacement: GameSessionPlacementFilterSensitiveLog(obj.GameSessionPlacement)
|
|
6303
6336
|
}
|
|
6304
6337
|
}), "StopGameSessionPlacementOutputFilterSensitiveLog");
|
|
6338
|
+
var TerminateGameSessionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
6339
|
+
...obj,
|
|
6340
|
+
...obj.GameSession && { GameSession: GameSessionFilterSensitiveLog(obj.GameSession) }
|
|
6341
|
+
}), "TerminateGameSessionOutputFilterSensitiveLog");
|
|
6305
6342
|
var UpdateContainerFleetInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
6306
6343
|
...obj,
|
|
6307
6344
|
...obj.InstanceConnectionPortRange && {
|
|
@@ -6691,6 +6728,20 @@ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client
|
|
|
6691
6728
|
__name(_TagResourceCommand, "TagResourceCommand");
|
|
6692
6729
|
var TagResourceCommand = _TagResourceCommand;
|
|
6693
6730
|
|
|
6731
|
+
// src/commands/TerminateGameSessionCommand.ts
|
|
6732
|
+
|
|
6733
|
+
|
|
6734
|
+
|
|
6735
|
+
var _TerminateGameSessionCommand = class _TerminateGameSessionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6736
|
+
return [
|
|
6737
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6738
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6739
|
+
];
|
|
6740
|
+
}).s("GameLift", "TerminateGameSession", {}).n("GameLiftClient", "TerminateGameSessionCommand").f(void 0, TerminateGameSessionOutputFilterSensitiveLog).ser(se_TerminateGameSessionCommand).de(de_TerminateGameSessionCommand).build() {
|
|
6741
|
+
};
|
|
6742
|
+
__name(_TerminateGameSessionCommand, "TerminateGameSessionCommand");
|
|
6743
|
+
var TerminateGameSessionCommand = _TerminateGameSessionCommand;
|
|
6744
|
+
|
|
6694
6745
|
// src/commands/UntagResourceCommand.ts
|
|
6695
6746
|
|
|
6696
6747
|
|
|
@@ -7018,6 +7069,7 @@ var commands = {
|
|
|
7018
7069
|
StopMatchmakingCommand,
|
|
7019
7070
|
SuspendGameServerGroupCommand,
|
|
7020
7071
|
TagResourceCommand,
|
|
7072
|
+
TerminateGameSessionCommand,
|
|
7021
7073
|
UntagResourceCommand,
|
|
7022
7074
|
UpdateAliasCommand,
|
|
7023
7075
|
UpdateBuildCommand,
|
|
@@ -7257,6 +7309,7 @@ var paginateSearchGameSessions = (0, import_core.createPaginator)(GameLiftClient
|
|
|
7257
7309
|
StopMatchmakingCommand,
|
|
7258
7310
|
SuspendGameServerGroupCommand,
|
|
7259
7311
|
TagResourceCommand,
|
|
7312
|
+
TerminateGameSessionCommand,
|
|
7260
7313
|
UntagResourceCommand,
|
|
7261
7314
|
UpdateAliasCommand,
|
|
7262
7315
|
UpdateBuildCommand,
|
|
@@ -7426,6 +7479,7 @@ var paginateSearchGameSessions = (0, import_core.createPaginator)(GameLiftClient
|
|
|
7426
7479
|
ListContainerFleetsOutputFilterSensitiveLog,
|
|
7427
7480
|
SortOrder,
|
|
7428
7481
|
LocationFilter,
|
|
7482
|
+
TerminationMode,
|
|
7429
7483
|
GameServerHealthCheck,
|
|
7430
7484
|
ListContainerGroupDefinitionsOutputFilterSensitiveLog,
|
|
7431
7485
|
ListContainerGroupDefinitionVersionsOutputFilterSensitiveLog,
|
|
@@ -7440,6 +7494,7 @@ var paginateSearchGameSessions = (0, import_core.createPaginator)(GameLiftClient
|
|
|
7440
7494
|
StartMatchmakingInputFilterSensitiveLog,
|
|
7441
7495
|
StartMatchmakingOutputFilterSensitiveLog,
|
|
7442
7496
|
StopGameSessionPlacementOutputFilterSensitiveLog,
|
|
7497
|
+
TerminateGameSessionOutputFilterSensitiveLog,
|
|
7443
7498
|
UpdateContainerFleetInputFilterSensitiveLog,
|
|
7444
7499
|
UpdateContainerFleetOutputFilterSensitiveLog,
|
|
7445
7500
|
UpdateContainerGroupDefinitionInputFilterSensitiveLog,
|
package/dist-es/GameLift.js
CHANGED
|
@@ -100,6 +100,7 @@ import { StopGameSessionPlacementCommand, } from "./commands/StopGameSessionPlac
|
|
|
100
100
|
import { StopMatchmakingCommand, } from "./commands/StopMatchmakingCommand";
|
|
101
101
|
import { SuspendGameServerGroupCommand, } from "./commands/SuspendGameServerGroupCommand";
|
|
102
102
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
103
|
+
import { TerminateGameSessionCommand, } from "./commands/TerminateGameSessionCommand";
|
|
103
104
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
104
105
|
import { UpdateAliasCommand } from "./commands/UpdateAliasCommand";
|
|
105
106
|
import { UpdateBuildCommand } from "./commands/UpdateBuildCommand";
|
|
@@ -219,6 +220,7 @@ const commands = {
|
|
|
219
220
|
StopMatchmakingCommand,
|
|
220
221
|
SuspendGameServerGroupCommand,
|
|
221
222
|
TagResourceCommand,
|
|
223
|
+
TerminateGameSessionCommand,
|
|
222
224
|
UntagResourceCommand,
|
|
223
225
|
UpdateAliasCommand,
|
|
224
226
|
UpdateBuildCommand,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { TerminateGameSessionOutputFilterSensitiveLog, } from "../models/models_1";
|
|
6
|
+
import { de_TerminateGameSessionCommand, se_TerminateGameSessionCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class TerminateGameSessionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("GameLift", "TerminateGameSession", {})
|
|
18
|
+
.n("GameLiftClient", "TerminateGameSessionCommand")
|
|
19
|
+
.f(void 0, TerminateGameSessionOutputFilterSensitiveLog)
|
|
20
|
+
.ser(se_TerminateGameSessionCommand)
|
|
21
|
+
.de(de_TerminateGameSessionCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -99,6 +99,7 @@ export * from "./StopGameSessionPlacementCommand";
|
|
|
99
99
|
export * from "./StopMatchmakingCommand";
|
|
100
100
|
export * from "./SuspendGameServerGroupCommand";
|
|
101
101
|
export * from "./TagResourceCommand";
|
|
102
|
+
export * from "./TerminateGameSessionCommand";
|
|
102
103
|
export * from "./UntagResourceCommand";
|
|
103
104
|
export * from "./UpdateAliasCommand";
|
|
104
105
|
export * from "./UpdateBuildCommand";
|
|
@@ -580,7 +580,9 @@ export const GameSessionStatus = {
|
|
|
580
580
|
TERMINATING: "TERMINATING",
|
|
581
581
|
};
|
|
582
582
|
export const GameSessionStatusReason = {
|
|
583
|
+
FORCE_TERMINATED: "FORCE_TERMINATED",
|
|
583
584
|
INTERRUPTED: "INTERRUPTED",
|
|
585
|
+
TRIGGERED_ON_PROCESS_TERMINATE: "TRIGGERED_ON_PROCESS_TERMINATE",
|
|
584
586
|
};
|
|
585
587
|
export class FleetCapacityExceededException extends __BaseException {
|
|
586
588
|
constructor(opts) {
|
|
@@ -8,6 +8,10 @@ export const LocationFilter = {
|
|
|
8
8
|
AWS: "AWS",
|
|
9
9
|
CUSTOM: "CUSTOM",
|
|
10
10
|
};
|
|
11
|
+
export const TerminationMode = {
|
|
12
|
+
FORCE_TERMINATE: "FORCE_TERMINATE",
|
|
13
|
+
TRIGGER_ON_PROCESS_TERMINATE: "TRIGGER_ON_PROCESS_TERMINATE",
|
|
14
|
+
};
|
|
11
15
|
export const GameServerHealthCheck = {
|
|
12
16
|
HEALTHY: "HEALTHY",
|
|
13
17
|
};
|
|
@@ -70,6 +74,10 @@ export const StopGameSessionPlacementOutputFilterSensitiveLog = (obj) => ({
|
|
|
70
74
|
GameSessionPlacement: GameSessionPlacementFilterSensitiveLog(obj.GameSessionPlacement),
|
|
71
75
|
}),
|
|
72
76
|
});
|
|
77
|
+
export const TerminateGameSessionOutputFilterSensitiveLog = (obj) => ({
|
|
78
|
+
...obj,
|
|
79
|
+
...(obj.GameSession && { GameSession: GameSessionFilterSensitiveLog(obj.GameSession) }),
|
|
80
|
+
});
|
|
73
81
|
export const UpdateContainerFleetInputFilterSensitiveLog = (obj) => ({
|
|
74
82
|
...obj,
|
|
75
83
|
...(obj.InstanceConnectionPortRange && {
|
|
@@ -609,6 +609,12 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
609
609
|
body = JSON.stringify(_json(input));
|
|
610
610
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
611
611
|
};
|
|
612
|
+
export const se_TerminateGameSessionCommand = async (input, context) => {
|
|
613
|
+
const headers = sharedHeaders("TerminateGameSession");
|
|
614
|
+
let body;
|
|
615
|
+
body = JSON.stringify(_json(input));
|
|
616
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
617
|
+
};
|
|
612
618
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
613
619
|
const headers = sharedHeaders("UntagResource");
|
|
614
620
|
let body;
|
|
@@ -2000,6 +2006,19 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2000
2006
|
};
|
|
2001
2007
|
return response;
|
|
2002
2008
|
};
|
|
2009
|
+
export const de_TerminateGameSessionCommand = async (output, context) => {
|
|
2010
|
+
if (output.statusCode >= 300) {
|
|
2011
|
+
return de_CommandError(output, context);
|
|
2012
|
+
}
|
|
2013
|
+
const data = await parseBody(output.body, context);
|
|
2014
|
+
let contents = {};
|
|
2015
|
+
contents = de_TerminateGameSessionOutput(data, context);
|
|
2016
|
+
const response = {
|
|
2017
|
+
$metadata: deserializeMetadata(output),
|
|
2018
|
+
...contents,
|
|
2019
|
+
};
|
|
2020
|
+
return response;
|
|
2021
|
+
};
|
|
2003
2022
|
export const de_UntagResourceCommand = async (output, context) => {
|
|
2004
2023
|
if (output.statusCode >= 300) {
|
|
2005
2024
|
return de_CommandError(output, context);
|
|
@@ -3488,6 +3507,11 @@ const de_TargetConfiguration = (output, context) => {
|
|
|
3488
3507
|
TargetValue: __limitedParseDouble,
|
|
3489
3508
|
});
|
|
3490
3509
|
};
|
|
3510
|
+
const de_TerminateGameSessionOutput = (output, context) => {
|
|
3511
|
+
return take(output, {
|
|
3512
|
+
GameSession: (_) => de_GameSession(_, context),
|
|
3513
|
+
});
|
|
3514
|
+
};
|
|
3491
3515
|
const de_UpdateAliasOutput = (output, context) => {
|
|
3492
3516
|
return take(output, {
|
|
3493
3517
|
Alias: (_) => de_Alias(_, context),
|
package/dist-types/GameLift.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ import { StopGameSessionPlacementCommandInput, StopGameSessionPlacementCommandOu
|
|
|
100
100
|
import { StopMatchmakingCommandInput, StopMatchmakingCommandOutput } from "./commands/StopMatchmakingCommand";
|
|
101
101
|
import { SuspendGameServerGroupCommandInput, SuspendGameServerGroupCommandOutput } from "./commands/SuspendGameServerGroupCommand";
|
|
102
102
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
103
|
+
import { TerminateGameSessionCommandInput, TerminateGameSessionCommandOutput } from "./commands/TerminateGameSessionCommand";
|
|
103
104
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
104
105
|
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
|
|
105
106
|
import { UpdateBuildCommandInput, UpdateBuildCommandOutput } from "./commands/UpdateBuildCommand";
|
|
@@ -748,6 +749,12 @@ export interface GameLift {
|
|
|
748
749
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
749
750
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
750
751
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
752
|
+
/**
|
|
753
|
+
* @see {@link TerminateGameSessionCommand}
|
|
754
|
+
*/
|
|
755
|
+
terminateGameSession(args: TerminateGameSessionCommandInput, options?: __HttpHandlerOptions): Promise<TerminateGameSessionCommandOutput>;
|
|
756
|
+
terminateGameSession(args: TerminateGameSessionCommandInput, cb: (err: any, data?: TerminateGameSessionCommandOutput) => void): void;
|
|
757
|
+
terminateGameSession(args: TerminateGameSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateGameSessionCommandOutput) => void): void;
|
|
751
758
|
/**
|
|
752
759
|
* @see {@link UntagResourceCommand}
|
|
753
760
|
*/
|
|
@@ -108,6 +108,7 @@ import { StopGameSessionPlacementCommandInput, StopGameSessionPlacementCommandOu
|
|
|
108
108
|
import { StopMatchmakingCommandInput, StopMatchmakingCommandOutput } from "./commands/StopMatchmakingCommand";
|
|
109
109
|
import { SuspendGameServerGroupCommandInput, SuspendGameServerGroupCommandOutput } from "./commands/SuspendGameServerGroupCommand";
|
|
110
110
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
111
|
+
import { TerminateGameSessionCommandInput, TerminateGameSessionCommandOutput } from "./commands/TerminateGameSessionCommand";
|
|
111
112
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
112
113
|
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
|
|
113
114
|
import { UpdateBuildCommandInput, UpdateBuildCommandOutput } from "./commands/UpdateBuildCommand";
|
|
@@ -130,11 +131,11 @@ export { __Client };
|
|
|
130
131
|
/**
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
|
-
export type ServiceInputTypes = AcceptMatchCommandInput | ClaimGameServerCommandInput | CreateAliasCommandInput | CreateBuildCommandInput | CreateContainerFleetCommandInput | CreateContainerGroupDefinitionCommandInput | CreateFleetCommandInput | CreateFleetLocationsCommandInput | CreateGameServerGroupCommandInput | CreateGameSessionCommandInput | CreateGameSessionQueueCommandInput | CreateLocationCommandInput | CreateMatchmakingConfigurationCommandInput | CreateMatchmakingRuleSetCommandInput | CreatePlayerSessionCommandInput | CreatePlayerSessionsCommandInput | CreateScriptCommandInput | CreateVpcPeeringAuthorizationCommandInput | CreateVpcPeeringConnectionCommandInput | DeleteAliasCommandInput | DeleteBuildCommandInput | DeleteContainerFleetCommandInput | DeleteContainerGroupDefinitionCommandInput | DeleteFleetCommandInput | DeleteFleetLocationsCommandInput | DeleteGameServerGroupCommandInput | DeleteGameSessionQueueCommandInput | DeleteLocationCommandInput | DeleteMatchmakingConfigurationCommandInput | DeleteMatchmakingRuleSetCommandInput | DeleteScalingPolicyCommandInput | DeleteScriptCommandInput | DeleteVpcPeeringAuthorizationCommandInput | DeleteVpcPeeringConnectionCommandInput | DeregisterComputeCommandInput | DeregisterGameServerCommandInput | DescribeAliasCommandInput | DescribeBuildCommandInput | DescribeComputeCommandInput | DescribeContainerFleetCommandInput | DescribeContainerGroupDefinitionCommandInput | DescribeEC2InstanceLimitsCommandInput | DescribeFleetAttributesCommandInput | DescribeFleetCapacityCommandInput | DescribeFleetDeploymentCommandInput | DescribeFleetEventsCommandInput | DescribeFleetLocationAttributesCommandInput | DescribeFleetLocationCapacityCommandInput | DescribeFleetLocationUtilizationCommandInput | DescribeFleetPortSettingsCommandInput | DescribeFleetUtilizationCommandInput | DescribeGameServerCommandInput | DescribeGameServerGroupCommandInput | DescribeGameServerInstancesCommandInput | DescribeGameSessionDetailsCommandInput | DescribeGameSessionPlacementCommandInput | DescribeGameSessionQueuesCommandInput | DescribeGameSessionsCommandInput | DescribeInstancesCommandInput | DescribeMatchmakingCommandInput | DescribeMatchmakingConfigurationsCommandInput | DescribeMatchmakingRuleSetsCommandInput | DescribePlayerSessionsCommandInput | DescribeRuntimeConfigurationCommandInput | DescribeScalingPoliciesCommandInput | DescribeScriptCommandInput | DescribeVpcPeeringAuthorizationsCommandInput | DescribeVpcPeeringConnectionsCommandInput | GetComputeAccessCommandInput | GetComputeAuthTokenCommandInput | GetGameSessionLogUrlCommandInput | GetInstanceAccessCommandInput | ListAliasesCommandInput | ListBuildsCommandInput | ListComputeCommandInput | ListContainerFleetsCommandInput | ListContainerGroupDefinitionVersionsCommandInput | ListContainerGroupDefinitionsCommandInput | ListFleetDeploymentsCommandInput | ListFleetsCommandInput | ListGameServerGroupsCommandInput | ListGameServersCommandInput | ListLocationsCommandInput | ListScriptsCommandInput | ListTagsForResourceCommandInput | PutScalingPolicyCommandInput | RegisterComputeCommandInput | RegisterGameServerCommandInput | RequestUploadCredentialsCommandInput | ResolveAliasCommandInput | ResumeGameServerGroupCommandInput | SearchGameSessionsCommandInput | StartFleetActionsCommandInput | StartGameSessionPlacementCommandInput | StartMatchBackfillCommandInput | StartMatchmakingCommandInput | StopFleetActionsCommandInput | StopGameSessionPlacementCommandInput | StopMatchmakingCommandInput | SuspendGameServerGroupCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateBuildCommandInput | UpdateContainerFleetCommandInput | UpdateContainerGroupDefinitionCommandInput | UpdateFleetAttributesCommandInput | UpdateFleetCapacityCommandInput | UpdateFleetPortSettingsCommandInput | UpdateGameServerCommandInput | UpdateGameServerGroupCommandInput | UpdateGameSessionCommandInput | UpdateGameSessionQueueCommandInput | UpdateMatchmakingConfigurationCommandInput | UpdateRuntimeConfigurationCommandInput | UpdateScriptCommandInput | ValidateMatchmakingRuleSetCommandInput;
|
|
134
|
+
export type ServiceInputTypes = AcceptMatchCommandInput | ClaimGameServerCommandInput | CreateAliasCommandInput | CreateBuildCommandInput | CreateContainerFleetCommandInput | CreateContainerGroupDefinitionCommandInput | CreateFleetCommandInput | CreateFleetLocationsCommandInput | CreateGameServerGroupCommandInput | CreateGameSessionCommandInput | CreateGameSessionQueueCommandInput | CreateLocationCommandInput | CreateMatchmakingConfigurationCommandInput | CreateMatchmakingRuleSetCommandInput | CreatePlayerSessionCommandInput | CreatePlayerSessionsCommandInput | CreateScriptCommandInput | CreateVpcPeeringAuthorizationCommandInput | CreateVpcPeeringConnectionCommandInput | DeleteAliasCommandInput | DeleteBuildCommandInput | DeleteContainerFleetCommandInput | DeleteContainerGroupDefinitionCommandInput | DeleteFleetCommandInput | DeleteFleetLocationsCommandInput | DeleteGameServerGroupCommandInput | DeleteGameSessionQueueCommandInput | DeleteLocationCommandInput | DeleteMatchmakingConfigurationCommandInput | DeleteMatchmakingRuleSetCommandInput | DeleteScalingPolicyCommandInput | DeleteScriptCommandInput | DeleteVpcPeeringAuthorizationCommandInput | DeleteVpcPeeringConnectionCommandInput | DeregisterComputeCommandInput | DeregisterGameServerCommandInput | DescribeAliasCommandInput | DescribeBuildCommandInput | DescribeComputeCommandInput | DescribeContainerFleetCommandInput | DescribeContainerGroupDefinitionCommandInput | DescribeEC2InstanceLimitsCommandInput | DescribeFleetAttributesCommandInput | DescribeFleetCapacityCommandInput | DescribeFleetDeploymentCommandInput | DescribeFleetEventsCommandInput | DescribeFleetLocationAttributesCommandInput | DescribeFleetLocationCapacityCommandInput | DescribeFleetLocationUtilizationCommandInput | DescribeFleetPortSettingsCommandInput | DescribeFleetUtilizationCommandInput | DescribeGameServerCommandInput | DescribeGameServerGroupCommandInput | DescribeGameServerInstancesCommandInput | DescribeGameSessionDetailsCommandInput | DescribeGameSessionPlacementCommandInput | DescribeGameSessionQueuesCommandInput | DescribeGameSessionsCommandInput | DescribeInstancesCommandInput | DescribeMatchmakingCommandInput | DescribeMatchmakingConfigurationsCommandInput | DescribeMatchmakingRuleSetsCommandInput | DescribePlayerSessionsCommandInput | DescribeRuntimeConfigurationCommandInput | DescribeScalingPoliciesCommandInput | DescribeScriptCommandInput | DescribeVpcPeeringAuthorizationsCommandInput | DescribeVpcPeeringConnectionsCommandInput | GetComputeAccessCommandInput | GetComputeAuthTokenCommandInput | GetGameSessionLogUrlCommandInput | GetInstanceAccessCommandInput | ListAliasesCommandInput | ListBuildsCommandInput | ListComputeCommandInput | ListContainerFleetsCommandInput | ListContainerGroupDefinitionVersionsCommandInput | ListContainerGroupDefinitionsCommandInput | ListFleetDeploymentsCommandInput | ListFleetsCommandInput | ListGameServerGroupsCommandInput | ListGameServersCommandInput | ListLocationsCommandInput | ListScriptsCommandInput | ListTagsForResourceCommandInput | PutScalingPolicyCommandInput | RegisterComputeCommandInput | RegisterGameServerCommandInput | RequestUploadCredentialsCommandInput | ResolveAliasCommandInput | ResumeGameServerGroupCommandInput | SearchGameSessionsCommandInput | StartFleetActionsCommandInput | StartGameSessionPlacementCommandInput | StartMatchBackfillCommandInput | StartMatchmakingCommandInput | StopFleetActionsCommandInput | StopGameSessionPlacementCommandInput | StopMatchmakingCommandInput | SuspendGameServerGroupCommandInput | TagResourceCommandInput | TerminateGameSessionCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateBuildCommandInput | UpdateContainerFleetCommandInput | UpdateContainerGroupDefinitionCommandInput | UpdateFleetAttributesCommandInput | UpdateFleetCapacityCommandInput | UpdateFleetPortSettingsCommandInput | UpdateGameServerCommandInput | UpdateGameServerGroupCommandInput | UpdateGameSessionCommandInput | UpdateGameSessionQueueCommandInput | UpdateMatchmakingConfigurationCommandInput | UpdateRuntimeConfigurationCommandInput | UpdateScriptCommandInput | ValidateMatchmakingRuleSetCommandInput;
|
|
134
135
|
/**
|
|
135
136
|
* @public
|
|
136
137
|
*/
|
|
137
|
-
export type ServiceOutputTypes = AcceptMatchCommandOutput | ClaimGameServerCommandOutput | CreateAliasCommandOutput | CreateBuildCommandOutput | CreateContainerFleetCommandOutput | CreateContainerGroupDefinitionCommandOutput | CreateFleetCommandOutput | CreateFleetLocationsCommandOutput | CreateGameServerGroupCommandOutput | CreateGameSessionCommandOutput | CreateGameSessionQueueCommandOutput | CreateLocationCommandOutput | CreateMatchmakingConfigurationCommandOutput | CreateMatchmakingRuleSetCommandOutput | CreatePlayerSessionCommandOutput | CreatePlayerSessionsCommandOutput | CreateScriptCommandOutput | CreateVpcPeeringAuthorizationCommandOutput | CreateVpcPeeringConnectionCommandOutput | DeleteAliasCommandOutput | DeleteBuildCommandOutput | DeleteContainerFleetCommandOutput | DeleteContainerGroupDefinitionCommandOutput | DeleteFleetCommandOutput | DeleteFleetLocationsCommandOutput | DeleteGameServerGroupCommandOutput | DeleteGameSessionQueueCommandOutput | DeleteLocationCommandOutput | DeleteMatchmakingConfigurationCommandOutput | DeleteMatchmakingRuleSetCommandOutput | DeleteScalingPolicyCommandOutput | DeleteScriptCommandOutput | DeleteVpcPeeringAuthorizationCommandOutput | DeleteVpcPeeringConnectionCommandOutput | DeregisterComputeCommandOutput | DeregisterGameServerCommandOutput | DescribeAliasCommandOutput | DescribeBuildCommandOutput | DescribeComputeCommandOutput | DescribeContainerFleetCommandOutput | DescribeContainerGroupDefinitionCommandOutput | DescribeEC2InstanceLimitsCommandOutput | DescribeFleetAttributesCommandOutput | DescribeFleetCapacityCommandOutput | DescribeFleetDeploymentCommandOutput | DescribeFleetEventsCommandOutput | DescribeFleetLocationAttributesCommandOutput | DescribeFleetLocationCapacityCommandOutput | DescribeFleetLocationUtilizationCommandOutput | DescribeFleetPortSettingsCommandOutput | DescribeFleetUtilizationCommandOutput | DescribeGameServerCommandOutput | DescribeGameServerGroupCommandOutput | DescribeGameServerInstancesCommandOutput | DescribeGameSessionDetailsCommandOutput | DescribeGameSessionPlacementCommandOutput | DescribeGameSessionQueuesCommandOutput | DescribeGameSessionsCommandOutput | DescribeInstancesCommandOutput | DescribeMatchmakingCommandOutput | DescribeMatchmakingConfigurationsCommandOutput | DescribeMatchmakingRuleSetsCommandOutput | DescribePlayerSessionsCommandOutput | DescribeRuntimeConfigurationCommandOutput | DescribeScalingPoliciesCommandOutput | DescribeScriptCommandOutput | DescribeVpcPeeringAuthorizationsCommandOutput | DescribeVpcPeeringConnectionsCommandOutput | GetComputeAccessCommandOutput | GetComputeAuthTokenCommandOutput | GetGameSessionLogUrlCommandOutput | GetInstanceAccessCommandOutput | ListAliasesCommandOutput | ListBuildsCommandOutput | ListComputeCommandOutput | ListContainerFleetsCommandOutput | ListContainerGroupDefinitionVersionsCommandOutput | ListContainerGroupDefinitionsCommandOutput | ListFleetDeploymentsCommandOutput | ListFleetsCommandOutput | ListGameServerGroupsCommandOutput | ListGameServersCommandOutput | ListLocationsCommandOutput | ListScriptsCommandOutput | ListTagsForResourceCommandOutput | PutScalingPolicyCommandOutput | RegisterComputeCommandOutput | RegisterGameServerCommandOutput | RequestUploadCredentialsCommandOutput | ResolveAliasCommandOutput | ResumeGameServerGroupCommandOutput | SearchGameSessionsCommandOutput | StartFleetActionsCommandOutput | StartGameSessionPlacementCommandOutput | StartMatchBackfillCommandOutput | StartMatchmakingCommandOutput | StopFleetActionsCommandOutput | StopGameSessionPlacementCommandOutput | StopMatchmakingCommandOutput | SuspendGameServerGroupCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateBuildCommandOutput | UpdateContainerFleetCommandOutput | UpdateContainerGroupDefinitionCommandOutput | UpdateFleetAttributesCommandOutput | UpdateFleetCapacityCommandOutput | UpdateFleetPortSettingsCommandOutput | UpdateGameServerCommandOutput | UpdateGameServerGroupCommandOutput | UpdateGameSessionCommandOutput | UpdateGameSessionQueueCommandOutput | UpdateMatchmakingConfigurationCommandOutput | UpdateRuntimeConfigurationCommandOutput | UpdateScriptCommandOutput | ValidateMatchmakingRuleSetCommandOutput;
|
|
138
|
+
export type ServiceOutputTypes = AcceptMatchCommandOutput | ClaimGameServerCommandOutput | CreateAliasCommandOutput | CreateBuildCommandOutput | CreateContainerFleetCommandOutput | CreateContainerGroupDefinitionCommandOutput | CreateFleetCommandOutput | CreateFleetLocationsCommandOutput | CreateGameServerGroupCommandOutput | CreateGameSessionCommandOutput | CreateGameSessionQueueCommandOutput | CreateLocationCommandOutput | CreateMatchmakingConfigurationCommandOutput | CreateMatchmakingRuleSetCommandOutput | CreatePlayerSessionCommandOutput | CreatePlayerSessionsCommandOutput | CreateScriptCommandOutput | CreateVpcPeeringAuthorizationCommandOutput | CreateVpcPeeringConnectionCommandOutput | DeleteAliasCommandOutput | DeleteBuildCommandOutput | DeleteContainerFleetCommandOutput | DeleteContainerGroupDefinitionCommandOutput | DeleteFleetCommandOutput | DeleteFleetLocationsCommandOutput | DeleteGameServerGroupCommandOutput | DeleteGameSessionQueueCommandOutput | DeleteLocationCommandOutput | DeleteMatchmakingConfigurationCommandOutput | DeleteMatchmakingRuleSetCommandOutput | DeleteScalingPolicyCommandOutput | DeleteScriptCommandOutput | DeleteVpcPeeringAuthorizationCommandOutput | DeleteVpcPeeringConnectionCommandOutput | DeregisterComputeCommandOutput | DeregisterGameServerCommandOutput | DescribeAliasCommandOutput | DescribeBuildCommandOutput | DescribeComputeCommandOutput | DescribeContainerFleetCommandOutput | DescribeContainerGroupDefinitionCommandOutput | DescribeEC2InstanceLimitsCommandOutput | DescribeFleetAttributesCommandOutput | DescribeFleetCapacityCommandOutput | DescribeFleetDeploymentCommandOutput | DescribeFleetEventsCommandOutput | DescribeFleetLocationAttributesCommandOutput | DescribeFleetLocationCapacityCommandOutput | DescribeFleetLocationUtilizationCommandOutput | DescribeFleetPortSettingsCommandOutput | DescribeFleetUtilizationCommandOutput | DescribeGameServerCommandOutput | DescribeGameServerGroupCommandOutput | DescribeGameServerInstancesCommandOutput | DescribeGameSessionDetailsCommandOutput | DescribeGameSessionPlacementCommandOutput | DescribeGameSessionQueuesCommandOutput | DescribeGameSessionsCommandOutput | DescribeInstancesCommandOutput | DescribeMatchmakingCommandOutput | DescribeMatchmakingConfigurationsCommandOutput | DescribeMatchmakingRuleSetsCommandOutput | DescribePlayerSessionsCommandOutput | DescribeRuntimeConfigurationCommandOutput | DescribeScalingPoliciesCommandOutput | DescribeScriptCommandOutput | DescribeVpcPeeringAuthorizationsCommandOutput | DescribeVpcPeeringConnectionsCommandOutput | GetComputeAccessCommandOutput | GetComputeAuthTokenCommandOutput | GetGameSessionLogUrlCommandOutput | GetInstanceAccessCommandOutput | ListAliasesCommandOutput | ListBuildsCommandOutput | ListComputeCommandOutput | ListContainerFleetsCommandOutput | ListContainerGroupDefinitionVersionsCommandOutput | ListContainerGroupDefinitionsCommandOutput | ListFleetDeploymentsCommandOutput | ListFleetsCommandOutput | ListGameServerGroupsCommandOutput | ListGameServersCommandOutput | ListLocationsCommandOutput | ListScriptsCommandOutput | ListTagsForResourceCommandOutput | PutScalingPolicyCommandOutput | RegisterComputeCommandOutput | RegisterGameServerCommandOutput | RequestUploadCredentialsCommandOutput | ResolveAliasCommandOutput | ResumeGameServerGroupCommandOutput | SearchGameSessionsCommandOutput | StartFleetActionsCommandOutput | StartGameSessionPlacementCommandOutput | StartMatchBackfillCommandOutput | StartMatchmakingCommandOutput | StopFleetActionsCommandOutput | StopGameSessionPlacementCommandOutput | StopMatchmakingCommandOutput | SuspendGameServerGroupCommandOutput | TagResourceCommandOutput | TerminateGameSessionCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateBuildCommandOutput | UpdateContainerFleetCommandOutput | UpdateContainerGroupDefinitionCommandOutput | UpdateFleetAttributesCommandOutput | UpdateFleetCapacityCommandOutput | UpdateFleetPortSettingsCommandOutput | UpdateGameServerCommandOutput | UpdateGameServerGroupCommandOutput | UpdateGameSessionCommandOutput | UpdateGameSessionQueueCommandOutput | UpdateMatchmakingConfigurationCommandOutput | UpdateRuntimeConfigurationCommandOutput | UpdateScriptCommandOutput | ValidateMatchmakingRuleSetCommandOutput;
|
|
138
139
|
/**
|
|
139
140
|
* @public
|
|
140
141
|
*/
|
|
@@ -27,42 +27,36 @@ declare const CreateBuildCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates
|
|
31
|
-
*
|
|
32
|
-
* a single .zip file </p>
|
|
30
|
+
* <p>Creates a new Amazon GameLift build resource for your game server binary files. Combine game
|
|
31
|
+
* server binaries into a zip file for use with Amazon GameLift. </p>
|
|
33
32
|
* <important>
|
|
34
|
-
* <p>
|
|
33
|
+
* <p>When setting up a new game build for Amazon GameLift, we recommend using the CLI command <b>
|
|
35
34
|
* <a href="https://docs.aws.amazon.com/cli/latest/reference/gamelift/upload-build.html">upload-build</a>
|
|
36
|
-
* </b
|
|
37
|
-
*
|
|
38
|
-
*
|
|
35
|
+
* </b>. This helper command combines two tasks: (1) it
|
|
36
|
+
* uploads your build files from a file directory to an Amazon GameLift Amazon S3 location, and (2)
|
|
37
|
+
* it creates a new build resource.</p>
|
|
39
38
|
* </important>
|
|
40
|
-
* <p>
|
|
41
|
-
* scenarios:</p>
|
|
39
|
+
* <p>You can use the <code>CreateBuild</code> operation in the following scenarios:</p>
|
|
42
40
|
* <ul>
|
|
43
41
|
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* operating system, and the Amazon S3 storage location where the build file is
|
|
49
|
-
* stored.</p>
|
|
42
|
+
* <p>Create a new game build with build files that are in an Amazon S3 location under an
|
|
43
|
+
* Amazon Web Services account that you control. To use this option, you give Amazon GameLift access to
|
|
44
|
+
* the Amazon S3 bucket. With permissions in place, specify a build name, operating
|
|
45
|
+
* system, and the Amazon S3 storage location of your game build.</p>
|
|
50
46
|
* </li>
|
|
51
47
|
* <li>
|
|
52
|
-
* <p>
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* the <i>Amazon S3 Developer Guide</i>). You can't update build files
|
|
60
|
-
* after uploading them to Amazon GameLift Amazon S3.</p>
|
|
48
|
+
* <p>Upload your build files to a Amazon GameLift Amazon S3 location. To use this option,
|
|
49
|
+
* specify a build name and operating system. This operation creates a new build
|
|
50
|
+
* resource and also returns an Amazon S3 location with temporary access credentials.
|
|
51
|
+
* Use the credentials to manually upload your build files to the specified Amazon S3
|
|
52
|
+
* location. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html">Uploading Objects</a> in
|
|
53
|
+
* the <i>Amazon S3 Developer Guide</i>. After you upload build files to
|
|
54
|
+
* the Amazon GameLift Amazon S3 location, you can't update them. </p>
|
|
61
55
|
* </li>
|
|
62
56
|
* </ul>
|
|
63
|
-
* <p>If successful, this
|
|
64
|
-
* places it in <code>INITIALIZED</code> status.
|
|
65
|
-
* status
|
|
57
|
+
* <p>If successful, this operation creates a new build resource with a unique build ID and
|
|
58
|
+
* places it in <code>INITIALIZED</code> status. A build must be in <code>READY</code>
|
|
59
|
+
* status before you can create fleets with it.</p>
|
|
66
60
|
* <p>
|
|
67
61
|
* <b>Learn more</b>
|
|
68
62
|
* </p>
|
|
@@ -30,7 +30,7 @@ declare const CreateContainerGroupDefinitionCommand_base: {
|
|
|
30
30
|
* <p>Creates a <code>ContainerGroupDefinition</code> that describes a set of containers for
|
|
31
31
|
* hosting your game server with Amazon GameLift managed containers hosting. An Amazon GameLift container group
|
|
32
32
|
* is similar to a container task or pod. Use container group definitions when you create a
|
|
33
|
-
* container fleet with <a>CreateContainerFleet</a>. </p>
|
|
33
|
+
* container fleet with <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateContainerFleet.html">CreateContainerFleet</a>. </p>
|
|
34
34
|
* <p>A container group definition determines how Amazon GameLift deploys your containers to each
|
|
35
35
|
* instance in a container fleet. You can maintain multiple versions of a container group
|
|
36
36
|
* definition.</p>
|
|
@@ -177,7 +177,7 @@ declare const CreateContainerGroupDefinitionCommand_base: {
|
|
|
177
177
|
* </p>
|
|
178
178
|
* <p>If successful, this request creates a <code>ContainerGroupDefinition</code> resource and
|
|
179
179
|
* assigns a unique ARN value. You can update most properties of a container group definition by
|
|
180
|
-
* calling <a>UpdateContainerGroupDefinition</a>, and optionally save the update as a new version.</p>
|
|
180
|
+
* calling <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerGroupDefinition.html">UpdateContainerGroupDefinition</a>, and optionally save the update as a new version.</p>
|
|
181
181
|
* @example
|
|
182
182
|
* Use a bare-bones client and the command you need to make an API call.
|
|
183
183
|
* ```javascript
|
|
@@ -27,9 +27,9 @@ declare const CreateFleetLocationsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Adds remote locations to
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Adds remote locations to an EC2 and begins populating the new locations with
|
|
31
|
+
* instances. The new instances conform to the fleet's instance type, auto-scaling, and
|
|
32
|
+
* other configuration settings.</p>
|
|
33
33
|
* <note>
|
|
34
34
|
* <p>You can't add remote locations to a fleet that resides in an Amazon Web Services Region that
|
|
35
35
|
* doesn't support multiple locations. Fleets created prior to March 2021 can't support
|
|
@@ -30,7 +30,7 @@ declare const CreateGameSessionCommand_base: {
|
|
|
30
30
|
* <p>Creates a multiplayer game session for players in a specific fleet location. This
|
|
31
31
|
* operation prompts an available server process to start a game session and retrieves
|
|
32
32
|
* connection information for the new game session. As an alternative, consider using the
|
|
33
|
-
* Amazon GameLift game session placement feature with <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html">StartGameSessionPlacement</a
|
|
33
|
+
* Amazon GameLift game session placement feature with <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html">StartGameSessionPlacement</a>, which uses the FleetIQ algorithm and queues to
|
|
34
34
|
* optimize the placement process.</p>
|
|
35
35
|
* <p>When creating a game session, you specify exactly where you want to place it and
|
|
36
36
|
* provide a set of game session configuration settings. The target fleet must be in
|
|
@@ -107,7 +107,7 @@ declare const CreateGameSessionCommand_base: {
|
|
|
107
107
|
* // CurrentPlayerSessionCount: Number("int"),
|
|
108
108
|
* // MaximumPlayerSessionCount: Number("int"),
|
|
109
109
|
* // Status: "ACTIVE" || "ACTIVATING" || "TERMINATED" || "TERMINATING" || "ERROR",
|
|
110
|
-
* // StatusReason: "INTERRUPTED",
|
|
110
|
+
* // StatusReason: "INTERRUPTED" || "TRIGGERED_ON_PROCESS_TERMINATE" || "FORCE_TERMINATED",
|
|
111
111
|
* // GameProperties: [ // GamePropertyList
|
|
112
112
|
* // { // GameProperty
|
|
113
113
|
* // Key: "STRING_VALUE", // required
|
|
@@ -27,13 +27,13 @@ declare const CreateScriptCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a script
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <p>To create a script
|
|
35
|
-
* script files and all dependencies must be
|
|
36
|
-
*
|
|
30
|
+
* <p>Creates a new script record for your Realtime Servers script. Realtime scripts are JavaScript that
|
|
31
|
+
* provide configuration settings and optional custom game logic for your game. The script
|
|
32
|
+
* is deployed when you create a Realtime Servers fleet to host your game sessions. Script logic is
|
|
33
|
+
* executed during an active game session. </p>
|
|
34
|
+
* <p>To create a new script record, specify a script name and provide the script file(s).
|
|
35
|
+
* The script files and all dependencies must be zipped into a single file. You can pull
|
|
36
|
+
* the zip file from either of these locations: </p>
|
|
37
37
|
* <ul>
|
|
38
38
|
* <li>
|
|
39
39
|
* <p>A locally available directory. Use the <i>ZipFile</i> parameter
|
|
@@ -46,8 +46,11 @@ declare const CreateScriptCommand_base: {
|
|
|
46
46
|
* to access your S3 bucket. </p>
|
|
47
47
|
* </li>
|
|
48
48
|
* </ul>
|
|
49
|
-
* <p>If the call is successful,
|
|
50
|
-
*
|
|
49
|
+
* <p>If the call is successful, a new script record is created with a unique script ID. If
|
|
50
|
+
* the script file is provided as a local file, the file is uploaded to an Amazon GameLift-owned S3
|
|
51
|
+
* bucket and the script record's storage location reflects this location. If the script
|
|
52
|
+
* file is provided as an S3 bucket, Amazon GameLift accesses the file at this storage location as
|
|
53
|
+
* needed for deployment.</p>
|
|
51
54
|
* <p>
|
|
52
55
|
* <b>Learn more</b>
|
|
53
56
|
* </p>
|
|
@@ -27,8 +27,7 @@ declare const DeleteContainerGroupDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a container group definition.
|
|
31
|
-
* are no fleets using the definition. </p>
|
|
30
|
+
* <p>Deletes a container group definition. </p>
|
|
32
31
|
* <p>
|
|
33
32
|
* <b>Request options:</b>
|
|
34
33
|
* </p>
|
|
@@ -49,6 +48,22 @@ declare const DeleteContainerGroupDefinitionCommand_base: {
|
|
|
49
48
|
* </li>
|
|
50
49
|
* </ul>
|
|
51
50
|
* <p>
|
|
51
|
+
* <b>Result</b>
|
|
52
|
+
* </p>
|
|
53
|
+
* <p>If successful, Amazon GameLift removes the container group definition versions that you request deletion for.
|
|
54
|
+
* This request will fail for any requested versions if the following is true: </p>
|
|
55
|
+
* <ul>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>If the version is being used in an active fleet</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>If the version is being deployed to a fleet in a deployment that's currently in progress.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>If the version is designated as a rollback definition in a fleet deployment that's currently in progress.</p>
|
|
64
|
+
* </li>
|
|
65
|
+
* </ul>
|
|
66
|
+
* <p>
|
|
52
67
|
* <b>Learn more</b>
|
|
53
68
|
* </p>
|
|
54
69
|
* <ul>
|
|
@@ -28,7 +28,7 @@ declare const DescribeComputeCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Retrieves properties for a compute resource in an Amazon GameLift fleet. To get a list of all
|
|
31
|
-
* computes in a fleet, call <a>
|
|
31
|
+
* computes in a fleet, call <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute.html">https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute.html</a>. </p>
|
|
32
32
|
* <p>To request information on a specific compute, provide the fleet ID and compute
|
|
33
33
|
* name.</p>
|
|
34
34
|
* <p>If successful, this operation returns details for the requested compute resource.
|
|
@@ -31,7 +31,7 @@ declare const DescribeFleetCapacityCommand_base: {
|
|
|
31
31
|
* fleet, this operation also returns counts for game server container groups.</p>
|
|
32
32
|
* <p>With multi-location fleets, this operation retrieves data for the fleet's home Region
|
|
33
33
|
* only. To retrieve capacity for remote locations, see
|
|
34
|
-
* <a>
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html">https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html</a>.</p>
|
|
35
35
|
* <p>This operation can be used in the following ways: </p>
|
|
36
36
|
* <ul>
|
|
37
37
|
* <li>
|
|
@@ -27,11 +27,10 @@ declare const DescribeFleetPortSettingsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves a fleet's inbound connection permissions.
|
|
30
|
+
* <p>Retrieves a fleet's inbound connection permissions. Connection permissions specify IP
|
|
31
31
|
* addresses and port settings that incoming traffic can use to access server processes in
|
|
32
32
|
* the fleet. Game server processes that are running in the fleet must use a port that
|
|
33
|
-
* falls within this range.
|
|
34
|
-
* port settings should include one or more of the container fleet's connection ports. </p>
|
|
33
|
+
* falls within this range. </p>
|
|
35
34
|
* <p>Use this operation in the following ways: </p>
|
|
36
35
|
* <ul>
|
|
37
36
|
* <li>
|
|
@@ -92,7 +92,7 @@ declare const DescribeGameSessionDetailsCommand_base: {
|
|
|
92
92
|
* // CurrentPlayerSessionCount: Number("int"),
|
|
93
93
|
* // MaximumPlayerSessionCount: Number("int"),
|
|
94
94
|
* // Status: "ACTIVE" || "ACTIVATING" || "TERMINATED" || "TERMINATING" || "ERROR",
|
|
95
|
-
* // StatusReason: "INTERRUPTED",
|
|
95
|
+
* // StatusReason: "INTERRUPTED" || "TRIGGERED_ON_PROCESS_TERMINATE" || "FORCE_TERMINATED",
|
|
96
96
|
* // GameProperties: [ // GamePropertyList
|
|
97
97
|
* // { // GameProperty
|
|
98
98
|
* // Key: "STRING_VALUE", // required
|
|
@@ -98,7 +98,7 @@ declare const DescribeGameSessionsCommand_base: {
|
|
|
98
98
|
* // CurrentPlayerSessionCount: Number("int"),
|
|
99
99
|
* // MaximumPlayerSessionCount: Number("int"),
|
|
100
100
|
* // Status: "ACTIVE" || "ACTIVATING" || "TERMINATED" || "TERMINATING" || "ERROR",
|
|
101
|
-
* // StatusReason: "INTERRUPTED",
|
|
101
|
+
* // StatusReason: "INTERRUPTED" || "TRIGGERED_ON_PROCESS_TERMINATE" || "FORCE_TERMINATED",
|
|
102
102
|
* // GameProperties: [ // GamePropertyList
|
|
103
103
|
* // { // GameProperty
|
|
104
104
|
* // Key: "STRING_VALUE", // required
|