MainframeModernization / Client / get_application_version

get_application_version#

MainframeModernization.Client.get_application_version(**kwargs)#

Returns details about a specific version of a specific application.

See also: AWS API Documentation

Request Syntax

response = client.get_application_version(
    applicationId='string',
    applicationVersion=123
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The unique identifier of the application.

  • applicationVersion (integer) –

    [REQUIRED]

    The specific version of the application.

Return type:

dict

Returns:

Response Syntax

{
    'applicationVersion': 123,
    'creationTime': datetime(2015, 1, 1),
    'definitionContent': 'string',
    'description': 'string',
    'name': 'string',
    'status': 'Creating'|'Available'|'Failed',
    'statusReason': 'string'
}

Response Structure

  • (dict) –

    • applicationVersion (integer) –

      The specific version of the application.

    • creationTime (datetime) –

      The timestamp when the application version was created.

    • definitionContent (string) –

      The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.

    • description (string) –

      The application description.

    • name (string) –

      The name of the application version.

    • status (string) –

      The status of the application version.

    • statusReason (string) –

      The reason for the reported status.

Exceptions