v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14104474602.4 KB

Requests an authentication token from Amazon GameLift. The authentication token is used by your game server to authenticate with Amazon GameLift. Each authentication token has an expiration time. To continue using the compute resource to host your game server, regularly retrieve a new authorization token.

post/#X-Amz-Target=GameLift.GetComputeAuthToken

Headers

X-Amz-Target'GameLift.GetComputeAuthToken' required

Request body

FleetIdstring required

A unique identifier for the fleet that the compute is registered to.

ComputeNamestring required

The name of the compute resource you are requesting the authentication token for.

Response

Success

FleetIdstring

A unique identifier for the fleet that the compute is registered to.

FleetArnstring

The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912</code>.

ComputeNamestring

The name of the compute resource you are requesting the authentication token for.

ComputeArnstring

The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912</code>

AuthTokenstring

The authentication token that your game server uses to authenticate with Amazon GameLift.

ExpirationTimestampstring date-time

The amount of time until the authentication token is no longer valid. To continue using the compute resource for game server hosting, renew the authentication token by using this operation again.