Queries a list of compute engines of different types in the current tenant.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DsgPlatformQueryProjectsAndSchemaFromMeta |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EngineName |
string |
Yes |
The type of the compute engine. Valid values:
|
EMR |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiResultModel<List> |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
1029030003 |
| ErrorMessage |
string |
The error message. |
param error |
| HttpStatusCode |
integer |
The HTTP status code. |
400 |
| Data |
array<object> |
The data returned. |
|
|
object |
|||
| Project |
string |
The name of the compute engine. |
emr_test_project |
| ClusterId |
string |
The EMR cluster ID. Returned only when EngineName is set to EMR. |
c-12345 |
| RequestId |
string |
The request ID. Used to locate logs and troubleshoot issues. |
102400001 |
Examples
Success response
JSON format
{
"Success": true,
"ErrorCode": "1029030003",
"ErrorMessage": "param error",
"HttpStatusCode": 400,
"Data": [
{
"Project": "emr_test_project",
"ClusterId": "c-12345"
}
],
"RequestId": "102400001"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | PARAMS.ERROR | param error. | |
| 400 | ENGINE.NOT.ALLOW | engine not allow. | Engine type not allowed |
| 500 | UNKNOWN.ERROR | unknown error. | Unknown error. |
| 403 | PERMISSION.DENIED.ERROR | Permission denied | Insufficient permissions. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.