We would like to tag our backups with our customer names to make use of aws cost dimensions. As described here [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#AmazonS3-PutObject-request-header-Tagging] this can be done by simply adding the x-amz-tagging header to the request. I think the easiest way to achieve this would be to add a filter to the /plugins/updraftplus/includes/S3.php file in the respective methods.
A simple way could be to add an apply_filters( ‘updraftplus_s3_get_response_object’, $this ) to the start of the UpdraftPlus_S3Request::getResponse method. In order to apply the filters properly it would help a lot to also have getters for the classes private properties, eg. UpdraftPlus_S3Request::getVerb() to check which method will be applied.
Optionally of course would be filters in all put / delete / … methods in the UpdraftPlus_S3 class.
Thanks for considering.
Best!
Markus