该接口用于检查RDS PostgreSQL主实例是否满足创建DuckDB分析实例的前提条件。对于不满足的条件将返回失败原因,并提供解决方案或建议的目标值。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 | 
|---|---|---|---|---|
| DBInstanceId | string | 是 | 主实例 ID。 | pgm-2zegy5pdkg58**** | 
返回参数
示例
正常返回示例
JSON格式
{
  "FailedCheckItems": [
    {
      "AllowAutoModify": true,
      "CurrentValue": 15,
      "Name": "MajorVersion",
      "RequiredValue": 17,
      "Type": "Parameter"
    }
  ],
  "Result": true
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | - | 
| 400 | ReadonlyInstanceNotSupport | The operation is not permitted due to type of the instance. | 指定的只读实例不支持此操作。 | 
| 400 | InvalidEngineVersion | The specified EngineVersion is invalid. | 指定的数据库版本号无效 | 
| 400 | MissingParameter.MinorVersionTag | You must specify the parameter MinorVersionTag. | 小版本号不能为空 | 
| 400 | Workbench.InternalFailure | ECS workbench returns an internal failure. Please check password expiration policy and / or other issues. | ECS workbench API 返回了一个内部错误,大概率是账号密码错误。请检查主机账号密码是否过期,和其他可能的情况。 | 
| 403 | ReadOnlyInstanceNotSupport | Read-only instance does not support this operation. | 只读实例不支持此操作。 | 
| 403 | DBInstanceStatusNotActive | The status of the current instance is not active. | 操作失败,请检查实例运行状态。 | 
| 403 | IncorrectDBInstanceType | The database instance type does not support the operation. | 操作失败,当前数据库类型不支持该操作。 | 
| 403 | GroupReplicationNotSupport.InvalidEngineVersion | Group Replication requires the instance engine version to be 8.0. | 实例数据库版本不是MySQL 8.0,不支持组复制。 | 
| 500 | InternalFailure | The request processing has failed due to some unknown error, exception or failure. | 由于未知错误、异常或失败,请求处理失败。 | 
访问错误中心查看更多错误码。
