application_versions
Creates, updates, deletes, gets or lists an application_versions resource.
Overview
| Name | application_versions |
| Type | Resource |
| Id | aws.kinesisanalyticsv2.application_versions |
Fields
The following fields are returned by SELECT queries:
- describe_application_version
- list_application_versions
| Name | Datatype | Description |
|---|---|---|
application_arn | string | The ARN of the application. (pattern: <code>arn:.*</code>) |
application_configuration_description | object | Describes details about the application code and starting parameters for a Managed Service for Apache Flink application. |
application_description | string | The description of the application. |
application_maintenance_configuration_description | object | The details of the maintenance configuration for the application. |
application_mode | string | To 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_name | string | The name of the application. (pattern: <code>[a-zA-Z0-9_.-]+</code>) |
application_status | string | The status of the application. (DELETING, STARTING, STOPPING, READY, RUNNING, UPDATING, AUTOSCALING, FORCE_STOPPING, ROLLING_BACK, MAINTENANCE, ROLLED_BACK) |
application_version_create_timestamp | string (date-time) | The timestamp that indicates when the application version was created. |
application_version_id | integer (int64) | Provides the current application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application. |
application_version_rolled_back_from | integer (int64) | If you reverted the application using RollbackApplication, the application version when RollbackApplication was called. |
application_version_rolled_back_to | integer (int64) | The version to which you want to roll back the application. |
application_version_updated_from | integer (int64) | The previous application version before the latest application update. RollbackApplication reverts the application to this version. |
cloud_watch_logging_option_descriptions | array | Describes the application Amazon CloudWatch logging options. |
conditional_token | string | A value you use to implement strong concurrency for application updates. (pattern: <code>[a-zA-Z0-9-_+/=]+</code>) |
create_timestamp | string (date-time) | The current timestamp when the application was created. |
last_update_timestamp | string (date-time) | The current timestamp when the application was last updated. |
runtime_environment | string | The 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_role | string | Specifies the IAM role that the application uses to access external resources. (pattern: <code>arn:.*</code>) |
| Name | Datatype | Description |
|---|---|---|
application_status | string | The status of the application. (DELETING, STARTING, STOPPING, READY, RUNNING, UPDATING, AUTOSCALING, FORCE_STOPPING, ROLLING_BACK, MAINTENANCE, ROLLED_BACK) |
application_version_id | integer (int64) | The ID of the application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_application_version | select | region | 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. | |
list_application_versions | select | region | 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. 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_application_version
- list_application_versions
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
;
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. This operation is supported only for Managed Service for Apache Flink.
SELECT
application_status,
application_version_id
FROM aws.kinesisanalyticsv2.application_versions
WHERE region = '{{ region }}' -- required
;