Glue / Client / delete_catalog
delete_catalog#
- Glue.Client.delete_catalog(**kwargs)#
- Removes the specified catalog from the Glue Data Catalog. - After completing this operation, you no longer have access to the databases, tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted catalog. Glue deletes these “orphaned” resources asynchronously in a timely manner, at the discretion of the service. - To ensure the immediate deletion of all related resources before calling the - DeleteCatalogoperation, use- DeleteTableVersion(or- BatchDeleteTableVersion),- DeletePartition(or- BatchDeletePartition),- DeleteTable(or- BatchDeleteTable),- DeleteUserDefinedFunctionand- DeleteDatabaseto delete any resources that belong to the catalog.- See also: AWS API Documentation - Request Syntax- response = client.delete_catalog( CatalogId='string' ) - Parameters:
- CatalogId (string) – - [REQUIRED] - The ID of the catalog. 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- Glue.Client.exceptions.EntityNotFoundException
- Glue.Client.exceptions.InvalidInputException
- Glue.Client.exceptions.InternalServiceException
- Glue.Client.exceptions.OperationTimeoutException
- Glue.Client.exceptions.GlueEncryptionException
- Glue.Client.exceptions.ConcurrentModificationException
- Glue.Client.exceptions.AccessDeniedException
- Glue.Client.exceptions.FederationSourceException