ListParts
Source:
src/AWS/S3/ListParts.ts
Runtime binding for s3:ListParts (s3:ListMultipartUploadParts).
Bind this operation to a bucket to get a callable that lists the parts
uploaded for an in-progress multipart upload — the bucket name is injected
automatically and s3:ListMultipartUploadParts is granted on the bucket’s
objects. Provide the implementation with
Effect.provide(AWS.S3.ListPartsHttp).
Multipart Uploads
Section titled “Multipart Uploads”const listParts = yield* AWS.S3.ListParts(bucket);
const result = yield* listParts({ Key: "large.bin", UploadId: uploadId });const parts = result.Parts ?? [];