Replies: 3 comments
-
Here's an example, getting the boto shape/schema and documentation from python.
|
Beta Was this translation helpful? Give feedback.
-
I was able to auto-generate some basic models using the example you provided. The big issue I ran into is that only a few resources are available. Trying to use
Is there a way to get the service models from a client rather than a session? I didn't see anything obvious. |
Beta Was this translation helpful? Give feedback.
-
I hadn't realized that, but this file might offer some clues. https://github.com/boto/botocore/blob/master/botocore/model.py |
Beta Was this translation helpful? Give feedback.
-
Description:
AWS defines object model documents in botocore, e.g. https://github.com/boto/botocore/blob/develop/botocore/data/ec2/2016-11-15/service-2.json. These documents can help us automatically define sync jobs.
We should try to prototype this for one AWS resource type first and then try to generalize.
[optional Relevant Links:]
GCP has a similar concept called service discovery - in future we can take advantage of this too.
Beta Was this translation helpful? Give feedback.
All reactions