ResilienceHub / Client / list_app_versions

list_app_versions#

ResilienceHub.Client.list_app_versions(**kwargs)#

Lists the different versions for the Resilience Hub applications.

See also: AWS API Documentation

Request Syntax

response = client.list_app_versions(
    appArn='string',
    endTime=datetime(2015, 1, 1),
    maxResults=123,
    nextToken='string',
    startTime=datetime(2015, 1, 1)
)
Parameters:
  • appArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub: region: account:app/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

  • endTime (datetime) – Upper limit of the time range to filter the application versions.

  • maxResults (integer) – Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • nextToken (string) – Null, or the token from a previous call to get the next set of results.

  • startTime (datetime) – Lower limit of the time range to filter the application versions.

Return type:

dict

Returns:

Response Syntax

{
    'appVersions': [
        {
            'appVersion': 'string',
            'creationTime': datetime(2015, 1, 1),
            'identifier': 123,
            'versionName': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • appVersions (list) –

      The version of the application.

      • (dict) –

        Version of an application.

        • appVersion (string) –

          Version of an application.

        • creationTime (datetime) –

          Creation time of the application version.

        • identifier (integer) –

          Identifier of the application version.

        • versionName (string) –

          Name of the application version.

    • nextToken (string) –

      Token for the next set of results, or null if there are no more results.

Exceptions

  • ResilienceHub.Client.exceptions.InternalServerException

  • ResilienceHub.Client.exceptions.ResourceNotFoundException

  • ResilienceHub.Client.exceptions.ValidationException

  • ResilienceHub.Client.exceptions.AccessDeniedException