GetMigrationSummary
Queries the details of an import or export task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the workspace configuration page to obtain the workspace ID. |
12345 |
| MigrationId |
integer |
Yes |
The ID of the import or export task. You can call the CreateImportMigration operation to obtain the ID of an import task, or call the CreateExportMigration operation to obtain the ID of an export task. |
1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
19999A96-71BA-1845-B455-ED620EF4E37F |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| Data |
object |
The details of the import or export task returned in the response. |
|
| MigrationId |
integer |
The ID of the task. |
1234 |
| Name |
string |
The name of the task. |
test_export_01 |
| GmtCreate |
integer |
The time when the task was created. |
1589904000000 |
| GmtModified |
integer |
The time when the task was modified. |
1589904000000 |
| CreateUser |
string |
The user ID of the task creator. |
982293332403**** |
| OpUser |
string |
The user ID of the task operator. |
982293332403**** |
| Status |
string |
The execution status of the import or export task. Valid values:
|
EXPORT_SUCCESS |
| ProjectId |
integer |
The ID of the DataWorks workspace to which the task belongs. |
12345 |
| DownloadUrl |
string |
The download URL of the export task package. You can use this URL to download the export package. |
https://shanghai-xxx-oss.oss-cn-shanghai.aliyuncs.com/pre/store/f10_bf47_b4fa7df0860f.zip?Expires=1639540903&OSSAccessKeyId=****&Signature=qxxxxx |
Examples
Success response
JSON format
{
"RequestId": "19999A96-71BA-1845-B455-ED620EF4E37F",
"Success": true,
"Data": {
"MigrationId": 1234,
"Name": "test_export_01",
"GmtCreate": 1589904000000,
"GmtModified": 1589904000000,
"CreateUser": "982293332403****",
"OpUser": "982293332403****",
"Status": "EXPORT_SUCCESS",
"ProjectId": 12345,
"DownloadUrl": "https://shanghai-xxx-oss.oss-cn-shanghai.aliyuncs.com/pre/store/f10_bf47_b4fa7df0860f.zip?Expires=1639540903&OSSAccessKeyId=****&Signature=qxxxxx"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.