GameLiftStreams / Client / update_application
update_application#
- GameLiftStreams.Client.update_application(**kwargs)#
Updates the mutable configuration settings for a Amazon GameLift Streams application resource. You can change the
Description
,ApplicationLogOutputUri
, andApplicationLogPaths
.To update application settings, specify the application ID and provide the new values. If the operation is successful, it returns the complete updated set of settings for the application.
See also: AWS API Documentation
Request Syntax
response = client.update_application( ApplicationLogOutputUri='string', ApplicationLogPaths=[ 'string', ], Description='string', Identifier='string' )
- Parameters:
ApplicationLogOutputUri (string) –
An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. Use the following format for the URI:
s3://[bucket name]/[prefix]
. Required if you specify one or moreLogPaths
.Note
The log bucket must have permissions that give Amazon GameLift Streams access to write the log files. For more information, see Getting Started in the Amazon GameLift Streams Developer Guide.
ApplicationLogPaths (list) –
Locations of log files that your content generates during a stream session. Enter path values that are relative to the
ApplicationSourceUri
location. You can specify up to 10 log locations. Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify inApplicationLogOutputUri
at the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri
.(string) –
Description (string) – A human-readable label for the application.
Identifier (string) –
[REQUIRED]
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Format example: ARN-
arn:aws:gameliftstreams:us-west-2:123456789012:application/9ZY8X7Wv6
or ID-9ZY8X7Wv6
.
- Return type:
dict
- Returns:
Response Syntax
{ 'ApplicationLogOutputUri': 'string', 'ApplicationLogPaths': [ 'string', ], 'ApplicationSourceUri': 'string', 'Arn': 'string', 'AssociatedStreamGroups': [ 'string', ], 'CreatedAt': datetime(2015, 1, 1), 'Description': 'string', 'ExecutablePath': 'string', 'Id': 'string', 'LastUpdatedAt': datetime(2015, 1, 1), 'ReplicationStatuses': [ { 'Location': 'string', 'Status': 'REPLICATING'|'COMPLETED' }, ], 'RuntimeEnvironment': { 'Type': 'PROTON'|'WINDOWS'|'UBUNTU', 'Version': 'string' }, 'Status': 'INITIALIZED'|'PROCESSING'|'READY'|'DELETING'|'ERROR', 'StatusReason': 'internalError'|'accessDenied' }
Response Structure
(dict) –
ApplicationLogOutputUri (string) –
An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. Use the following format for the URI:
s3://[bucket name]/[prefix]
. Required if you specify one or moreLogPaths
.ApplicationLogPaths (list) –
Locations of log files that your content generates during a stream session. Amazon GameLift Streams uploads log files to the Amazon S3 bucket that you specify in
ApplicationLogOutputUri
at the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri
.(string) –
ApplicationSourceUri (string) –
The original Amazon S3 location of uploaded stream content for the application.
Arn (string) –
An Amazon Resource Name (ARN) that’s assigned to an application resource and uniquely identifies it across all Amazon Web Services Regions. Format is
arn:aws:gameliftstreams:[AWS Region]:[AWS account]:application/[resource ID]
.AssociatedStreamGroups (list) –
A set of stream groups that this application is associated with. You can use any of these stream groups to stream your application.
This value is a set of Amazon Resource Names (ARNs) that uniquely identify stream group resources. Format example:
arn:aws:gameliftstreams:us-west-2:123456789012:streamgroup/1AB2C3De4
.(string) –
CreatedAt (datetime) –
A timestamp that indicates when this resource was created. Timestamps are expressed using in ISO8601 format, such as:
2022-12-27T22:29:40+00:00
(UTC).Description (string) –
A human-readable label for the application. You can edit this value.
ExecutablePath (string) –
The path and file name of the executable file that launches the content for streaming.
Id (string) –
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Format example: ARN-
arn:aws:gameliftstreams:us-west-2:123456789012:application/9ZY8X7Wv6
or ID-9ZY8X7Wv6
.LastUpdatedAt (datetime) –
A timestamp that indicates when this resource was last updated. Timestamps are expressed using in ISO8601 format, such as:
2022-12-27T22:29:40+00:00
(UTC).ReplicationStatuses (list) –
A set of replication statuses for each location.
(dict) –
Represents the status of the replication of an application to a location. An application cannot be streamed from a location until it has finished replicating there.
Location (string) –
A location’s name. For example,
us-east-1
. For a complete list of locations that Amazon GameLift Streams supports, see the Regions and quotas section in the Amazon GameLift Streams Developer Guide .Status (string) –
The current status of the replication process.
RuntimeEnvironment (dict) –
A set of configuration settings to run the application on a stream group. This configures the operating system, and can include compatibility layers and other drivers.
A runtime environment can be one of the following:
For Linux applications
Ubuntu 22.04 LTS(
Type=UBUNTU, Version=22_04_LTS
)
For Windows applications
Microsoft Windows Server 2022 Base (
Type=WINDOWS, Version=2022
)Proton 8.0-5 (
Type=PROTON, Version=20241007
)Proton 8.0-2c (
Type=PROTON, Version=20230704
)
Type (string) –
The operating system and other drivers. For Proton, this also includes the Proton compatibility layer.
Version (string) –
Versioned container environment for the application operating system.
Status (string) –
The current status of the application resource. Possible statuses include the following:
INITIALIZED
: Amazon GameLift Streams has received the request and is initiating the work flow to create an application.PROCESSING
: The create application work flow is in process. Amazon GameLift Streams is copying the content and caching for future deployment in a stream group.READY
: The application is ready to deploy in a stream group.ERROR
: An error occurred when setting up the application. SeeStatusReason
for more information.DELETING
: Amazon GameLift Streams is in the process of deleting the application.
StatusReason (string) –
A short description of the status reason when the application is in
ERROR
status.
Exceptions