GetCrossCloudImportPipelineRun
Queries the import pipeline run for a cross-cloud deployment package.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetCrossCloudImportPipelineRun |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the destination workspace. |
20000 |
| ImportPipelineRunId |
string |
Yes |
The ID of the import pipeline run in the destination workspace. |
d4ac6c7f-bd3a-42a9-8ed1-c17efa3ef656 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The ID of the request. |
req-cross-cloud |
| Success |
boolean |
Indicates whether the API request is successful. |
true |
| Data |
object |
The business response. |
|
| RequestId |
string |
The ID of the request. |
req-cross-cloud |
| ImportPipelineRunId |
string |
The ID of the import pipeline run in the destination workspace. |
d4ac6c7f-bd3a-42a9-8ed1-c17efa3ef656 |
| Status |
string |
The status of the deployment pipeline run in the destination workspace. Valid values:
|
Success |
| ErrorCode |
string |
The error code returned when the operation fails. |
DeploymentFailed |
| ErrorMessage |
string |
The reason returned when the operation fails. |
Deployment failed |
Examples
Success response
JSON format
{
"RequestId": "req-cross-cloud",
"Success": true,
"Data": {
"RequestId": "req-cross-cloud",
"ImportPipelineRunId": "d4ac6c7f-bd3a-42a9-8ed1-c17efa3ef656",
"Status": "Success",
"ErrorCode": "DeploymentFailed",
"ErrorMessage": "Deployment failed"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | One or more parameters are invalid. | |
| 403 | Forbidden | The caller does not have the required permission on this workspace. | |
| 404 | InvalidPipelineRun.NotFound | The specified pipeline run does not exist in this workspace. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.