@Override
    public DeleteDatabaseResult deleteDatabase(DeleteDatabaseRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteDatabase(request);
    }
<p>
Deletes a given Timestream database. <i>This is an irreversible operation. After a database is deleted, the
time-series data from its tables cannot be recovered.</i>
</p>
<note>
<p>
All tables in the database must be deleted first, or a ValidationException error will be thrown.
</p>
<p>
Due to the nature of distributed retries, the operation can return either success or a ResourceNotFoundException.
Clients should consider them equivalent.
</p>
</note>
<p>
See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-db.html">code
sample</a> for details.
</p>

@param deleteDatabaseRequest
@return Result of the DeleteDatabase operation returned by the service.
@throws InternalServerException
        Timestream was unable to fully process this request because of an internal server error.
@throws ThrottlingException
        Too many requests were made by a user and they exceeded the service quotas. The request was throttled.
@throws ResourceNotFoundException
        The operation tried to access a nonexistent resource. The resource might not be specified correctly, or
        its status might not be ACTIVE.
@throws ValidationException
        An invalid or malformed request.
@throws AccessDeniedException
        You are not authorized to perform this action.
@throws InvalidEndpointException
        The requested endpoint was not valid.
@sample AmazonTimestreamWrite.DeleteDatabase
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DeleteDatabase"
     target="_top">AWS API Documentation</a>
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/AmazonTimestreamWriteClient.java