download_file
Download objects from an S3 bucket to a specified file path. Requires bucket name, key, and filename inputs to retrieve and save the desired content.
Instructions
Downloads an object from an S3 bucket to a file.
Args: bucket (str): The name of the bucket to download from. key (str): The name of the key to download from. filename (str): The path to the file to download to.
Returns: str: JSON formatted success message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | ||
filename | Yes | ||
key | Yes |
Input Schema (JSON Schema)
{
"properties": {
"bucket": {
"title": "Bucket",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"key": {
"title": "Key",
"type": "string"
}
},
"required": [
"bucket",
"key",
"filename"
],
"type": "object"
}