@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.
Files changed (202) hide show
  1. package/README.md +19 -20
  2. package/dist-cjs/GameLift.js +135 -0
  3. package/dist-cjs/commands/CreateLocationCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteLocationCommand.js +46 -0
  5. package/dist-cjs/commands/DeregisterComputeCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeComputeCommand.js +46 -0
  7. package/dist-cjs/commands/GetComputeAccessCommand.js +46 -0
  8. package/dist-cjs/commands/GetComputeAuthTokenCommand.js +46 -0
  9. package/dist-cjs/commands/ListComputeCommand.js +46 -0
  10. package/dist-cjs/commands/ListLocationsCommand.js +46 -0
  11. package/dist-cjs/commands/RegisterComputeCommand.js +46 -0
  12. package/dist-cjs/commands/UpdateFleetPortSettingsCommand.js +2 -1
  13. package/dist-cjs/commands/UpdateGameServerCommand.js +3 -3
  14. package/dist-cjs/commands/UpdateGameServerGroupCommand.js +3 -3
  15. package/dist-cjs/commands/UpdateGameSessionCommand.js +3 -3
  16. package/dist-cjs/commands/UpdateGameSessionQueueCommand.js +3 -3
  17. package/dist-cjs/commands/UpdateMatchmakingConfigurationCommand.js +3 -3
  18. package/dist-cjs/commands/UpdateRuntimeConfigurationCommand.js +3 -3
  19. package/dist-cjs/commands/UpdateScriptCommand.js +3 -3
  20. package/dist-cjs/commands/ValidateMatchmakingRuleSetCommand.js +3 -3
  21. package/dist-cjs/commands/index.js +9 -0
  22. package/dist-cjs/endpoint/ruleset.js +1 -1
  23. package/dist-cjs/models/index.js +1 -0
  24. package/dist-cjs/models/models_0.js +348 -78
  25. package/dist-cjs/models/models_1.js +75 -0
  26. package/dist-cjs/pagination/ListComputePaginator.js +36 -0
  27. package/dist-cjs/pagination/ListLocationsPaginator.js +36 -0
  28. package/dist-cjs/pagination/index.js +2 -0
  29. package/dist-cjs/protocols/Aws_json1_1.js +731 -34
  30. package/dist-es/GameLift.js +135 -0
  31. package/dist-es/commands/CreateLocationCommand.js +42 -0
  32. package/dist-es/commands/DeleteLocationCommand.js +42 -0
  33. package/dist-es/commands/DeregisterComputeCommand.js +42 -0
  34. package/dist-es/commands/DescribeComputeCommand.js +42 -0
  35. package/dist-es/commands/GetComputeAccessCommand.js +42 -0
  36. package/dist-es/commands/GetComputeAuthTokenCommand.js +42 -0
  37. package/dist-es/commands/ListComputeCommand.js +42 -0
  38. package/dist-es/commands/ListLocationsCommand.js +42 -0
  39. package/dist-es/commands/RegisterComputeCommand.js +42 -0
  40. package/dist-es/commands/UpdateFleetPortSettingsCommand.js +2 -1
  41. package/dist-es/commands/UpdateGameServerCommand.js +1 -1
  42. package/dist-es/commands/UpdateGameServerGroupCommand.js +1 -1
  43. package/dist-es/commands/UpdateGameSessionCommand.js +1 -1
  44. package/dist-es/commands/UpdateGameSessionQueueCommand.js +1 -1
  45. package/dist-es/commands/UpdateMatchmakingConfigurationCommand.js +1 -1
  46. package/dist-es/commands/UpdateRuntimeConfigurationCommand.js +1 -1
  47. package/dist-es/commands/UpdateScriptCommand.js +1 -1
  48. package/dist-es/commands/ValidateMatchmakingRuleSetCommand.js +1 -1
  49. package/dist-es/commands/index.js +9 -0
  50. package/dist-es/endpoint/ruleset.js +1 -1
  51. package/dist-es/models/index.js +1 -0
  52. package/dist-es/models/models_0.js +321 -55
  53. package/dist-es/models/models_1.js +55 -0
  54. package/dist-es/pagination/ListComputePaginator.js +32 -0
  55. package/dist-es/pagination/ListLocationsPaginator.js +32 -0
  56. package/dist-es/pagination/index.js +2 -0
  57. package/dist-es/protocols/Aws_json1_1.js +729 -51
  58. package/dist-types/GameLift.d.ts +756 -1757
  59. package/dist-types/GameLiftClient.d.ts +32 -23
  60. package/dist-types/commands/AcceptMatchCommand.d.ts +3 -13
  61. package/dist-types/commands/ClaimGameServerCommand.d.ts +15 -26
  62. package/dist-types/commands/CreateAliasCommand.d.ts +2 -8
  63. package/dist-types/commands/CreateBuildCommand.d.ts +15 -26
  64. package/dist-types/commands/CreateFleetCommand.d.ts +9 -28
  65. package/dist-types/commands/CreateFleetLocationsCommand.d.ts +11 -30
  66. package/dist-types/commands/CreateGameServerGroupCommand.d.ts +13 -25
  67. package/dist-types/commands/CreateGameSessionCommand.d.ts +8 -21
  68. package/dist-types/commands/CreateGameSessionQueueCommand.d.ts +9 -14
  69. package/dist-types/commands/CreateLocationCommand.d.ts +37 -0
  70. package/dist-types/commands/CreateMatchmakingConfigurationCommand.d.ts +7 -23
  71. package/dist-types/commands/CreateMatchmakingRuleSetCommand.d.ts +3 -19
  72. package/dist-types/commands/CreatePlayerSessionCommand.d.ts +12 -20
  73. package/dist-types/commands/CreatePlayerSessionsCommand.d.ts +11 -18
  74. package/dist-types/commands/CreateScriptCommand.d.ts +11 -15
  75. package/dist-types/commands/CreateVpcPeeringAuthorizationCommand.d.ts +14 -21
  76. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +18 -25
  77. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -7
  78. package/dist-types/commands/DeleteBuildCommand.d.ts +6 -14
  79. package/dist-types/commands/DeleteFleetCommand.d.ts +6 -22
  80. package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +3 -18
  81. package/dist-types/commands/DeleteGameServerGroupCommand.d.ts +10 -23
  82. package/dist-types/commands/DeleteGameSessionQueueCommand.d.ts +2 -24
  83. package/dist-types/commands/DeleteLocationCommand.d.ts +39 -0
  84. package/dist-types/commands/DeleteMatchmakingConfigurationCommand.d.ts +0 -14
  85. package/dist-types/commands/DeleteMatchmakingRuleSetCommand.d.ts +2 -16
  86. package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +4 -18
  87. package/dist-types/commands/DeleteScriptCommand.d.ts +2 -7
  88. package/dist-types/commands/DeleteVpcPeeringAuthorizationCommand.d.ts +3 -9
  89. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +5 -13
  90. package/dist-types/commands/DeregisterComputeCommand.d.ts +38 -0
  91. package/dist-types/commands/DeregisterGameServerCommand.d.ts +5 -16
  92. package/dist-types/commands/DescribeAliasCommand.d.ts +1 -7
  93. package/dist-types/commands/DescribeBuildCommand.d.ts +3 -11
  94. package/dist-types/commands/DescribeComputeCommand.d.ts +39 -0
  95. package/dist-types/commands/DescribeEC2InstanceLimitsCommand.d.ts +9 -25
  96. package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +6 -21
  97. package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +8 -22
  98. package/dist-types/commands/DescribeFleetEventsCommand.d.ts +4 -19
  99. package/dist-types/commands/DescribeFleetLocationAttributesCommand.d.ts +4 -19
  100. package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -19
  101. package/dist-types/commands/DescribeFleetLocationUtilizationCommand.d.ts +4 -19
  102. package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +8 -23
  103. package/dist-types/commands/DescribeFleetUtilizationCommand.d.ts +9 -24
  104. package/dist-types/commands/DescribeGameServerCommand.d.ts +5 -15
  105. package/dist-types/commands/DescribeGameServerGroupCommand.d.ts +8 -20
  106. package/dist-types/commands/DescribeGameServerInstancesCommand.d.ts +7 -23
  107. package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +6 -20
  108. package/dist-types/commands/DescribeGameSessionPlacementCommand.d.ts +8 -26
  109. package/dist-types/commands/DescribeGameSessionQueuesCommand.d.ts +5 -20
  110. package/dist-types/commands/DescribeGameSessionsCommand.d.ts +9 -32
  111. package/dist-types/commands/DescribeInstancesCommand.d.ts +5 -7
  112. package/dist-types/commands/DescribeMatchmakingCommand.d.ts +6 -19
  113. package/dist-types/commands/DescribeMatchmakingConfigurationsCommand.d.ts +1 -16
  114. package/dist-types/commands/DescribeMatchmakingRuleSetsCommand.d.ts +2 -16
  115. package/dist-types/commands/DescribePlayerSessionsCommand.d.ts +3 -11
  116. package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +5 -20
  117. package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +6 -22
  118. package/dist-types/commands/DescribeScriptCommand.d.ts +3 -8
  119. package/dist-types/commands/DescribeVpcPeeringAuthorizationsCommand.d.ts +2 -8
  120. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +7 -13
  121. package/dist-types/commands/GetComputeAccessCommand.d.ts +59 -0
  122. package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +40 -0
  123. package/dist-types/commands/GetGameSessionLogUrlCommand.d.ts +3 -15
  124. package/dist-types/commands/GetInstanceAccessCommand.d.ts +2 -8
  125. package/dist-types/commands/ListAliasesCommand.d.ts +4 -10
  126. package/dist-types/commands/ListBuildsCommand.d.ts +3 -11
  127. package/dist-types/commands/ListComputeCommand.d.ts +37 -0
  128. package/dist-types/commands/ListFleetsCommand.d.ts +9 -23
  129. package/dist-types/commands/ListGameServerGroupsCommand.d.ts +1 -26
  130. package/dist-types/commands/ListGameServersCommand.d.ts +6 -16
  131. package/dist-types/commands/ListLocationsCommand.d.ts +37 -0
  132. package/dist-types/commands/ListScriptsCommand.d.ts +3 -7
  133. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -13
  134. package/dist-types/commands/PutScalingPolicyCommand.d.ts +21 -40
  135. package/dist-types/commands/RegisterComputeCommand.d.ts +57 -0
  136. package/dist-types/commands/RegisterGameServerCommand.d.ts +9 -21
  137. package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +3 -12
  138. package/dist-types/commands/ResolveAliasCommand.d.ts +1 -7
  139. package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +11 -23
  140. package/dist-types/commands/SearchGameSessionsCommand.d.ts +21 -38
  141. package/dist-types/commands/StartFleetActionsCommand.d.ts +7 -21
  142. package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +31 -46
  143. package/dist-types/commands/StartMatchBackfillCommand.d.ts +19 -29
  144. package/dist-types/commands/StartMatchmakingCommand.d.ts +4 -15
  145. package/dist-types/commands/StopFleetActionsCommand.d.ts +5 -21
  146. package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +2 -17
  147. package/dist-types/commands/StopMatchmakingCommand.d.ts +3 -14
  148. package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +7 -19
  149. package/dist-types/commands/TagResourceCommand.d.ts +7 -10
  150. package/dist-types/commands/UntagResourceCommand.d.ts +12 -16
  151. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -7
  152. package/dist-types/commands/UpdateBuildCommand.d.ts +3 -11
  153. package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +3 -19
  154. package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +10 -26
  155. package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +6 -21
  156. package/dist-types/commands/UpdateGameServerCommand.d.ts +20 -29
  157. package/dist-types/commands/UpdateGameServerGroupCommand.d.ts +9 -21
  158. package/dist-types/commands/UpdateGameSessionCommand.d.ts +1 -13
  159. package/dist-types/commands/UpdateGameSessionQueueCommand.d.ts +2 -16
  160. package/dist-types/commands/UpdateMatchmakingConfigurationCommand.d.ts +6 -20
  161. package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +5 -21
  162. package/dist-types/commands/UpdateScriptCommand.d.ts +2 -7
  163. package/dist-types/commands/ValidateMatchmakingRuleSetCommand.d.ts +4 -18
  164. package/dist-types/commands/index.d.ts +9 -0
  165. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  166. package/dist-types/models/index.d.ts +1 -0
  167. package/dist-types/models/models_0.d.ts +1598 -1987
  168. package/dist-types/models/models_1.d.ts +452 -0
  169. package/dist-types/pagination/ListComputePaginator.d.ts +4 -0
  170. package/dist-types/pagination/ListLocationsPaginator.d.ts +4 -0
  171. package/dist-types/pagination/index.d.ts +2 -0
  172. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  173. package/dist-types/ts3.4/GameLift.d.ts +153 -0
  174. package/dist-types/ts3.4/GameLiftClient.d.ts +54 -0
  175. package/dist-types/ts3.4/commands/CreateLocationCommand.d.ts +34 -0
  176. package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +34 -0
  177. package/dist-types/ts3.4/commands/DeregisterComputeCommand.d.ts +37 -0
  178. package/dist-types/ts3.4/commands/DescribeComputeCommand.d.ts +37 -0
  179. package/dist-types/ts3.4/commands/GetComputeAccessCommand.d.ts +37 -0
  180. package/dist-types/ts3.4/commands/GetComputeAuthTokenCommand.d.ts +38 -0
  181. package/dist-types/ts3.4/commands/ListComputeCommand.d.ts +34 -0
  182. package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +34 -0
  183. package/dist-types/ts3.4/commands/RegisterComputeCommand.d.ts +37 -0
  184. package/dist-types/ts3.4/commands/UpdateFleetPortSettingsCommand.d.ts +2 -4
  185. package/dist-types/ts3.4/commands/UpdateGameServerCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/UpdateGameServerGroupCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/UpdateGameSessionCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/UpdateGameSessionQueueCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/UpdateMatchmakingConfigurationCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/UpdateRuntimeConfigurationCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/UpdateScriptCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/ValidateMatchmakingRuleSetCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  194. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  195. package/dist-types/ts3.4/models/index.d.ts +1 -0
  196. package/dist-types/ts3.4/models/models_0.d.ts +417 -370
  197. package/dist-types/ts3.4/models/models_1.d.ts +166 -0
  198. package/dist-types/ts3.4/pagination/ListComputePaginator.d.ts +11 -0
  199. package/dist-types/ts3.4/pagination/ListLocationsPaginator.d.ts +11 -0
  200. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  201. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  202. package/package.json +29 -28
@@ -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, UpdateFleetPortSettingsOutputFilterSensitiveLog, } from "../models/models_0";
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/models_0";
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/models_0";
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/models_0";
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) {