AppStream / Client / update_application

update_application#

AppStream.Client.update_application(**kwargs)#

Updates the specified application.

See also: AWS API Documentation

Request Syntax

response = client.update_application(
    Name='string',
    DisplayName='string',
    Description='string',
    IconS3Location={
        'S3Bucket': 'string',
        'S3Key': 'string'
    },
    LaunchPath='string',
    WorkingDirectory='string',
    LaunchParameters='string',
    AppBlockArn='string',
    AttributesToDelete=[
        'LAUNCH_PARAMETERS'|'WORKING_DIRECTORY',
    ]
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the application. This name is visible to users when display name is not specified.

  • DisplayName (string) – The display name of the application. This name is visible to users in the application catalog.

  • Description (string) – The description of the application.

  • IconS3Location (dict) –

    The icon S3 location of the application.

    • S3Bucket (string) – [REQUIRED]

      The S3 bucket of the S3 object.

    • S3Key (string) – [REQUIRED]

      The S3 key of the S3 object.

  • LaunchPath (string) – The launch path of the application.

  • WorkingDirectory (string) – The working directory of the application.

  • LaunchParameters (string) – The launch parameters of the application.

  • AppBlockArn (string) – The ARN of the app block.

  • AttributesToDelete (list) –

    The attributes to delete for an application.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Application': {
        'Name': 'string',
        'DisplayName': 'string',
        'IconURL': 'string',
        'LaunchPath': 'string',
        'LaunchParameters': 'string',
        'Enabled': True|False,
        'Metadata': {
            'string': 'string'
        },
        'WorkingDirectory': 'string',
        'Description': 'string',
        'Arn': 'string',
        'AppBlockArn': 'string',
        'IconS3Location': {
            'S3Bucket': 'string',
            'S3Key': 'string'
        },
        'Platforms': [
            'WINDOWS'|'WINDOWS_SERVER_2016'|'WINDOWS_SERVER_2019'|'AMAZON_LINUX2',
        ],
        'InstanceFamilies': [
            'string',
        ],
        'CreatedTime': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • Application (dict) –

      Describes an application in the application catalog.

      • Name (string) –

        The name of the application.

      • DisplayName (string) –

        The application name to display.

      • IconURL (string) –

        The URL for the application icon. This URL might be time-limited.

      • LaunchPath (string) –

        The path to the application executable in the instance.

      • LaunchParameters (string) –

        The arguments that are passed to the application at launch.

      • Enabled (boolean) –

        If there is a problem, the application can be disabled after image creation.

      • Metadata (dict) –

        Additional attributes that describe the application.

        • (string) –

          • (string) –

      • WorkingDirectory (string) –

        The working directory for the application.

      • Description (string) –

        The description of the application.

      • Arn (string) –

        The ARN of the application.

      • AppBlockArn (string) –

        The app block ARN of the application.

      • IconS3Location (dict) –

        The S3 location of the application icon.

        • S3Bucket (string) –

          The S3 bucket of the S3 object.

        • S3Key (string) –

          The S3 key of the S3 object.

      • Platforms (list) –

        The platforms on which the application can run.

        • (string) –

      • InstanceFamilies (list) –

        The instance families for the application.

        • (string) –

      • CreatedTime (datetime) –

        The time at which the application was created within the app block.

Exceptions

  • AppStream.Client.exceptions.OperationNotPermittedException

  • AppStream.Client.exceptions.ConcurrentModificationException

  • AppStream.Client.exceptions.ResourceNotFoundException