@aws-sdk/client-gamelift 3.218.0 → 3.222.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
package/README.md CHANGED
@@ -9,11 +9,9 @@
9
9
 
10
10
  AWS SDK for JavaScript GameLift Client for Node.js, Browser and React Native.
11
11
 
12
- <fullname>GameLift Service</fullname>
13
-
14
- <p>Amazon Web Services provides solutions for hosting session-based multiplayer game servers in the
15
- cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services
16
- global computing infrastructure, GameLift helps you deliver high-performance,
12
+ <p>Amazon GameLift provides solutions for hosting session-based multiplayer game servers in the
13
+ cloud, including tools for deploying, operating, and scaling game servers. Built on
14
+ Amazon Web Services global computing infrastructure, GameLift helps you deliver high-performance,
17
15
  high-reliability, low-cost game servers while dynamically scaling your resource usage to
18
16
  meet player demand. </p>
19
17
  <p>
@@ -22,24 +20,25 @@ meet player demand. </p>
22
20
  <p>Get more information on these GameLift solutions in the <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/">GameLift Developer Guide</a>.</p>
23
21
  <ul>
24
22
  <li>
25
- <p>GameLift managed hosting -- GameLift offers a fully managed service to set up and maintain
26
- computing machines for hosting, manage game session and player session life
27
- cycle, and handle security, storage, and performance tracking. You can use
28
- automatic scaling tools to balance player demand and hosting costs, configure
29
- your game session management to minimize player latency, and add FlexMatch for
30
- matchmaking.</p>
23
+ <p>GameLift managed hosting -- GameLift offers a fully managed service to set up
24
+ and maintain computing machines for hosting, manage game session and player
25
+ session life cycle, and handle security, storage, and performance tracking. You
26
+ can use automatic scaling tools to balance player demand and hosting costs,
27
+ configure your game session management to minimize player latency, and add
28
+ FlexMatch for matchmaking.</p>
31
29
  </li>
32
30
  <li>
33
- <p>Managed hosting with Realtime Servers -- With GameLift Realtime Servers, you can quickly configure and set up
34
- ready-to-go game servers for your game. Realtime Servers provides a game server framework
35
- with core GameLift infrastructure already built in. Then use the full range of
36
- GameLift managed hosting features, including FlexMatch, for your game.</p>
31
+ <p>Managed hosting with Realtime Servers -- With GameLift Realtime Servers, you can quickly configure
32
+ and set up ready-to-go game servers for your game. Realtime Servers provides a game server
33
+ framework with core GameLift infrastructure already built in. Then use the full
34
+ range of GameLift managed hosting features, including FlexMatch, for your
35
+ game.</p>
37
36
  </li>
38
37
  <li>
39
- <p>GameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while hosting your games using EC2 instances and
40
- Auto Scaling groups. GameLift FleetIQ provides optimizations for game hosting, including
41
- boosting the viability of low-cost Spot Instances gaming. For a complete
42
- solution, pair the GameLift FleetIQ and FlexMatch standalone services.</p>
38
+ <p>GameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while hosting your games using EC2
39
+ instances and Auto Scaling groups. GameLift FleetIQ provides optimizations for game
40
+ hosting, including boosting the viability of low-cost Spot Instances gaming. For
41
+ a complete solution, pair the GameLift FleetIQ and FlexMatch standalone services.</p>
43
42
  </li>
44
43
  <li>
45
44
  <p>GameLift FlexMatch -- Add matchmaking to your game hosting solution. FlexMatch is a
@@ -51,7 +50,7 @@ service into your own hosting solution.</p>
51
50
  <p>
52
51
  <b>About this API Reference</b>
53
52
  </p>
54
- <p>This reference guide describes the low-level service API for Amazon Web Services. With each topic
53
+ <p>This reference guide describes the low-level service API for Amazon GameLift. With each topic
55
54
  in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI
56
55
  reference. Useful links:</p>
57
56
  <ul>
