summaryrefslogtreecommitdiff
path: root/language
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Route 53 API.Ricardo Wurmus2021-03-281-0/+4
| | | | | | | | | | | | | * 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-0/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* spec: compile-shape: Prefer primitive type checkers for members.Ricardo Wurmus2021-03-071-3/+12
| | | | | | * language/aws/spec.scm (compile-shape): Only check for the AWS shape type if the member value is a complex type and not merely a wrapper around a primitive type.
* spec: primitive-type-checker: Recurse into lists.Ricardo Wurmus2021-03-071-7/+18
| | | | | | * language/aws/spec.scm (primitive-type-checker): Use the primitive-type-checker recursively for list values that are (wrappers around) primitive types.
* spec: compile-shape-stubs: Record encountered shape specs.Ricardo Wurmus2021-03-071-1/+8
| | | | | We use this when compiling structures to determine if a structure member is a wrapper around a primitive type.
* spec: primitive-type-checker: Support string limit checking.Ricardo Wurmus2021-03-071-5/+13
|
* spec: Add comment.Ricardo Wurmus2021-03-021-0/+1
|
* Initial commit.Ricardo Wurmus2019-07-251-0/+218