Checks whether DuckDB-based analytical instances can be created for the specified RDS for PostgreSQL primary instance. If DuckDB-based analytical instances cannot be created, this operation returns the failure causes and provides solutions or recommended specification values.
Operation description
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| rds:PrecheckDuckDBDependency | get | *DBInstance acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId} |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| DBInstanceId | string | Yes | The primary instance ID. | pgm-2zegy5pdkg58**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"FailedCheckItems": [
{
"AllowAutoModify": true,
"CurrentValue": 15,
"Name": "MajorVersion",
"RequiredValue": 17,
"Type": "Parameter"
}
],
"Result": true
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 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. | The specified read-only instance does not support this operation. |
| 400 | InvalidEngineVersion | The specified EngineVersion is invalid. | The specified EngineVersion parameter is invalid. |
| 400 | MissingParameter.MinorVersionTag | You must specify the parameter MinorVersionTag. | The minor engine version cannot be left unspecified. |
| 400 | Workbench.InternalFailure | ECS workbench returns an internal failure. Please check password expiration policy and / or other issues. | The ECS workbench API returned an internal error, with a high probability that the account password is incorrect. Please check whether the host account password has expired, and other possible circumstances. |
| 403 | ReadOnlyInstanceNotSupport | Read-only instance does not support this operation. | This operation is not supported for read-only instances. |
| 403 | DBInstanceStatusNotActive | The status of the current instance is not active. | The operation failed. Check the status of the RDS instance. |
| 403 | IncorrectDBInstanceType | The database instance type does not support the operation. | The operation failed. The operation is not supported for the database engine of the RDS instance. |
| 403 | GroupReplicationNotSupport.InvalidEngineVersion | Group Replication requires the instance engine version to be 8.0. | - |
| 500 | InternalFailure | The request processing has failed due to some unknown error, exception or failure. | An internal error or exception has occurred. |
For a list of error codes, visit the Service error codes.
