I'm trying to add a storage class to the optimized image using Kraken.io S3 in NodeJS. Now I know there is an option to add metadata key to the s3 object, but this prepend -meta to the request.
For example:
metadata: {"storage-class": "INTELLIGENT_TIERING"} results in x-amz-meta-storage-class, but what I actually need is x-amz-storage-class Is there a way to achieve this without editing the source code? I also tried adding x-amz-storage-class under headers with no success, it won’t affect the storage class.
I'm trying to add a storage class to the optimized image using Kraken.io S3 in NodeJS. Now I know there is an option to add
metadatakey to the s3 object, but this prepend-metato the request.For example:
metadata: {"storage-class": "INTELLIGENT_TIERING"}results inx-amz-meta-storage-class, but what I actually need isx-amz-storage-classIs there a way to achieve this without editing the source code? I also tried addingx-amz-storage-classunderheaderswith no success, it won’t affect the storage class.