Update 2020-06-10: The linked article is possibly still of some value for the example of a lambda function in Swift (not to mention the world’s best bakery name). However, the convoluted steps necessary to compile Swift for the AWS environment are no longer necessary with the introduction of the Swift AWS Runtime.
I wrote a short article on using Swift and AWS Lambda to write serveless functions. Directing you to another site is, I suppose, not a swift move from a social media perspective. Nevertheless, go have a look.
2018-04-04 07:43 -0400