Smaws_Client_Glue.DeleteCatalogRemoves 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 DeleteCatalog operation, use DeleteTableVersion (or BatchDeleteTableVersion), DeletePartition (or BatchDeletePartition), DeleteTable (or BatchDeleteTable), DeleteUserDefinedFunction and DeleteDatabase to delete any resources that belong to the catalog.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_catalog_request ->
(Types.delete_catalog_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_catalog_request ->
(Types.delete_catalog_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result