@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.
- package/README.md +32 -0
- package/dist-cjs/index.js +453 -72
- package/dist-es/GameLift.js +8 -0
- package/dist-es/commands/CreateContainerGroupDefinitionCommand.js +25 -0
- package/dist-es/commands/CreateFleetCommand.js +2 -2
- package/dist-es/commands/DeleteContainerGroupDefinitionCommand.js +24 -0
- package/dist-es/commands/DescribeContainerGroupDefinitionCommand.js +25 -0
- package/dist-es/commands/DescribeFleetAttributesCommand.js +2 -1
- package/dist-es/commands/ListContainerGroupDefinitionsCommand.js +25 -0
- package/dist-es/commands/SearchGameSessionsCommand.js +1 -1
- package/dist-es/commands/StartGameSessionPlacementCommand.js +1 -1
- package/dist-es/commands/StartMatchBackfillCommand.js +1 -1
- package/dist-es/commands/StartMatchmakingCommand.js +1 -1
- package/dist-es/commands/StopGameSessionPlacementCommand.js +1 -1
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +124 -45
- package/dist-es/models/models_1.js +42 -1
- package/dist-es/pagination/ListContainerGroupDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +129 -1
- package/dist-types/GameLift.d.ts +29 -0
- package/dist-types/GameLiftClient.d.ts +6 -2
- package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +262 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +169 -29
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +14 -6
- package/dist-types/commands/DeleteContainerGroupDefinitionCommand.d.ts +94 -0
- package/dist-types/commands/DeleteFleetCommand.d.ts +5 -6
- package/dist-types/commands/DeregisterComputeCommand.d.ts +10 -2
- package/dist-types/commands/DescribeComputeCommand.d.ts +35 -6
- package/dist-types/commands/DescribeContainerGroupDefinitionCommand.d.ts +152 -0
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +25 -7
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +17 -7
- package/dist-types/commands/DescribeFleetEventsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +11 -3
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +10 -9
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/GetComputeAccessCommand.d.ts +39 -14
- package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +20 -6
- package/dist-types/commands/ListComputeCommand.d.ts +38 -8
- package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +156 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +20 -19
- package/dist-types/commands/RegisterComputeCommand.d.ts +31 -8
- package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/ResolveAliasCommand.d.ts +5 -1
- package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +2 -1
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +2 -2
- package/dist-types/commands/StartFleetActionsCommand.d.ts +1 -1
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +1 -1
- package/dist-types/commands/StartMatchBackfillCommand.d.ts +1 -1
- package/dist-types/commands/StartMatchmakingCommand.d.ts +1 -1
- package/dist-types/commands/StopFleetActionsCommand.d.ts +3 -2
- package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +1 -1
- package/dist-types/commands/StopMatchmakingCommand.d.ts +1 -1
- package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +4 -5
- package/dist-types/commands/UpdateBuildCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +3 -4
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +27 -30
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +4 -2
- package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +16 -9
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +5561 -4910
- package/dist-types/models/models_1.d.ts +685 -7
- package/dist-types/pagination/ListContainerGroupDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/GameLift.d.ts +69 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateContainerGroupDefinitionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteContainerGroupDefinitionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeContainerGroupDefinitionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListContainerGroupDefinitionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ResumeGameServerGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchGameSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartFleetActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartGameSessionPlacementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMatchBackfillCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMatchmakingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopFleetActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopGameSessionPlacementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopMatchmakingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SuspendGameServerGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBuildCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFleetAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +232 -150
- package/dist-types/ts3.4/models/models_1.d.ts +158 -0
- package/dist-types/ts3.4/pagination/ListContainerGroupDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- 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>
|
|
30
|
-
* operation to
|
|
31
|
-
*
|
|
32
|
-
*
|
|
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
|
|
36
|
-
*
|
|
37
|
-
*
|
|
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:
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* fleet's Amazon EC2 instance type
|
|
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>
|
|
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
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* </
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
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
|
|
30
|
-
*
|
|
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
|
|
30
|
-
* how to launch server processes on
|
|
31
|
-
*
|
|
32
|
-
*
|
|
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.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* runtime configuration never affects existing
|
|
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";
|