@@ -10,6 +10,7 @@ const CreateFleetLocationsCommand_1 = require("./commands/CreateFleetLocationsCo
10
10
  const CreateGameServerGroupCommand_1 = require("./commands/CreateGameServerGroupCommand");
11
11
  const CreateGameSessionCommand_1 = require("./commands/CreateGameSessionCommand");
12
12
  const CreateGameSessionQueueCommand_1 = require("./commands/CreateGameSessionQueueCommand");
13
+ const CreateLocationCommand_1 = require("./commands/CreateLocationCommand");
13
14
  const CreateMatchmakingConfigurationCommand_1 = require("./commands/CreateMatchmakingConfigurationCommand");
14
15
  const CreateMatchmakingRuleSetCommand_1 = require("./commands/CreateMatchmakingRuleSetCommand");
15
16
  const CreatePlayerSessionCommand_1 = require("./commands/CreatePlayerSessionCommand");
@@ -23,15 +24,18 @@ const DeleteFleetCommand_1 = require("./commands/DeleteFleetCommand");
23
24
  const DeleteFleetLocationsCommand_1 = require("./commands/DeleteFleetLocationsCommand");
24
25
  const DeleteGameServerGroupCommand_1 = require("./commands/DeleteGameServerGroupCommand");
25
26
  const DeleteGameSessionQueueCommand_1 = require("./commands/DeleteGameSessionQueueCommand");
27
+ const DeleteLocationCommand_1 = require("./commands/DeleteLocationCommand");
26
28
  const DeleteMatchmakingConfigurationCommand_1 = require("./commands/DeleteMatchmakingConfigurationCommand");
27
29
  const DeleteMatchmakingRuleSetCommand_1 = require("./commands/DeleteMatchmakingRuleSetCommand");
28
30
  const DeleteScalingPolicyCommand_1 = require("./commands/DeleteScalingPolicyCommand");
29
31
  const DeleteScriptCommand_1 = require("./commands/DeleteScriptCommand");
30
32
  const DeleteVpcPeeringAuthorizationCommand_1 = require("./commands/DeleteVpcPeeringAuthorizationCommand");
31
33
  const DeleteVpcPeeringConnectionCommand_1 = require("./commands/DeleteVpcPeeringConnectionCommand");
34
+ const DeregisterComputeCommand_1 = require("./commands/DeregisterComputeCommand");
32
35
  const DeregisterGameServerCommand_1 = require("./commands/DeregisterGameServerCommand");
33
36
  const DescribeAliasCommand_1 = require("./commands/DescribeAliasCommand");
34
37
  const DescribeBuildCommand_1 = require("./commands/DescribeBuildCommand");
38
+ const DescribeComputeCommand_1 = require("./commands/DescribeComputeCommand");
35
39
  const DescribeEC2InstanceLimitsCommand_1 = require("./commands/DescribeEC2InstanceLimitsCommand");
36
40
  const DescribeFleetAttributesCommand_1 = require("./commands/DescribeFleetAttributesCommand");
37
41
  const DescribeFleetCapacityCommand_1 = require("./commands/DescribeFleetCapacityCommand");
@@ -58,16 +62,21 @@ const DescribeScalingPoliciesCommand_1 = require("./commands/DescribeScalingPoli
58
62
  const DescribeScriptCommand_1 = require("./commands/DescribeScriptCommand");
59
63
  const DescribeVpcPeeringAuthorizationsCommand_1 = require("./commands/DescribeVpcPeeringAuthorizationsCommand");
60
64
  const DescribeVpcPeeringConnectionsCommand_1 = require("./commands/DescribeVpcPeeringConnectionsCommand");
65
+ const GetComputeAccessCommand_1 = require("./commands/GetComputeAccessCommand");
66
+ const GetComputeAuthTokenCommand_1 = require("./commands/GetComputeAuthTokenCommand");
61
67
  const GetGameSessionLogUrlCommand_1 = require("./commands/GetGameSessionLogUrlCommand");
62
68
  const GetInstanceAccessCommand_1 = require("./commands/GetInstanceAccessCommand");
63
69
  const ListAliasesCommand_1 = require("./commands/ListAliasesCommand");
64
70
  const ListBuildsCommand_1 = require("./commands/ListBuildsCommand");
71
+ const ListComputeCommand_1 = require("./commands/ListComputeCommand");
65
72
  const ListFleetsCommand_1 = require("./commands/ListFleetsCommand");
66
73
  const ListGameServerGroupsCommand_1 = require("./commands/ListGameServerGroupsCommand");
67
74
  const ListGameServersCommand_1 = require("./commands/ListGameServersCommand");
75
+ const ListLocationsCommand_1 = require("./commands/ListLocationsCommand");
68
76
  const ListScriptsCommand_1 = require("./commands/ListScriptsCommand");
69
77
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
70
78
  const PutScalingPolicyCommand_1 = require("./commands/PutScalingPolicyCommand");
79
+ const RegisterComputeCommand_1 = require("./commands/RegisterComputeCommand");
71
80
  const RegisterGameServerCommand_1 = require("./commands/RegisterGameServerCommand");
72
81
  const RequestUploadCredentialsCommand_1 = require("./commands/RequestUploadCredentialsCommand");
73
82
  const ResolveAliasCommand_1 = require("./commands/ResolveAliasCommand");
@@ -224,6 +233,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
224
233
  return this.send(command, optionsOrCb);
225
234
  }
226
235
  }
