update_stage
(**kwargs)¶Updates the metadata of a stage.
See also: AWS API Documentation
Request Syntax
response = client.update_stage(
Description='string',
GameName='string',
Role='string',
StageName='string'
)
[REQUIRED]
The name of the game.
[REQUIRED]
The name of the stage.
dict
Response Syntax
{
'Stage': {
'Arn': 'string',
'Created': datetime(2015, 1, 1),
'Description': 'string',
'GameKey': 'string',
'LastUpdated': datetime(2015, 1, 1),
'LogGroup': 'string',
'Name': 'string',
'Role': 'string',
'State': 'ACTIVE'|'DELETING',
'Tags': {
'string': 'string'
}
}
}
Response Structure
(dict) --
Stage (dict) --
Properties that provide details of the updated stage.
Arn (string) --
The Amazon Resource Name (ARN) of the stage.
Created (datetime) --
The timestamp of when the stage was created.
Description (string) --
The description of the stage.
GameKey (string) --
The game key associated with the stage.
The game key is a unique identifier that the game client uses to connect to the GameSparks backend.
LastUpdated (datetime) --
The timestamp of when the stage was last updated.
LogGroup (string) --
The Amazon CloudWatch log group for game runtimes deployed to the stage.
Name (string) --
The name of the stage.
Role (string) --
The Amazon Resource Name (ARN) of the role used to run the game runtimes deployed to the stage.
State (string) --
The state of the stage.
Tags (dict) --
The tags associated with the stage.
Exceptions
GameSparks.Client.exceptions.ValidationException
GameSparks.Client.exceptions.AccessDeniedException
GameSparks.Client.exceptions.ThrottlingException
GameSparks.Client.exceptions.ResourceNotFoundException
GameSparks.Client.exceptions.InternalServerException