调用用 ModifyDBInstanceSyncMode 接口修改实例的数据同步方式。
同步请求。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | mysql-4c2e5f43**** | 实例 ID。 |
SyncMode | String | 是 | Async | 数据复制方式:
|
null
POST /?Action=ModifyDBInstanceSyncMode&Version=2022-01-01 HTTP/1.1 Accept: application/json Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20230810T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20230810/cn-beijing/rds_mysql/request, SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645a**** { "InstanceId":"mysql-4c2e5f43****", "SyncMode":"Async" }
{ "ResponseMetadata": { "RequestId": "2023112717554478FC50E554B6F1943A0A", "Action": "ModifyDBInstanceSyncMode", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": null }
更多详情,请参见错误码。