Module Smaws_Client_GameLift.CreateBuild

This API works with the following fleet types: EC2, Anywhere

Creates a new Amazon GameLift Servers build resource for your game server binary files. Combine game server binaries into a zip file for use with Amazon GameLift Servers.

When setting up a new game build for Amazon GameLift Servers, we recommend using the CLI command upload-build. This helper command combines two tasks: (1) it uploads your build files from a file directory to an Amazon GameLift Servers Amazon S3 location, and (2) it creates a new build resource.

You can use the CreateBuild operation in the following scenarios:

If successful, this operation creates a new build resource with a unique build ID and places it in INITIALIZED status. A build must be in READY status before you can create fleets with it.

Learn more

Uploading Your Game

Create a Build with Files in Amazon S3

All APIs by task

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `TaggingFailedException of Types.tagging_failed_exception | `UnauthorizedException of Types.unauthorized_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_build_input -> (Types.create_build_output, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `TaggingFailedException of Types.tagging_failed_exception | `UnauthorizedException of Types.unauthorized_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_build_input -> (Types.create_build_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `TaggingFailedException of Types.tagging_failed_exception | `UnauthorizedException of Types.unauthorized_exception ] * Smaws_Lib.Response.metadata) Stdlib.result