summaryrefslogtreecommitdiff
path: root/aws/base.scm
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Route 53 API.Ricardo Wurmus2021-03-281-1/+5
| | | | | | | | | | | | | * aws/api/route53-2013-04-01.normal.json: New API file. * Makefile.am (JSON_SOURCES): Add it. * aws/base.scm (aws-operation): Pass xml-namespace to requester. * aws/request.scm (request-xml-string): New procedure. (make-operation->request): Accept xml-namespace key. [host]: Use globalEndpoint if provided. [request-parameters]: Use request-xml-string for rest-xml protocol. * aws/serialize.scm (aws-value->sxml): New procedure. * language/aws/spec.scm (compile-operation): Pass xml-namespace to aws-operation.
* base: aws-operation: Pass request arguments to request constructor.Ricardo Wurmus2021-03-071-8/+24
| | | | | | | | | | | | | | | | | | | | | | Instead of expecting a single input of the required type, the procedure returned by AWS-OPERATION now accepts keyword arguments intended for the request constructor. This makes for a much less verbose DSL. Compare the explicit style (DeleteFileSystem (DeleteFileSystemRequest #:FileSystemId "fs-cabba9e")) with the new implicit style: (DeleteFileSystem #:FileSystemId "fs-cabba9e") * aws/base.scm (aws-operation): Accept an input-constructor; apply it to a provided list of keyword arguments. * language/aws/spec.scm (compile-operation): Generate code that specifies the input constructor. * README.org: Update examples.
* base: aws-operation: Make input argument optional.Ricardo Wurmus2021-02-251-1/+1
|
* Initial commit.Ricardo Wurmus2019-07-251-0/+150