draft_app_version_resources_import_status
Creates, updates, deletes, gets or lists a draft_app_version_resources_import_status resource.
Overview
| Name | draft_app_version_resources_import_status |
| Type | Resource |
| Id | aws.resiliencehub.draft_app_version_resources_import_status |
Fields
The following fields are returned by SELECT queries:
- describe_draft_app_version_resources_import_status
| Name | Datatype | Description |
|---|---|---|
app_arn | string | Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide. (pattern: <code>^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}$</code>) |
app_version | string | The version of the application. (pattern: <code>^\S{1,50}$</code>) |
error_details | array | List of errors that were encountered while importing resources. |
error_message | string | The error message returned for the resource request. |
status | string | Status of the action. (Pending, InProgress, Failed, Success) |
status_change_time | string (date-time) | The time when the status last changed. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_draft_app_version_resources_import_status | select | region | Describes the status of importing resources to an application version. If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call importResourcesToDraftAppVersion after creating the application and before calling describeDraftAppVersionResourcesImportStatus to obtain the status. |
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_draft_app_version_resources_import_status
Describes the status of importing resources to an application version. If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call importResourcesToDraftAppVersion after creating the application and before calling describeDraftAppVersionResourcesImportStatus to obtain the status.
SELECT
app_arn,
app_version,
error_details,
error_message,
status,
status_change_time
FROM aws.resiliencehub.draft_app_version_resources_import_status
WHERE region = '{{ region }}' -- required
;