GameLiftStreams / Client / get_application

get_application#

GameLiftStreams.Client.get_application(**kwargs)#

Retrieves properties for an Amazon GameLift Streams application resource. Specify the ID of the application that you want to retrieve. If the operation is successful, it returns properties for the requested application.

See also: AWS API Documentation

Request Syntax

response = client.get_application(
    Identifier='string'
)
Parameters:

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 more LogPaths.

    • 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 the LogFileLocationUri.

      • (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. See StatusReason 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