236
+ createLocation(args, optionsOrCb, cb) {
237
+ const command = new CreateLocationCommand_1.CreateLocationCommand(args);
238
+ if (typeof optionsOrCb === "function") {
239
+ this.send(command, optionsOrCb);
240
+ }
241
+ else if (typeof cb === "function") {
242
+ if (typeof optionsOrCb !== "object")
243
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
244
+ this.send(command, optionsOrCb || {}, cb);
245
+ }
246
+ else {
247
+ return this.send(command, optionsOrCb);
248
+ }
249
+ }
227
250
  createMatchmakingConfiguration(args, optionsOrCb, cb) {
228
251
  const command = new CreateMatchmakingConfigurationCommand_1.CreateMatchmakingConfigurationCommand(args);
229
252
  if (typeof optionsOrCb === "function") {
@@ -406,6 +429,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
406
429
  return this.send(command, optionsOrCb);
407
430
  }
408
431
  }
432
+ deleteLocation(args, optionsOrCb, cb) {
433
+ const command = new DeleteLocationCommand_1.DeleteLocationCommand(args);
434
+ if (typeof optionsOrCb === "function") {
435
+ this.send(command, optionsOrCb);
436
+ }
437
+ else if (typeof cb === "function") {
438
+ if (typeof optionsOrCb !== "object")
439
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
440
+ this.send(command, optionsOrCb || {}, cb);
441
+ }
442
+ else {
443
+ return this.send(command, optionsOrCb);
444
+ }
445
+ }
409
446
  deleteMatchmakingConfiguration(args, optionsOrCb, cb) {
410
447
  const command = new DeleteMatchmakingConfigurationCommand_1.DeleteMatchmakingConfigurationCommand(args);
411
448
  if (typeof optionsOrCb === "function") {
@@ -490,6 +527,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
490
527
  return this.send(command, optionsOrCb);
491
528
  }
492
529
  }
530
+ deregisterCompute(args, optionsOrCb, cb) {
531
+ const command = new DeregisterComputeCommand_1.DeregisterComputeCommand(args);
532
+ if (typeof optionsOrCb === "function") {
533
+ this.send(command, optionsOrCb);
534
+ }
535
+ else if (typeof cb === "function") {
536
+ if (typeof optionsOrCb !== "object")
537
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
538
+ this.send(command, optionsOrCb || {}, cb);
539
+ }
540
+ else {
541
+ return this.send(command, optionsOrCb);
542
+ }
543
+ }
493
544
  deregisterGameServer(args, optionsOrCb, cb) {
494
545
  const command = new DeregisterGameServerCommand_1.DeregisterGameServerCommand(args);
495
546
  if (typeof optionsOrCb === "function") {
@@ -532,6 +583,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
532
583
  return this.send(command, optionsOrCb);
533
584
  }
534
585
  }
586
+ describeCompute(args, optionsOrCb, cb) {
587
+ const command = new DescribeComputeCommand_1.DescribeComputeCommand(args);
588
+ if (typeof optionsOrCb === "function") {
589
+ this.send(command, optionsOrCb);
590
+ }
591
+ else if (typeof cb === "function") {
592
+ if (typeof optionsOrCb !== "object")
593
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
594
+ this.send(command, optionsOrCb || {}, cb);
595
+ }
596
+ else {
597
+ return this.send(command, optionsOrCb);
598
+ }
599
+ }
535
600
  describeEC2InstanceLimits(args, optionsOrCb, cb) {
536
601
  const command = new DescribeEC2InstanceLimitsCommand_1.DescribeEC2InstanceLimitsCommand(args);
537
602
  if (typeof optionsOrCb === "function") {
@@ -896,6 +961,34 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
896
961
  return this.send(command, optionsOrCb);
897
962
  }
898
963
  }
964
+ getComputeAccess(args, optionsOrCb, cb) {
965
+ const command = new GetComputeAccessCommand_1.GetComputeAccessCommand(args);
966
+ if (typeof optionsOrCb === "function") {
967
+ this.send(command, optionsOrCb);
968
+ }
969
+ else if (typeof cb === "function") {
970
+ if (typeof optionsOrCb !== "object")
971
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
972
+ this.send(command, optionsOrCb || {}, cb);
973
+ }
974
+ else {
975
+ return this.send(command, optionsOrCb);
976
+ }
977
+ }
978
+ getComputeAuthToken(args, optionsOrCb, cb) {
979
+ const command = new GetComputeAuthTokenCommand_1.GetComputeAuthTokenCommand(args);
980
+ if (typeof optionsOrCb === "function") {
981
+ this.send(command, optionsOrCb);
982
+ }
983
+ else if (typeof cb === "function") {
984
+ if (typeof optionsOrCb !== "object")
985
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
986
+ this.send(command, optionsOrCb || {}, cb);
987
+ }
988
+ else {
989
+ return this.send(command, optionsOrCb);
990
+ }
991
+ }
899
992
  getGameSessionLogUrl(args, optionsOrCb, cb) {
900
993
  const command = new GetGameSessionLogUrlCommand_1.GetGameSessionLogUrlCommand(args);
901
994
  if (typeof optionsOrCb === "function") {
@@ -952,6 +1045,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
952
1045
  return this.send(command, optionsOrCb);
953
1046
  }
954
1047
  }
