Does boto.rds2 work on Python3 . Is there a way to access the boto.rds2 method in python
Author: heninCreated Oct 15, 2014Updated Aug 29, 2023
I was trying to get all db_instances using rds2. Using res.get_all_dbinstances() i was able to get all db_instances but in rds2 i am getting the below error import boto.rds2 import json
con=boto.rds2.connect_to_region("ap-southeast-1") raw=con.describe_db_instances(db_instance_identifier=None)
Gives you an error : File "/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/init.py", line 312, in loads s.class.name)) TypeError: the JSON object must be str, not 'bytes'
Source: boto/boto