1

Is it possible to copy a list of objects or sub-directories in a directory in S3 to another directory in a single transaction?

I need this in java

Nipun
  • 3,859
  • 5
  • 43
  • 71

1 Answers1

1

No, this isn't possible. Individual writes (object creation and copy) are atomic -- they either succeed or they don't -- but S3 is not transactional. Each copy operation is for a single object, so copying multiple objects requires multiple operations, and each one succeeds or fails independently of the others.

Michael - sqlbot
  • 154,904
  • 21
  • 299
  • 378