GameLift.Client.
describe_build
(**kwargs)¶Retrieves properties for a custom game build. To request a build resource, specify a build ID. If successful, an object containing the build properties is returned.
See also: AWS API Documentation
Request Syntax
response = client.describe_build(
BuildId='string'
)
[REQUIRED]
A unique identifier for the build to retrieve properties for. You can use either the build ID or ARN value.
{
'Build': {
'BuildId': 'string',
'BuildArn': 'string',
'Name': 'string',
'Version': 'string',
'Status': 'INITIALIZED'|'READY'|'FAILED',
'SizeOnDisk': 123,
'OperatingSystem': 'WINDOWS_2012'|'AMAZON_LINUX'|'AMAZON_LINUX_2',
'CreationTime': datetime(2015, 1, 1),
'ServerSdkVersion': 'string'
}
}
Response Structure
Set of properties describing the requested build.
A unique identifier for the build.
The Amazon Resource Name ( ARN ) assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a GameLift build ARN, the resource ID matches the BuildId value.
A descriptive label associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
Version information associated with a build or script. Version strings do not need to be unique.
Current status of the build.
Possible build statuses include the following:
File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED
or when using a custom Amazon S3 storage location, this value is 0.
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
The GameLift Server SDK version used to develop your game server.
Exceptions
GameLift.Client.exceptions.UnauthorizedException
GameLift.Client.exceptions.InvalidRequestException
GameLift.Client.exceptions.NotFoundException
GameLift.Client.exceptions.InternalServiceException