pokepay / aws-sdk-lisp

AWS-SDK for Common Lisp
87 stars 19 forks source link

aws/lambda:create-function puts parameters into URI instead of payload #32

Open kchanqvq opened 1 year ago

kchanqvq commented 1 year ago

This is what hits me first when I try to use aws/lambda, the problem is probably present for other related functions too.

According to https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html, CreateFunction should not use any URI parameters, and all data should be JSON-encoded in HTTP payload. However, aws-sdk-lisp put everything in URI parameters. This generates a 414 URI too large error when submitting a ZipFile with size in the MBs, and will probably not function even if the ZipFile is small enough.