changed 'action' to 'command'. Fixed a tab issue.
added try/except around conn.get_all_dbinstances
merged with rds branch for action/command changes