@aws-sdk/client-gamelift 3.554.0 → 3.562.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 (96) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +453 -72
  3. package/dist-es/GameLift.js +8 -0
  4. package/dist-es/commands/CreateContainerGroupDefinitionCommand.js +25 -0
  5. package/dist-es/commands/CreateFleetCommand.js +2 -2
  6. package/dist-es/commands/DeleteContainerGroupDefinitionCommand.js +24 -0
  7. package/dist-es/commands/DescribeContainerGroupDefinitionCommand.js +25 -0
  8. package/dist-es/commands/DescribeFleetAttributesCommand.js +2 -1
  9. package/dist-es/commands/ListContainerGroupDefinitionsCommand.js +25 -0
  10. package/dist-es/commands/SearchGameSessionsCommand.js +1 -1
  11. package/dist-es/commands/StartGameSessionPlacementCommand.js +1 -1
  12. package/dist-es/commands/StartMatchBackfillCommand.js +1 -1
  13. package/dist-es/commands/StartMatchmakingCommand.js +1 -1
  14. package/dist-es/commands/StopGameSessionPlacementCommand.js +1 -1
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/models/models_0.js +124 -45
  17. package/dist-es/models/models_1.js +42 -1
  18. package/dist-es/pagination/ListContainerGroupDefinitionsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +1 -0
  20. package/dist-es/protocols/Aws_json1_1.js +129 -1
  21. package/dist-types/GameLift.d.ts +29 -0
  22. package/dist-types/GameLiftClient.d.ts +6 -2
  23. package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +262 -0
  24. package/dist-types/commands/CreateFleetCommand.d.ts +169 -29
  25. package/dist-types/commands/CreateFleetLocationsCommand.d.ts +14 -6
  26. package/dist-types/commands/DeleteContainerGroupDefinitionCommand.d.ts +94 -0
  27. package/dist-types/commands/DeleteFleetCommand.d.ts +5 -6
  28. package/dist-types/commands/DeregisterComputeCommand.d.ts +10 -2
  29. package/dist-types/commands/DescribeComputeCommand.d.ts +35 -6
  30. package/dist-types/commands/DescribeContainerGroupDefinitionCommand.d.ts +152 -0
  31. package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +25 -7
  32. package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +17 -7
  33. package/dist-types/commands/DescribeFleetEventsCommand.d.ts +1 -0
  34. package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +11 -3
  35. package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +10 -9
  36. package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +7 -4
  37. package/dist-types/commands/GetComputeAccessCommand.d.ts +39 -14
  38. package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +20 -6
  39. package/dist-types/commands/ListComputeCommand.d.ts +38 -8
  40. package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +156 -0
  41. package/dist-types/commands/ListFleetsCommand.d.ts +20 -19
  42. package/dist-types/commands/RegisterComputeCommand.d.ts +31 -8
  43. package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +1 -1
  44. package/dist-types/commands/ResolveAliasCommand.d.ts +5 -1
  45. package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +2 -1
  46. package/dist-types/commands/SearchGameSessionsCommand.d.ts +2 -2
  47. package/dist-types/commands/StartFleetActionsCommand.d.ts +1 -1
  48. package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +1 -1
  49. package/dist-types/commands/StartMatchBackfillCommand.d.ts +1 -1
  50. package/dist-types/commands/StartMatchmakingCommand.d.ts +1 -1
  51. package/dist-types/commands/StopFleetActionsCommand.d.ts +3 -2
  52. package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +1 -1
  53. package/dist-types/commands/StopMatchmakingCommand.d.ts +1 -1
  54. package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +1 -1
  55. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateAliasCommand.d.ts +4 -5
  58. package/dist-types/commands/UpdateBuildCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +3 -4
  60. package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +27 -30
  61. package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +4 -2
  62. package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +16 -9
  63. package/dist-types/commands/index.d.ts +4 -0
  64. package/dist-types/models/models_0.d.ts +5561 -4910
  65. package/dist-types/models/models_1.d.ts +685 -7
  66. package/dist-types/pagination/ListContainerGroupDefinitionsPaginator.d.ts +7 -0
  67. package/dist-types/pagination/index.d.ts +1 -0
  68. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  69. package/dist-types/ts3.4/GameLift.d.ts +69 -0
  70. package/dist-types/ts3.4/GameLiftClient.d.ts +24 -0
  71. package/dist-types/ts3.4/commands/CreateContainerGroupDefinitionCommand.d.ts +39 -0
  72. package/dist-types/ts3.4/commands/DeleteContainerGroupDefinitionCommand.d.ts +35 -0
  73. package/dist-types/ts3.4/commands/DescribeContainerGroupDefinitionCommand.d.ts +39 -0
  74. package/dist-types/ts3.4/commands/ListContainerGroupDefinitionsCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/ResumeGameServerGroupCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/SearchGameSessionsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartFleetActionsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/StartGameSessionPlacementCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/StartMatchBackfillCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/StartMatchmakingCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/StopFleetActionsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/StopGameSessionPlacementCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/StopMatchmakingCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/SuspendGameServerGroupCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/UpdateBuildCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/UpdateFleetAttributesCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +232 -150
  92. package/dist-types/ts3.4/models/models_1.d.ts +158 -0
  93. package/dist-types/ts3.4/pagination/ListContainerGroupDefinitionsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  95. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  96. package/package.json +4 -4
