OK my bad. Apparently you have to add the dependency to the aws-sdk under functions. I don’t think this is very clear, or mabye i’m not to good at reading documentation…
Anyways - here is the link you’ll need if you don’t know how to add the dependencies used in functions: Link