update_application
async
¶
update_application(
identifier: Identifier,
*,
config_overrides: Optional[AsyncGameLiftStreamsClientConfig] = None,
description: Optional[Description] = None,
application_log_paths: Optional[FilePaths] = None,
application_log_output_uri: Optional[ApplicationLogOutputUri] = None,
) -> UpdateApplicationOutput
Updates the mutable configuration settings for a Amazon GameLift Streams application resource. You can change the Description, ApplicationLogOutputUri, and ApplicationLogPaths.
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.
Parameters:
-
identifier(Identifier) –An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6. Example ID:a-9ZY8X7Wv6. -
description(Optional[Description], default:None) –A human-readable label for the application.
-
application_log_paths(Optional[FilePaths], default:None) –Locations of log files that your content generates during a stream session. Enter path values that are relative to the
ApplicationSourceUrilocation, or relative to the user's home directory when using a supported path variable. You can specify up to 10 log paths. Each individual log file cannot exceed 50 MB in size.Each path can be a directory or an exact file path. When you specify a directory, Amazon GameLift Streams collects only files with the following extensions:
.txt,.log, and.utrace. To collect files with other extensions, specify the exact file path. The copy operation is not performed recursively in subfolders.The following path variables are recognized when they appear as the first component of a path:
%USERPROFILE%(Windows and Proton),$HOMEor~(Linux). Use a path variable when your application writes logs outside of the application directory.Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify in
ApplicationLogOutputUriat the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri. -
application_log_output_uri(Optional[ApplicationLogOutputUri], default:None) –An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. Required if you specify one or more
ApplicationLogPaths.The log bucket must have permissions that give Amazon GameLift Streams access to write the log files. For more information, see Application log bucket permission policy in the Amazon GameLift Streams Developer Guide.
Raises:
-
AccessDeniedException–You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the permissions before you try again.
-
InternalServerException–The service encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request was not found. Correct the request before you try again.
-
ThrottlingException–The request was denied due to request throttling. Retry the request after the suggested wait time.
-
ValidationException–One or more parameter values in the request fail to satisfy the specified constraints. Correct the invalid parameter values before retrying the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_gameliftstreams/_services/async_game_lift_streams.py
1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 | |