s3_copy_object
Copy an S3 object server-side between buckets or keys on AWS, Hetzner, or OVH, overwriting the destination if it already exists.
Instructions
Server-side copy of an S3 object within the same provider. Overwrites the destination if it exists. Reserved for dangerous guard mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region the DESTINATION bucket lives in (e.g. 'eu-central-1'). Omit unless you know it — it is resolved automatically. AWS, and OVH when no endpoint URL is configured (pass the region s3_list_buckets reports). Rejected for Hetzner, and for an OVH endpoint URL set by hand, whose region is fixed by that endpoint. | |
| account | No | Account label of the provider whose object storage to use; omit for that provider's default account. | |
| dst_key | Yes | Destination object key. | |
| src_key | Yes | Source object key. | |
| provider | Yes | Storage provider. | |
| dst_bucket | Yes | Destination bucket name. | |
| src_bucket | Yes | Source bucket name. |