Constructs a new message instance.
Reference to the reflected type.
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds.
A unique identifier for a player.
This ID is used to enforce a resource protection policy (if one exists), that limits the number of game sessions a player can create.
Number of players currently in the game session.
DNS identifier assigned to the instance that is running the game session.
Values have the following format:
<unique identifier>.<region identifier>.amazongamelift.com
.ec2-<unique identifier>.compute.amazonaws.com.
(See
Amazon EC2 Instance IP Addressing)When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
The Amazon Resource Name (ARN) associated with the GameLift fleet that this game session is running on.
A unique identifier for a fleet that the game session is running on.
Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
You can search for active game sessions based on this custom data with SearchGameSessions.
Set of custom game session properties, formatted as a single string value.
This data is passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
A unique identifier for the game session.
A game session ARN has the following format:
arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.
IP address of the instance that is running the game session.
When connecting to a Amazon GameLift game server, a client needs to reference an IP address (or DNS name) and port number.
Information about the matchmaking process that was used to create the game session.
It is in JSON syntax, formatted as a string. In addition the matchmaking configuration used, it contains data on all players assigned to the match, including player attributes and team assignments. For more details on matchmaker data, see Match Data. Matchmaker data is useful when requesting match backfills, and is updated whenever new players are added during a successful backfill (see StartMatchBackfill).
A descriptive label that is associated with a game session.
Session names do not need to be unique.
Port number for the game session.
To connect to a Amazon GameLift game server, an app needs both the IP address and port number.
Current status of the game session.
A game session must have an ACTIVE
status to have player sessions.
Provides additional information about game session status.
INTERRUPTED
indicates that the game session was hosted on a spot instance that
was reclaimed, causing the active game session to be terminated.
Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds.
Reference to the reflected type.
Converts this message to JSON.
JSON object
Creates a new message of this type using the specified properties.
Message instance
Decodes a message of this type.
Reader or buffer to decode
Decoded message
Decodes a message of this type preceeded by its length as a varint.
Reader or buffer to decode
Decoded message
Encodes a message of this type.
Message to encode
Writer
Encodes a message of this type preceeded by its length as a varint.
Message to encode
Writer
Creates a new message of this type from a plain object. Also converts values to their respective internal types.
Plain object
Message instance
Creates a plain object from a message of this type. Also converts values to other types if specified.
Message instance
Plain object
Verifies a message of this type.
Plain object to verify
null
if valid, otherwise the reason why it is not
Generated using TypeDoc
Properties describing a game session.
A game session in
ACTIVE
status can host players. When a game session ends, its status is set toTERMINATED
.Once the session ends, the game session object is retained for 30 days. This means you can reuse idempotency token values after this time. Game session logs are retained for 14 days.