@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface GameSparksClient extends SdkClient
builder() method.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static GameSparksClientBuilder |
builder()
Create a builder that can be used to configure and create a
GameSparksClient. |
static GameSparksClient |
create()
Create a
GameSparksClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateGameResponse |
createGame(Consumer<CreateGameRequest.Builder> createGameRequest)
Creates a new game with an empty configuration.
|
default CreateGameResponse |
createGame(CreateGameRequest createGameRequest)
Creates a new game with an empty configuration.
|
default CreateSnapshotResponse |
createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest)
Creates a snapshot of the game configuration.
|
default CreateSnapshotResponse |
createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of the game configuration.
|
default CreateStageResponse |
createStage(Consumer<CreateStageRequest.Builder> createStageRequest)
Creates a new stage for stage-by-stage game development and deployment.
|
default CreateStageResponse |
createStage(CreateStageRequest createStageRequest)
Creates a new stage for stage-by-stage game development and deployment.
|
default DeleteGameResponse |
deleteGame(Consumer<DeleteGameRequest.Builder> deleteGameRequest)
Deletes a game.
|
default DeleteGameResponse |
deleteGame(DeleteGameRequest deleteGameRequest)
Deletes a game.
|
default DeleteStageResponse |
deleteStage(Consumer<DeleteStageRequest.Builder> deleteStageRequest)
Deletes a stage from a game, along with the associated game runtime.
|
default DeleteStageResponse |
deleteStage(DeleteStageRequest deleteStageRequest)
Deletes a stage from a game, along with the associated game runtime.
|
default DisconnectPlayerResponse |
disconnectPlayer(Consumer<DisconnectPlayerRequest.Builder> disconnectPlayerRequest)
Disconnects a player from the game runtime.
|
default DisconnectPlayerResponse |
disconnectPlayer(DisconnectPlayerRequest disconnectPlayerRequest)
Disconnects a player from the game runtime.
|
default ExportSnapshotResponse |
exportSnapshot(Consumer<ExportSnapshotRequest.Builder> exportSnapshotRequest)
Exports a game configuration snapshot.
|
default ExportSnapshotResponse |
exportSnapshot(ExportSnapshotRequest exportSnapshotRequest)
Exports a game configuration snapshot.
|
default GetExtensionResponse |
getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest)
Gets details about a specified extension.
|
default GetExtensionResponse |
getExtension(GetExtensionRequest getExtensionRequest)
Gets details about a specified extension.
|
default GetExtensionVersionResponse |
getExtensionVersion(Consumer<GetExtensionVersionRequest.Builder> getExtensionVersionRequest)
Gets details about a specified extension version.
|
default GetExtensionVersionResponse |
getExtensionVersion(GetExtensionVersionRequest getExtensionVersionRequest)
Gets details about a specified extension version.
|
default GetGameResponse |
getGame(Consumer<GetGameRequest.Builder> getGameRequest)
Gets details about a game.
|
default GetGameResponse |
getGame(GetGameRequest getGameRequest)
Gets details about a game.
|
default GetGameConfigurationResponse |
getGameConfiguration(Consumer<GetGameConfigurationRequest.Builder> getGameConfigurationRequest)
Gets the configuration of the game.
|
default GetGameConfigurationResponse |
getGameConfiguration(GetGameConfigurationRequest getGameConfigurationRequest)
Gets the configuration of the game.
|
default GetGeneratedCodeJobResponse |
getGeneratedCodeJob(Consumer<GetGeneratedCodeJobRequest.Builder> getGeneratedCodeJobRequest)
Gets details about a job that is generating code for a snapshot.
|
default GetGeneratedCodeJobResponse |
getGeneratedCodeJob(GetGeneratedCodeJobRequest getGeneratedCodeJobRequest)
Gets details about a job that is generating code for a snapshot.
|
default GetPlayerConnectionStatusResponse |
getPlayerConnectionStatus(Consumer<GetPlayerConnectionStatusRequest.Builder> getPlayerConnectionStatusRequest)
Gets the status of a player's connection to the game runtime.
|
default GetPlayerConnectionStatusResponse |
getPlayerConnectionStatus(GetPlayerConnectionStatusRequest getPlayerConnectionStatusRequest)
Gets the status of a player's connection to the game runtime.
|
default GetSnapshotResponse |
getSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest)
Gets a copy of the game configuration in a snapshot.
|
default GetSnapshotResponse |
getSnapshot(GetSnapshotRequest getSnapshotRequest)
Gets a copy of the game configuration in a snapshot.
|
default GetStageResponse |
getStage(Consumer<GetStageRequest.Builder> getStageRequest)
Gets information about a stage.
|
default GetStageResponse |
getStage(GetStageRequest getStageRequest)
Gets information about a stage.
|
default GetStageDeploymentResponse |
getStageDeployment(Consumer<GetStageDeploymentRequest.Builder> getStageDeploymentRequest)
Gets information about a stage deployment.
|
default GetStageDeploymentResponse |
getStageDeployment(GetStageDeploymentRequest getStageDeploymentRequest)
Gets information about a stage deployment.
|
default ImportGameConfigurationResponse |
importGameConfiguration(Consumer<ImportGameConfigurationRequest.Builder> importGameConfigurationRequest)
Imports a game configuration.
|
default ImportGameConfigurationResponse |
importGameConfiguration(ImportGameConfigurationRequest importGameConfigurationRequest)
Imports a game configuration.
|
default ListExtensionsResponse |
listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)
Gets a paginated list of available extensions.
|
default ListExtensionsResponse |
listExtensions(ListExtensionsRequest listExtensionsRequest)
Gets a paginated list of available extensions.
|
default ListExtensionsIterable |
listExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)
Gets a paginated list of available extensions.
|
default ListExtensionsIterable |
listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest)
Gets a paginated list of available extensions.
|
default ListExtensionVersionsResponse |
listExtensionVersions(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest)
Gets a paginated list of available versions for the extension.
|
default ListExtensionVersionsResponse |
listExtensionVersions(ListExtensionVersionsRequest listExtensionVersionsRequest)
Gets a paginated list of available versions for the extension.
|
default ListExtensionVersionsIterable |
listExtensionVersionsPaginator(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest)
Gets a paginated list of available versions for the extension.
|
default ListExtensionVersionsIterable |
listExtensionVersionsPaginator(ListExtensionVersionsRequest listExtensionVersionsRequest)
Gets a paginated list of available versions for the extension.
|
default ListGamesResponse |
listGames(Consumer<ListGamesRequest.Builder> listGamesRequest)
Gets a paginated list of games.
|
default ListGamesResponse |
listGames(ListGamesRequest listGamesRequest)
Gets a paginated list of games.
|
default ListGamesIterable |
listGamesPaginator(Consumer<ListGamesRequest.Builder> listGamesRequest)
Gets a paginated list of games.
|
default ListGamesIterable |
listGamesPaginator(ListGamesRequest listGamesRequest)
Gets a paginated list of games.
|
default ListGeneratedCodeJobsResponse |
listGeneratedCodeJobs(Consumer<ListGeneratedCodeJobsRequest.Builder> listGeneratedCodeJobsRequest)
Gets a paginated list of code generation jobs for a snapshot.
|
default ListGeneratedCodeJobsResponse |
listGeneratedCodeJobs(ListGeneratedCodeJobsRequest listGeneratedCodeJobsRequest)
Gets a paginated list of code generation jobs for a snapshot.
|
default ListGeneratedCodeJobsIterable |
listGeneratedCodeJobsPaginator(Consumer<ListGeneratedCodeJobsRequest.Builder> listGeneratedCodeJobsRequest)
Gets a paginated list of code generation jobs for a snapshot.
|
default ListGeneratedCodeJobsIterable |
listGeneratedCodeJobsPaginator(ListGeneratedCodeJobsRequest listGeneratedCodeJobsRequest)
Gets a paginated list of code generation jobs for a snapshot.
|
default ListSnapshotsResponse |
listSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Gets a paginated list of snapshot summaries from the game.
|
default ListSnapshotsResponse |
listSnapshots(ListSnapshotsRequest listSnapshotsRequest)
Gets a paginated list of snapshot summaries from the game.
|
default ListSnapshotsIterable |
listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Gets a paginated list of snapshot summaries from the game.
|
default ListSnapshotsIterable |
listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest)
Gets a paginated list of snapshot summaries from the game.
|
default ListStageDeploymentsResponse |
listStageDeployments(Consumer<ListStageDeploymentsRequest.Builder> listStageDeploymentsRequest)
Gets a paginated list of stage deployment summaries from the game.
|
default ListStageDeploymentsResponse |
listStageDeployments(ListStageDeploymentsRequest listStageDeploymentsRequest)
Gets a paginated list of stage deployment summaries from the game.
|
default ListStageDeploymentsIterable |
listStageDeploymentsPaginator(Consumer<ListStageDeploymentsRequest.Builder> listStageDeploymentsRequest)
Gets a paginated list of stage deployment summaries from the game.
|
default ListStageDeploymentsIterable |
listStageDeploymentsPaginator(ListStageDeploymentsRequest listStageDeploymentsRequest)
Gets a paginated list of stage deployment summaries from the game.
|
default ListStagesResponse |
listStages(Consumer<ListStagesRequest.Builder> listStagesRequest)
Gets a paginated list of stage summaries from the game.
|
default ListStagesResponse |
listStages(ListStagesRequest listStagesRequest)
Gets a paginated list of stage summaries from the game.
|
default ListStagesIterable |
listStagesPaginator(Consumer<ListStagesRequest.Builder> listStagesRequest)
Gets a paginated list of stage summaries from the game.
|
default ListStagesIterable |
listStagesPaginator(ListStagesRequest listStagesRequest)
Gets a paginated list of stage summaries from the game.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags associated with a GameSparks resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags associated with a GameSparks resource.
|
static ServiceMetadata |
serviceMetadata() |
default StartGeneratedCodeJobResponse |
startGeneratedCodeJob(Consumer<StartGeneratedCodeJobRequest.Builder> startGeneratedCodeJobRequest)
Starts an asynchronous process that generates client code for system-defined and custom messages.
|
default StartGeneratedCodeJobResponse |
startGeneratedCodeJob(StartGeneratedCodeJobRequest startGeneratedCodeJobRequest)
Starts an asynchronous process that generates client code for system-defined and custom messages.
|
default StartStageDeploymentResponse |
startStageDeployment(Consumer<StartStageDeploymentRequest.Builder> startStageDeploymentRequest)
Deploys a snapshot to the stage and creates a new game runtime.
|
default StartStageDeploymentResponse |
startStageDeployment(StartStageDeploymentRequest startStageDeploymentRequest)
Deploys a snapshot to the stage and creates a new game runtime.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a GameSparks resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a GameSparks resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a GameSparks resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a GameSparks resource.
|
default UpdateGameResponse |
updateGame(Consumer<UpdateGameRequest.Builder> updateGameRequest)
Updates details of the game.
|
default UpdateGameResponse |
updateGame(UpdateGameRequest updateGameRequest)
Updates details of the game.
|
default UpdateGameConfigurationResponse |
updateGameConfiguration(Consumer<UpdateGameConfigurationRequest.Builder> updateGameConfigurationRequest)
Updates one or more sections of the game configuration.
|
default UpdateGameConfigurationResponse |
updateGameConfiguration(UpdateGameConfigurationRequest updateGameConfigurationRequest)
Updates one or more sections of the game configuration.
|
default UpdateSnapshotResponse |
updateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest)
Updates the metadata of a GameSparks snapshot.
|
default UpdateSnapshotResponse |
updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest)
Updates the metadata of a GameSparks snapshot.
|
default UpdateStageResponse |
updateStage(Consumer<UpdateStageRequest.Builder> updateStageRequest)
Updates the metadata of a stage.
|
default UpdateStageResponse |
updateStage(UpdateStageRequest updateStageRequest)
Updates the metadata of a stage.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static GameSparksClient create()
GameSparksClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static GameSparksClientBuilder builder()
GameSparksClient.default CreateGameResponse createGame(CreateGameRequest createGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, GameSparksException
Creates a new game with an empty configuration. After creating your game, you can update the configuration using
UpdateGameConfiguration or ImportGameConfiguration.
createGameRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.InternalServerException - The service encountered an internal error.ServiceQuotaExceededException - The request would result in exceeding service quota.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGameResponse createGame(Consumer<CreateGameRequest.Builder> createGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, GameSparksException
Creates a new game with an empty configuration. After creating your game, you can update the configuration using
UpdateGameConfiguration or ImportGameConfiguration.
This is a convenience which creates an instance of the CreateGameRequest.Builder avoiding the need to
create one manually via CreateGameRequest.builder()
createGameRequest - A Consumer that will call methods on CreateGameRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.InternalServerException - The service encountered an internal error.ServiceQuotaExceededException - The request would result in exceeding service quota.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSnapshotResponse createSnapshot(CreateSnapshotRequest createSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Creates a snapshot of the game configuration.
createSnapshotRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSnapshotResponse createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Creates a snapshot of the game configuration.
This is a convenience which creates an instance of the CreateSnapshotRequest.Builder avoiding the need to
create one manually via CreateSnapshotRequest.builder()
createSnapshotRequest - A Consumer that will call methods on CreateSnapshotRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateStageResponse createStage(CreateStageRequest createStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Creates a new stage for stage-by-stage game development and deployment.
createStageRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateStageResponse createStage(Consumer<CreateStageRequest.Builder> createStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Creates a new stage for stage-by-stage game development and deployment.
This is a convenience which creates an instance of the CreateStageRequest.Builder avoiding the need to
create one manually via CreateStageRequest.builder()
createStageRequest - A Consumer that will call methods on CreateStageRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGameResponse deleteGame(DeleteGameRequest deleteGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Deletes a game.
deleteGameRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGameResponse deleteGame(Consumer<DeleteGameRequest.Builder> deleteGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Deletes a game.
This is a convenience which creates an instance of the DeleteGameRequest.Builder avoiding the need to
create one manually via DeleteGameRequest.builder()
deleteGameRequest - A Consumer that will call methods on DeleteGameRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteStageResponse deleteStage(DeleteStageRequest deleteStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Deletes a stage from a game, along with the associated game runtime.
deleteStageRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteStageResponse deleteStage(Consumer<DeleteStageRequest.Builder> deleteStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Deletes a stage from a game, along with the associated game runtime.
This is a convenience which creates an instance of the DeleteStageRequest.Builder avoiding the need to
create one manually via DeleteStageRequest.builder()
deleteStageRequest - A Consumer that will call methods on DeleteStageRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisconnectPlayerResponse disconnectPlayer(DisconnectPlayerRequest disconnectPlayerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Disconnects a player from the game runtime.
If a player has multiple connections, this operation attempts to close all of them.
disconnectPlayerRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisconnectPlayerResponse disconnectPlayer(Consumer<DisconnectPlayerRequest.Builder> disconnectPlayerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Disconnects a player from the game runtime.
If a player has multiple connections, this operation attempts to close all of them.
This is a convenience which creates an instance of the DisconnectPlayerRequest.Builder avoiding the need
to create one manually via DisconnectPlayerRequest.builder()
disconnectPlayerRequest - A Consumer that will call methods on DisconnectPlayerRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExportSnapshotResponse exportSnapshot(ExportSnapshotRequest exportSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Exports a game configuration snapshot.
exportSnapshotRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExportSnapshotResponse exportSnapshot(Consumer<ExportSnapshotRequest.Builder> exportSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Exports a game configuration snapshot.
This is a convenience which creates an instance of the ExportSnapshotRequest.Builder avoiding the need to
create one manually via ExportSnapshotRequest.builder()
exportSnapshotRequest - A Consumer that will call methods on ExportSnapshotRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExtensionResponse getExtension(GetExtensionRequest getExtensionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a specified extension.
getExtensionRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExtensionResponse getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a specified extension.
This is a convenience which creates an instance of the GetExtensionRequest.Builder avoiding the need to
create one manually via GetExtensionRequest.builder()
getExtensionRequest - A Consumer that will call methods on GetExtensionRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExtensionVersionResponse getExtensionVersion(GetExtensionVersionRequest getExtensionVersionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a specified extension version.
getExtensionVersionRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExtensionVersionResponse getExtensionVersion(Consumer<GetExtensionVersionRequest.Builder> getExtensionVersionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a specified extension version.
This is a convenience which creates an instance of the GetExtensionVersionRequest.Builder avoiding the
need to create one manually via GetExtensionVersionRequest.builder()
getExtensionVersionRequest - A Consumer that will call methods on GetExtensionVersionRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGameResponse getGame(GetGameRequest getGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a game.
getGameRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGameResponse getGame(Consumer<GetGameRequest.Builder> getGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a game.
This is a convenience which creates an instance of the GetGameRequest.Builder avoiding the need to create
one manually via GetGameRequest.builder()
getGameRequest - A Consumer that will call methods on GetGameRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGameConfigurationResponse getGameConfiguration(GetGameConfigurationRequest getGameConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets the configuration of the game.
getGameConfigurationRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGameConfigurationResponse getGameConfiguration(Consumer<GetGameConfigurationRequest.Builder> getGameConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets the configuration of the game.
This is a convenience which creates an instance of the GetGameConfigurationRequest.Builder avoiding the
need to create one manually via GetGameConfigurationRequest.builder()
getGameConfigurationRequest - A Consumer that will call methods on GetGameConfigurationRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGeneratedCodeJobResponse getGeneratedCodeJob(GetGeneratedCodeJobRequest getGeneratedCodeJobRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a job that is generating code for a snapshot.
getGeneratedCodeJobRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGeneratedCodeJobResponse getGeneratedCodeJob(Consumer<GetGeneratedCodeJobRequest.Builder> getGeneratedCodeJobRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets details about a job that is generating code for a snapshot.
This is a convenience which creates an instance of the GetGeneratedCodeJobRequest.Builder avoiding the
need to create one manually via GetGeneratedCodeJobRequest.builder()
getGeneratedCodeJobRequest - A Consumer that will call methods on GetGeneratedCodeJobRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPlayerConnectionStatusResponse getPlayerConnectionStatus(GetPlayerConnectionStatusRequest getPlayerConnectionStatusRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
getPlayerConnectionStatusRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPlayerConnectionStatusResponse getPlayerConnectionStatus(Consumer<GetPlayerConnectionStatusRequest.Builder> getPlayerConnectionStatusRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a convenience which creates an instance of the GetPlayerConnectionStatusRequest.Builder avoiding
the need to create one manually via GetPlayerConnectionStatusRequest.builder()
getPlayerConnectionStatusRequest - A Consumer that will call methods on GetPlayerConnectionStatusRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSnapshotResponse getSnapshot(GetSnapshotRequest getSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a copy of the game configuration in a snapshot.
getSnapshotRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSnapshotResponse getSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a copy of the game configuration in a snapshot.
This is a convenience which creates an instance of the GetSnapshotRequest.Builder avoiding the need to
create one manually via GetSnapshotRequest.builder()
getSnapshotRequest - A Consumer that will call methods on GetSnapshotRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetStageResponse getStage(GetStageRequest getStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets information about a stage.
getStageRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetStageResponse getStage(Consumer<GetStageRequest.Builder> getStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets information about a stage.
This is a convenience which creates an instance of the GetStageRequest.Builder avoiding the need to
create one manually via GetStageRequest.builder()
getStageRequest - A Consumer that will call methods on GetStageRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetStageDeploymentResponse getStageDeployment(GetStageDeploymentRequest getStageDeploymentRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets information about a stage deployment.
getStageDeploymentRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetStageDeploymentResponse getStageDeployment(Consumer<GetStageDeploymentRequest.Builder> getStageDeploymentRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets information about a stage deployment.
This is a convenience which creates an instance of the GetStageDeploymentRequest.Builder avoiding the
need to create one manually via GetStageDeploymentRequest.builder()
getStageDeploymentRequest - A Consumer that will call methods on GetStageDeploymentRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportGameConfigurationResponse importGameConfiguration(ImportGameConfigurationRequest importGameConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, GameSparksException
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.
importGameConfigurationRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.ServiceQuotaExceededException - The request would result in exceeding service quota.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportGameConfigurationResponse importGameConfiguration(Consumer<ImportGameConfigurationRequest.Builder> importGameConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a convenience which creates an instance of the ImportGameConfigurationRequest.Builder avoiding
the need to create one manually via ImportGameConfigurationRequest.builder()
importGameConfigurationRequest - A Consumer that will call methods on ImportGameConfigurationRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.ServiceQuotaExceededException - The request would result in exceeding service quota.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionVersionsResponse listExtensionVersions(ListExtensionVersionsRequest listExtensionVersionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
listExtensionVersionsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionVersionsResponse listExtensionVersions(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a convenience which creates an instance of the ListExtensionVersionsRequest.Builder avoiding the
need to create one manually via ListExtensionVersionsRequest.builder()
listExtensionVersionsRequest - A Consumer that will call methods on ListExtensionVersionsRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionVersionsIterable listExtensionVersionsPaginator(ListExtensionVersionsRequest listExtensionVersionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a variant of
listExtensionVersions(software.amazon.awssdk.services.gamesparks.model.ListExtensionVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionVersionsIterable responses = client.listExtensionVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionVersionsIterable responses = client
.listExtensionVersionsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListExtensionVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionVersionsIterable responses = client.listExtensionVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensionVersions(software.amazon.awssdk.services.gamesparks.model.ListExtensionVersionsRequest)
operation.
listExtensionVersionsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionVersionsIterable listExtensionVersionsPaginator(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a variant of
listExtensionVersions(software.amazon.awssdk.services.gamesparks.model.ListExtensionVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionVersionsIterable responses = client.listExtensionVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionVersionsIterable responses = client
.listExtensionVersionsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListExtensionVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionVersionsIterable responses = client.listExtensionVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensionVersions(software.amazon.awssdk.services.gamesparks.model.ListExtensionVersionsRequest)
operation.
This is a convenience which creates an instance of the ListExtensionVersionsRequest.Builder avoiding the
need to create one manually via ListExtensionVersionsRequest.builder()
listExtensionVersionsRequest - A Consumer that will call methods on ListExtensionVersionsRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionsResponse listExtensions(ListExtensionsRequest listExtensionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of available extensions.
Extensions provide features that games can use from scripts.
listExtensionsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionsResponse listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of available extensions.
Extensions provide features that games can use from scripts.
This is a convenience which creates an instance of the ListExtensionsRequest.Builder avoiding the need to
create one manually via ListExtensionsRequest.builder()
listExtensionsRequest - A Consumer that will call methods on ListExtensionsRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionsIterable listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of available extensions.
Extensions provide features that games can use from scripts.
This is a variant of
listExtensions(software.amazon.awssdk.services.gamesparks.model.ListExtensionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionsIterable responses = client
.listExtensionsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListExtensionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensions(software.amazon.awssdk.services.gamesparks.model.ListExtensionsRequest) operation.
listExtensionsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExtensionsIterable listExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of available extensions.
Extensions provide features that games can use from scripts.
This is a variant of
listExtensions(software.amazon.awssdk.services.gamesparks.model.ListExtensionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionsIterable responses = client
.listExtensionsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListExtensionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensions(software.amazon.awssdk.services.gamesparks.model.ListExtensionsRequest) operation.
This is a convenience which creates an instance of the ListExtensionsRequest.Builder avoiding the need to
create one manually via ListExtensionsRequest.builder()
listExtensionsRequest - A Consumer that will call methods on ListExtensionsRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGamesResponse listGames(ListGamesRequest listGamesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of games.
listGamesRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGamesResponse listGames(Consumer<ListGamesRequest.Builder> listGamesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of games.
This is a convenience which creates an instance of the ListGamesRequest.Builder avoiding the need to
create one manually via ListGamesRequest.builder()
listGamesRequest - A Consumer that will call methods on ListGamesRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGamesIterable listGamesPaginator(ListGamesRequest listGamesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of games.
This is a variant of listGames(software.amazon.awssdk.services.gamesparks.model.ListGamesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListGamesIterable responses = client.listGamesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListGamesIterable responses = client.listGamesPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListGamesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListGamesIterable responses = client.listGamesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGames(software.amazon.awssdk.services.gamesparks.model.ListGamesRequest) operation.
listGamesRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGamesIterable listGamesPaginator(Consumer<ListGamesRequest.Builder> listGamesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of games.
This is a variant of listGames(software.amazon.awssdk.services.gamesparks.model.ListGamesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListGamesIterable responses = client.listGamesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListGamesIterable responses = client.listGamesPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListGamesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListGamesIterable responses = client.listGamesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGames(software.amazon.awssdk.services.gamesparks.model.ListGamesRequest) operation.
This is a convenience which creates an instance of the ListGamesRequest.Builder avoiding the need to
create one manually via ListGamesRequest.builder()
listGamesRequest - A Consumer that will call methods on ListGamesRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeneratedCodeJobsResponse listGeneratedCodeJobs(ListGeneratedCodeJobsRequest listGeneratedCodeJobsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of code generation jobs for a snapshot.
listGeneratedCodeJobsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeneratedCodeJobsResponse listGeneratedCodeJobs(Consumer<ListGeneratedCodeJobsRequest.Builder> listGeneratedCodeJobsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of code generation jobs for a snapshot.
This is a convenience which creates an instance of the ListGeneratedCodeJobsRequest.Builder avoiding the
need to create one manually via ListGeneratedCodeJobsRequest.builder()
listGeneratedCodeJobsRequest - A Consumer that will call methods on ListGeneratedCodeJobsRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeneratedCodeJobsIterable listGeneratedCodeJobsPaginator(ListGeneratedCodeJobsRequest listGeneratedCodeJobsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of code generation jobs for a snapshot.
This is a variant of
listGeneratedCodeJobs(software.amazon.awssdk.services.gamesparks.model.ListGeneratedCodeJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListGeneratedCodeJobsIterable responses = client.listGeneratedCodeJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListGeneratedCodeJobsIterable responses = client
.listGeneratedCodeJobsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListGeneratedCodeJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListGeneratedCodeJobsIterable responses = client.listGeneratedCodeJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGeneratedCodeJobs(software.amazon.awssdk.services.gamesparks.model.ListGeneratedCodeJobsRequest)
operation.
listGeneratedCodeJobsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGeneratedCodeJobsIterable listGeneratedCodeJobsPaginator(Consumer<ListGeneratedCodeJobsRequest.Builder> listGeneratedCodeJobsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of code generation jobs for a snapshot.
This is a variant of
listGeneratedCodeJobs(software.amazon.awssdk.services.gamesparks.model.ListGeneratedCodeJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListGeneratedCodeJobsIterable responses = client.listGeneratedCodeJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListGeneratedCodeJobsIterable responses = client
.listGeneratedCodeJobsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListGeneratedCodeJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListGeneratedCodeJobsIterable responses = client.listGeneratedCodeJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGeneratedCodeJobs(software.amazon.awssdk.services.gamesparks.model.ListGeneratedCodeJobsRequest)
operation.
This is a convenience which creates an instance of the ListGeneratedCodeJobsRequest.Builder avoiding the
need to create one manually via ListGeneratedCodeJobsRequest.builder()
listGeneratedCodeJobsRequest - A Consumer that will call methods on ListGeneratedCodeJobsRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsResponse listSnapshots(ListSnapshotsRequest listSnapshotsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of snapshot summaries from the game.
listSnapshotsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsResponse listSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of snapshot summaries from the game.
This is a convenience which creates an instance of the ListSnapshotsRequest.Builder avoiding the need to
create one manually via ListSnapshotsRequest.builder()
listSnapshotsRequest - A Consumer that will call methods on ListSnapshotsRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsIterable listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of snapshot summaries from the game.
This is a variant of
listSnapshots(software.amazon.awssdk.services.gamesparks.model.ListSnapshotsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListSnapshotsIterable responses = client
.listSnapshotsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListSnapshotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSnapshots(software.amazon.awssdk.services.gamesparks.model.ListSnapshotsRequest) operation.
listSnapshotsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsIterable listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of snapshot summaries from the game.
This is a variant of
listSnapshots(software.amazon.awssdk.services.gamesparks.model.ListSnapshotsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListSnapshotsIterable responses = client
.listSnapshotsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListSnapshotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSnapshots(software.amazon.awssdk.services.gamesparks.model.ListSnapshotsRequest) operation.
This is a convenience which creates an instance of the ListSnapshotsRequest.Builder avoiding the need to
create one manually via ListSnapshotsRequest.builder()
listSnapshotsRequest - A Consumer that will call methods on ListSnapshotsRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStageDeploymentsResponse listStageDeployments(ListStageDeploymentsRequest listStageDeploymentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage deployment summaries from the game.
listStageDeploymentsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStageDeploymentsResponse listStageDeployments(Consumer<ListStageDeploymentsRequest.Builder> listStageDeploymentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage deployment summaries from the game.
This is a convenience which creates an instance of the ListStageDeploymentsRequest.Builder avoiding the
need to create one manually via ListStageDeploymentsRequest.builder()
listStageDeploymentsRequest - A Consumer that will call methods on ListStageDeploymentsRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStageDeploymentsIterable listStageDeploymentsPaginator(ListStageDeploymentsRequest listStageDeploymentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage deployment summaries from the game.
This is a variant of
listStageDeployments(software.amazon.awssdk.services.gamesparks.model.ListStageDeploymentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListStageDeploymentsIterable responses = client.listStageDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListStageDeploymentsIterable responses = client
.listStageDeploymentsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListStageDeploymentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListStageDeploymentsIterable responses = client.listStageDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStageDeployments(software.amazon.awssdk.services.gamesparks.model.ListStageDeploymentsRequest)
operation.
listStageDeploymentsRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStageDeploymentsIterable listStageDeploymentsPaginator(Consumer<ListStageDeploymentsRequest.Builder> listStageDeploymentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage deployment summaries from the game.
This is a variant of
listStageDeployments(software.amazon.awssdk.services.gamesparks.model.ListStageDeploymentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListStageDeploymentsIterable responses = client.listStageDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListStageDeploymentsIterable responses = client
.listStageDeploymentsPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListStageDeploymentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListStageDeploymentsIterable responses = client.listStageDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStageDeployments(software.amazon.awssdk.services.gamesparks.model.ListStageDeploymentsRequest)
operation.
This is a convenience which creates an instance of the ListStageDeploymentsRequest.Builder avoiding the
need to create one manually via ListStageDeploymentsRequest.builder()
listStageDeploymentsRequest - A Consumer that will call methods on ListStageDeploymentsRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStagesResponse listStages(ListStagesRequest listStagesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage summaries from the game.
listStagesRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStagesResponse listStages(Consumer<ListStagesRequest.Builder> listStagesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage summaries from the game.
This is a convenience which creates an instance of the ListStagesRequest.Builder avoiding the need to
create one manually via ListStagesRequest.builder()
listStagesRequest - A Consumer that will call methods on ListStagesRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStagesIterable listStagesPaginator(ListStagesRequest listStagesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage summaries from the game.
This is a variant of listStages(software.amazon.awssdk.services.gamesparks.model.ListStagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListStagesIterable responses = client.listStagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListStagesIterable responses = client.listStagesPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListStagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListStagesIterable responses = client.listStagesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStages(software.amazon.awssdk.services.gamesparks.model.ListStagesRequest) operation.
listStagesRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListStagesIterable listStagesPaginator(Consumer<ListStagesRequest.Builder> listStagesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Gets a paginated list of stage summaries from the game.
This is a variant of listStages(software.amazon.awssdk.services.gamesparks.model.ListStagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.gamesparks.paginators.ListStagesIterable responses = client.listStagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.gamesparks.paginators.ListStagesIterable responses = client.listStagesPaginator(request);
for (software.amazon.awssdk.services.gamesparks.model.ListStagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.gamesparks.paginators.ListStagesIterable responses = client.listStagesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStages(software.amazon.awssdk.services.gamesparks.model.ListStagesRequest) operation.
This is a convenience which creates an instance of the ListStagesRequest.Builder avoiding the need to
create one manually via ListStagesRequest.builder()
listStagesRequest - A Consumer that will call methods on ListStagesRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Lists the tags associated with a GameSparks resource.
listTagsForResourceRequest - ValidationException - One of the parameters in the request is invalid.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Lists the tags associated with a GameSparks resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartGeneratedCodeJobResponse startGeneratedCodeJob(StartGeneratedCodeJobRequest startGeneratedCodeJobRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
startGeneratedCodeJobRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartGeneratedCodeJobResponse startGeneratedCodeJob(Consumer<StartGeneratedCodeJobRequest.Builder> startGeneratedCodeJobRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a convenience which creates an instance of the StartGeneratedCodeJobRequest.Builder avoiding the
need to create one manually via StartGeneratedCodeJobRequest.builder()
startGeneratedCodeJobRequest - A Consumer that will call methods on StartGeneratedCodeJobRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartStageDeploymentResponse startStageDeployment(StartStageDeploymentRequest startStageDeploymentRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
startStageDeploymentRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartStageDeploymentResponse startStageDeployment(Consumer<StartStageDeploymentRequest.Builder> startStageDeploymentRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
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.
This is a convenience which creates an instance of the StartStageDeploymentRequest.Builder avoiding the
need to create one manually via StartStageDeploymentRequest.builder()
startStageDeploymentRequest - A Consumer that will call methods on StartStageDeploymentRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ConflictException - The resource already exists, or another operation is in progress.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Adds tags to a GameSparks resource.
tagResourceRequest - ValidationException - One of the parameters in the request is invalid.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Adds tags to a GameSparks resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Removes tags from a GameSparks resource.
untagResourceRequest - ValidationException - One of the parameters in the request is invalid.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Removes tags from a GameSparks resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGameResponse updateGame(UpdateGameRequest updateGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Updates details of the game.
updateGameRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGameResponse updateGame(Consumer<UpdateGameRequest.Builder> updateGameRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Updates details of the game.
This is a convenience which creates an instance of the UpdateGameRequest.Builder avoiding the need to
create one manually via UpdateGameRequest.builder()
updateGameRequest - A Consumer that will call methods on UpdateGameRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGameConfigurationResponse updateGameConfiguration(UpdateGameConfigurationRequest updateGameConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, GameSparksException
Updates one or more sections of the game configuration.
updateGameConfigurationRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.ServiceQuotaExceededException - The request would result in exceeding service quota.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGameConfigurationResponse updateGameConfiguration(Consumer<UpdateGameConfigurationRequest.Builder> updateGameConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, GameSparksException
Updates one or more sections of the game configuration.
This is a convenience which creates an instance of the UpdateGameConfigurationRequest.Builder avoiding
the need to create one manually via UpdateGameConfigurationRequest.builder()
updateGameConfigurationRequest - A Consumer that will call methods on UpdateGameConfigurationRequest.Builder to create a
request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.ServiceQuotaExceededException - The request would result in exceeding service quota.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSnapshotResponse updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Updates the metadata of a GameSparks snapshot.
updateSnapshotRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSnapshotResponse updateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Updates the metadata of a GameSparks snapshot.
This is a convenience which creates an instance of the UpdateSnapshotRequest.Builder avoiding the need to
create one manually via UpdateSnapshotRequest.builder()
updateSnapshotRequest - A Consumer that will call methods on UpdateSnapshotRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateStageResponse updateStage(UpdateStageRequest updateStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Updates the metadata of a stage.
updateStageRequest - ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateStageResponse updateStage(Consumer<UpdateStageRequest.Builder> updateStageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, GameSparksException
Updates the metadata of a stage.
This is a convenience which creates an instance of the UpdateStageRequest.Builder avoiding the need to
create one manually via UpdateStageRequest.builder()
updateStageRequest - A Consumer that will call methods on UpdateStageRequest.Builder to create a request.ValidationException - One of the parameters in the request is invalid.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request throughput limit was exceeded.ResourceNotFoundException - The resource specified in the request does not exist.InternalServerException - The service encountered an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GameSparksException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.