AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a new Amazon GameLift build resource for your game server binary files. Combine
game server binaries into a zip file for use with Amazon GameLift.
When setting up a new game build for GameLift, we recommend using the CLI command
. This helper command combines two tasks: (1) it uploads your build files from
a file directory to a GameLift Amazon S3 location, and (2) it creates a new build
When setting up a new game build for GameLift, 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 a GameLift Amazon S3 location, and (2) it creates a new build resource.
You can use the operation in the following scenarios:
To create a new game build with build files that are in an Amazon S3 location under an Amazon Web Services account that you control. To use this option, you give Amazon GameLift access to the Amazon S3 bucket. With permissions in place, specify a build name, operating system, and the Amazon S3 storage location of your game build.
To directly upload your build files to a GameLift Amazon S3 location. To use this option, specify a build name and operating system. This operation creates a new build resource and also returns an Amazon S3 location with temporary access credentials. Use the credentials to manually upload your build files to the specified Amazon S3 location. For more information, see Uploading Objects in the Amazon S3 Developer Guide. After you upload build files to the GameLift Amazon S3 location, you can't update them.
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
status before you can create fleets with it.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateBuild and EndCreateBuild.
public abstract Task<CreateBuildResponse> CreateBuildAsync( CreateBuildRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateBuild service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|ConflictException||The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.|
|InternalServiceException||The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.|
|InvalidRequestException||One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.|
|TaggingFailedException||The requested tagging operation did not succeed. This may be due to invalid tag format or the maximum tag limit may have been exceeded. Resolve the issue before retrying.|
|UnauthorizedException||The client failed authentication. Clients should not retry such requests.|
.NET Core App:
Supported in: 3.1
Supported in: 2.0
Supported in: 4.5