Skip to content

Commit e38ba81

Browse files
author
awstools
committed
feat(client-gamelift): Amazon GameLift Servers now supports game builds that use the Windows 2022 operating system.
1 parent 382a2ff commit e38ba81

File tree

120 files changed

+538
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+538
-311
lines changed

clients/client-gamelift/src/commands/AcceptMatchCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export interface AcceptMatchCommandInput extends AcceptMatchInput {}
2828
export interface AcceptMatchCommandOutput extends AcceptMatchOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Registers a player's acceptance or rejection of a proposed FlexMatch match. A
31+
* <p>
32+
* <b>This API works with the following fleet types:</b> EC2, Anywhere, Container</p>
33+
* <p>Registers a player's acceptance or rejection of a proposed FlexMatch match. A
3234
* matchmaking configuration may require player acceptance; if so, then matches built with
3335
* that configuration cannot be completed unless all players accept the proposed match
3436
* within a specified time limit. </p>

clients/client-gamelift/src/commands/ClaimGameServerCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ export interface ClaimGameServerCommandOutput extends ClaimGameServerOutput, __M
2929

3030
/**
3131
* <p>
32-
* <b>This operation is used with the Amazon GameLift Servers FleetIQ solution and game server groups.</b>
33-
* </p>
32+
* <b>This API works with the following fleet types:</b> EC2 (FleetIQ)</p>
3433
* <p>Locates an available game server and
3534
* temporarily reserves it to host gameplay and players. This operation is called from a
3635
* game client or client service (such as a matchmaker) to request hosting resources for a

clients/client-gamelift/src/commands/CreateAliasCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export interface CreateAliasCommandInput extends CreateAliasInput {}
2828
export interface CreateAliasCommandOutput extends CreateAliasOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates an alias for a fleet. In most situations, you can use an alias ID in place of
31+
* <p>
32+
* <b>This API works with the following fleet types:</b> EC2, Anywhere, Container</p>
33+
* <p>Creates an alias for a fleet. In most situations, you can use an alias ID in place of
3234
* a fleet ID. An alias provides a level of abstraction for a fleet that is useful when
3335
* redirecting player traffic from one fleet to another, such as when updating your game
3436
* build. </p>

clients/client-gamelift/src/commands/CreateBuildCommand.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export interface CreateBuildCommandInput extends CreateBuildInput {}
2828
export interface CreateBuildCommandOutput extends CreateBuildOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a new Amazon GameLift Servers build resource for your game server binary files. Combine game
31+
* <p>
32+
* <b>This API works with the following fleet types:</b> EC2, Anywhere</p>
33+
* <p>Creates a new Amazon GameLift Servers build resource for your game server binary files. Combine game
3234
* server binaries into a zip file for use with Amazon GameLift Servers. </p>
3335
* <important>
3436
* <p>When setting up a new game build for Amazon GameLift Servers, we recommend using the CLI command <b>
@@ -88,7 +90,7 @@ export interface CreateBuildCommandOutput extends CreateBuildOutput, __MetadataB
8890
* RoleArn: "STRING_VALUE",
8991
* ObjectVersion: "STRING_VALUE",
9092
* },
91-
* OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023",
93+
* OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023" || "WINDOWS_2022",
9294
* Tags: [ // TagList
9395
* { // Tag
9496
* Key: "STRING_VALUE", // required
@@ -107,7 +109,7 @@ export interface CreateBuildCommandOutput extends CreateBuildOutput, __MetadataB
107109
* // Version: "STRING_VALUE",
108110
* // Status: "INITIALIZED" || "READY" || "FAILED",
109111
* // SizeOnDisk: Number("long"),
110-
* // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023",
112+
* // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023" || "WINDOWS_2022",
111113
* // CreationTime: new Date("TIMESTAMP"),
112114
* // ServerSdkVersion: "STRING_VALUE",
113115
* // },

clients/client-gamelift/src/commands/CreateContainerFleetCommand.ts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ export interface CreateContainerFleetCommandInput extends CreateContainerFleetIn
3333
export interface CreateContainerFleetCommandOutput extends CreateContainerFleetOutput, __MetadataBearer {}
3434

3535
/**
36-
* <p>Creates a managed fleet of Amazon Elastic Compute Cloud (Amazon EC2) instances to host your containerized game
36+
* <p>
37+
* <b>This API works with the following fleet types:</b> Container</p>
38+
* <p>Creates a managed fleet of Amazon Elastic Compute Cloud (Amazon EC2) instances to host your containerized game
3739
* servers. Use this operation to define how to deploy a container architecture onto each
3840
* fleet instance and configure fleet settings. You can create a container fleet in any
3941
* Amazon Web Services Regions that Amazon GameLift Servers supports for multi-location fleets. A container fleet can be
@@ -124,8 +126,19 @@ export interface CreateContainerFleetCommandOutput extends CreateContainerFleetO
124126
* starts a fleet deployment and transitions the status to <code>ACTIVE</code>. Fleets
125127
* without a container group are placed in <code>CREATED</code> status.</p>
126128
* <p>You can update most of the properties of a fleet, including container group
127-
* definitions, and deploy the update across all fleet instances. Use a fleet update to
128-
* deploy a new game server version update across the container fleet. </p>
129+
* definitions, and deploy the update across all fleet instances. Use
130+
* <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerFleet.html">UpdateContainerFleet</a>
131+
* to deploy a new game server version update across the container fleet. </p>
132+
* <note>
133+
* <p>A managed fleet's runtime environment depends on the Amazon Machine Image (AMI)
134+
* version it uses. When a new fleet is created, Amazon GameLift Servers assigns the
135+
* latest available AMI version to the fleet, and all compute instances in that fleet
136+
* are deployed with that version. To update the AMI version, you must create a new
137+
* fleet. As a best practice, we recommend replacing your managed fleets every 30
138+
* days to maintain a secure and up-to-date runtime environment for your hosted game
139+
* servers. For guidance, see <a href="https://docs.aws.amazon.com/gameliftservers/latest/developerguide/security-best-practices.html">
140+
* Security best practices for Amazon GameLift Servers</a>.</p>
141+
* </note>
129142
* @example
130143
* Use a bare-bones client and the command you need to make an API call.
131144
* ```javascript

clients/client-gamelift/src/commands/CreateContainerGroupDefinitionCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export interface CreateContainerGroupDefinitionCommandOutput
3838
__MetadataBearer {}
3939

4040
/**
41-
* <p>Creates a <code>ContainerGroupDefinition</code> that describes a set of containers for
41+
* <p>
42+
* <b>This API works with the following fleet types:</b> Container</p>
43+
* <p>Creates a <code>ContainerGroupDefinition</code> that describes a set of containers for
4244
* hosting your game server with Amazon GameLift Servers managed containers hosting. An Amazon GameLift Servers container group
4345
* is similar to a container task or pod. Use container group definitions when you create a
4446
* container fleet with <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateContainerFleet.html">CreateContainerFleet</a>. </p>

clients/client-gamelift/src/commands/CreateFleetCommand.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ export interface CreateFleetCommandInput extends CreateFleetInput {}
2828
export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a fleet of compute resources to host your game servers. Use this operation to
32-
* set up the following types of fleets based on compute type: </p>
31+
* <p>
32+
* <b>This API works with the following fleet types:</b> EC2, Anywhere, Container</p>
33+
* <p>Creates a fleet of compute resources to host your game servers. Use this operation to
34+
* set up a fleet for the following compute types: </p>
3335
* <p>
3436
* <b>Managed EC2 fleet</b>
3537
* </p>
@@ -81,6 +83,16 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB
8183
* need them and closing them when you're finished. </p>
8284
* <p>When the fleet status is ACTIVE, you can adjust capacity settings and turn autoscaling
8385
* on/off for each location.</p>
86+
* <note>
87+
* <p>A managed fleet's runtime environment depends on the Amazon Machine Image (AMI)
88+
* version it uses. When a new fleet is created, Amazon GameLift Servers assigns the
89+
* latest available AMI version to the fleet, and all compute instances in that fleet
90+
* are deployed with that version. To update the AMI version, you must create a new
91+
* fleet. As a best practice, we recommend replacing your managed fleets every 30
92+
* days to maintain a secure and up-to-date runtime environment for your hosted game
93+
* servers. For guidance, see <a href="https://docs.aws.amazon.com/gameliftservers/latest/developerguide/security-best-practices.html">
94+
* Security best practices for Amazon GameLift Servers</a>.</p>
95+
* </note>
8496
* <p>
8597
* <b>Anywhere fleet</b>
8698
* </p>
@@ -213,7 +225,7 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB
213225
* // "STRING_VALUE",
214226
* // ],
215227
* // NewGameSessionProtectionPolicy: "NoProtection" || "FullProtection",
216-
* // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023",
228+
* // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023" || "WINDOWS_2022",
217229
* // ResourceCreationLimitPolicy: { // ResourceCreationLimitPolicy
218230
* // NewGameSessionsPerCreator: Number("int"),
219231
* // PolicyPeriodInMinutes: Number("int"),

clients/client-gamelift/src/commands/CreateFleetLocationsCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export interface CreateFleetLocationsCommandInput extends CreateFleetLocationsIn
2828
export interface CreateFleetLocationsCommandOutput extends CreateFleetLocationsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Adds remote locations to an EC2 and begins populating the new locations with
31+
* <p>
32+
* <b>This API works with the following fleet types:</b> EC2, Container</p>
33+
* <p>Adds remote locations to an EC2 and begins populating the new locations with
3234
* instances. The new instances conform to the fleet's instance type, auto-scaling, and
3335
* other configuration settings.</p>
3436
* <note>

clients/client-gamelift/src/commands/CreateGameServerGroupCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ export interface CreateGameServerGroupCommandOutput extends CreateGameServerGrou
2929

3030
/**
3131
* <p>
32-
* <b>This operation is used with the Amazon GameLift Servers FleetIQ solution and game server groups.</b>
33-
* </p>
32+
* <b>This API works with the following fleet types:</b> EC2 (FleetIQ)</p>
3433
* <p>Creates a Amazon GameLift Servers FleetIQ game server
3534
* group for managing game hosting on a collection of Amazon Elastic Compute Cloud instances for game hosting.
3635
* This operation creates the game server group, creates an Auto Scaling group in your

clients/client-gamelift/src/commands/CreateGameSessionCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export interface CreateGameSessionCommandInput extends CreateGameSessionInput {}
3232
export interface CreateGameSessionCommandOutput extends CreateGameSessionOutput, __MetadataBearer {}
3333

3434
/**
35-
* <p>Creates a multiplayer game session for players in a specific fleet location. This
35+
* <p>
36+
* <b>This API works with the following fleet types:</b> EC2, Anywhere, Container</p>
37+
* <p>Creates a multiplayer game session for players in a specific fleet location. This
3638
* operation prompts an available server process to start a game session and retrieves
3739
* connection information for the new game session. As an alternative, consider using the
3840
* Amazon GameLift Servers game session placement feature with <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html">StartGameSessionPlacement</a>, which uses the FleetIQ algorithm and queues to

0 commit comments

Comments
 (0)