Mengambil informasi tentang tugas impor S3.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetS3Ingestion |
get |
*Semua Sumber daya.
|
None | None |
Sintaks permintaan
GET /s3ingestions/{s3IngestionName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| s3IngestionName |
string |
Yes |
Nama tugas impor S3. |
test |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
| S3Ingestion |
Tugas impor S3. |
Contoh
Respons sukses
JSONformat
{
"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": "ingest s3",
"displayName": "ingest s3",
"lastModifiedTime": 1714360481,
"name": "ingest-s3-123456",
"schedule": {
"cronExpression": "0/5 * * * *",
"delay": 4,
"interval": "60s",
"runImmediately": false,
"timeZone": "+0800",
"type": "FixedRate"
},
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"status": "RUNNING"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.