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'
)
[REQUIRED]
The unique identifier of the application.
dict
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