Smaws_Client_Glue.DeleteDatabaseRemoves a specified database from a Data Catalog.
After completing this operation, you no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. 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 DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable, to delete any resources that belong to the database.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `FederationSourceRetryableException of
Types.federation_source_retryable_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_database_request ->
(Types.delete_database_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `FederationSourceRetryableException of
Types.federation_source_retryable_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_database_request ->
(Types.delete_database_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `FederationSourceRetryableException of
Types.federation_source_retryable_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