describe_draft_app_version_resources_import_status

ResilienceHub.Client.describe_draft_app_version_resources_import_status(**kwargs)

Describes the status of importing resources to an application version.

Note

If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException , you must call importResourcesToDraftAppVersion after creating the application and before calling describeDraftAppVersionResourcesImportStatus to obtain the status.

See also: AWS API Documentation

Request Syntax

response = client.describe_draft_app_version_resources_import_status(
    appArn='string'
)
Parameters
appArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the AWS 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 AWS General Reference guide.

Return type
dict
Returns
Response Syntax
{
    'appArn': 'string',
    'appVersion': 'string',
    'errorMessage': 'string',
    'status': 'Pending'|'InProgress'|'Failed'|'Success',
    'statusChangeTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --
    • appArn (string) --

      The Amazon Resource Name (ARN) of the AWS 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 AWS General Reference guide.

    • appVersion (string) --

      The version of the application.

    • errorMessage (string) --

      The returned error message for the request.

    • status (string) --

      The status of the action.

    • statusChangeTime (datetime) --

      The timestamp for when the status last changed.

Exceptions

  • ResilienceHub.Client.exceptions.InternalServerException
  • ResilienceHub.Client.exceptions.ResourceNotFoundException
  • ResilienceHub.Client.exceptions.ThrottlingException
  • ResilienceHub.Client.exceptions.ValidationException
  • ResilienceHub.Client.exceptions.AccessDeniedException