Modifies the name of an ApsaraDB for MongoDB instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyDBInstanceDescription |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. Note
To modify the name of a shard or mongos node in a sharded cluster instance, you must also specify the NodeId parameter. |
dds-bp2234**** |
| NodeId |
string |
No |
The ID of the shard or mongos node in the sharded cluster instance. Note
This parameter is valid only if you set the DBInstanceId parameter to the ID of a sharded cluster instance. |
d-bp89067**** |
| DBInstanceDescription |
string |
Yes |
The name of the instance. Note
|
testdata |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
06F8F642-4009-4FFC-80C4-9D67DBF7B74E |
Examples
Success response
JSON format
{
"RequestId": "06F8F642-4009-4FFC-80C4-9D67DBF7B74E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBInstanceDescription.Malformed | Specified parameter DBInstanceDescription is not valid. | Invalid node name. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.