Amazon GameLift Service
API Reference (API Version 2015-10-01)


This API call is not currently in use. Retrieves a fresh set of upload credentials and the assigned Amazon S3 storage location for a specific build. Valid credentials are required to upload your game build files to Amazon S3.

Request Syntax

{ "BuildId": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


In the following list, the required parameters are described first.


Unique identifier for a build to get credentials for.

Type: String

Pattern: ^build-\S+

Required: Yes

Response Syntax

{ "StorageLocation": { "Bucket": "string", "Key": "string", "RoleArn": "string" }, "UploadCredentials": { "AccessKeyId": "string", "SecretAccessKey": "string", "SessionToken": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Amazon S3 path and key, identifying where the game build files are stored.

Type: S3Location object


AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.

Type: AwsCredentials object


For information about the errors that are common to all actions, see Common Errors.


The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.

HTTP Status Code: 500


One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.

HTTP Status Code: 400


A service resource associated with the request could not be found. Clients should not retry such requests.

HTTP Status Code: 400


The client failed authentication. Clients should not retry such requests.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: