pokepay / aws-sdk-lisp

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

Generated code for `list-buckets` is wrong #19

Open aymanosman opened 2 years ago

aymanosman commented 2 years ago

It mistakenly passes a cons instead of an alist for a parameter.

code

(common-lisp:defun list-buckets ()
   (aws-sdk/generator/operation::parse-response
    (aws-sdk/api:aws-request :service "s3" :method :get :params
                             (common-lisp:cons "Action" "ListBuckets"))
    "ListBucketsOutput" common-lisp:nil))

This

(common-lisp:cons "Action" "ListBuckets")

should be

(common-lisp:list (common-lisp:cons "Action" "ListBuckets"))