MainframeModernization / Client / list_application_versions

list_application_versions#

MainframeModernization.Client.list_application_versions(**kwargs)#

Returns a list of the application versions for a specific application.

See also: AWS API Documentation

Request Syntax

response = client.list_application_versions(
    applicationId='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The unique identifier of the application.

  • maxResults (integer) – The maximum number of application versions to return.

  • nextToken (string) – A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

Return type:

dict

Returns:

Response Syntax

{
    'applicationVersions': [
        {
            'applicationVersion': 123,
            'creationTime': datetime(2015, 1, 1),
            'status': 'Creating'|'Available'|'Failed',
            'statusReason': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • applicationVersions (list) –

      The list of application versions.

      • (dict) –

        Defines an application version summary.

        • applicationVersion (integer) –

          The application version.

        • creationTime (datetime) –

          The timestamp when the application version was created.

        • status (string) –

          The status of the application.

        • statusReason (string) –

          The reason for the reported status.

    • nextToken (string) –

      If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

Exceptions

  • MainframeModernization.Client.exceptions.ValidationException

  • MainframeModernization.Client.exceptions.InternalServerException

  • MainframeModernization.Client.exceptions.AccessDeniedException

  • MainframeModernization.Client.exceptions.ThrottlingException

  • MainframeModernization.Client.exceptions.ResourceNotFoundException