I'm trying to copy an object from one an s3 bucket to my s3 bucket, but I'm given a http url of the file like this;
If i throw this is the browser i get a csv no worries at all (note: i've obscured parts of the real url so it won't work for you).
I'm using copyObject API in node with the following parameters:
var params = { Bucket: "me-buket", CopySource: "https://not-my-bucket.s3.amazonaws.com/123456738160996-2019-03-23-eo_branch_cta_view-v2-cf5e81e668466de13406877ad681895f6fdd50f38ab7fdb48193d78210098b81-acZMLZ.csv.gz?Signature=12345678Hr3ght0cOPw7bLz%2FJWM%3D&AWSAccessKeyId=123456&Expires=1554017348" , Key: "data" };
I keep getting the error: "InvalidArgument: Unsupported copy source parameter."
What am I doing wrong??