该接口用于修改RDS MySQL只读实例的延迟复制时间。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
DBInstanceId | string | 是 | 只读实例 ID。可调用 DescribeDBInstances 获取。 | rr-bp**** |
ReadSQLReplicationTime | string | 是 | 延迟复制时间。单位:秒。 | 100 |
ResourceGroupId | string | 否 | 资源组 ID。可调用 DescribeDBInstanceAttribute 获取。 | rg-acfmy**** |
返回参数
示例
正常返回示例
JSON
格式
{
"DBInstanceId": "rr-bp****",
"RequestId": "BBB11B5A-7B37-493A-87E6-490BCB7BDF98",
"TaskId": "241535739",
"ReadSQLReplicationTime": "100"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Order.ComboInstanceNotAllowOperate | A package instance is not allowed to operate independently. | 套餐实例不允许单独操作。 |
400 | Price.PricingPlanResultNotFound | Pricing plan price result not found. | 定价计划价格结果没有找到。 |
400 | Order.NoRealNameAuthentication | You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication. | 您还未通过实名认证,不符合购买条件,请登录用户中心进行实名认证。 |
403 | OperationDenied.DBInstanceType | The operation is not permitted due to type of instance. | 实例类型不支持该操作,请核实是否是主实例。 |
404 | EngineNotSupported | Engine specified cannot be supported the operation. | 操作失败,当前引擎不支持此操作,请升级内核小版本。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-07-25 | OpenAPI 错误码发生变更、OpenAPI 入参发生变更 | 看变更集 | ||||||||||
| ||||||||||||
2022-06-23 | OpenAPI 描述信息更新、OpenAPI 错误码发生变更 | 看变更集 | ||||||||||
|