S3 File Upload using Frappe?

How to Upload files from frappe to S3 bucket using api ?

Have you looked at this?