# Amazon S3 action - List files in directory
This action lists all files in a bucket/folder in Amazon S3.
# Input fields
|Bucket region||The region of the bucket to list the files from, 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 to list files from. Select a bucket from the picklist or enter the bucket name directly.|
|Folder||The folder to list files from. Select a bucket from the picklist or enter the bucket name directly.|
|Include sub-folders||Select Yes to list files inside sub-folders as well.|
# Output fields
|Files||File name||Full name of the file. Note that this is not file path.|
|Last modified||Last modified timestamp of the file.|
|E tag||The hash of the file object, generated by Amazon S3.|
|Size||The file size in bytes.|
|Storage class||Storage class of this file object. Usually S3 Standard.|
|List size||Number of files in this list.|
Didn’t find what you are looking for?