Sep 19, 2018

You cannot use the API to tell Amazon S3 to move specific files into Glacier.

You can use the API to define lifecycle rules that archive files from Amazon S3 to Amazon Glacier and you can use the API to retrieve a temporary copy of files archived to Glacier.