I’ve been working on a photo/video sharing application where assets are private unless shared. I am using lambda on a node runtime so I’ve been using the S3 compatible commands and so far so good. However now that I am trying to implement sharing I’ve learned that while I can make a “public” bucket by sharing a path with the Uplink CLI on my local machine I am unable to copy file to it using the S3 API according to this: Supported S3 Commands | Storj Docs.
So right now I have a bucket set up the way I want it but have no way to move files from another bucket to it without using the Uplink CLI which is a real headache in my node lambda environment as the Node SDK is just being a wrapper for the Go SDK one meaning I need to worry about including a Go runtime with node-gyp. Either that or take a crash coarse in Go and using a lambda running on the Go runtime.
The copy command not being included seems wrong to me as it is pretty basic and oft used functionality for S3. I wanted to check with everyone here to see if I’m missing something and there is a way to move files between buckets with AWS API or if I really need to explore on of the options above.