@@ -26,44 +26,41 @@ declare const UpdateFleetCapacityCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Updates capacity settings for a fleet. For fleets with multiple locations, use this
30
- * operation to manage capacity settings in each location individually. Fleet capacity
31
- * determines the number of game sessions and players that can be hosted based on the fleet
32
- * configuration. Use this operation to set the following fleet capacity properties: </p>
29
+ * <p>
30
+ * <b>This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.</b>
31
+ * </p>
32
+ * <p>Updates capacity settings for a managed EC2 fleet or container fleet. For these
33
+ * fleets, you adjust capacity by changing the number of instances in the fleet. Fleet
34
+ * capacity determines the number of game sessions and players that the fleet can host
35
+ * based on its configuration. For fleets with multiple locations, use this operation to
36
+ * manage capacity settings in each location individually.</p>
37
+ * <p>Use this operation to set these fleet capacity properties: </p>
33
38
  * <ul>
34
39
  * <li>
35
- * <p>Minimum/maximum size: Set hard limits on fleet capacity. Amazon GameLift cannot set
36
- * the fleet's capacity to a value outside of this range, whether the capacity is
37
- * changed manually or through automatic scaling. </p>
40
+ * <p>Minimum/maximum size: Set hard limits on the number of Amazon EC2 instances allowed. If Amazon GameLift receives a
41
+ * request--either through manual update or automatic scaling--it won't change the capacity
42
+ * to a value outside of this range.</p>
38
43
  * </li>
39
44
  * <li>
40
- * <p>Desired capacity: Manually set the number of Amazon EC2 instances to be maintained
41
- * in a fleet location. Before changing a fleet's desired capacity, you may want to
42
- * call <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeEC2InstanceLimits.html">DescribeEC2InstanceLimits</a> to get the maximum capacity of the
43
- * fleet's Amazon EC2 instance type. Alternatively, consider using automatic scaling to
44
- * adjust capacity based on player demand.</p>
45
+ * <p>Desired capacity: As an alternative to automatic scaling, manually set the number of Amazon EC2
46
+ * instances to be maintained.
47
+ * Before changing a fleet's desired capacity, check the maximum capacity of the
48
+ * fleet's Amazon EC2 instance type by calling <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeEC2InstanceLimits.html">DescribeEC2InstanceLimits</a>.</p>
45
49
  * </li>
46
50
  * </ul>
