Using the Query API

Amazon EC2: API Version 2007-01-03