I created a vault via New-GLCVault, but when it came to upload a file there I understood that I didn't know how to specify desired storage class for the vault. I need to place my file to a DEEP_ARCHIVE vault, and here come 2 questions:
- How can I see the storage class associated with particular vault in PowerShell?
- How can I specify the desired storage class when I create the vault and(or) upload there my files?
There are two types of Amazon Glacier:
It appears that you are attempting to use a Storage Class (#2 above) with the Amazon Glacier service (#1 above), which won't work.
Instead, just use standard S3 API calls and specify:
StorageClass='DEEP_ARCHIVE'This method also means you don't need to do anything with Vaults.