1048
+ listCompute(args, optionsOrCb, cb) {
1049
+ const command = new ListComputeCommand_1.ListComputeCommand(args);
1050
+ if (typeof optionsOrCb === "function") {
1051
+ this.send(command, optionsOrCb);
1052
+ }
1053
+ else if (typeof cb === "function") {
1054
+ if (typeof optionsOrCb !== "object")
1055
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1056
+ this.send(command, optionsOrCb || {}, cb);
1057
+ }
1058
+ else {
1059
+ return this.send(command, optionsOrCb);
1060
+ }
1061
+ }
955
1062
  listFleets(args, optionsOrCb, cb) {
956
1063
  const command = new ListFleetsCommand_1.ListFleetsCommand(args);
957
1064
  if (typeof optionsOrCb === "function") {
@@ -994,6 +1101,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
994
1101
  return this.send(command, optionsOrCb);
995
1102
  }
996
1103
  }
1104
+ listLocations(args, optionsOrCb, cb) {
1105
+ const command = new ListLocationsCommand_1.ListLocationsCommand(args);
1106
+ if (typeof optionsOrCb === "function") {
1107
+ this.send(command, optionsOrCb);
1108
+ }
1109
+ else if (typeof cb === "function") {
1110
+ if (typeof optionsOrCb !== "object")
1111
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1112
+ this.send(command, optionsOrCb || {}, cb);
1113
+ }
1114
+ else {
1115
+ return this.send(command, optionsOrCb);
1116
+ }
1117
+ }
997
1118
  listScripts(args, optionsOrCb, cb) {
998
1119
  const command = new ListScriptsCommand_1.ListScriptsCommand(args);
999
1120
  if (typeof optionsOrCb === "function") {
@@ -1036,6 +1157,20 @@ class GameLift extends GameLiftClient_1.GameLiftClient {
1036
1157
  return this.send(command, optionsOrCb);
1037
1158
  }
1038
1159
  }
1160
+ registerCompute(args, optionsOrCb, cb) {
1161
+ const command = new RegisterComputeCommand_1.RegisterComputeCommand(args);
1162
+ if (typeof optionsOrCb === "function") {
1163
+ this.send(command, optionsOrCb);
1164
+ }
1165
+ else if (typeof cb === "function") {
1166
+ if (typeof optionsOrCb !== "object")
1167
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1168
+ this.send(command, optionsOrCb || {}, cb);
1169
+ }
1170
+ else {
1171
+ return this.send(command, optionsOrCb);
1172
+ }
1173
+ }
1039
1174
  registerGameServer(args, optionsOrCb, cb) {
1040
1175
  const command = new RegisterGameServerCommand_1.RegisterGameServerCommand(args);
1041
1176
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLocationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class CreateLocationCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLocationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "CreateLocationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CreateLocationInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CreateLocationOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateLocationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateLocationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateLocationCommand = CreateLocationCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLocationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class DeleteLocationCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLocationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "DeleteLocationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DeleteLocationInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DeleteLocationOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteLocationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteLocationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteLocationCommand = DeleteLocationCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeregisterComputeCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class DeregisterComputeCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterComputeCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "DeregisterComputeCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DeregisterComputeInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DeregisterComputeOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeregisterComputeCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeregisterComputeCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeregisterComputeCommand = DeregisterComputeCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeComputeCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class DescribeComputeCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeComputeCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "DescribeComputeCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DescribeComputeInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DescribeComputeOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeComputeCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeComputeCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DescribeComputeCommand = DescribeComputeCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetComputeAccessCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class GetComputeAccessCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetComputeAccessCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "GetComputeAccessCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetComputeAccessInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetComputeAccessOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetComputeAccessCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetComputeAccessCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetComputeAccessCommand = GetComputeAccessCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetComputeAuthTokenCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class GetComputeAuthTokenCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetComputeAuthTokenCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "GetComputeAuthTokenCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetComputeAuthTokenInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetComputeAuthTokenOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetComputeAuthTokenCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetComputeAuthTokenCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetComputeAuthTokenCommand = GetComputeAuthTokenCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListComputeCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class ListComputeCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListComputeCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "GameLiftClient";
28
+ const commandName = "ListComputeCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListComputeInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListComputeOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListComputeCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListComputeCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListComputeCommand = ListComputeCommand;