Modifies the description of a database in a PolarDB on ENS cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBDescriptionZonal |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. Note
Note: This parameter accepts only edge (ENS) cluster IDs. You must create the cluster by calling CreateDBCluster(CloudProvider=ENS, EnsRegionId=xxx). |
pc-************** |
| DBName |
string |
Yes |
The name of the database. |
testDB |
| DBDescription |
string |
Yes |
The description of the database. The description must meet the following requirements:
|
testdesc |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request and prevent duplicate submissions. The value is generated by the client and must be unique across different requests. It is case-sensitive and can be up to 64 ASCII characters in length. |
6000170000591aed949d0f54a343f1a4233c1e7d1c5****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EB07CFF0-D8A4-5C76-AED7-D00E26FC2*** |
Examples
Success response
JSON format
{
"RequestId": "EB07CFF0-D8A4-5C76-AED7-D00E26FC2***"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CrossCloudOpenAPI.CallError | The DBClusterId provided does not exist in our records. pc-bp13rz6zr92j24y07 | The specified DBClusterId belongs to a standard PolarDB cluster rather than an edge cloud cluster. |
| 400 | InvalidAccountName.Malformed | The specified parameter AccountName is not valid. | The specified AccountName parameter is invalid. |
| 400 | InvalidDBDescription.Malformed | The specified parameter DBDescription is not valid. | The specified DBDescription parameter is invalid. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.