Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . gamelift ]



Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, Amazon GameLift automatically stores the logs in Amazon S3 and retains them for 14 days. Use this URL to download the logs.


See the AWS Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved.

Game-session-related operations include:

  • create-game-session
  • describe-game-sessions
  • describe-game-session-details
  • search-game-sessions
  • update-game-session
  • get-game-session-log-url
  • Game session placements
    • start-game-session-placement
    • describe-game-session-placement
    • stop-game-session-placement

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--game-session-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--game-session-id (string)

Unique identifier for the game session to get logs for.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


PreSignedUrl -> (string)

Location of the requested game session logs, available for download.