Open
Description
- Python Version: 3.11
- aliyunsdkcore Version: 2.13.36
- API: aliyunsdkrds.request.v20140815.DescribeDBInstancesRequest
When calling DescribeDBInstancesRequest
through the CLI, I can override the default region by using the flag --RegionId
. The same behaviour is not observed when using the python sdk.
I have already fixed this problem on my end by implement a get_RegionId
and a set_RegionId
to the DescribeDBInstancesRequest
class, similar to the existing set_ZoneId
and get_ZoneId
, like so:
def get_RegionId(self): # String
return self.get_query_params().get('RegionId')
def set_RegionId(self, RegionId): # String
self.add_query_param('RegionId', RegionId)
Metadata
Metadata
Assignees
Labels
No labels