全部產品
Search
文件中心

Simple Log Service:ListS3Ingestions

更新時間:Sep 18, 2026

列出 S3 匯入任務。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

log:ListS3Ingestions

list

*全部資源。

*

無 無

請求文法

GET /s3ingestions HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

project

string

否

Project 名稱。

testproject

offset

integer

否

傳回結果在全部資料集中的偏移位置,預設為 0。

0

size

integer

否

分頁查詢時,設定的每頁列數。

100

logstore

string

否

Logstore 名稱。

test

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

count

integer

當前頁傳回的任務個數。

3

results

array

任務設定詳細資訊。

S3Ingestion

任務設定詳細資訊。

total

integer

符合查詢條件的總數。

3

樣本

正常返回樣本

JSON格式

{
  "count": 3,
  "results": [
    {
      "configuration": {
        "logstore": "myLogstore",
        "source": {
          "advancedParameters": {
            "key": ""
          },
          "awsAccessKey": "AKIxxxxxxxxxxYJE",
          "awsAccessKeySecret": "123xxxxxxxxxxfjf",
          "awsRegion": "ap-northeast-1",
          "awsSQSQueueUrl": "https://sqs.ap-northeast-1.amazonaws.com/123456788/chifan",
          "awsUseSQS": false,
          "bucket": "s3bucket",
          "cloudFrontEndpoint": "dtfsb7voqy76q.cloudfront.net ",
          "cloudFrontToken": "@test-s3-access/ABS",
          "compressionCodec": "none",
          "encoding": "UTF-8",
          "endTime": 1714360481,
          "endpoint": "s3.us-east-1.amazonaws.com",
          "format": {
            "key": "{\"type\": \"line\"}"
          },
          "interval": "30m",
          "pattern": ".*",
          "prefix": "prefix",
          "processorId": "ingest-processor-1756802123-953901",
          "startTime": 1714274081,
          "tagPackId": false,
          "timeField": "__time__",
          "timeFormat": "yyyy-MM-dd HH:mm:ss",
          "timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
          "timeZone": "GMT+08:00",
          "useAwsSQSOnly": false,
          "useCloudFront": false
        }
      },
      "createTime": 1714360481,
      "description": "s3 ingestion",
      "displayName": "s3 ingestion",
      "lastModifiedTime": 1714360481,
      "name": "ingest-s3-123456",
      "schedule": {
        "cronExpression": "0/5 * * * *",
        "delay": 4,
        "interval": "60s",
        "runImmediately": false,
        "timeZone": "+0800",
        "type": "FixedRate"
      },
      "scheduleId": "c7f01719d9feb105fc9d8df92af62010",
      "status": "RUNNING"
    }
  ],
  "total": 3
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。