UploadPartCopy
Source:
src/AWS/S3/UploadPartCopy.ts
Runtime binding for s3:UploadPartCopy.
Bind this operation to a bucket to get a callable that uploads a multipart
part by copying from an existing object — the destination bucket name is
injected automatically and s3:PutObject/s3:GetObject are granted on the
bucket’s objects. Copying from a different source bucket additionally
requires read access to that bucket (bind GetObject on it). Provide the
implementation with Effect.provide(AWS.S3.UploadPartCopyHttp).
Multipart Uploads
Section titled “Multipart Uploads”const uploadPartCopy = yield* AWS.S3.UploadPartCopy(bucket);
const part = yield* uploadPartCopy({ Key: "combined.bin", UploadId: uploadId, PartNumber: 1, CopySource: `${bucketName}/source.bin`,});