portkey

Portkey: from REPL to Serverless in one call
cgrand 2017-09-07T12:32:17.000335Z

@tatut parsing partitions.json is done

đź‘Ť 1
cgrand 2017-09-07T12:35:00.000222Z

things are getting together for clj-aws-sdk: region detection is missing, credentials detection is partially implement (only env, props or credentials file for now)

cgrand 2017-09-07T12:35:44.000289Z

aws-sig4 may not be enough as (I think) it doesn’t cover S3 variants

cgrand 2017-09-07T12:36:15.000165Z

and of course only rest-json apis are generated atm

cgrand 2017-09-07T12:37:25.000277Z

I hope that next week we’ll be able to switch most of portkey to aws-clj-sdk

cgrand 2017-09-07T12:41:12.000388Z

an extended goal would be to make aws-clj-sdk work in cljs too

cgrand 2017-09-07T12:54:56.000171Z

@tatut a task that you may help with and which is not on the critical path is fetching documentation (and maybe examples) from the json already present and inline them in the defn (it may require converting doc from HTML to plain text ((or MD)).

tatut 2017-09-07T12:56:11.000224Z

I think I’m going to need rest-xml, if I want to use this library…

tatut 2017-09-07T12:57:10.000135Z

maybe that’s something I’ll try to hack on, when I get around to it

đź‘Ť 1
cgrand 2017-09-07T14:01:08.000400Z

services by protocol:

{“json”
 #{“AWS Application Discovery Service” “AWS Budgets”
   “AWS Certificate Manager” “AWS CloudHSM V2” “AWS CloudTrail”
   “AWS CodeBuild” “AWS CodeCommit” “AWS CodeDeploy” “AWS CodePipeline”
   “AWS CodeStar” “AWS Config” “AWS Cost and Usage Report Service”
   “AWS Data Pipeline” “AWS Database Migration Service”
   “AWS Device Farm” “AWS Direct Connect” “AWS Directory Service”
   “AWS Glue” “AWS Health APIs and Notifications”
   “AWS Key Management Service” “AWS Marketplace Commerce Analytics”
   “AWS Marketplace Entitlement Service” “AWS Migration Hub”
   “AWS OpsWorks” “AWS OpsWorks for Chef Automate” “AWS Organizations”
   “AWS Resource Groups Tagging API” “AWS Server Migration Service”
   “AWS Service Catalog” “AWS Shield” “AWS Step Functions”
   “AWS Storage Gateway” “AWS Support” “AWS WAF” “AWS WAF Regional”
   “AWSMarketplace Metering” “Amazon AppStream” “Amazon Athena”
   “Amazon CloudHSM” “Amazon CloudWatch Events”
   “Amazon CloudWatch Logs” “Amazon Cognito Identity”
   “Amazon Cognito Identit
y Provider” “Amazon DynamoDB”
   “Amazon DynamoDB Accelerator (DAX)” “Amazon DynamoDB Streams”
   “Amazon EC2 Container Registry” “Amazon EC2 Container Service”
   “Amazon Elastic MapReduce” “Amazon GameLift”
   “Amazon Import/Export Snowball” “Amazon Inspector” “Amazon Kinesis”
   “Amazon Kinesis Analytics” “Amazon Kinesis Firehose”
   “Amazon Lightsail” “Amazon Machine Learning”
   “Amazon Mechanical Turk” “Amazon Rekognition”
   “Amazon Route 53 Domains” “Amazon Simple Systems Manager (SSM)”
   “Amazon Simple Workflow Service” “Amazon WorkSpaces”
   “Application Auto Scaling”},
 “rest-json”
 #{“AWS Batch” “AWS Greengrass” “AWS IoT” “AWS IoT Data Plane”
   “AWS Lambda” “AWS X-Ray” “Amazon API Gateway”
   “Amazon CloudDirectory” “Amazon CloudSearch Domain”
   “Amazon Cognito Sync” “Amazon Elastic File System”
   “Amazon Elastic Transcoder” “Amazon Elasticsearch Service”
   “Amazon Glacier” “Amazon Lex Model Building Service”
   “Amazon Lex Runtime Service” “Amazon Pinpoint” “Amazon Polly”
   “Amazon WorkDocs
“},
 “query”
 #{“AWS CloudFormation” “AWS Elastic Beanstalk”
   “AWS Identity and Access Management” “AWS Import/Export”
   “AWS Security Token Service” “Amazon CloudSearch”
   “Amazon CloudWatch” “Amazon ElastiCache” “Amazon Redshift”
   “Amazon Relational Database Service” “Amazon Simple Email Service”
   “Amazon Simple Notification Service” “Amazon Simple Queue Service”
   “Amazon SimpleDB” “Auto Scaling” “Elastic Load Balancing”},
 “rest-xml”
 #{“Amazon CloudFront” “Amazon Route 53"
   “Amazon Simple Storage Service”},
 “ec2" #{“Amazon Elastic Compute Cloud”}}

cgrand 2017-09-07T16:16:48.000143Z

Ok I pushed request signature. So if you figure what to bind the 3 dynvars in aws.clj to, you should be able to use the API. In theory

🦜 1