DescribeImportTaskValidation
Queries the precheck details of an import task and returns specific precheck items and results.
Operation description
Queries the precheck details of an import task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rds:DescribeImportTaskValidation |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
integer |
Yes |
The task ID. It is returned when you call the ValidateImportTask operation to create a precheck for an import task. |
41698**** |
| DbInstanceId |
string |
Yes |
The instance ID. You can call the DescribeDBInstances operation to obtain this ID. |
rm-xjkljj**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
3E36DB6E-AE3B-53B6-A703-85F883FD1B2C |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Status |
string |
The task status. This parameter is invalid. |
COMPLETED |
| Detail |
string |
The task details. |
{"ValidateAction": "Detail"} |
Examples
Success response
JSON format
{
"RequestId": "3E36DB6E-AE3B-53B6-A703-85F883FD1B2C",
"Success": true,
"Status": "COMPLETED",
"Detail": "{\"ValidateAction\": \"Detail\"}"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBInstanceEngineType.Format | the DB instance engine type does not support this operation. | This operation is not supported for the database engine of the instance. |
| 403 | IncorrectDBInstanceType | Current DB instance type does not support this operation. | The operation failed. The RDS instance is not in a ready state. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.