PlayerSession
Represents a player session. Player sessions are created either for a specific game session, or as part of a game session placement or matchmaking request. A player session can represents a reserved player slot in a game session (when status is RESERVED
) or actual player activity in a game session (when status is ACTIVE
). A player session object, including player data, is automatically passed to a game session when the player connects to the game session and is validated. After the game session ends, player sessions information is retained for 30 days and then removed.
Related actions
Types
Properties
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
A unique identifier for the game session that the player session is connected to.
Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
A unique identifier for a player session.
Current status of the player session.
A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).