copy_object
Transfer objects between S3 buckets by specifying source and destination locations. Retrieve a JSON response confirming the operation's success.
Instructions
Copies an object from one S3 location to another.
Args: source_bucket (str): The name of the source bucket. source_key (str): The key of the source object. destination_bucket (str): The name of the destination bucket. destination_key (str): The key of the destination object.
Returns: str: JSON formatted S3 response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination_bucket | Yes | ||
destination_key | Yes | ||
source_bucket | Yes | ||
source_key | Yes |
Input Schema (JSON Schema)
{
"properties": {
"destination_bucket": {
"title": "Destination Bucket",
"type": "string"
},
"destination_key": {
"title": "Destination Key",
"type": "string"
},
"source_bucket": {
"title": "Source Bucket",
"type": "string"
},
"source_key": {
"title": "Source Key",
"type": "string"
}
},
"required": [
"source_bucket",
"source_key",
"destination_bucket",
"destination_key"
],
"type": "object"
}