summaryrefslogtreecommitdiff
path: root/aws
Commit message (Collapse)AuthorAgeFilesLines
* 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-251-4/+12
| | | | | * aws/request.scm (make-operation->request): Inspect content-type of server response.
* base: aws-operation: Make input argument optional.Ricardo Wurmus2021-02-251-1/+1
|
* 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.
* 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.
* aws/request: make-operation->request: Use lowercase for authorization.Ricardo Wurmus2020-07-071-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 Wurmus2020-07-071-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 Wurmus2020-07-071-0/+1
| | | | | | | The x-amz-content-sha256 is required for S3. * aws/request.scm (make-operation->request)[headers]: Add x-amz-content-sha256 header.
* aws/request: make-operation->request: Handle empty input values.Ricardo Wurmus2020-07-071-1/+3
| | | | | * aws/request.scm (make-operation->request)[request-parameters]: Gracefully deal with empty input values.
* aws/request: make-operation->request: Define PAYLOAD-HASH.Ricardo Wurmus2020-07-071-2/+4
| | | | | * aws/request.scm (make-operation->request)[payload-hash]: New variable definition.
* aws/request: Overwrite (web http)'s DEFAULT-VAL-WRITER.Ricardo Wurmus2020-07-071-1/+13
| | | | | | | | | | | | | | The DEFAULT-VAL-WRITER procedure in Guile's (web http) module causes values in headers to be quoted when they contain a semicolon. The Authorization header that AWS expects contains a field SignedHeaders whose value is a semicolon-separated list of header names. When this list is quoted AWS considers the opening quote character to be part of the name of the first header and the closing quote character to be part of the name of the last header. * aws/request.scm (my-default-val-writer): New procedure; replace the definition of DEFAULT-VAL-WRITER in Guile's (web http).
* Add EFS API.Ricardo Wurmus2020-07-062-1/+1813
| | | | | | * aws/api/elasticfilesystem-2015-02-01.normal.json: New file. * Makefile.am (JSON_SOURCES): Add it. * aws/api/README: Mention it.
* Add ECR API.Ricardo Wurmus2020-05-252-1/+2677
|
* Add EBS API.Ricardo Wurmus2020-05-212-1/+360
|
* Add ECS API.Ricardo Wurmus2020-05-202-0/+6082
|
* Initial commit.Ricardo Wurmus2019-07-257-0/+48603