ingenieux / aws-sdk-typescript

Typescript Bindings Generator for the AWS JavaScript SDK
Apache License 2.0
40 stars 40 forks source link

Amazon Cognito Identity #20

Open paulsson opened 8 years ago

paulsson commented 8 years ago

@aldrinleal this has been great work for supporting Typescript with the aws-sdk.

Now AWS has released an add-on javascript library for working with their new Cognito User Pools and the javascript sdk for this is completely separate from aws-sdk. Would it be possible to support typing generation for this like the great typings you already do for aws-sdk?

Here is the GitHub repo: https://github.com/aws/amazon-cognito-identity-js

Thanks!

aldrinleal commented 8 years ago

Unfortunately this is the case of having a custom handmade typing, as aws-sdk-typescript only works with the given .json files (which the addon doesn't supply, and it is unlikely to)

paulsson commented 8 years ago

@aldrinleal I'm not sure I understand. I'm pretty new to Typescript... ;) Are you saying that the aws-sdk-js repo (https://github.com/aws/aws-sdk-js) supplies some .json files that are necessary for you to generate the typings, but the amazon-cognito-identity-js repo does not supply these needed .json files?

Can you provide a link to the .json files you are referring to?