Skip to main content

application_versions

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

Overview

Nameapplication_versions
TypeResource
Idaws.m2.application_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the application version. (pattern: <code>^[A-Za-z0-9][A-Za-z0-9_-]{1,59}$</code>)
application_versionintegerThe specific version of the application.
creation_timestring (date-time)The timestamp when the application version was created.
definition_contentstringThe content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.
descriptionstringThe application description.
statusstringThe status of the application version. (Creating, Available, Failed)
status_reasonstringThe reason for the reported status.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_application_versionselectapplication_id, application_version, regionReturns details about a specific version of a specific application.
list_application_versionsselectapplication_id, regionmaxResults, nextTokenReturns a list of the application versions for a specific application.

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
application_idstringThe unique identifier of the application.
application_versionintegerThe specific version of the application.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of application versions to return.
nextTokenstringA pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

SELECT examples

Returns details about a specific version of a specific application.

SELECT
name,
application_version,
creation_time,
definition_content,
description,
status,
status_reason
FROM aws.m2.application_versions
WHERE application_id = '{{ application_id }}' -- required
AND application_version = '{{ application_version }}' -- required
AND region = '{{ region }}' -- required
;