47
- * <p>This operation can be used in the following ways: </p>
48
- * <ul>
49
- * <li>
50
- * <p>To update capacity for a fleet's home Region, or if the fleet has no remote
51
+ * <p>To update capacity for a fleet's home Region, or if the fleet has no remote
51
52
  * locations, omit the <code>Location</code> parameter. The fleet must be in
52
53
  * <code>ACTIVE</code> status. </p>
53
- * </li>
54
- * <li>
55
- * <p>To update capacity for a fleet's remote location, include the
56
- * <code>Location</code> parameter set to the location to be updated. The
57
- * location must be in <code>ACTIVE</code> status.</p>
58
- * </li>
59
- * </ul>
60
- * <p>If successful, capacity settings are updated immediately. In response a change in
61
- * desired capacity, Amazon GameLift initiates steps to start new instances or terminate existing
62
- * instances in the requested fleet location. This continues until the location's active
63
- * instance count matches the new desired instance count. You can track a fleet's current
64
- * capacity by calling <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html">DescribeFleetCapacity</a> or <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html">DescribeFleetLocationCapacity</a>. If the requested desired instance count is
65
- * higher than the instance type's limit, the <code>LimitExceeded</code> exception
66
- * occurs.</p>
54
+ * <p>To update capacity for a fleet's remote location, set the
55
+ * <code>Location</code> parameter to the location to update. The location must be in
56
+ * <code>ACTIVE</code> status.</p>
57
+ * <p>If successful, Amazon GameLift updates the capacity settings and returns the identifiers for
58
+ * the updated fleet and/or location. If a requested change to desired capacity exceeds the
59
+ * instance type's limit, the <code>LimitExceeded</code> exception occurs. </p>
60
+ * <p>Updates often prompt an immediate change in fleet capacity, such as when current
61
+ * capacity is different than the new desired capacity or outside the new limits. In this
62
+ * scenario, Amazon GameLift automatically initiates steps to add or remove instances in the fleet
63
+ * location. You can track a fleet's current capacity by calling <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html">DescribeFleetCapacity</a> or <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html">DescribeFleetLocationCapacity</a>. </p>
67
64
  * <p>
68
65
  * <b>Learn more</b>
69
66
  * </p>
@@ -26,13 +26,15 @@ declare const UpdateFleetPortSettingsCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Updates permissions that allow inbound traffic to connect to game sessions that are
30
- * being hosted on instances in the fleet. </p>
29
+ * <p>Updates permissions that allow inbound traffic to connect to game sessions in the
30
+ * fleet. </p>
31
31
  * <p>To update settings, specify the fleet ID to be updated and specify the changes to be
32
32
  * made. List the permissions you want to add in
33
33
  * <code>InboundPermissionAuthorizations</code>, and permissions you want to remove in
34
34
  * <code>InboundPermissionRevocations</code>. Permissions to be removed must match
35
35
  * existing fleet permissions. </p>
36
+ * <p>For a container fleet, inbound permissions must specify port numbers that are defined
37
+ * in the fleet's connection port settings.</p>
36
38
  * <p>If successful, the fleet ID for the updated fleet is returned. For fleets with remote
37
39
  * locations, port setting updates can take time to propagate across all locations. You can
38
40
  * check the status of updates in each location by calling
@@ -26,18 +26,21 @@ declare const UpdateRuntimeConfigurationCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Updates the current runtime configuration for the specified fleet, which tells Amazon GameLift
30
- * how to launch server processes on all instances in the fleet. You can update a fleet's
31
- * runtime configuration at any time after the fleet is created; it does not need to be in
32
- * <code>ACTIVE</code> status.</p>
29
+ * <p>Updates the runtime configuration for the specified fleet. The runtime configuration
30
+ * tells Amazon GameLift how to launch server processes on computes in the fleet. For managed EC2
31
+ * fleets, it determines what server processes to run on each fleet instance. For container
32
+ * fleets, it describes what server processes to run in each replica container group. You
33
+ * can update a fleet's runtime configuration at any time after the fleet is created; it
34
+ * does not need to be in <code>ACTIVE</code> status.</p>
33
35
  * <p>To update runtime configuration, specify the fleet ID and provide a
