Lists the data transformation jobs in a project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:ListETLs |
list |
*All Resource
|
None | None |
Request syntax
GET /etls HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The project name. |
ali-test-project |
| offset |
integer |
No |
The line from which the query starts. The default value is 0. |
0 |
| size |
integer |
No |
The number of data transformation jobs to return. |
10 |
| logstore |
string |
No |
The Logstore name. |
ali-test-logstore |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| total |
integer |
The total number of data transformation jobs in the project. |
80 |
| count |
integer |
The number of data transformation jobs returned in the current response. |
10 |
| results |
array |
A list of data transformation results. |
|
| ETL |
The data transformation configuration. |
Examples
Success response
JSON format
{
"total": 80,
"count": 10,
"results": [
{
"name": "ETL",
"description": "ETL",
"displayName": "ETL",
"configuration": {
"script": "e_set(\"key\",\"value\")",
"lang": "SPL",
"logstore": "test-logstore",
"roleArn": "acs:ram::13234:role/logtarget",
"accessKeyId": "",
"accessKeySecret": "",
"fromTime": 0,
"toTime": 0,
"sinks": [
{
"name": "test-etljob",
"endpoint": "",
"project": "test-project",
"logstore": "test-logstore",
"datasets": [
"__UNNAMED__"
],
"roleArn": "acs:ram::13234:role/logtarget",
"accessKeyId": "",
"accessKeySecret": ""
}
],
"parameters": {
"test": "test",
"test2": 1
}
},
"createTime": 1714274900,
"lastModifiedTime": 1714274900,
"status": "RUNNING",
"scheduleId": "f0eb655e501a8780808d1970ef6d04c4"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.