@aws-sdk/client-gamelift 3.216.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
package/dist-es/GameLift.js
CHANGED
|
@@ -7,6 +7,7 @@ import { CreateFleetLocationsCommand, } from "./commands/CreateFleetLocationsCom
|
|
|
7
7
|
import { CreateGameServerGroupCommand, } from "./commands/CreateGameServerGroupCommand";
|
|
8
8
|
import { CreateGameSessionCommand, } from "./commands/CreateGameSessionCommand";
|
|
9
9
|
import { CreateGameSessionQueueCommand, } from "./commands/CreateGameSessionQueueCommand";
|
|
10
|
+
import { CreateLocationCommand, } from "./commands/CreateLocationCommand";
|
|
10
11
|
import { CreateMatchmakingConfigurationCommand, } from "./commands/CreateMatchmakingConfigurationCommand";
|
|
11
12
|
import { CreateMatchmakingRuleSetCommand, } from "./commands/CreateMatchmakingRuleSetCommand";
|
|
12
13
|
import { CreatePlayerSessionCommand, } from "./commands/CreatePlayerSessionCommand";
|
|
@@ -20,15 +21,18 @@ import { DeleteFleetCommand } from "./commands/DeleteFleetCommand";
|
|
|
20
21
|
import { DeleteFleetLocationsCommand, } from "./commands/DeleteFleetLocationsCommand";
|
|
21
22
|
import { DeleteGameServerGroupCommand, } from "./commands/DeleteGameServerGroupCommand";
|
|
22
23
|
import { DeleteGameSessionQueueCommand, } from "./commands/DeleteGameSessionQueueCommand";
|
|
24
|
+
import { DeleteLocationCommand, } from "./commands/DeleteLocationCommand";
|
|
23
25
|
import { DeleteMatchmakingConfigurationCommand, } from "./commands/DeleteMatchmakingConfigurationCommand";
|
|
24
26
|
import { DeleteMatchmakingRuleSetCommand, } from "./commands/DeleteMatchmakingRuleSetCommand";
|
|
25
27
|
import { DeleteScalingPolicyCommand, } from "./commands/DeleteScalingPolicyCommand";
|
|
26
28
|
import { DeleteScriptCommand, } from "./commands/DeleteScriptCommand";
|
|
27
29
|
import { DeleteVpcPeeringAuthorizationCommand, } from "./commands/DeleteVpcPeeringAuthorizationCommand";
|
|
28
30
|
import { DeleteVpcPeeringConnectionCommand, } from "./commands/DeleteVpcPeeringConnectionCommand";
|
|
31
|
+
import { DeregisterComputeCommand, } from "./commands/DeregisterComputeCommand";
|
|
29
32
|
import { DeregisterGameServerCommand, } from "./commands/DeregisterGameServerCommand";
|
|
30
33
|
import { DescribeAliasCommand, } from "./commands/DescribeAliasCommand";
|
|
31
34
|
import { DescribeBuildCommand, } from "./commands/DescribeBuildCommand";
|
|
35
|
+
import { DescribeComputeCommand, } from "./commands/DescribeComputeCommand";
|
|
32
36
|
import { DescribeEC2InstanceLimitsCommand, } from "./commands/DescribeEC2InstanceLimitsCommand";
|
|
33
37
|
import { DescribeFleetAttributesCommand, } from "./commands/DescribeFleetAttributesCommand";
|
|
34
38
|
import { DescribeFleetCapacityCommand, } from "./commands/DescribeFleetCapacityCommand";
|
|
@@ -55,16 +59,21 @@ import { DescribeScalingPoliciesCommand, } from "./commands/DescribeScalingPolic
|
|
|
55
59
|
import { DescribeScriptCommand, } from "./commands/DescribeScriptCommand";
|
|
56
60
|
import { DescribeVpcPeeringAuthorizationsCommand, } from "./commands/DescribeVpcPeeringAuthorizationsCommand";
|
|
57
61
|
import { DescribeVpcPeeringConnectionsCommand, } from "./commands/DescribeVpcPeeringConnectionsCommand";
|
|
62
|
+
import { GetComputeAccessCommand, } from "./commands/GetComputeAccessCommand";
|
|
63
|
+
import { GetComputeAuthTokenCommand, } from "./commands/GetComputeAuthTokenCommand";
|
|
58
64
|
import { GetGameSessionLogUrlCommand, } from "./commands/GetGameSessionLogUrlCommand";
|
|
59
65
|
import { GetInstanceAccessCommand, } from "./commands/GetInstanceAccessCommand";
|
|
60
66
|
import { ListAliasesCommand } from "./commands/ListAliasesCommand";
|
|
61
67
|
import { ListBuildsCommand } from "./commands/ListBuildsCommand";
|
|
68
|
+
import { ListComputeCommand } from "./commands/ListComputeCommand";
|
|
62
69
|
import { ListFleetsCommand } from "./commands/ListFleetsCommand";
|
|
63
70
|
import { ListGameServerGroupsCommand, } from "./commands/ListGameServerGroupsCommand";
|
|
64
71
|
import { ListGameServersCommand, } from "./commands/ListGameServersCommand";
|
|
72
|
+
import { ListLocationsCommand, } from "./commands/ListLocationsCommand";
|
|
65
73
|
import { ListScriptsCommand } from "./commands/ListScriptsCommand";
|
|
66
74
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
67
75
|
import { PutScalingPolicyCommand, } from "./commands/PutScalingPolicyCommand";
|
|
76
|
+
import { RegisterComputeCommand, } from "./commands/RegisterComputeCommand";
|
|
68
77
|
import { RegisterGameServerCommand, } from "./commands/RegisterGameServerCommand";
|
|
69
78
|
import { RequestUploadCredentialsCommand, } from "./commands/RequestUploadCredentialsCommand";
|
|
70
79
|
import { ResolveAliasCommand, } from "./commands/ResolveAliasCommand";
|
|
@@ -221,6 +230,20 @@ export class GameLift extends GameLiftClient {
|
|
|
221
230
|
return this.send(command, optionsOrCb);
|
|
222
231
|
}
|
|
223
232
|
}
|
|
233
|
+
createLocation(args, optionsOrCb, cb) {
|
|
234
|
+
const command = new CreateLocationCommand(args);
|
|
235
|
+
if (typeof optionsOrCb === "function") {
|
|
236
|
+
this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
else if (typeof cb === "function") {
|
|
239
|
+
if (typeof optionsOrCb !== "object")
|
|
240
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
return this.send(command, optionsOrCb);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
224
247
|
createMatchmakingConfiguration(args, optionsOrCb, cb) {
|
|
225
248
|
const command = new CreateMatchmakingConfigurationCommand(args);
|
|
226
249
|
if (typeof optionsOrCb === "function") {
|
|
@@ -403,6 +426,20 @@ export class GameLift extends GameLiftClient {
|
|
|
403
426
|
return this.send(command, optionsOrCb);
|
|
404
427
|
}
|
|
405
428
|
}
|
|
429
|
+
deleteLocation(args, optionsOrCb, cb) {
|
|
430
|
+
const command = new DeleteLocationCommand(args);
|
|
431
|
+
if (typeof optionsOrCb === "function") {
|
|
432
|
+
this.send(command, optionsOrCb);
|
|
433
|
+
}
|
|
434
|
+
else if (typeof cb === "function") {
|
|
435
|
+
if (typeof optionsOrCb !== "object")
|
|
436
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
437
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
438
|
+
}
|
|
439
|
+
else {
|
|
440
|
+
return this.send(command, optionsOrCb);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
406
443
|
deleteMatchmakingConfiguration(args, optionsOrCb, cb) {
|
|
407
444
|
const command = new DeleteMatchmakingConfigurationCommand(args);
|
|
408
445
|
if (typeof optionsOrCb === "function") {
|
|
@@ -487,6 +524,20 @@ export class GameLift extends GameLiftClient {
|
|
|
487
524
|
return this.send(command, optionsOrCb);
|
|
488
525
|
}
|
|
489
526
|
}
|
|
527
|
+
deregisterCompute(args, optionsOrCb, cb) {
|
|
528
|
+
const command = new DeregisterComputeCommand(args);
|
|
529
|
+
if (typeof optionsOrCb === "function") {
|
|
530
|
+
this.send(command, optionsOrCb);
|
|
531
|
+
}
|
|
532
|
+
else if (typeof cb === "function") {
|
|
533
|
+
if (typeof optionsOrCb !== "object")
|
|
534
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
535
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
536
|
+
}
|
|
537
|
+
else {
|
|
538
|
+
return this.send(command, optionsOrCb);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
490
541
|
deregisterGameServer(args, optionsOrCb, cb) {
|
|
491
542
|
const command = new DeregisterGameServerCommand(args);
|
|
492
543
|
if (typeof optionsOrCb === "function") {
|
|
@@ -529,6 +580,20 @@ export class GameLift extends GameLiftClient {
|
|
|
529
580
|
return this.send(command, optionsOrCb);
|
|
530
581
|
}
|
|
531
582
|
}
|
|
583
|
+
describeCompute(args, optionsOrCb, cb) {
|
|
584
|
+
const command = new DescribeComputeCommand(args);
|
|
585
|
+
if (typeof optionsOrCb === "function") {
|
|
586
|
+
this.send(command, optionsOrCb);
|
|
587
|
+
}
|
|
588
|
+
else if (typeof cb === "function") {
|
|
589
|
+
if (typeof optionsOrCb !== "object")
|
|
590
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
591
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
592
|
+
}
|
|
593
|
+
else {
|
|
594
|
+
return this.send(command, optionsOrCb);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
532
597
|
describeEC2InstanceLimits(args, optionsOrCb, cb) {
|
|
533
598
|
const command = new DescribeEC2InstanceLimitsCommand(args);
|
|
534
599
|
if (typeof optionsOrCb === "function") {
|
|
@@ -893,6 +958,34 @@ export class GameLift extends GameLiftClient {
|
|
|
893
958
|
return this.send(command, optionsOrCb);
|
|
894
959
|
}
|
|
895
960
|
}
|
|
961
|
+
getComputeAccess(args, optionsOrCb, cb) {
|
|
962
|
+
const command = new GetComputeAccessCommand(args);
|
|
963
|
+
if (typeof optionsOrCb === "function") {
|
|
964
|
+
this.send(command, optionsOrCb);
|
|
965
|
+
}
|
|
966
|
+
else if (typeof cb === "function") {
|
|
967
|
+
if (typeof optionsOrCb !== "object")
|
|
968
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
969
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
970
|
+
}
|
|
971
|
+
else {
|
|
972
|
+
return this.send(command, optionsOrCb);
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
getComputeAuthToken(args, optionsOrCb, cb) {
|
|
976
|
+
const command = new GetComputeAuthTokenCommand(args);
|
|
977
|
+
if (typeof optionsOrCb === "function") {
|
|
978
|
+
this.send(command, optionsOrCb);
|
|
979
|
+
}
|
|
980
|
+
else if (typeof cb === "function") {
|
|
981
|
+
if (typeof optionsOrCb !== "object")
|
|
982
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
983
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
984
|
+
}
|
|
985
|
+
else {
|
|
986
|
+
return this.send(command, optionsOrCb);
|
|
987
|
+
}
|
|
988
|
+
}
|
|
896
989
|
getGameSessionLogUrl(args, optionsOrCb, cb) {
|
|
897
990
|
const command = new GetGameSessionLogUrlCommand(args);
|
|
898
991
|
if (typeof optionsOrCb === "function") {
|
|
@@ -949,6 +1042,20 @@ export class GameLift extends GameLiftClient {
|
|
|
949
1042
|
return this.send(command, optionsOrCb);
|
|
950
1043
|
}
|
|
951
1044
|
}
|
|
1045
|
+
listCompute(args, optionsOrCb, cb) {
|
|
1046
|
+
const command = new ListComputeCommand(args);
|
|
1047
|
+
if (typeof optionsOrCb === "function") {
|
|
1048
|
+
this.send(command, optionsOrCb);
|
|
1049
|
+
}
|
|
1050
|
+
else if (typeof cb === "function") {
|
|
1051
|
+
if (typeof optionsOrCb !== "object")
|
|
1052
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1053
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1054
|
+
}
|
|
1055
|
+
else {
|
|
1056
|
+
return this.send(command, optionsOrCb);
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
952
1059
|
listFleets(args, optionsOrCb, cb) {
|
|
953
1060
|
const command = new ListFleetsCommand(args);
|
|
954
1061
|
if (typeof optionsOrCb === "function") {
|
|
@@ -991,6 +1098,20 @@ export class GameLift extends GameLiftClient {
|
|
|
991
1098
|
return this.send(command, optionsOrCb);
|
|
992
1099
|
}
|
|
993
1100
|
}
|
|
1101
|
+
listLocations(args, optionsOrCb, cb) {
|
|
1102
|
+
const command = new ListLocationsCommand(args);
|
|
1103
|
+
if (typeof optionsOrCb === "function") {
|
|
1104
|
+
this.send(command, optionsOrCb);
|
|
1105
|
+
}
|
|
1106
|
+
else if (typeof cb === "function") {
|
|
1107
|
+
if (typeof optionsOrCb !== "object")
|
|
1108
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1109
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1110
|
+
}
|
|
1111
|
+
else {
|
|
1112
|
+
return this.send(command, optionsOrCb);
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
994
1115
|
listScripts(args, optionsOrCb, cb) {
|
|
995
1116
|
const command = new ListScriptsCommand(args);
|
|
996
1117
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1033,6 +1154,20 @@ export class GameLift extends GameLiftClient {
|
|
|
1033
1154
|
return this.send(command, optionsOrCb);
|
|
1034
1155
|
}
|
|
1035
1156
|
}
|
|
1157
|
+
registerCompute(args, optionsOrCb, cb) {
|
|
1158
|
+
const command = new RegisterComputeCommand(args);
|
|
1159
|
+
if (typeof optionsOrCb === "function") {
|
|
1160
|
+
this.send(command, optionsOrCb);
|
|
1161
|
+
}
|
|
1162
|
+
else if (typeof cb === "function") {
|
|
1163
|
+
if (typeof optionsOrCb !== "object")
|
|
1164
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1165
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1166
|
+
}
|
|
1167
|
+
else {
|
|
1168
|
+
return this.send(command, optionsOrCb);
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1036
1171
|
registerGameServer(args, optionsOrCb, cb) {
|
|
1037
1172
|
const command = new RegisterGameServerCommand(args);
|
|
1038
1173
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateLocationInputFilterSensitiveLog, CreateLocationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateLocationCommand, serializeAws_json1_1CreateLocationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class CreateLocationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateLocationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "CreateLocationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateLocationInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateLocationOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1CreateLocationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1CreateLocationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteLocationInputFilterSensitiveLog, DeleteLocationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteLocationCommand, serializeAws_json1_1DeleteLocationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class DeleteLocationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLocationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "DeleteLocationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteLocationInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteLocationOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1DeleteLocationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1DeleteLocationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeregisterComputeInputFilterSensitiveLog, DeregisterComputeOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeregisterComputeCommand, serializeAws_json1_1DeregisterComputeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class DeregisterComputeCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterComputeCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "DeregisterComputeCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeregisterComputeInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeregisterComputeOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1DeregisterComputeCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1DeregisterComputeCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeComputeInputFilterSensitiveLog, DescribeComputeOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeComputeCommand, serializeAws_json1_1DescribeComputeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class DescribeComputeCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeComputeCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "DescribeComputeCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeComputeInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeComputeOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1DescribeComputeCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1DescribeComputeCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetComputeAccessInputFilterSensitiveLog, GetComputeAccessOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetComputeAccessCommand, serializeAws_json1_1GetComputeAccessCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class GetComputeAccessCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetComputeAccessCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "GetComputeAccessCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetComputeAccessInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetComputeAccessOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1GetComputeAccessCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1GetComputeAccessCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetComputeAuthTokenInputFilterSensitiveLog, GetComputeAuthTokenOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetComputeAuthTokenCommand, serializeAws_json1_1GetComputeAuthTokenCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class GetComputeAuthTokenCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetComputeAuthTokenCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "GetComputeAuthTokenCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetComputeAuthTokenInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetComputeAuthTokenOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1GetComputeAuthTokenCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1GetComputeAuthTokenCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListComputeInputFilterSensitiveLog, ListComputeOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListComputeCommand, serializeAws_json1_1ListComputeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class ListComputeCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListComputeCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "ListComputeCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListComputeInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListComputeOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1ListComputeCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1ListComputeCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListLocationsInputFilterSensitiveLog, ListLocationsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListLocationsCommand, serializeAws_json1_1ListLocationsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class ListLocationsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListLocationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "ListLocationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListLocationsInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListLocationsOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1ListLocationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1ListLocationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RegisterComputeInputFilterSensitiveLog, RegisterComputeOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1RegisterComputeCommand, serializeAws_json1_1RegisterComputeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class RegisterComputeCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RegisterComputeCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GameLiftClient";
|
|
25
|
+
const commandName = "RegisterComputeCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: RegisterComputeInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: RegisterComputeOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1RegisterComputeCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1RegisterComputeCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateFleetPortSettingsInputFilterSensitiveLog
|
|
4
|
+
import { UpdateFleetPortSettingsInputFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { UpdateFleetPortSettingsOutputFilterSensitiveLog } from "../models/models_1";
|
|
5
6
|
import { deserializeAws_json1_1UpdateFleetPortSettingsCommand, serializeAws_json1_1UpdateFleetPortSettingsCommand, } from "../protocols/Aws_json1_1";
|
|
6
7
|
export class UpdateFleetPortSettingsCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateGameServerInputFilterSensitiveLog, UpdateGameServerOutputFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateGameServerInputFilterSensitiveLog, UpdateGameServerOutputFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1UpdateGameServerCommand, serializeAws_json1_1UpdateGameServerCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateGameServerCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateGameServerGroupInputFilterSensitiveLog, UpdateGameServerGroupOutputFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateGameServerGroupInputFilterSensitiveLog, UpdateGameServerGroupOutputFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1UpdateGameServerGroupCommand, serializeAws_json1_1UpdateGameServerGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateGameServerGroupCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateGameSessionInputFilterSensitiveLog, UpdateGameSessionOutputFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateGameSessionInputFilterSensitiveLog, UpdateGameSessionOutputFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1UpdateGameSessionCommand, serializeAws_json1_1UpdateGameSessionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateGameSessionCommand extends $Command {
|
|
7
7
|
constructor(input) {
|