Glue / Client / get_catalog_import_status

get_catalog_import_status#

Glue.Client.get_catalog_import_status(**kwargs)#

Retrieves the status of a migration operation.

See also: AWS API Documentation

Request Syntax

response = client.get_catalog_import_status(
    CatalogId='string'
)
Parameters:

CatalogId (string) – The ID of the catalog to migrate. Currently, this should be the Amazon Web Services account ID.

Return type:

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

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.OperationTimeoutException