34
36
  * <code>RuntimeConfiguration</code> with an updated set of server process
35
37
  * configurations.</p>
36
- * <p>If successful, the fleet's runtime configuration settings are updated. Each instance
37
- * in the fleet regularly checks for and retrieves updated runtime configurations.
38
- * Instances immediately begin complying with the new configuration by launching new server
39
- * processes or not replacing existing processes when they shut down. Updating a fleet's
40
- * runtime configuration never affects existing server processes.</p>
38
+ * <p>If successful, the fleet's runtime configuration settings are updated. Fleet computes
39
+ * that run game server processes regularly check for and receive updated runtime
40
+ * configurations. The computes immediately take action to comply with the new
41
+ * configuration by launching new server processes or by not replacing existing processes
42
+ * when they shut down. Updating a fleet's runtime configuration never affects existing
43
+ * server processes.</p>
41
44
  * <p>
42
45
  * <b>Learn more</b>
43
46
  * </p>
@@ -102,6 +105,10 @@ declare const UpdateRuntimeConfigurationCommand_base: {
102
105
  * <p>One or more parameter values in the request are invalid. Correct the invalid parameter
103
106
  * values before retrying.</p>
104
107
  *
108
+ * @throws {@link LimitExceededException} (client fault)
109
+ * <p>The requested operation would cause the resource to exceed the allowed service limit.
110
+ * Resolve the issue before retrying.</p>
111
+ *
105
112
  * @throws {@link NotFoundException} (client fault)
106
113
  * <p>THe requested resources was not found. The resource was either not created yet or deleted.</p>
107
114
  *
@@ -2,6 +2,7 @@ export * from "./AcceptMatchCommand";
2
2
  export * from "./ClaimGameServerCommand";
3
3
  export * from "./CreateAliasCommand";
4
4
  export * from "./CreateBuildCommand";
5
+ export * from "./CreateContainerGroupDefinitionCommand";
5
6
  export * from "./CreateFleetCommand";
6
7
  export * from "./CreateFleetLocationsCommand";
7
8
  export * from "./CreateGameServerGroupCommand";
@@ -17,6 +18,7 @@ export * from "./CreateVpcPeeringAuthorizationCommand";
17
18
  export * from "./CreateVpcPeeringConnectionCommand";
18
19
  export * from "./DeleteAliasCommand";
19
20
  export * from "./DeleteBuildCommand";
21
+ export * from "./DeleteContainerGroupDefinitionCommand";
20
22
  export * from "./DeleteFleetCommand";
21
23
  export * from "./DeleteFleetLocationsCommand";
22
24
  export * from "./DeleteGameServerGroupCommand";
@@ -33,6 +35,7 @@ export * from "./DeregisterGameServerCommand";
33
35
  export * from "./DescribeAliasCommand";
34
36
  export * from "./DescribeBuildCommand";
35
37
  export * from "./DescribeComputeCommand";
38
+ export * from "./DescribeContainerGroupDefinitionCommand";
36
39
  export * from "./DescribeEC2InstanceLimitsCommand";
37
40
  export * from "./DescribeFleetAttributesCommand";
38
41
  export * from "./DescribeFleetCapacityCommand";
@@ -66,6 +69,7 @@ export * from "./GetInstanceAccessCommand";
66
69
  export * from "./ListAliasesCommand";
67
70
  export * from "./ListBuildsCommand";
68
71
  export * from "./ListComputeCommand";
72
+ export * from "./ListContainerGroupDefinitionsCommand";
69
73
  export * from "./ListFleetsCommand";
70
74
  export * from "./ListGameServerGroupsCommand";
71
75
  export * from "./ListGameServersCommand";