kurttheviking
kurttheviking

Reputation: 614

Access to rds-describe-db-instances from Boto

I have an AWS RDS instance and am using Boto to programmatically work with that instance.

Outside of Boto, the AWS RDS api has a method to obtain status information for an RDS instance: rds-describe-db-instances as described in their docs.

However, I cannot find a way to access the same method from a Boto RDS object. Is it not implemented yet, just indirectly accessible from another object type, or am I completely missing something?

Upvotes: 0

Views: 4078

Answers (1)

turtlebender
turtlebender

Reputation: 1907

Not sure exactly what you want, but this lets me get the status for a current RDS instance:

import boto

rds = boto.connect_rds()
instances = rds.get_all_dbinstances()
instances[0].status

u'available'

Perhaps you are looking for something else from the instance object?

Upvotes: 2

Related Questions