该接口用于为RDS MySQL集群版实例删除节点。
接口说明
背景信息
仅支持RDS MySQL集群版实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ClientToken | string | 否 | 该参数用于保证请求的幂等性,防止重复提交请求。参数值由客户端生成,保证在不同请求间唯一。 该参数值由ASCII字符组成,最长不超过64个字符,不能包含非ASCII字符。 | ETnLKlblzczshOTUbOCz**** |
DBInstanceId | string | 是 | 实例ID。可调用DescribeDBInstances查询。 | rm-uf6wjk5**** |
DBNodeId | array | 否 | 节点ID列表。 | |
string | 否 | rn-m8f**** |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "8B993DA9-5272-5414-94E3-4CA8BA0146C2",
"DBInstanceId": "rm-uf6wjk5****",
"OrderId": 100780000000000
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | DBNodeFormatFault | The specified parameter DBNode is malformed | dbNode格式不正确 |
400 | DBNodeIdParameterInvalid | The specified parameter DBNodeId is malformed. | DBNodeId格式不正确 |
400 | DBNodeIdParameterNotFound | The specified parameter DBNodeId is required. | 未传入DBNodeId参数 |
400 | DBNodeParameter.TooFewItems | The specified parameter DBNode has too few items. | 参数DBNode中的配置项过少。 |
400 | DBNodeParameter.InvalidClassCode | The ClassCode of the item of the specified parameter DBNode is inconsistent. | 参数DBNode中的ClassCode配置不一致。 |
403 | GroupReplicationNotSupport.InvalidEngineVersion | Group Replication requires the instance engine version to be 8.0. | 实例数据库版本不是MySQL 8.0,不支持组复制。 |
403 | GroupReplicationNotSupport.InvalidNodeClassCode | Group Replication requires the ClassCode of each node to be consistent. | 实例各节点间规格不一致,不支持组复制。 |
403 | GroupReplicationNotSupport.InvalidNodeNum | Group Replication is not supported, the number of nodes must be an odd number greater than or equal to 3. | 实例节点个数不是大于等于3的单数,不支持组复制。 |
403 | GroupReplicationNotSupport.InvalidXengine | Group Replication is not supported because the instance has xengine tables. | 实例存在xengine引擎表,不支持组复制。 |
403 | GroupReplicationNotSupport.MemoryTooSmall | Group Replication is not supported because the memory is too small. | 实例规格内存太小,不支持组复制。 |
访问错误中心查看更多错误码。