Actions35
- Bucket Actions
- IAM Actions
- Object Actions
Object → Copy
AI-generatedSummary
Copy an object from a source bucket to a destination bucket within the Mega.nz S4 storage service, optionally controlling how metadata is handled during the copy.
Inputs
- Source Bucket Name (required) — Name of the bucket containing the source object to be copied.
- Source Object Key (required) — The key (path/name) of the source object within the source bucket.
- Destination Bucket Name (required) — Name of the bucket where the object will be copied to; can be the same as the source bucket.
- Destination Object Key (required) — The key (path/name) for the copied object within the destination bucket.
- Metadata Directive — Determines how metadata is handled during the copy: either copied from the source object or replaced with new metadata.
Output shape
a single record returned from the S4 storage service confirming copy operation details
The output contains details of the copied object as returned by the Mega S4 API. Errors during copy will be raised as execution errors.