Fork me on GitHub
#portkey
<
2017-09-07
>
cgrand12:09:17

@tatut parsing partitions.json is done

cgrand12:09:00

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)

cgrand12:09:44

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

cgrand12:09:15

and of course only rest-json apis are generated atm

cgrand12:09:25

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

cgrand12:09:12

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

cgrand12:09:56

@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)).

tatut12:09:11

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

tatut12:09:10

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

cgrand14:09:08

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”}}

cgrand16:09:48

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