调用 ModifyDBInstanceName 接口修改实例名称。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | postgres-21a3333b**** | 实例 ID。 |
InstanceNewName | String | 是 | Name123 | 实例新名称。实例新名称的设定规则如下:
|
null
POST /?Action=ModifyDBInstanceName&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20231002T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "postgres-ca7b7019****", "InstanceNewName": "Name123" }
{ "ResponseMetadata": { "RequestId": "20230802104908412EEDDBBC7654D69850", "Action": "ModifyDBInstanceName", "Version": "2022-01-01", "Service": "rds_postgresql", "Region": "cn-beijing" }, "Result": null }