Obtain the rds privileged account

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRdsSuperAccountInstances

The operation that you want to perform. Set the value to DescribeRdsSuperAccountInstances.

DrdsInstanceId String Yes drds****c6vxxyzd

DRDS Instance ID

RdsInstance.N RepeatList Yes ['Rm-bp11xs******rmi8t ','rm-bp11******* // desensitization algorithm *']

RDS instances

AccessKeyId String No ****

The accesskey of the request.

DbInstType String No RDS

Database type: RDS or POLARDB. Default value: RDS.

Response parameters

Prameter Type Sample response Description
DbInstances rm-bp11xs******rmi8t

Privileged account collection object

DbInstance

Privileged account collection object

RequestId String 5D64DE5944A1E541E0*******

The unique ID of the request. If any problem occurs, provide this request ID for troubleshooting.

Examples

Sample request


http(s)://[Endpoint]/? Action=DescribeRdsSuperAccountInstances
&DrdsInstanceId=drds****c6vxxyzd
&RdsInstance.1=['rm-bp11xs******rmi8t ','rm-bp11******* bucketbucket' *']
& <Common request parameters>

Sample success responses

XML format

<DescribeRdsSuperAccountInstancesResponse>
	  <code>200</code>
	  <data>
		    <RequestId>62CA96F4-B94F-4059-B23E-A58CCF*******</RequestId>
		    <DbInstances></DbInstances>
	  </data>
	  <requestId>62CA96F4-B94F-4059-B23E-A58CCF*******</requestId>
	  <successResponse>true</successResponse>
	
</DescribeRdsSuperAccountInstancesResponse>

JSON format

{
	"successResponse":true,
	"requestId":"62CA96F4-B94F-4059-B23E-A58CCF*******",
	"data":{
		"RequestId":"62CA96F4-B94F-4059-B23E-A58CCF*******",
		"DbInstances":{
			"DbInstance":[]
		}
	},
	"code":"200"
}

Error codes

HTTP status code Error code Error message Description
400 ActionUnauthorized The specified action is not available for you The error message returned because you are not authorized to perform this action. Perform RAM authorization first.

For a list of error codes, visit the API Error Center.