Skip to main content

application_versions

Creates, updates, deletes, gets or lists an application_versions resource.

Overview

Nameapplication_versions
TypeResource
Idaws.kinesisanalyticsv2.application_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_arnstringThe ARN of the application. (pattern: <code>arn:.*</code>)
application_configuration_descriptionobjectDescribes details about the application code and starting parameters for a Managed Service for Apache Flink application.
application_descriptionstringThe description of the application.
application_maintenance_configuration_descriptionobjectThe details of the maintenance configuration for the application.
application_modestringTo create a Managed Service for Apache Flink Studio notebook, you must set the mode to INTERACTIVE. However, for a Managed Service for Apache Flink application, the mode is optional. (STREAMING, INTERACTIVE)
application_namestringThe name of the application. (pattern: <code>[a-zA-Z0-9_.-]+</code>)
application_statusstringThe status of the application. (DELETING, STARTING, STOPPING, READY, RUNNING, UPDATING, AUTOSCALING, FORCE_STOPPING, ROLLING_BACK, MAINTENANCE, ROLLED_BACK)
application_version_create_timestampstring (date-time)The timestamp that indicates when the application version was created.
application_version_idinteger (int64)Provides the current application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application.
application_version_rolled_back_frominteger (int64)If you reverted the application using RollbackApplication, the application version when RollbackApplication was called.
application_version_rolled_back_tointeger (int64)The version to which you want to roll back the application.
application_version_updated_frominteger (int64)The previous application version before the latest application update. RollbackApplication reverts the application to this version.
cloud_watch_logging_option_descriptionsarrayDescribes the application Amazon CloudWatch logging options.
conditional_tokenstringA value you use to implement strong concurrency for application updates. (pattern: <code>[a-zA-Z0-9-_+/=]+</code>)
create_timestampstring (date-time)The current timestamp when the application was created.
last_update_timestampstring (date-time)The current timestamp when the application was last updated.
runtime_environmentstringThe runtime environment for the application. (SQL-1_0, FLINK-1_6, FLINK-1_8, ZEPPELIN-FLINK-1_0, FLINK-1_11, FLINK-1_13, ZEPPELIN-FLINK-2_0, FLINK-1_15, ZEPPELIN-FLINK-3_0, FLINK-1_18, FLINK-1_19, FLINK-1_20, FLINK-2_2, FLINK-2_3)
service_execution_rolestringSpecifies the IAM role that the application uses to access external resources. (pattern: <code>arn:.*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_application_versionselectregionProvides a detailed description of a specified version of the application. To see a list of all the versions of an application, invoke the ListApplicationVersions operation. This operation is supported only for Managed Service for Apache Flink.
list_application_versionsselectregionLists 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. This operation is supported only for Managed Service for Apache Flink.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Provides a detailed description of a specified version of the application. To see a list of all the versions of an application, invoke the ListApplicationVersions operation. This operation is supported only for Managed Service for Apache Flink.

SELECT
application_arn,
application_configuration_description,
application_description,
application_maintenance_configuration_description,
application_mode,
application_name,
application_status,
application_version_create_timestamp,
application_version_id,
application_version_rolled_back_from,
application_version_rolled_back_to,
application_version_updated_from,
cloud_watch_logging_option_descriptions,
conditional_token,
create_timestamp,
last_update_timestamp,
runtime_environment,
service_execution_role
FROM aws.kinesisanalyticsv2.application_versions
WHERE region = '{{ region }}' -- required
;