Uploading to AWS S3 from esp32 using mqtt

Hi,
I have seen a example for uploading files to amazon s3 using https but is it really possible to do the same using mqtt?
Is there any reference code available to do the same?

S3 does not natively support MQTT but you can look into using AWS IoT Rules Engine to store data in S3: https://docs.aws.amazon.com/iot/latest/developerguide/s3-rule-action.html

Thanks.