擷取s3匯入任務資訊
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /s3ingestions/{s3IngestionName} HTTP/1.1
路徑參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| s3IngestionName |
string |
是 |
s3 匯入任務名稱 |
test |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| project |
string |
是 |
project 名稱 |
test |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
| S3Ingestion |
s3 匯入任務 |
樣本
正常返回樣本
JSON格式
{
"name": "ingest-s3-123456",
"description": "s3 ingestion",
"displayName": "s3 ingestion",
"schedule": {
"type": "Cron",
"cronExpression": "0/5 * * * *",
"runImmediately": false,
"timeZone": "+0800",
"delay": 4,
"interval": "1m"
},
"configuration": {
"awsRegion": "ap-northeast-1",
"awsAccessKey": "AKIxxxxxxxxxxYJE",
"awsAccessKeySecret": "123xxxxxxxxxxfjf",
"bucket": "s3bucket",
"compressionCodec": "none",
"encoding": "UTF-8",
"format": {
"key": "{\"type\": \"line\"}"
},
"interval": "30m",
"pattern": ".*",
"prefix": "prefix",
"awsUseSQS": false,
"awsSQSQueueUrl": "https://sqs.ap-northeast-1.amazonaws.com/123456788/chifan",
"useAwsSQSOnly": false,
"tagPackId": false,
"startTime": 1714274081,
"endTime": 1714360481,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
"timeZone": "GMT+08:00",
"processorId": "ingest-processor-1756802123-953901",
"endpoint": "s3.us-east-1.amazonaws.com"
},
"createTime": 1714360481,
"lastModifiedTime": 1714360481,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"processorId": "ingest-processor-1756802123-953901"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。