After the connection to the RDS instance is changed, you can call the RefreshDrdsAtomUrl to refresh the connections between DRDS and apsaradb for RDS instances.
Debugging
Request parameters
Name | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RefreshDrdsAtomUrl |
Required parameter. Value: RefreshDrdsAtomUrl. |
DbName | String | Yes | test |
The name of the DRDS database. |
DrdsInstanceId | String | Yes | drds************ |
The ID of the DRDS instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | B12FC174-D5CE-4A6E-83C1-0F8F86****** |
The ID of the request. |
Result | Boolean | True |
Indicates whether the connection after refresh was successful. |
Success | Boolean | True |
Indicates whether the request was successful. |
Examples
Sample requests
http(s)://drds.aliyuncs.com/? Action=RefreshDrdsAtomUrl
&DbName=test
&DrdsInstanceId=drds************
&<Common request parameters>
Sample success responses
XML
format
<RequestId>B12FC174-D5CE-4A6E-83C1-0F8F86******</RequestId>
<Success>true</Success>
JSON
format
{
"RequestId": "B12FC174-D5CE-4A6E-83C1-0F8F86******",
"Success": "true"
}
Error codes
For a list of error codes, visit the API Error Center.