KinesisAnalyticsV2 / Client / list_application_versions

list_application_versions#

KinesisAnalyticsV2.Client.list_application_versions(**kwargs)#

Lists all the versions for the specified application, including versions that were rolled back. The response also includes a summary of the configuration associated with each version.

To get the complete description of a specific application version, invoke the DescribeApplicationVersion operation.

Note

This operation is supported only for Managed Service for Apache Flink.

See also: AWS API Documentation

Request Syntax

response = client.list_application_versions(
    ApplicationName='string',
    Limit=123,
    NextToken='string'
)
Parameters:
  • ApplicationName (string) –

    [REQUIRED]

    The name of the application for which you want to list all versions.

  • Limit (integer) – The maximum number of versions to list in this invocation of the operation.

  • NextToken (string) – If a previous invocation of this operation returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see Using the Amazon Command Line Interface’s Pagination Options.

Return type:

dict

Returns:

Response Syntax

{
    'ApplicationVersionSummaries': [
        {
            'ApplicationVersionId': 123,
            'ApplicationStatus': 'DELETING'|'STARTING'|'STOPPING'|'READY'|'RUNNING'|'UPDATING'|'AUTOSCALING'|'FORCE_STOPPING'|'ROLLING_BACK'|'MAINTENANCE'|'ROLLED_BACK'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ApplicationVersionSummaries (list) –

      A list of the application versions and the associated configuration summaries. The list includes application versions that were rolled back.

      To get the complete description of a specific application version, invoke the DescribeApplicationVersion operation.

      • (dict) –

        The summary of the application version.

        • ApplicationVersionId (integer) –

          The ID of the application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application.

        • ApplicationStatus (string) –

          The status of the application.

    • NextToken (string) –

      The pagination token for the next set of results, or null if there are no additional results. To retrieve the next set of items, pass this token into a subsequent invocation of this operation. For more information about pagination, see Using the Amazon Command Line Interface’s Pagination Options.

Exceptions