:doc:`Glue <../../glue>` / Client / get_catalog_import_status

*************************
get_catalog_import_status
*************************



.. py:method:: Glue.Client.get_catalog_import_status(**kwargs)

  

  Retrieves the status of a migration operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus>`_  


  **Request Syntax**
  ::

    response = client.get_catalog_import_status(
        CatalogId='string'
    )
    
  :type CatalogId: string
  :param CatalogId: 

    The ID of the catalog to migrate. Currently, this should be the Amazon Web Services account ID.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ImportStatus': {
              'ImportCompleted': True|False,
              'ImportTime': datetime(2015, 1, 1),
              'ImportedBy': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ImportStatus** *(dict) --* 

        The status of the specified catalog migration.

        
        

        - **ImportCompleted** *(boolean) --* 

          ``True`` if the migration has completed, or ``False`` otherwise.

          
        

        - **ImportTime** *(datetime) --* 

          The time that the migration was started.

          
        

        - **ImportedBy** *(string) --* 

          The name of the person who initiated the migration.

          
    
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  