View Source aws_gamesparks (aws v1.0.4)
Summary
Functions
Creates a new game with an empty configuration.
Disconnects a player from the game runtime.
Gets the status of a player's connection to the game runtime.
Imports a game configuration.
Gets a paginated list of available versions for the extension.
Gets a paginated list of available extensions.
Starts an asynchronous process that generates client code for system-defined and custom messages.
Deploys a snapshot to the stage and creates a new game runtime.
Functions
Creates a new game with an empty configuration.
After creating your game, you can update the configuration usingUpdateGameConfiguration
or ImportGameConfiguration
.
Disconnects a player from the game runtime.
If a player has multiple connections, this operation attempts to close all of them.disconnect_player(Client, GameName, PlayerId, StageName, Input0, Options0)
View Sourceexport_snapshot(Client, GameName, SnapshotId, QueryMap, HeadersMap)
View Sourceexport_snapshot(Client, GameName, SnapshotId, QueryMap, HeadersMap, Options0)
View Sourceget_extension(Client, Name, Namespace, QueryMap, HeadersMap, Options0)
View Sourceget_extension_version(Client, ExtensionVersion, Name, Namespace, QueryMap, HeadersMap)
View Sourceget_extension_version(Client, ExtensionVersion, Name, Namespace, QueryMap, HeadersMap, Options0)
View Sourceget_game_configuration(Client, GameName, QueryMap, HeadersMap, Options0)
View Sourceget_generated_code_job(Client, GameName, JobId, SnapshotId, QueryMap, HeadersMap)
View Sourceget_generated_code_job(Client, GameName, JobId, SnapshotId, QueryMap, HeadersMap, Options0)
View Sourceget_player_connection_status(Client, GameName, PlayerId, StageName)
View SourceGets the status of a player's connection to the game runtime.
It's possible for a single player to have multiple connections to the game runtime. If a player is not connected, this operation returns an empty list.get_player_connection_status(Client, GameName, PlayerId, StageName, QueryMap, HeadersMap)
View Sourceget_player_connection_status(Client, GameName, PlayerId, StageName, QueryMap, HeadersMap, Options0)
View Sourceget_snapshot(Client, GameName, SnapshotId, QueryMap, HeadersMap, Options0)
View Sourceget_stage(Client, GameName, StageName, QueryMap, HeadersMap, Options0)
View Sourceget_stage_deployment(Client, GameName, StageName, QueryMap, HeadersMap)
View Sourceget_stage_deployment(Client, GameName, StageName, QueryMap, HeadersMap, Options0)
View SourceImports a game configuration.
This operation replaces the current configuration of the game with the provided input. This is not a reversible operation. If you want to preserve the previous configuration, useCreateSnapshot
to make a new snapshot before importing.
Gets a paginated list of available versions for the extension.
Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation shows the versions that are currently available.list_extension_versions(Client, Name, Namespace, QueryMap, HeadersMap)
View Sourcelist_extension_versions(Client, Name, Namespace, QueryMap, HeadersMap, Options0)
View SourceGets a paginated list of available extensions.
Extensions provide features that games can use from scripts.list_generated_code_jobs(Client, GameName, SnapshotId, QueryMap, HeadersMap)
View Sourcelist_generated_code_jobs(Client, GameName, SnapshotId, QueryMap, HeadersMap, Options0)
View Sourcelist_stage_deployments(Client, GameName, StageName, QueryMap, HeadersMap)
View Sourcelist_stage_deployments(Client, GameName, StageName, QueryMap, HeadersMap, Options0)
View Sourcelist_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View SourceStarts 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.start_generated_code_job(Client, GameName, SnapshotId, Input0, Options0)
View SourceDeploys a snapshot to the stage and creates a new game runtime.
After you call this operation, you can check the deployment status by using GetStageDeployment
.