I am using aws-sdk-core v2.2.37 as I cannot upgrade for various reasons.
Despite the documentation clearly showing that I can add a tag to the object with the "tagging" key.
https://docs.aws.amazon.com/sdk-for-ruby/v2/api/Aws/S3/Client.html#put_object-instance_method
The code,
resp = s3.put_object(
{
bucket:"osworkerfiles",
key:"testingtags457",
body:"testing123456",
tagging:"key1=value1"
})
Edit: I have also tried "tags"
always returns
The request without the tagging key works - is there something I am doing wrong here?