Copy contents at the oldBucket and oldKey to a newBucket and newKey.
Copy contents at the oldBucket and oldKey to a newBucket and newKey.
The source bucket and key
The destination bucket and key
The function will copy the existing metadata of the source object unless you specify newMetaData which will be used instead.
Set to true if you want to create any folders referenced in the ContentLocation as part of the copy process.
Set to Overwrite if you want to overwrite whatever is in the destination location. Set to NoOverwrite to return without overwriting the destination location.
S3Action with CopyResult (either Copied if it was copied, or NotCopied if the destination location already has content and NoOverwrite was specified).
Creates a folder in an S3 bucket.
Creates a folder in an S3 bucket. A folder is just an empty 'file' with a / on the end of the name. However, if you want to create a folder in a bucket that enforces encryption, you need to create it using the appropriate metadata, which this function can do.
Bucket name
Folder name (without trailing slash)
Folder metadata (default enforces encryption)
S3Action with no return result (Unit)
Uploads stream of data to S3 using multi-part uploads if the length is not known.
Uploads stream of data to S3 using multi-part uploads if the length is not known.
length of content that was uploaded