@Override
    public GetVaultLockResult getVaultLock(GetVaultLockRequest request) {
        request = beforeClientExecution(request);
        return executeGetVaultLock(request);
    }
<p>
This operation retrieves the following attributes from the <code>lock-policy</code> subresource set on the
specified vault:
</p>
<ul>
<li>
<p>
The vault lock policy set on the vault.
</p>
</li>
<li>
<p>
The state of the vault lock, which is either <code>InProgess</code> or <code>Locked</code>.
</p>
</li>
<li>
<p>
When the lock ID expires. The lock ID is used to complete the vault locking process.
</p>
</li>
<li>
<p>
When the vault lock was initiated and put into the <code>InProgress</code> state.
</p>
</li>
</ul>
<p>
A vault lock is put into the <code>InProgress</code> state by calling <a>InitiateVaultLock</a>. A vault lock is
put into the <code>Locked</code> state by calling <a>CompleteVaultLock</a>. You can abort the vault locking
process by calling <a>AbortVaultLock</a>. For more information about the vault locking process, <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html">Amazon Glacier Vault Lock</a>.
</p>
<p>
If there is no vault lock policy set on the vault, the operation returns a <code>404 Not found</code> error. For
more information about vault lock policies, <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock-policy.html">Amazon Glacier Access Control
with Vault Lock Policies</a>.
</p>

@param getVaultLockRequest
       The input values for <code>GetVaultLock</code>.
@return Result of the GetVaultLock 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.GetVaultLock
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/AmazonGlacierClient.java