:doc:`ResilienceHub <../../resiliencehub>` / Client / describe_draft_app_version_resources_import_status

**************************************************
describe_draft_app_version_resources_import_status
**************************************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus>`_  


  **Request Syntax**
  ::

    response = client.describe_draft_app_version_resources_import_status(
        appArn='string'
    )
    
  :type appArn: string
  :param appArn: **[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) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

    

  
  
  :rtype: 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) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ 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**
  
  *   :py:class:`ResilienceHub.Client.exceptions.InternalServerException`

  
  *   :py:class:`ResilienceHub.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ResilienceHub.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ResilienceHub.Client.exceptions.ValidationException`

  
  *   :py:class:`ResilienceHub.Client.exceptions.AccessDeniedException`

  