Values.CreateBuildOutputSourceThis 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: 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 Servers 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. Upload your build files to a Amazon GameLift Servers 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 Amazon GameLift Servers 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 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
type nonrec t = {build : Build.t option;The newly created build resource, including a unique build IDs and status.
*)uploadCredentials : AwsCredentials.t option;This element is returned only when the operation is called without a storage location. It contains credentials to use when you are uploading a build file to an Amazon S3 bucket that is owned by Amazon GameLift Servers. Credentials have a limited life span. To refresh these credentials, call RequestUploadCredentials.
*)storageLocation : S3Location.t option;Amazon S3 location for your game build file, including bucket name and key.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `InternalServiceException of InternalServiceException.t| `InvalidRequestException of InvalidRequestException.t| `TaggingFailedException of TaggingFailedException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictException of ConflictException.t
| `InternalServiceException of InternalServiceException.t
| `InvalidRequestException of InvalidRequestException.t
| `TaggingFailedException of TaggingFailedException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictException of ConflictException.t
| `InternalServiceException of InternalServiceException.t
| `InvalidRequestException of InvalidRequestException.t
| `TaggingFailedException of TaggingFailedException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Long of WholeNumberLong.t
| `String of BuildId.t
| `Timestamp of Timestamp.t ])
list ])
list ]