s3-object-tagging

Tagging S3 bucket object Issue

Tagging S3 bucket object Issue Question: I am trying to add tags to existing object in S3 bucket using Lambda. Lambda has IAM role permission to add tags to bucket object, however simple python code to get_object_tagging is working but put_object_tagging is not working. client = boto3.client("s3") tagresponse = client.put_object_tagging( Bucket="mybucket, Key="folder1/Test.txt", Tagging={‘TagSet’:[{‘key’:’:permission:allowdownload’,’Value’:’no’},{‘key’:’service:feature’,’Value’:’sftpfiletransfer’}]}, ) API …

Total answers: 1