| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* aws/request.scm (make-operation->request): Break out two new
procedures, namely...
(sign-headers, compute-signature): ...these new procedures.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is necessary to remove unnecessary nesting when serializing
wrappers around primitive types.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* aws/request.scm (make-operation->request): Remove match expression.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request): Send HTTP request to full
URI, not just the endpoint domain.
|
|
|
|
|
| |
* aws/request.scm (parameterize-request-uri): New procedure.
(make-operation->request)[canonical-uri]: Use it.
|
|
|
|
|
| |
* aws/request.scm (input-arguments->scm): New procedure.
(request-json-string): Use it.
|
| |
|
| |
|
|
|
|
| |
* aws/request.scm (request-query-string): New procedure.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request): Inspect content-type of
server response.
|
| |
|
|
|
|
|
| |
* aws/request.scm: Declare a new authorization header with a writer
that does not quote values.
|
|
|
|
| |
* aws/api/update.sh: New file.
|
|
|
|
|
| |
* aws/api/ec2-2016-11-15.normal.json: Replace with version v2.680.0.
* aws/api/README: Update version information.
|
|
|
|
| |
* aws/api/cloudfront-2019-03-26.normal.json: Replace with version v2.680.0.
|
|
|
|
| |
* aws/api/s3-2006-03-01.normal.json: Replace with version v2.680.0.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
The x-amz-content-sha256 is required for S3.
* aws/request.scm (make-operation->request)[headers]: Add
x-amz-content-sha256 header.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request)[request-parameters]:
Gracefully deal with empty input values.
|
|
|
|
|
| |
* aws/request.scm (make-operation->request)[payload-hash]: New
variable definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
* aws/api/elasticfilesystem-2015-02-01.normal.json: New file.
* Makefile.am (JSON_SOURCES): Add it.
* aws/api/README: Mention it.
|
| |
|
| |
|
| |
|
|
|