boto/boto — Issue #382: get_all_dbinstances() broken in 2.1.0
Author: dmuir
Created: 2011-10-27 19:48:43+00:00
State: open

The following fails after updating to 2.1.0:

import boto
import boto.rds

dbconn = boto.rds.RDSConnection()

dbs = dbconn.get_all_dbinstances()
for db in dbs:
name = db.id.lower()
if name:
print name

Stack trace is:
Traceback (most recent call last):
File "test_db.py", line 10, in
dbs = dbconn.get_all_dbinstances()
File "/Library/Python/2.6/site-packages/boto-2.1.0-py2.6.egg/boto/rds/__init__.py", line 130, in get_all_dbinstances
[('DBInstance', DBInstance)])
File "/Library/Python/2.6/site-packages/boto-2.1.0-py2.6.egg/boto/connection.py", line 862, in get_list
raise self.ResponseError(response.status, response.reason, body)
boto.exception.BotoServerError: BotoServerError: 400 Bad Request

Sender
InvalidAction
Could not find operation DescribeDBInstances for version 2010-04-01

8680303b-00d4-11e1-8d56-cdc752068795