Skip to content

Conversation

@cdmojoli
Copy link

This fixes issue #38.

Additionally, it improves performance as described in #10 (comment) and #10 (comment).

You can disable keep-alive with (SETF AWS-REQUEST/API::*KEEP-ALIVE* NIL).
which resulted in non-functional code for all services using this API
style.
I am mostly –but not entirely– sure about this commit. It works
for me; I needed this for the lambda INVOKE API, and AFAIK has not
broken anything, but YMMV.
For me, it means that I can now

(READ
 (AWS/LAMBDA:INVOKE
  :FUNCTION-NAME "arn:aws:lambda:us-east-1:123456789012:function:MY-LAMBDA-FN-NAME"
  :PAYLOAD "{\"key1\" : \"value1\"}"))
@cdmojoli cdmojoli changed the title Fix issue #38 and improve performance significantly Fix issues #32, #38, rest-json APIs in general and improve performance significantly Feb 18, 2025
@cdmojoli
Copy link
Author

I have extended my pull request to cover more updates to aws-sdk-lisp. I needed lambda service working, and it didn't, so I hacked until it worked (for me). I am sure I needed these changes, but whether they are universally correct is TBD.

Now I can

(READ
 (AWS/LAMBDA:INVOKE
  :FUNCTION-NAME "arn:aws:lambda:us-east-1:123456789012:function:MY-LAMBDA-FN-NAME"
  :PAYLOAD "{\"key1\" : \"value1\"}"))

(I really needed that. I am currently using aws-sdk-lisp for DynamoDB and Lambda.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants