Have you ever tried to import the AWS SDK into a front end client? It's huge. Last time I tried it, it added multi MB of JS to my SPA, so I could do a relatively "simple" call using it. Yuck.
It did not tree shake cleanly with my build system and I eventually ended up just yanking AWS from the stack entirely.