Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate APIs from botocore endpoint data #13

Open
exarkun opened this issue Dec 28, 2016 · 2 comments
Open

Generate APIs from botocore endpoint data #13

exarkun opened this issue Dec 28, 2016 · 2 comments

Comments

@exarkun
Copy link
Member

exarkun commented Dec 28, 2016

botocore, one of the main building blocks of boto3, the official Python AWS SDK, includes a large pile of JSON which describes the AWS endpoints in rather a lot of detail:

https://github.com/boto/botocore/tree/develop/botocore/data

botocore (or boto3, I'm not really sure) takes this data and uses it to automatically generate many (or most?) of the Python APIs which provide access to the AWS endpoints.

Presumably this saves on quite a bit of implementation complexity and maintenance effort.

Seemingly, txAWS could include a similar generator which creates Twisted-based Python APIs instead.

Would this be a good thing?

@mithrandi
Copy link
Contributor

I assume that we'll still want/need some human intelligence guiding the shape of the higher-level API bits, but not having to write a bunch of presumably tedious code to serialize to/deserialize from XML sounds pretty good to me.

@tomprince
Copy link

I think this would definitely be a good thing. @dstufft might have some opinions on this soon.

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

No branches or pull requests

3 participants