application_versions
Creates, updates, deletes, gets or lists an application_versions resource.
Overview
| Name | application_versions |
| Type | Resource |
| Id | aws.m2.application_versions |
Fields
The following fields are returned by SELECT queries:
- get_application_version
- list_application_versions
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the application version. (pattern: <code>^[A-Za-z0-9][A-Za-z0-9_-]{1,59}$</code>) |
application_version | integer | The specific version of the application. |
creation_time | string (date-time) | The timestamp when the application version was created. |
definition_content | string | The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application. |
description | string | The application description. |
status | string | The status of the application version. (Creating, Available, Failed) |
status_reason | string | The reason for the reported status. |
| Name | Datatype | Description |
|---|---|---|
application_version | integer | The application version. |
creation_time | string (date-time) | The timestamp when the application version was created. |
status | string | The status of the application. (Creating, Available, Failed) |
status_reason | string | The reason for the reported status. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_application_version | select | application_id, application_version, region | Returns details about a specific version of a specific application. | |
list_application_versions | select | application_id, region | maxResults, nextToken | Returns 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.
| Name | Datatype | Description |
|---|---|---|
application_id | string | The unique identifier of the application. |
application_version | integer | The specific version of the application. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of application versions to return. |
nextToken | string | A 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
- get_application_version
- list_application_versions
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
;
Returns a list of the application versions for a specific application.
SELECT
application_version,
creation_time,
status,
status_reason
FROM aws.m2.application_versions
WHERE application_id = '{{ application_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;