portkey

Portkey: from REPL to Serverless in one call
viesti 2018-04-07T12:18:20.000023Z

feeling that I'm circling in less important things (docstrings) while should be looking at xml support

viesti 2018-04-07T12:18:47.000076Z

but maybe I'll get there

viesti 2018-04-07T12:48:54.000106Z

reading the linked haskell post, kind of impressed of the ideas put into portkey

viesti 2018-04-07T15:30:37.000086Z

user=> (doc lambda/create-function)
-------------------------
portkey.aws.lambda/create-function
([create-function-request])
  <p>Creates a new Lambda function. The function metadata is created from the request parameters, and the code for the function is provided by a .zip file in the request body. If the function name already exists, the operation will fail. Note that the function name is case-sensitive.</p> <p> If you are using versioning, you can also publish a version of the Lambda function you are creating using the <code>Publish</code> parameter. For more information about versioning, see <a href=“http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html“>AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:CreateFunction</code> action.</p>
Spec
  args: (tuple :portkey.aws.lambda/create-function-request)
  ret: (and :portkey.aws.lambda/function-configuration)
nil
user=>

2018-04-07T15:40:18.000088Z

2018-04-07T15:44:37.000119Z

viesti 2018-04-07T15:47:44.000094Z

hmm, so now actually read #10 about translating html tags…

viesti 2018-04-07T15:49:38.000116Z

hmm, might be enough to do <p> -> end with newline and translate < href="<link>">desc</a> to desc (link)

viesti 2018-04-07T16:51:00.000033Z

à propos, the v2 aws-java-sdk seems to javapoet (https://github.com/square/javapoet) for generating java code for the sdk (https://github.com/aws/aws-sdk-java-v2/blob/master/codegen/src/main/java/software/amazon/awssdk/codegen/CodeGenerator.java)