HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/lib/python3.6/site-packages/awscli/examples/glacier/complete-vault-lock.rst
**To complete an in-progress vault lock process**

The following ``complete-vault-lock`` example completes the in-progress locking progress for the specified vault and sets the lock state of the vault lock to ``Locked``. You get the value for the ``lock-id`` parameter when you run ``initiate-lock-process``. ::

    aws glacier complete-vault-lock \
        --account-id - \
        --vault-name MyVaultName \
        --lock-id 9QZgEXAMPLEPhvL6xEXAMPLE

This command produces no output.

For more information, see `Complete Vault Lock (POST lockId) <https://docs.aws.amazon.com/amazonglacier/latest/dev/api-CompleteVaultLock.html>`__ in the *Amazon Glacier API Developer Guide*.