The Amazon S3 API does not have any methods that let you modify the content located in objects. You must get the object, then you can use code to modify the object and put the object back. If you needed to do this to many objects, you can look at using a workflow by using AWS Step functions.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…