Natively implement 'move' operation for S3 objects #4850
-
Hello, I hope I'm in the right place to raise a generic observation about the S3 API, and a possible solution to be implemented and made available in the Go SDK, and all other sdk's. Currently, to move an object from one S3 bucket to another, I see that we have to take these actions (I quickly tested using the cli, with
These actions require my user to have the S3 Policy A possible solution, and hence my question, is: can the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @fabiog1901 ,
I'm not sure what you mean by just "move", Sounds like you just want to copy the object over, for that you can use If you are referring to a
Even if the action is implemented service side, ie S3 publishes a Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @fabiog1901 ,
I'm not sure what you mean by just "move", Sounds like you just want to copy the object over, for that you can use
CopyObject
.If you are referring to a
move
implementation similar to what a file system does by changing the metadata for the parent directory, this is not how S3 works. S3 uses a distributed architecture that is fundamentally different from a traditional file system. In S3, data is stored as blobs within buckets, and these objects are distributed across multiple computers in different data centers. Because of its distributed nature, all references to an object have to be copied over to a n…