Retrieves the configuration of a specified extract, transform, and load (ETL) job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetETL |
get |
*All Resource
|
None | None |
Request syntax
GET /etls/{etlName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| etlName |
string |
No |
The name of the ETL job. |
etl-123456 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
No |
The name of the project. |
ali-test-project |
Response elements
|
Element |
Type |
Description |
Example |
| ETL |
The configuration of the ETL job. |
Examples
Success response
JSON format
{
"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.