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',
    'errorDetails': [
        {
            'errorMessage': '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.

    • errorDetails (list) –

      List of errors that were encountered while importing resources.

      • (dict) –

        Indicates the error that was encountered while importing a resource.

        • errorMessage (string) –

          Provides additional information about the error.

    • errorMessage (string) –

      The error message returned for the resource request.

    • status (string) –

      Status of the action.

    • statusChangeTime (datetime) –

      The time when the status last changed.

Exceptions