Struct aws_sdk_gamesparks::client::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for GameSparks
Client for invoking operations on GameSparks. Each operation on GameSparks is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_gamesparks::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_gamesparks::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_gamesparks::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn create_game(&self) -> CreateGame
pub fn create_game(&self) -> CreateGame
Constructs a fluent builder for the CreateGame
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the game.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:A client-defined token. With an active client token in the request, this action is idempotent.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:The list of tags to apply to the game.
- On success, responds with
CreateGameOutput
with field(s):game(Option<GameDetails>)
:Details about the game that was created.
- On failure, responds with
SdkError<CreateGameError>
sourcepub fn create_snapshot(&self) -> CreateSnapshot
pub fn create_snapshot(&self) -> CreateSnapshot
Constructs a fluent builder for the CreateSnapshot
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the snapshot.
- On success, responds with
CreateSnapshotOutput
with field(s):snapshot(Option<SnapshotDetails>)
:Properties that provide details of the created snapshot.
- On failure, responds with
SdkError<CreateSnapshotError>
sourcepub fn create_stage(&self) -> CreateStage
pub fn create_stage(&self) -> CreateStage
Constructs a fluent builder for the CreateStage
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
role(impl Into<String>)
/set_role(Option<String>)
:The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the stage.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:A client-defined token. With an active client token in the request, this action is idempotent.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:The list of tags to apply to the stage.
- On success, responds with
CreateStageOutput
with field(s):stage(Option<StageDetails>)
:Properties that describe the stage.
- On failure, responds with
SdkError<CreateStageError>
sourcepub fn delete_game(&self) -> DeleteGame
pub fn delete_game(&self) -> DeleteGame
Constructs a fluent builder for the DeleteGame
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game to delete.
- On success, responds with
DeleteGameOutput
- On failure, responds with
SdkError<DeleteGameError>
sourcepub fn delete_stage(&self) -> DeleteStage
pub fn delete_stage(&self) -> DeleteStage
Constructs a fluent builder for the DeleteStage
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage to delete.
- On success, responds with
DeleteStageOutput
- On failure, responds with
SdkError<DeleteStageError>
sourcepub fn disconnect_player(&self) -> DisconnectPlayer
pub fn disconnect_player(&self) -> DisconnectPlayer
Constructs a fluent builder for the DisconnectPlayer
operation.
- The fluent builder is configurable:
player_id(impl Into<String>)
/set_player_id(Option<String>)
:The unique identifier representing a player.
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
- On success, responds with
DisconnectPlayerOutput
with field(s):disconnect_successes(Option<Vec<String>>)
:The list of the connection ids that were disconnected.
disconnect_failures(Option<Vec<String>>)
:The list of the connection ids that could not be disconnected.
- On failure, responds with
SdkError<DisconnectPlayerError>
sourcepub fn export_snapshot(&self) -> ExportSnapshot
pub fn export_snapshot(&self) -> ExportSnapshot
Constructs a fluent builder for the ExportSnapshot
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot to export.
- On success, responds with
ExportSnapshotOutput
with field(s):s3_url(Option<String>)
:The presigned URL for the snapshot data.
This URL will be available for 10 minutes, and can be used to download the snapshot content. If the URL expires, a new one can be requested using the same operation.
- On failure, responds with
SdkError<ExportSnapshotError>
sourcepub fn get_extension(&self) -> GetExtension
pub fn get_extension(&self) -> GetExtension
Constructs a fluent builder for the GetExtension
operation.
- The fluent builder is configurable:
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace (qualifier) of the extension.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the extension.
- On success, responds with
GetExtensionOutput
with field(s):extension(Option<ExtensionDetails>)
:Details about the extension.
- On failure, responds with
SdkError<GetExtensionError>
sourcepub fn get_extension_version(&self) -> GetExtensionVersion
pub fn get_extension_version(&self) -> GetExtensionVersion
Constructs a fluent builder for the GetExtensionVersion
operation.
- The fluent builder is configurable:
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace (qualifier) of the extension.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the extension.
extension_version(impl Into<String>)
/set_extension_version(Option<String>)
:The version of the extension.
- On success, responds with
GetExtensionVersionOutput
with field(s):extension_version(Option<ExtensionVersionDetails>)
:The version of the extension.
- On failure, responds with
SdkError<GetExtensionVersionError>
sourcepub fn get_game(&self) -> GetGame
pub fn get_game(&self) -> GetGame
Constructs a fluent builder for the GetGame
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
- On success, responds with
GetGameOutput
with field(s):game(Option<GameDetails>)
:The details of the game.
- On failure, responds with
SdkError<GetGameError>
sourcepub fn get_game_configuration(&self) -> GetGameConfiguration
pub fn get_game_configuration(&self) -> GetGameConfiguration
Constructs a fluent builder for the GetGameConfiguration
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
sections(Vec<String>)
/set_sections(Option<Vec<String>>)
:The list of sections to return.
- On success, responds with
GetGameConfigurationOutput
with field(s):game_configuration(Option<GameConfigurationDetails>)
:Details about the game configuration.
- On failure, responds with
SdkError<GetGameConfigurationError>
sourcepub fn get_generated_code_job(&self) -> GetGeneratedCodeJob
pub fn get_generated_code_job(&self) -> GetGeneratedCodeJob
Constructs a fluent builder for the GetGeneratedCodeJob
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot for the code generation job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The identifier of the code generation job.
- On success, responds with
GetGeneratedCodeJobOutput
with field(s):generated_code_job(Option<GeneratedCodeJobDetails>)
:Details about the generated code job.
- On failure, responds with
SdkError<GetGeneratedCodeJobError>
sourcepub fn get_player_connection_status(&self) -> GetPlayerConnectionStatus
pub fn get_player_connection_status(&self) -> GetPlayerConnectionStatus
Constructs a fluent builder for the GetPlayerConnectionStatus
operation.
- The fluent builder is configurable:
player_id(impl Into<String>)
/set_player_id(Option<String>)
:The unique identifier representing a player.
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
- On success, responds with
GetPlayerConnectionStatusOutput
with field(s):connections(Option<Vec<Connection>>)
:The list of connection ids, one for each connection in use by the player.
- On failure, responds with
SdkError<GetPlayerConnectionStatusError>
sourcepub fn get_snapshot(&self) -> GetSnapshot
pub fn get_snapshot(&self) -> GetSnapshot
Constructs a fluent builder for the GetSnapshot
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot.
sections(Vec<String>)
/set_sections(Option<Vec<String>>)
:The list of game configuration sections to be described.
- On success, responds with
GetSnapshotOutput
with field(s):snapshot(Option<SnapshotDetails>)
:Properties that provide details of the snapshot.
- On failure, responds with
SdkError<GetSnapshotError>
sourcepub fn get_stage(&self) -> GetStage
pub fn get_stage(&self) -> GetStage
Constructs a fluent builder for the GetStage
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
- On success, responds with
GetStageOutput
with field(s):stage(Option<StageDetails>)
:Properties that provide details of the stage.
- On failure, responds with
SdkError<GetStageError>
sourcepub fn get_stage_deployment(&self) -> GetStageDeployment
pub fn get_stage_deployment(&self) -> GetStageDeployment
Constructs a fluent builder for the GetStageDeployment
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
deployment_id(impl Into<String>)
/set_deployment_id(Option<String>)
:The identifier of the stage deployment.
StartStageDeployment
returns the identifier that you use here.
- On success, responds with
GetStageDeploymentOutput
with field(s):stage_deployment(Option<StageDeploymentDetails>)
:Properties that provide details of the stage deployment.
- On failure, responds with
SdkError<GetStageDeploymentError>
sourcepub fn import_game_configuration(&self) -> ImportGameConfiguration
pub fn import_game_configuration(&self) -> ImportGameConfiguration
Constructs a fluent builder for the ImportGameConfiguration
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
import_source(ImportGameConfigurationSource)
/set_import_source(Option<ImportGameConfigurationSource>)
:The source used to import configuration sections.
- On success, responds with
ImportGameConfigurationOutput
with field(s):game_configuration(Option<GameConfigurationDetails>)
:Details about the game configuration.
- On failure, responds with
SdkError<ImportGameConfigurationError>
sourcepub fn list_extensions(&self) -> ListExtensions
pub fn list_extensions(&self) -> ListExtensions
Constructs a fluent builder for the ListExtensions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- On success, responds with
ListExtensionsOutput
with field(s):extensions(Option<Vec<ExtensionDetails>>)
:The list of extensions.
next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListExtensionsError>
sourcepub fn list_extension_versions(&self) -> ListExtensionVersions
pub fn list_extension_versions(&self) -> ListExtensionVersions
Constructs a fluent builder for the ListExtensionVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace (qualifier) of the extension.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the extension.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
- On success, responds with
ListExtensionVersionsOutput
with field(s):extension_versions(Option<Vec<ExtensionVersionDetails>>)
:The list of extension versions.
next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListExtensionVersionsError>
sourcepub fn list_games(&self) -> ListGames
pub fn list_games(&self) -> ListGames
Constructs a fluent builder for the ListGames
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- On success, responds with
ListGamesOutput
with field(s):games(Option<Vec<GameSummary>>)
:The list of games.
next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListGamesError>
sourcepub fn list_generated_code_jobs(&self) -> ListGeneratedCodeJobs
pub fn list_generated_code_jobs(&self) -> ListGeneratedCodeJobs
Constructs a fluent builder for the ListGeneratedCodeJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- On success, responds with
ListGeneratedCodeJobsOutput
with field(s):generated_code_jobs(Option<Vec<GeneratedCodeJobDetails>>)
:The list of generated code jobs.
next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListGeneratedCodeJobsError>
sourcepub fn list_snapshots(&self) -> ListSnapshots
pub fn list_snapshots(&self) -> ListSnapshots
Constructs a fluent builder for the ListSnapshots
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- On success, responds with
ListSnapshotsOutput
with field(s):snapshots(Option<Vec<SnapshotSummary>>)
:A list of snapshot summaries. You can use the returned snapshot IDs in the
UpdateSnapshot
andGetSnapshot
operations.next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListSnapshotsError>
sourcepub fn list_stage_deployments(&self) -> ListStageDeployments
pub fn list_stage_deployments(&self) -> ListStageDeployments
Constructs a fluent builder for the ListStageDeployments
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
- On success, responds with
ListStageDeploymentsOutput
with field(s):stage_deployments(Option<Vec<StageDeploymentSummary>>)
:A list of stage deployment summaries. You can use the deployment IDs in the
UpdateStageDeployment
andGetStageDeployment
actions.next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListStageDeploymentsError>
sourcepub fn list_stages(&self) -> ListStages
pub fn list_stages(&self) -> ListStages
Constructs a fluent builder for the ListStages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- On success, responds with
ListStagesOutput
with field(s):stages(Option<Vec<StageSummary>>)
:A list of stage summaries. You can use the stage names in the
UpdateStage
andGetStage
actions.next_token(Option<String>)
:The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
- On failure, responds with
SdkError<ListStagesError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the GameSparks resource.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap<String, String>>)
:The tags associated with the resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn start_generated_code_job(&self) -> StartGeneratedCodeJob
pub fn start_generated_code_job(&self) -> StartGeneratedCodeJob
Constructs a fluent builder for the StartGeneratedCodeJob
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot for which to generate code.
generator(Generator)
/set_generator(Option<Generator>)
:Properties of the generator to use for the job.
- On success, responds with
StartGeneratedCodeJobOutput
with field(s):generated_code_job_id(Option<String>)
:The identifier of the code generation job. You can use this identifier in the
GetGeneratedCodeJob
operation.
- On failure, responds with
SdkError<StartGeneratedCodeJobError>
sourcepub fn start_stage_deployment(&self) -> StartStageDeployment
pub fn start_stage_deployment(&self) -> StartStageDeployment
Constructs a fluent builder for the StartStageDeployment
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage to deploy the snapshot onto.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot to deploy.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:A client-defined token. With an active client token in the request, this action is idempotent.
- On success, responds with
StartStageDeploymentOutput
with field(s):stage_deployment(Option<StageDeploymentDetails>)
:Properties that describe the stage deployment.
- On failure, responds with
SdkError<StartStageDeploymentError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to add the tags to.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:The tags to add to the resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to remove the tags from.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:The keys of the tags to remove.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_game(&self) -> UpdateGame
pub fn update_game(&self) -> UpdateGame
Constructs a fluent builder for the UpdateGame
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the game.
- On success, responds with
UpdateGameOutput
with field(s):game(Option<GameDetails>)
:The details of the game.
- On failure, responds with
SdkError<UpdateGameError>
sourcepub fn update_game_configuration(&self) -> UpdateGameConfiguration
pub fn update_game_configuration(&self) -> UpdateGameConfiguration
Constructs a fluent builder for the UpdateGameConfiguration
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
modifications(Vec<SectionModification>)
/set_modifications(Option<Vec<SectionModification>>)
:The list of modifications to make.
- On success, responds with
UpdateGameConfigurationOutput
with field(s):game_configuration(Option<GameConfigurationDetails>)
:Details about the game configuration.
- On failure, responds with
SdkError<UpdateGameConfigurationError>
sourcepub fn update_snapshot(&self) -> UpdateSnapshot
pub fn update_snapshot(&self) -> UpdateSnapshot
Constructs a fluent builder for the UpdateSnapshot
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:The identifier of the snapshot.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the snapshot.
- On success, responds with
UpdateSnapshotOutput
with field(s):snapshot(Option<SnapshotDetails>)
:Properties that provide details of the updated snapshot.
- On failure, responds with
SdkError<UpdateSnapshotError>
sourcepub fn update_stage(&self) -> UpdateStage
pub fn update_stage(&self) -> UpdateStage
Constructs a fluent builder for the UpdateStage
operation.
- The fluent builder is configurable:
game_name(impl Into<String>)
/set_game_name(Option<String>)
:The name of the game.
stage_name(impl Into<String>)
/set_stage_name(Option<String>)
:The name of the stage.
role(impl Into<String>)
/set_role(Option<String>)
:The Amazon Resource Name (ARN) of the role to use for the game snapshots deployed to this stage.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the stage.
- On success, responds with
UpdateStageOutput
with field(s):stage(Option<StageDetails>)
:Properties that provide details of the updated stage.
- On failure, responds with
SdkError<UpdateStageError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more