start_generated_code_job
(**kwargs)¶Starts an asynchronous process that generates client code for system-defined and custom messages. The resulting code is collected as a .zip file and uploaded to a pre-signed Amazon S3 URL.
See also: AWS API Documentation
Request Syntax
response = client.start_generated_code_job(
GameName='string',
Generator={
'GameSdkVersion': 'string',
'Language': 'string',
'TargetPlatform': 'string'
},
SnapshotId='string'
)
[REQUIRED]
The name of the game.
[REQUIRED]
Properties of the generator to use for the job.
The target version of the GameSparks Game SDK.
The programming language for the generated code.
Not all languages are supported for each platform. For cases where multiple languages are supported, this parameter specifies the language to be used. If this value is omitted, the default language for the target platform will be used.
The platform that will be used to run the generated code.
[REQUIRED]
The identifier of the snapshot for which to generate code.
dict
Response Syntax
{
'GeneratedCodeJobId': 'string'
}
Response Structure
(dict) --
GeneratedCodeJobId (string) --
The identifier of the code generation job. You can use this identifier in the GetGeneratedCodeJob
operation.
Exceptions
GameSparks.Client.exceptions.ValidationException
GameSparks.Client.exceptions.AccessDeniedException
GameSparks.Client.exceptions.ThrottlingException
GameSparks.Client.exceptions.ResourceNotFoundException
GameSparks.Client.exceptions.InternalServerException