capabilities.work

Search for a Game Session and Join It

A 2-step recipe with Amazon GameLift. We can help you get access.

Recipe · 2 steps

Search for a Game Session and Join It

Search a fleet for an open game session and reserve a player session on it.

  1. Search the fleet for active game sessions matching the filter, returning up to the first matching session.
  2. Reserve a player session on the discovered game session so the player can connect.
What you'll need to have ready
  • fleetId: The fleet ID or ARN to search for active game sessions.
  • filterExpression: Optional search filter, e.g. "hasAvailablePlayerSessions=true".
  • sortExpression: Optional sort expression, e.g. "creationTimeMillis ASC".
  • playerId: Developer-defined unique identifier for the player to add.
  • playerData: Optional developer-defined data for the player.
For your developer

Arazzo workflow amazon-gamelift:search-and-join, 2 operations: SearchGameSessions → CreatePlayerSession. Specs on APIs.io.