Wrote something similar once. See dustcluster on github.<p><a href="https://github.com/carlsborg/dust" rel="nofollow">https://github.com/carlsborg/dust</a><p>Lessons: aws cli is written in python on top of the botocore aws api lib and is mostly data driven off a Json spec for a reason : the pace at which aws puts out new features makes it very hard to keep up with.