Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | request: Set fallback default region last. | Ricardo Wurmus | 2021-08-07 | 1 | -4/+4 |
| | |||||
* | request: Add accessors to delay AWS_* env var lookup. | Ricardo Wurmus | 2021-08-07 | 1 | -9/+24 |
| | |||||
* | spec: Import make-date from srfi-19. | Ricardo Wurmus | 2021-06-29 | 1 | -1/+1 |
| | |||||
* | tests: Add the most basic of tests for request signing. | Ricardo Wurmus | 2021-06-29 | 2 | -0/+42 |
| | |||||
* | request: Split up big make-operation->request procedure. | Ricardo Wurmus | 2021-06-29 | 1 | -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 Wurmus | 2021-04-17 | 3 | -1/+3321 |
| | |||||
* | aws/request: Use parameters for AWS settings. | Ricardo Wurmus | 2021-04-09 | 1 | -6/+18 |
| | |||||
* | Add support for Route 53 API. | Ricardo Wurmus | 2021-03-28 | 6 | -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 Wurmus | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | serialize-aws-value: Add a docstring. | Ricardo Wurmus | 2021-03-18 | 1 | -0/+2 |
| | |||||
* | serialize: Upcase the first letter of any property name. | Ricardo Wurmus | 2021-03-18 | 2 | -10/+20 |
| | |||||
* | Ignore test output files. | Ricardo Wurmus | 2021-03-18 | 1 | -0/+3 |
| | |||||
* | serialize-aws-value: Rewrite to pass the tests. | Ricardo Wurmus | 2021-03-18 | 1 | -52/+49 |
| | |||||
* | Add serialization tests. | Ricardo Wurmus | 2021-03-18 | 3 | -0/+294 |
| | |||||
* | Move serialization code to (aws serialize). | Ricardo Wurmus | 2021-03-18 | 3 | -84/+113 |
| | |||||
* | Add Guix package file. | Ricardo Wurmus | 2021-03-18 | 1 | -0/+58 |
| | |||||
* | Rename guix.scm to manifest.scm. | Ricardo Wurmus | 2021-03-18 | 1 | -0/+0 |
| | |||||
* | Install .go files to site-ccache directory. | Ricardo Wurmus | 2021-03-17 | 1 | -1/+1 |
| | |||||
* | Update README. | Ricardo Wurmus | 2021-03-09 | 1 | -7/+31 |
| | |||||
* | README: Add TODO item. | Ricardo Wurmus | 2021-03-07 | 1 | -0/+2 |
| | |||||
* | base: aws-operation: Pass request arguments to request constructor. | Ricardo Wurmus | 2021-03-07 | 3 | -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 Wurmus | 2021-03-07 | 1 | -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 Wurmus | 2021-03-07 | 1 | -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 Wurmus | 2021-03-07 | 1 | -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 Wurmus | 2021-03-07 | 1 | -5/+13 |
| | |||||
* | request: aws-value->scm: Support parent name stripping. | Ricardo Wurmus | 2021-03-07 | 1 | -14/+23 |
| | | | | | This is necessary to remove unnecessary nesting when serializing wrappers around primitive types. | ||||
* | request: Do not export serialize-aws-value. | Ricardo Wurmus | 2021-03-07 | 1 | -1/+1 |
| | |||||
* | request: Remove stray pk. | Ricardo Wurmus | 2021-03-06 | 1 | -2/+2 |
| | |||||
* | Update README. | Ricardo Wurmus | 2021-03-03 | 1 | -9/+93 |
| | |||||
* | aws/request: Only process server response if it exists. | Ricardo Wurmus | 2021-03-03 | 1 | -3/+6 |
| | |||||
* | spec: Add comment. | Ricardo Wurmus | 2021-03-02 | 1 | -0/+1 |
| | |||||
* | aws/request: Use JSON for "rest-json" APIs. | Ricardo Wurmus | 2021-03-02 | 1 | -1/+3 |
| | |||||
* | aws/request: make-operation->request: Always append request body. | Ricardo Wurmus | 2021-03-02 | 1 | -5/+1 |
| | | | | * aws/request.scm (make-operation->request): Remove match expression. | ||||
* | aws/request: make-operation->request: Send request to full URI. | Ricardo Wurmus | 2021-03-02 | 1 | -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 Wurmus | 2021-03-02 | 1 | -4/+23 |
| | | | | | * aws/request.scm (parameterize-request-uri): New procedure. (make-operation->request)[canonical-uri]: Use it. | ||||
* | aws/request: Split request-json-string. | Ricardo Wurmus | 2021-03-02 | 1 | -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 Wurmus | 2021-02-25 | 1 | -1/+2 |
| | |||||
* | request: Support sending of JSON requests. | Ricardo Wurmus | 2021-02-25 | 1 | -9/+46 |
| | |||||
* | request: Add request-query-string. | Ricardo Wurmus | 2021-02-25 | 1 | -0/+9 |
| | | | | * aws/request.scm (request-query-string): New procedure. | ||||
* | request: Parse JSON responses. | Ricardo Wurmus | 2021-02-25 | 2 | -4/+13 |
| | | | | | * aws/request.scm (make-operation->request): Inspect content-type of server response. | ||||
* | base: aws-operation: Make input argument optional. | Ricardo Wurmus | 2021-02-25 | 2 | -5/+3 |
| | |||||
* | request: Patch (web http)'s handling of the Authorization header. | Ricardo Wurmus | 2021-02-25 | 1 | -8/+18 |
| | | | | | * aws/request.scm: Declare a new authorization header with a writer that does not quote values. | ||||
* | Add README. | Ricardo Wurmus | 2020-07-07 | 1 | -0/+27 |
| | |||||
* | aws/api: Add API update script. | Ricardo Wurmus | 2020-07-07 | 1 | -0/+7 |
| | | | | * aws/api/update.sh: New file. | ||||
* | aws/api: Update EC2 API. | Ricardo Wurmus | 2020-07-07 | 2 | -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 Wurmus | 2020-07-07 | 1 | -22/+22 |
| | | | | * aws/api/cloudfront-2019-03-26.normal.json: Replace with version v2.680.0. | ||||
* | aws/api: Update S3 API. | Ricardo Wurmus | 2020-07-07 | 1 | -611/+754 |
| | | | | * aws/api/s3-2006-03-01.normal.json: Replace with version v2.680.0. | ||||
* | aws/request: make-operation->request: Use lowercase for authorization. | Ricardo Wurmus | 2020-07-07 | 1 | -1/+1 |
| | | | | | | | | | | | When we use the symbol 'Authorization as the name of the header, Guile complains "Bad request: Bad value for header Authorization". We don't want or need Guile to make this judgement. By using 'authorization we avoid this problem. * aws/request.scm (make-operation->request)[new-headers]: Use lowercase for authorization header name. | ||||
* | aws/request: make-operation->request: Use requested HTTP method. | Ricardo Wurmus | 2020-07-07 | 1 | -5/+10 |
| | | | | | | | | Don't just use POST; use whatever method the API operation requires. Only add a request body for POST requests. * aws/request.scm (make-operation->request): Use HTTP-REQUEST instead of HTTP-POST. | ||||
* | aws/request: make-operation->request: Include content hash header. | Ricardo Wurmus | 2020-07-07 | 1 | -0/+1 |
| | | | | | | | The x-amz-content-sha256 is required for S3. * aws/request.scm (make-operation->request)[headers]: Add x-amz-content-sha256 header. |