@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSGameSparks extends Object implements AWSGameSparks
AWSGameSparks
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateGameResult |
createGame(CreateGameRequest request)
Creates a new game with an empty configuration.
|
CreateSnapshotResult |
createSnapshot(CreateSnapshotRequest request)
Creates a snapshot of the game configuration.
|
CreateStageResult |
createStage(CreateStageRequest request)
Creates a new stage for stage-by-stage game development and deployment.
|
DeleteGameResult |
deleteGame(DeleteGameRequest request)
Deletes a game.
|
DeleteStageResult |
deleteStage(DeleteStageRequest request)
Deletes a stage from a game, along with the associated game runtime.
|
DisconnectPlayerResult |
disconnectPlayer(DisconnectPlayerRequest request)
Disconnects a player from the game runtime.
|
ExportSnapshotResult |
exportSnapshot(ExportSnapshotRequest request)
Exports a game configuration snapshot.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetExtensionResult |
getExtension(GetExtensionRequest request)
Gets details about a specified extension.
|
GetExtensionVersionResult |
getExtensionVersion(GetExtensionVersionRequest request)
Gets details about a specified extension version.
|
GetGameResult |
getGame(GetGameRequest request)
Gets details about a game.
|
GetGameConfigurationResult |
getGameConfiguration(GetGameConfigurationRequest request)
Gets the configuration of the game.
|
GetGeneratedCodeJobResult |
getGeneratedCodeJob(GetGeneratedCodeJobRequest request)
Gets details about a job that is generating code for a snapshot.
|
GetPlayerConnectionStatusResult |
getPlayerConnectionStatus(GetPlayerConnectionStatusRequest request)
Gets the status of a player's connection to the game runtime.
|
GetSnapshotResult |
getSnapshot(GetSnapshotRequest request)
Gets a copy of the game configuration in a snapshot.
|
GetStageResult |
getStage(GetStageRequest request)
Gets information about a stage.
|
GetStageDeploymentResult |
getStageDeployment(GetStageDeploymentRequest request)
Gets information about a stage deployment.
|
ImportGameConfigurationResult |
importGameConfiguration(ImportGameConfigurationRequest request)
Imports a game configuration.
|
ListExtensionsResult |
listExtensions(ListExtensionsRequest request)
Gets a paginated list of available extensions.
|
ListExtensionVersionsResult |
listExtensionVersions(ListExtensionVersionsRequest request)
Gets a paginated list of available versions for the extension.
|
ListGamesResult |
listGames(ListGamesRequest request)
Gets a paginated list of games.
|
ListGeneratedCodeJobsResult |
listGeneratedCodeJobs(ListGeneratedCodeJobsRequest request)
Gets a paginated list of code generation jobs for a snapshot.
|
ListSnapshotsResult |
listSnapshots(ListSnapshotsRequest request)
Gets a paginated list of snapshot summaries from the game.
|
ListStageDeploymentsResult |
listStageDeployments(ListStageDeploymentsRequest request)
Gets a paginated list of stage deployment summaries from the game.
|
ListStagesResult |
listStages(ListStagesRequest request)
Gets a paginated list of stage summaries from the game.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags associated with a GameSparks resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartGeneratedCodeJobResult |
startGeneratedCodeJob(StartGeneratedCodeJobRequest request)
Starts an asynchronous process that generates client code for system-defined and custom messages.
|
StartStageDeploymentResult |
startStageDeployment(StartStageDeploymentRequest request)
Deploys a snapshot to the stage and creates a new game runtime.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds tags to a GameSparks resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from a GameSparks resource.
|
UpdateGameResult |
updateGame(UpdateGameRequest request)
Updates details of the game.
|
UpdateGameConfigurationResult |
updateGameConfiguration(UpdateGameConfigurationRequest request)
Updates one or more sections of the game configuration.
|
UpdateSnapshotResult |
updateSnapshot(UpdateSnapshotRequest request)
Updates the metadata of a GameSparks snapshot.
|
UpdateStageResult |
updateStage(UpdateStageRequest request)
Updates the metadata of a stage.
|
public CreateGameResult createGame(CreateGameRequest request)
AWSGameSparks
Creates a new game with an empty configuration. After creating your game, you can update the configuration using
UpdateGameConfiguration
or ImportGameConfiguration
.
createGame
in interface AWSGameSparks
public CreateSnapshotResult createSnapshot(CreateSnapshotRequest request)
AWSGameSparks
Creates a snapshot of the game configuration.
createSnapshot
in interface AWSGameSparks
public CreateStageResult createStage(CreateStageRequest request)
AWSGameSparks
Creates a new stage for stage-by-stage game development and deployment.
createStage
in interface AWSGameSparks
public DeleteGameResult deleteGame(DeleteGameRequest request)
AWSGameSparks
Deletes a game.
deleteGame
in interface AWSGameSparks
public DeleteStageResult deleteStage(DeleteStageRequest request)
AWSGameSparks
Deletes a stage from a game, along with the associated game runtime.
deleteStage
in interface AWSGameSparks
public DisconnectPlayerResult disconnectPlayer(DisconnectPlayerRequest request)
AWSGameSparks
Disconnects a player from the game runtime.
If a player has multiple connections, this operation attempts to close all of them.
disconnectPlayer
in interface AWSGameSparks
public ExportSnapshotResult exportSnapshot(ExportSnapshotRequest request)
AWSGameSparks
Exports a game configuration snapshot.
exportSnapshot
in interface AWSGameSparks
public GetExtensionResult getExtension(GetExtensionRequest request)
AWSGameSparks
Gets details about a specified extension.
getExtension
in interface AWSGameSparks
public GetExtensionVersionResult getExtensionVersion(GetExtensionVersionRequest request)
AWSGameSparks
Gets details about a specified extension version.
getExtensionVersion
in interface AWSGameSparks
public GetGameResult getGame(GetGameRequest request)
AWSGameSparks
Gets details about a game.
getGame
in interface AWSGameSparks
public GetGameConfigurationResult getGameConfiguration(GetGameConfigurationRequest request)
AWSGameSparks
Gets the configuration of the game.
getGameConfiguration
in interface AWSGameSparks
public GetGeneratedCodeJobResult getGeneratedCodeJob(GetGeneratedCodeJobRequest request)
AWSGameSparks
Gets details about a job that is generating code for a snapshot.
getGeneratedCodeJob
in interface AWSGameSparks
public GetPlayerConnectionStatusResult getPlayerConnectionStatus(GetPlayerConnectionStatusRequest request)
AWSGameSparks
Gets 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.
getPlayerConnectionStatus
in interface AWSGameSparks
public GetSnapshotResult getSnapshot(GetSnapshotRequest request)
AWSGameSparks
Gets a copy of the game configuration in a snapshot.
getSnapshot
in interface AWSGameSparks
public GetStageResult getStage(GetStageRequest request)
AWSGameSparks
Gets information about a stage.
getStage
in interface AWSGameSparks
public GetStageDeploymentResult getStageDeployment(GetStageDeploymentRequest request)
AWSGameSparks
Gets information about a stage deployment.
getStageDeployment
in interface AWSGameSparks
public ImportGameConfigurationResult importGameConfiguration(ImportGameConfigurationRequest request)
AWSGameSparks
Imports 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, use CreateSnapshot
to make a new
snapshot before importing.
importGameConfiguration
in interface AWSGameSparks
public ListExtensionVersionsResult listExtensionVersions(ListExtensionVersionsRequest request)
AWSGameSparks
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.
listExtensionVersions
in interface AWSGameSparks
public ListExtensionsResult listExtensions(ListExtensionsRequest request)
AWSGameSparks
Gets a paginated list of available extensions.
Extensions provide features that games can use from scripts.
listExtensions
in interface AWSGameSparks
public ListGamesResult listGames(ListGamesRequest request)
AWSGameSparks
Gets a paginated list of games.
listGames
in interface AWSGameSparks
public ListGeneratedCodeJobsResult listGeneratedCodeJobs(ListGeneratedCodeJobsRequest request)
AWSGameSparks
Gets a paginated list of code generation jobs for a snapshot.
listGeneratedCodeJobs
in interface AWSGameSparks
public ListSnapshotsResult listSnapshots(ListSnapshotsRequest request)
AWSGameSparks
Gets a paginated list of snapshot summaries from the game.
listSnapshots
in interface AWSGameSparks
public ListStageDeploymentsResult listStageDeployments(ListStageDeploymentsRequest request)
AWSGameSparks
Gets a paginated list of stage deployment summaries from the game.
listStageDeployments
in interface AWSGameSparks
public ListStagesResult listStages(ListStagesRequest request)
AWSGameSparks
Gets a paginated list of stage summaries from the game.
listStages
in interface AWSGameSparks
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSGameSparks
Lists the tags associated with a GameSparks resource.
listTagsForResource
in interface AWSGameSparks
public StartGeneratedCodeJobResult startGeneratedCodeJob(StartGeneratedCodeJobRequest request)
AWSGameSparks
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.
startGeneratedCodeJob
in interface AWSGameSparks
public StartStageDeploymentResult startStageDeployment(StartStageDeploymentRequest request)
AWSGameSparks
Deploys 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
.
If there are any players connected to the previous game runtime, then both runtimes persist. Existing connections to the previous runtime are maintained. When players disconnect and reconnect, they connect to the new runtime. After there are no connections to the previous game runtime, it is deleted.
startStageDeployment
in interface AWSGameSparks
public TagResourceResult tagResource(TagResourceRequest request)
AWSGameSparks
Adds tags to a GameSparks resource.
tagResource
in interface AWSGameSparks
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSGameSparks
Removes tags from a GameSparks resource.
untagResource
in interface AWSGameSparks
public UpdateGameResult updateGame(UpdateGameRequest request)
AWSGameSparks
Updates details of the game.
updateGame
in interface AWSGameSparks
public UpdateGameConfigurationResult updateGameConfiguration(UpdateGameConfigurationRequest request)
AWSGameSparks
Updates one or more sections of the game configuration.
updateGameConfiguration
in interface AWSGameSparks
public UpdateSnapshotResult updateSnapshot(UpdateSnapshotRequest request)
AWSGameSparks
Updates the metadata of a GameSparks snapshot.
updateSnapshot
in interface AWSGameSparks
public UpdateStageResult updateStage(UpdateStageRequest request)
AWSGameSparks
Updates the metadata of a stage.
updateStage
in interface AWSGameSparks
public void shutdown()
AWSGameSparks
shutdown
in interface AWSGameSparks
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSGameSparks
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSGameSparks
request
- The originally executed request.