v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14104474602.4 KB

Updates the mutable properties of a game session.

To update a game session, specify the game session ID and the values you want to change.

If successful, the updated GameSession object is returned.

All APIs by task

post/#X-Amz-Target=GameLift.UpdateGameSession

Headers

X-Amz-Target'GameLift.UpdateGameSession' required

Request body

GameSessionIdstring required

A unique identifier for the game session to update.

MaximumPlayerSessionCountinteger

The maximum number of players that can be connected simultaneously to the game session.

Namestring

A descriptive label that is associated with a game session. Session names do not need to be unique.

PlayerSessionCreationPolicy'ACCEPT_ALL' | 'DENY_ALL'

A policy that determines whether the game session is accepting new players.

ProtectionPolicy'NoProtection' | 'FullProtection'
<p>Game session protection policy to apply to this game session only.</p> <ul> <li> <p> <b>NoProtection</b> -- The game session can be terminated during a scale-down event.</p> </li> <li> <p> <b>FullProtection</b> -- If the game session is in an <code>ACTIVE</code> status, it cannot be terminated during a scale-down event.</p> </li> </ul>

Response

Success