aws/request: make-operation->request: Handle empty input values.
[software/guile-aws.git] / aws / request.scm
index faa5e0dc8580196bcfeaa9043628685cb570d36d..e0cf58fd6f69a4a0806c550e5b55c3fd8b7c96e0 100644 (file)
     (define request-parameters
       (string-join (cons* (format #f "Action=~a" operation-name)
                           (format #f "Version=~a" api-version)
-                          (serialize-aws-value input))
+                          (if input
+                              (serialize-aws-value input)
+                              '()))
                    "&"))
 
     (define payload-hash