You must initiate a restore request before you can access an archived object. This section describes how to initiate a restore request programmatically. For more information about archiving objects, see Object Lifecycle Management.
It takes about four hours for a restore operation to make a copy of the archive available for you to access. After initiating a restore, you can check status of the restoration in the console (see Restoring GLACIER Objects by Using Amazon S3 Console) or send HEAD request to programmatically retrieve object's metadata which includes the restoration status information.