AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateGameSession operation. This API works with the following fleet types: EC2, Anywhere, Container
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.
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class UpdateGameSessionRequest : AmazonGameLiftRequest IAmazonWebServiceRequest
The UpdateGameSessionRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
UpdateGameSessionRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
GameProperties | System.Collections.Generic.List<Amazon.GameLift.Model.GameProperty> |
Gets and sets the property GameProperties.
A set of key-value pairs that can store custom data in a game session. For example:
|
|
GameSessionId | System.String |
Gets and sets the property GameSessionId. A unique identifier for the game session to update. |
|
MaximumPlayerSessionCount | System.Int32 |
Gets and sets the property MaximumPlayerSessionCount. The maximum number of players that can be connected simultaneously to the game session. |
|
Name | System.String |
Gets and sets the property Name. A descriptive label that is associated with a game session. Session names do not need to be unique. |
|
PlayerSessionCreationPolicy | Amazon.GameLift.PlayerSessionCreationPolicy |
Gets and sets the property PlayerSessionCreationPolicy. A policy that determines whether the game session is accepting new players. |
|
ProtectionPolicy | Amazon.GameLift.ProtectionPolicy |
Gets and sets the property ProtectionPolicy. Game session protection policy to apply to this game session only.
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5