Hello,
Orthanc is built upon the assumption that it can read from its storage area in a "reasonable time" (i.e. below HTTP timeouts in the REST API, and below TCP timeouts if using the DICOM network protocol). This is fine for "regular" blob storage ("Standard" and "Standard-IA" on S3), not for the S3 Glacier.
In other words, you cannot combine the "real-time" requirements of a DICOM modality/PACS/VNA, with the several hours that might be needed to read from the Glacier. You are simply considering an use case for which Glacier is not designed for:
You must re-think your workflow, and carefully ask yourself: How could e.g. a DICOM viewer ask to retrieve an archived DICOM study from the Glacier, then be warned when this study is retrieved from Glacier, possibly a few hours after the initial request? This is not possible with the DICOM protocol.
In either case, the solution will most probably be to use Orthanc as a local cache, combined with an Orthanc plugin that will be in charge from retrieving a queue of studies from the Glacier using background threads. The content of this queue could be specified by REST calls that extend the REST API of Orthanc.
HTH,
Sébastien-