# Amazon S3 action - Rename file
This action renames a file in Amazon S3.
# Input fields
|Bucket region||The region of the bucket that the file resides, e.g. us-west-2. In Amazon S3, go to Bucket > Properties > Static website hosting to find your region in the Endpoint URL.|
|Bucket||The bucket that the file resides. Select a bucket from the picklist or enter the bucket name directly.|
|Original file||The file to rename. Select a file from the picklist or enter the file path directly.|
|New file name||The new name of the file. Full name including extension. Note that this is file name, not file path.|
# Output fields
|File path (original)||The original file path before the file is renamed.|
|File name (original)||The original file name before the file is renamed.|
|File path (new)||The new file path after the file is renamed.|
|File name (new)||The new file name after the file is renamed.|
|E tag||The hash of the file object, generated by Amazon S3.|
|Last modified||The last modified date/time of the file.|
Didn’t find what you are looking for?