Amazon GameLift · Arazzo Workflow

Amazon GameLift Fill a Game Session with Players

Version 1.0.0

Create a game session and reserve player sessions for a batch of players in one flow.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud ComputingGame ServersGamingMultiplayerMatchmakingFlexMatchFleetIQArazzoWorkflows

Provider

amazon-gamelift

Workflows

fill-game-session
Create a game session and reserve a batch of player sessions on it.
Creates a game session sized for a group of players and then reserves player sessions for every supplied player ID in a single batch request.
2 steps inputs: fleetId, maximumPlayerSessionCount, playerDataMap, playerIds, sessionName outputs: gameSessionId, playerSessions
1
createGameSession
Create a new game session on the fleet, sized to hold the group of players.
2
createPlayerSessions
Reserve player sessions for every supplied player ID on the new game session in a single batch request.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon GameLift Fill a Game Session with Players
  summary: Create a game session and reserve player sessions for a batch of players in one flow.
  description: >-
    A team-join flow for multiplayer matches. The workflow creates a new game
    session on an existing fleet and then reserves player sessions for a list of
    players in a single batch call, returning the collection of player session
    records. Each step spells out its AWS JSON protocol request inline,
    including the X-Amz-Target header, so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: xAmzTargetGameliftCreategamesessionApi
  url: ../openapi/amazon-gamelift-x-amz-target-gamelift-creategamesession-api-openapi.yml
  type: openapi
- name: xAmzTargetGameliftCreateplayersessionsApi
  url: ../openapi/amazon-gamelift-x-amz-target-gamelift-createplayersessions-api-openapi.yml
  type: openapi
workflows:
- workflowId: fill-game-session
  summary: Create a game session and reserve a batch of player sessions on it.
  description: >-
    Creates a game session sized for a group of players and then reserves player
    sessions for every supplied player ID in a single batch request.
  inputs:
    type: object
    required:
    - fleetId
    - maximumPlayerSessionCount
    - playerIds
    properties:
      fleetId:
        type: string
        description: The fleet ID or ARN to create the game session on.
      maximumPlayerSessionCount:
        type: integer
        description: Maximum number of players that can connect to the game session.
      sessionName:
        type: string
        description: Optional descriptive label for the game session.
      playerIds:
        type: array
        description: List of developer-defined unique player identifiers to add.
        items:
          type: string
      playerDataMap:
        type: object
        description: Optional map of player ID to developer-defined player data strings.
  steps:
  - stepId: createGameSession
    description: >-
      Create a new game session on the fleet, sized to hold the group of
      players.
    operationId: CreateGameSession
    parameters:
    - name: X-Amz-Target
      in: header
      value: GameLift.CreateGameSession
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        FleetId: $inputs.fleetId
        MaximumPlayerSessionCount: $inputs.maximumPlayerSessionCount
        Name: $inputs.sessionName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      gameSessionId: $response.body#/GameSession/GameSessionId
      gameSessionStatus: $response.body#/GameSession/Status
  - stepId: createPlayerSessions
    description: >-
      Reserve player sessions for every supplied player ID on the new game
      session in a single batch request.
    operationId: CreatePlayerSessions
    parameters:
    - name: X-Amz-Target
      in: header
      value: GameLift.CreatePlayerSessions
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        GameSessionId: $steps.createGameSession.outputs.gameSessionId
        PlayerIds: $inputs.playerIds
        PlayerDataMap: $inputs.playerDataMap
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      playerSessions: $response.body#/PlayerSessions
      firstPlayerSessionId: $response.body#/PlayerSessions/0/PlayerSessionId
  outputs:
    gameSessionId: $steps.createGameSession.outputs.gameSessionId
    playerSessions: $steps.createPlayerSessions.outputs.playerSessions

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-gamelift-fill-game-session-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.