summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* request: Move credential-scope to separate procedure.HEADmasterRicardo Wurmus2021-08-101-7/+12
|
* request: Sort headers.Ricardo Wurmus2021-08-101-2/+5
| | | | | This fixes authentication, which was broken by commit 5b53bf56761a765efb0012aa6f10d854d8dfa9eb. Sorry.
* request: Fix typo.Ricardo Wurmus2021-08-071-1/+1
|
* request: Set fallback default region last.Ricardo Wurmus2021-08-071-4/+4
|
* request: Add accessors to delay AWS_* env var lookup.Ricardo Wurmus2021-08-071-9/+24
|
* spec: Import make-date from srfi-19.Ricardo Wurmus2021-06-291-1/+1
|
* tests: Add the most basic of tests for request signing.Ricardo Wurmus2021-06-292-0/+42
|
* request: Split up big make-operation->request procedure.Ricardo Wurmus2021-06-291-75/+114
| | | | | | * aws/request.scm (make-operation->request): Break out two new procedures, namely... (sign-headers, compute-signature): ...these new procedures.
* Add support for Cost Explorer API.Ricardo Wurmus2021-04-173-1/+3321
|
* aws/request: Use parameters for AWS settings.Ricardo Wurmus2021-04-091-6/+18
|
* Add support for Route 53 API.Ricardo Wurmus2021-03-286-13/+5339
| | | | | | | | | | | | | * 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.
* guix: Fix syntax error.Ricardo Wurmus2021-03-211-1/+1
|
* serialize-aws-value: Add a docstring.Ricardo Wurmus2021-03-181-0/+2
|
* serialize: Upcase the first letter of any property name.Ricardo Wurmus2021-03-182-10/+20
|
* Ignore test output files.Ricardo Wurmus2021-03-181-0/+3
|
* serialize-aws-value: Rewrite to pass the tests.Ricardo Wurmus2021-03-181-52/+49
|
* Add serialization tests.Ricardo Wurmus2021-03-183-0/+294
|
* Move serialization code to (aws serialize).Ricardo Wurmus2021-03-183-84/+113
|
* Add Guix package file.Ricardo Wurmus2021-03-181-0/+58
|
* Rename guix.scm to manifest.scm.Ricardo Wurmus2021-03-181-0/+0
|
* Install .go files to site-ccache directory.Ricardo Wurmus2021-03-171-1/+1
|
* Update README.Ricardo Wurmus2021-03-091-7/+31
|
* README: Add TODO item.Ricardo Wurmus2021-03-071-0/+2
|
* base: aws-operation: Pass request arguments to request constructor.Ricardo Wurmus2021-03-073-24/+50
| | | | | | | | | | | | | | | | | | | | | | 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
|
* request: aws-value->scm: Support parent name stripping.Ricardo Wurmus2021-03-071-14/+23
| | | | | This is necessary to remove unnecessary nesting when serializing wrappers around primitive types.
* request: Do not export serialize-aws-value.Ricardo Wurmus2021-03-071-1/+1
|
* request: Remove stray pk.Ricardo Wurmus2021-03-061-2/+2
|
* Update README.Ricardo Wurmus2021-03-031-9/+93
|
* aws/request: Only process server response if it exists.Ricardo Wurmus2021-03-031-3/+6
|
* spec: Add comment.Ricardo Wurmus2021-03-021-0/+1
|
* aws/request: Use JSON for "rest-json" APIs.Ricardo Wurmus2021-03-021-1/+3
|
* aws/request: make-operation->request: Always append request body.Ricardo Wurmus2021-03-021-5/+1
| | | | * aws/request.scm (make-operation->request): Remove match expression.
* aws/request: make-operation->request: Send request to full URI.Ricardo Wurmus2021-03-021-2/+2
| | | | | * aws/request.scm (make-operation->request): Send HTTP request to full URI, not just the endpoint domain.
* aws/request: Add parameterize-request-uri.Ricardo Wurmus2021-03-021-4/+23
| | | | | * aws/request.scm (parameterize-request-uri): New procedure. (make-operation->request)[canonical-uri]: Use it.
* aws/request: Split request-json-string.Ricardo Wurmus2021-03-021-3/+7
| | | | | * aws/request.scm (input-arguments->scm): New procedure. (request-json-string): Use it.
* request: Respect GUILE_AWS_DEBUG_ENDPOINT to ease debugging.Ricardo Wurmus2021-02-251-1/+2
|
* request: Support sending of JSON requests.Ricardo Wurmus2021-02-251-9/+46
|
* request: Add request-query-string.Ricardo Wurmus2021-02-251-0/+9
| | | | * aws/request.scm (request-query-string): New procedure.
* request: Parse JSON responses.Ricardo Wurmus2021-02-252-4/+13
| | | | | * aws/request.scm (make-operation->request): Inspect content-type of server response.
* base: aws-operation: Make input argument optional.Ricardo Wurmus2021-02-252-5/+3
|
* request: Patch (web http)'s handling of the Authorization header.Ricardo Wurmus2021-02-251-8/+18
| | | | | * aws/request.scm: Declare a new authorization header with a writer that does not quote values.
* Add README.Ricardo Wurmus2020-07-071-0/+27
|
* aws/api: Add API update script.Ricardo Wurmus2020-07-071-0/+7
| | | | * aws/api/update.sh: New file.
* aws/api: Update EC2 API.Ricardo Wurmus2020-07-072-768/+7834
| | | | | * aws/api/ec2-2016-11-15.normal.json: Replace with version v2.680.0. * aws/api/README: Update version information.
* aws/api: Update Cloudfront API.Ricardo Wurmus2020-07-071-22/+22
| | | | * aws/api/cloudfront-2019-03-26.normal.json: Replace with version v2.680.0.
* aws/api: Update S3 API.Ricardo Wurmus2020-07-071-611/+754
| | | | * aws/api/s3-2006-03-01.normal.json: Replace with version v2.680.0.