Memeriksa apakah Instans utama RDS PostgreSQL memenuhi prasyarat untuk membuat instansi analitik DuckDB. Untuk kondisi yang tidak terpenuhi, alasan kegagalan dikembalikan, beserta solusi atau nilai target yang disarankan.
Deskripsi operasi
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rds:PrecheckDuckDBDependency |
get |
*DBInstance
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID Instans utama. |
pgm-2zegy5pdkg58**** |
| TargetMode |
string |
No |
readOnly |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Detail parameter yang dikembalikan. |
||
| FailedCheckItems |
array<object> |
Item yang tidak memenuhi persyaratan untuk membuat instansi analitik DuckDB. |
|
|
object |
|||
| AllowAutoModify |
boolean |
Apakah item dapat diperbaiki dengan satu klik.
Penting Ketika versi utama Instans database tidak memenuhi persyaratan, Anda perlu melakukan peningkatan manual. Valid values:
|
false |
| CurrentValue |
string |
Nilai saat ini dari item pemeriksaan. |
15.0 |
| Name |
string |
Nama item pemeriksaan. |
MajorVersion |
| RequiredValue |
string |
Nilai target (atau rentang target) dari item pemeriksaan. |
17.0 |
| Type |
string |
Item pemeriksaan. Nilai valid:
Valid values:
|
Parameter |
| Result |
boolean |
Apakah Pemeriksaan Awal untuk membuat instansi analitik DuckDB berhasil. Nilai valid:
Valid values:
|
false |
Contoh
Respons sukses
JSONformat
{
"FailedCheckItems": [
{
"AllowAutoModify": true,
"CurrentValue": "15.0",
"Name": "MajorVersion",
"RequiredValue": "17.0",
"Type": "Parameter"
}
],
"Result": true
}
Kode kesalahan
|
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. | |
| 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. | |
| 400 | DuckDBOperationConflictBetweenPrimaryAndReadOnlyInstance | Current instance is already attached to another duckdb instance, operation is conflict. | |
| 500 | InternalFailure | The request processing has failed due to some unknown error, exception or failure. | |
| 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. | |
| 403 | IncorrectDBInstance | The current DB instance does not support this operation. | |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | |
| 404 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | |
| 404 | InvalidDBInstance.NotFound | The specified instance does not exist or is not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.