AWS SDK Version 3 for .NET
API Reference

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. Updates game session properties. This includes the session name, maximum player count, protection policy, which controls whether or not an active game session can be terminated during a scale-down event, and the player session creation policy, which controls whether or not new players can join the session. To update a game session, specify the game session ID and the values you want to change. If successful, an updated GameSession object is returned.

Game-session-related operations include:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.GameLift.AmazonGameLiftRequest
      Amazon.GameLift.Model.UpdateGameSessionRequest

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateGameSessionRequest : AmazonGameLiftRequest
         IAmazonWebServiceRequest

The UpdateGameSessionRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateGameSessionRequest()

Properties

NameTypeDescription
Public Property GameSessionId System.String

Gets and sets the property GameSessionId.

Unique identifier for the game session to update.

Public Property MaximumPlayerSessionCount System.Int32

Gets and sets the property MaximumPlayerSessionCount.

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

Public Property Name System.String

Gets and sets the property Name.

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

Public Property PlayerSessionCreationPolicy Amazon.GameLift.PlayerSessionCreationPolicy

Gets and sets the property PlayerSessionCreationPolicy.

Policy determining whether or not the game session accepts new players.

Public Property ProtectionPolicy Amazon.GameLift.ProtectionPolicy

Gets and sets the property ProtectionPolicy.

Game session protection policy to apply to this game session only.

  • NoProtection -- The game session can be terminated during a scale-down event.

  • FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms