SsmSap / Client / get_application

get_application#

SsmSap.Client.get_application(**kwargs)#

Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.

See also: AWS API Documentation

Request Syntax

response = client.get_application(
    ApplicationId='string',
    ApplicationArn='string',
    AppRegistryArn='string'
)
Parameters:
  • ApplicationId (string) – The ID of the application.

  • ApplicationArn (string) – The Amazon Resource Name (ARN) of the application.

  • AppRegistryArn (string) – The Amazon Resource Name (ARN) of the application registry.

Return type:

dict

Returns:

Response Syntax

{
    'Application': {
        'Id': 'string',
        'Type': 'HANA'|'SAP_ABAP',
        'Arn': 'string',
        'AppRegistryArn': 'string',
        'Status': 'ACTIVATED'|'STARTING'|'STOPPED'|'STOPPING'|'FAILED'|'REGISTERING'|'DELETING'|'UNKNOWN',
        'DiscoveryStatus': 'SUCCESS'|'REGISTRATION_FAILED'|'REFRESH_FAILED'|'REGISTERING'|'DELETING',
        'Components': [
            'string',
        ],
        'LastUpdated': datetime(2015, 1, 1),
        'StatusMessage': 'string',
        'AssociatedApplicationArns': [
            'string',
        ]
    },
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Application (dict) –

      Returns all of the metadata of an application registered with AWS Systems Manager for SAP.

      • Id (string) –

        The ID of the application.

      • Type (string) –

        The type of the application.

      • Arn (string) –

        The Amazon Resource Name (ARN) of the application.

      • AppRegistryArn (string) –

        The Amazon Resource Name (ARN) of the Application Registry.

      • Status (string) –

        The status of the application.

      • DiscoveryStatus (string) –

        The latest discovery result for the application.

      • Components (list) –

        The components of the application.

        • (string) –

      • LastUpdated (datetime) –

        The time at which the application was last updated.

      • StatusMessage (string) –

        The status message.

      • AssociatedApplicationArns (list) –

        The Amazon Resource Names of the associated AWS Systems Manager for SAP applications.

        • (string) –

    • Tags (dict) –

      The tags of a registered application.

      • (string) –

        • (string) –

Exceptions

  • SsmSap.Client.exceptions.ValidationException

  • SsmSap.Client.exceptions.InternalServerException