@Override
    public DeleteLedgerResult deleteLedger(DeleteLedgerRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteLedger(request);
    }
<p>
Deletes a ledger and all of its contents. This action is irreversible.
</p>
<p>
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it
by calling the <code>UpdateLedger</code> operation to set this parameter to <code>false</code>.
</p>

@param deleteLedgerRequest
@return Result of the DeleteLedger operation returned by the service.
@throws InvalidParameterException
        One or more parameters in the request aren't valid.
@throws ResourceNotFoundException
        The specified resource doesn't exist.
@throws ResourceInUseException
        The specified resource can't be modified at this time.
@throws ResourcePreconditionNotMetException
        The operation failed because a condition wasn't satisfied in advance.
@sample AmazonQLDB.DeleteLedger
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DeleteLedger" target="_top">AWS API
     Documentation</a>
aws-java-sdk-qldb/src/main/java/com/amazonaws/services/qldb/AmazonQLDBClient.java