application_states
Creates, updates, deletes, gets or lists an application_states resource.
Overview
| Name | application_states |
| Type | Resource |
| Id | aws.mgh.application_states |
Fields
The following fields are returned by SELECT queries:
- describe_application_state
- list_application_states
| Name | Datatype | Description |
|---|---|---|
application_status | string | Status of the application - Not Started, In-Progress, Complete. (NOT_STARTED, IN_PROGRESS, COMPLETED) |
last_updated_time | string (date-time) | The timestamp when the application status was last updated. |
| Name | Datatype | Description |
|---|---|---|
application_id | string | The configurationId from the Application Discovery Service that uniquely identifies an application. (pattern: <code>^.{1,1600}$</code>) |
application_status | string | The current status of an application. (NOT_STARTED, IN_PROGRESS, COMPLETED) |
last_updated_time | string (date-time) | The timestamp when the application status was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_application_state | select | region | Gets the migration status of an application. | |
list_application_states | select | region | Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned. |
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_state
- list_application_states
Gets the migration status of an application.
SELECT
application_status,
last_updated_time
FROM aws.mgh.application_states
WHERE region = '{{ region }}' -- required
;
Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned.
SELECT
application_id,
application_status,
last_updated_time
FROM aws.mgh.application_states
WHERE region = '{{ region }}' -- required
;