Skip to main content

draft_app_version_resources_import_status

Creates, updates, deletes, gets or lists a draft_app_version_resources_import_status resource.

Overview

Namedraft_app_version_resources_import_status
TypeResource
Idaws.resiliencehub.draft_app_version_resources_import_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
app_arnstringAmazon 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_versionstringThe version of the application. (pattern: <code>^\S{1,50}$</code>)
error_detailsarrayList of errors that were encountered while importing resources.
error_messagestringThe error message returned for the resource request.
statusstringStatus of the action. (Pending, InProgress, Failed, Success)
status_change_timestring (date-time)The time when the status last changed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_draft_app_version_resources_import_statusselectregionDescribes 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;