@Override
    public DeleteVaultResult deleteVault(DeleteVaultRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteVault(request);
    }
<p>
This operation deletes a vault. Amazon S3 Glacier will delete a vault only if there are no archives in the vault
as of the last inventory and there have been no writes to the vault since the last inventory. If either of these
conditions is not satisfied, the vault deletion fails (that is, the vault is not removed) and Amazon S3 Glacier
returns an error. You can use <a>DescribeVault</a> to return the number of archives in a vault, and you can use
<a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html">Initiate a Job (POST
jobs)</a> to initiate a new inventory retrieval for a vault. The inventory contains the archive IDs you use to
delete archives using <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-delete.html">Delete Archive (DELETE
archive)</a>.
</p>
<p>
This operation is idempotent.
</p>
<p>
An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access
Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform
specific actions. For more information, see <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control
Using AWS Identity and Access Management (IAM)</a>.
</p>
<p>
For conceptual information and underlying REST API, see <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-vaults.html">Deleting a Vault in Amazon
Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-delete.html">Delete Vault
</a> in the <i>Amazon S3 Glacier Developer Guide</i>.
</p>

@param deleteVaultRequest
       Provides options for deleting a vault from Amazon S3 Glacier.
@return Result of the DeleteVault operation returned by the service.
@throws ResourceNotFoundException
        Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't exist.
@throws InvalidParameterValueException
        Returned if a parameter of the request is incorrectly specified.
@throws MissingParameterValueException
        Returned if a required header or parameter is missing from the request.
@throws ServiceUnavailableException
        Returned if the service cannot complete the request.
@sample AmazonGlacier.DeleteVault
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/AmazonGlacierClient.java