ResilienceHub / Client / describe_draft_app_version_resources_import_status

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]

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.

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) –

      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.

    • appVersion (string) –

      The version of the application.

    • errorMessage (string) –

      The returned error message for the request.

    • status (string) –

      Status of the action.

    • statusChangeTime (datetime) –

      The time 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