alibabacloud-sls20201230 5.8.0__tar.gz → 5.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/ChangeLog.md +10 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/PKG-INFO +1 -1
- alibabacloud_sls20201230-5.9.0/alibabacloud_sls20201230/__init__.py +1 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230/client.py +452 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230/models.py +809 -35
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230.egg-info/PKG-INFO +1 -1
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/setup.py +1 -1
- alibabacloud_sls20201230-5.8.0/alibabacloud_sls20201230/__init__.py +0 -1
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/LICENSE +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/MANIFEST.in +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/README-CN.md +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/README.md +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230.egg-info/SOURCES.txt +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230.egg-info/dependency_links.txt +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230.egg-info/requires.txt +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230.egg-info/top_level.txt +0 -0
- {alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/setup.cfg +0 -0
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
2025-09-10 Version: 5.8.0
|
|
2
|
+
- Support API DeleteConsumeProcessor.
|
|
3
|
+
- Support API GetConsumeProcessor.
|
|
4
|
+
- Support API ListConsumeProcessors.
|
|
5
|
+
- Support API PutConsumeProcessor.
|
|
6
|
+
- Update API CreateLogtailPipelineConfig: add request parameters body.task.
|
|
7
|
+
- Update API ListLogtailPipelineConfig: add request parameters configType.
|
|
8
|
+
- Update API UpdateLogtailPipelineConfig: add request parameters body.task.
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
2025-06-10 Version: 5.7.4
|
|
2
12
|
- Generated python 2020-12-30 for Sls.
|
|
3
13
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '5.9.0'
|
{alibabacloud_sls20201230-5.8.0 → alibabacloud_sls20201230-5.9.0}/alibabacloud_sls20201230/client.py
RENAMED
|
@@ -3562,6 +3562,136 @@ class Client(OpenApiClient):
|
|
|
3562
3562
|
headers = {}
|
|
3563
3563
|
return await self.create_project_with_options_async(request, headers, runtime)
|
|
3564
3564
|
|
|
3565
|
+
def create_s3ingestion_with_options(
|
|
3566
|
+
self,
|
|
3567
|
+
project: str,
|
|
3568
|
+
request: sls_20201230_models.CreateS3IngestionRequest,
|
|
3569
|
+
headers: Dict[str, str],
|
|
3570
|
+
runtime: util_models.RuntimeOptions,
|
|
3571
|
+
) -> sls_20201230_models.CreateS3IngestionResponse:
|
|
3572
|
+
"""
|
|
3573
|
+
@summary 创建S3文件导入任务
|
|
3574
|
+
|
|
3575
|
+
@param request: CreateS3IngestionRequest
|
|
3576
|
+
@param headers: map
|
|
3577
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
3578
|
+
@return: CreateS3IngestionResponse
|
|
3579
|
+
"""
|
|
3580
|
+
UtilClient.validate_model(request)
|
|
3581
|
+
host_map = {}
|
|
3582
|
+
host_map['project'] = project
|
|
3583
|
+
body = {}
|
|
3584
|
+
if not UtilClient.is_unset(request.configuration):
|
|
3585
|
+
body['configuration'] = request.configuration
|
|
3586
|
+
if not UtilClient.is_unset(request.description):
|
|
3587
|
+
body['description'] = request.description
|
|
3588
|
+
if not UtilClient.is_unset(request.display_name):
|
|
3589
|
+
body['displayName'] = request.display_name
|
|
3590
|
+
if not UtilClient.is_unset(request.name):
|
|
3591
|
+
body['name'] = request.name
|
|
3592
|
+
if not UtilClient.is_unset(request.schedule):
|
|
3593
|
+
body['schedule'] = request.schedule
|
|
3594
|
+
req = open_api_models.OpenApiRequest(
|
|
3595
|
+
host_map=host_map,
|
|
3596
|
+
headers=headers,
|
|
3597
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
3598
|
+
)
|
|
3599
|
+
params = open_api_models.Params(
|
|
3600
|
+
action='CreateS3Ingestion',
|
|
3601
|
+
version='2020-12-30',
|
|
3602
|
+
protocol='HTTPS',
|
|
3603
|
+
pathname=f'/s3ingestions',
|
|
3604
|
+
method='POST',
|
|
3605
|
+
auth_type='AK',
|
|
3606
|
+
style='ROA',
|
|
3607
|
+
req_body_type='json',
|
|
3608
|
+
body_type='none'
|
|
3609
|
+
)
|
|
3610
|
+
return TeaCore.from_map(
|
|
3611
|
+
sls_20201230_models.CreateS3IngestionResponse(),
|
|
3612
|
+
self.execute(params, req, runtime)
|
|
3613
|
+
)
|
|
3614
|
+
|
|
3615
|
+
async def create_s3ingestion_with_options_async(
|
|
3616
|
+
self,
|
|
3617
|
+
project: str,
|
|
3618
|
+
request: sls_20201230_models.CreateS3IngestionRequest,
|
|
3619
|
+
headers: Dict[str, str],
|
|
3620
|
+
runtime: util_models.RuntimeOptions,
|
|
3621
|
+
) -> sls_20201230_models.CreateS3IngestionResponse:
|
|
3622
|
+
"""
|
|
3623
|
+
@summary 创建S3文件导入任务
|
|
3624
|
+
|
|
3625
|
+
@param request: CreateS3IngestionRequest
|
|
3626
|
+
@param headers: map
|
|
3627
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
3628
|
+
@return: CreateS3IngestionResponse
|
|
3629
|
+
"""
|
|
3630
|
+
UtilClient.validate_model(request)
|
|
3631
|
+
host_map = {}
|
|
3632
|
+
host_map['project'] = project
|
|
3633
|
+
body = {}
|
|
3634
|
+
if not UtilClient.is_unset(request.configuration):
|
|
3635
|
+
body['configuration'] = request.configuration
|
|
3636
|
+
if not UtilClient.is_unset(request.description):
|
|
3637
|
+
body['description'] = request.description
|
|
3638
|
+
if not UtilClient.is_unset(request.display_name):
|
|
3639
|
+
body['displayName'] = request.display_name
|
|
3640
|
+
if not UtilClient.is_unset(request.name):
|
|
3641
|
+
body['name'] = request.name
|
|
3642
|
+
if not UtilClient.is_unset(request.schedule):
|
|
3643
|
+
body['schedule'] = request.schedule
|
|
3644
|
+
req = open_api_models.OpenApiRequest(
|
|
3645
|
+
host_map=host_map,
|
|
3646
|
+
headers=headers,
|
|
3647
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
3648
|
+
)
|
|
3649
|
+
params = open_api_models.Params(
|
|
3650
|
+
action='CreateS3Ingestion',
|
|
3651
|
+
version='2020-12-30',
|
|
3652
|
+
protocol='HTTPS',
|
|
3653
|
+
pathname=f'/s3ingestions',
|
|
3654
|
+
method='POST',
|
|
3655
|
+
auth_type='AK',
|
|
3656
|
+
style='ROA',
|
|
3657
|
+
req_body_type='json',
|
|
3658
|
+
body_type='none'
|
|
3659
|
+
)
|
|
3660
|
+
return TeaCore.from_map(
|
|
3661
|
+
sls_20201230_models.CreateS3IngestionResponse(),
|
|
3662
|
+
await self.execute_async(params, req, runtime)
|
|
3663
|
+
)
|
|
3664
|
+
|
|
3665
|
+
def create_s3ingestion(
|
|
3666
|
+
self,
|
|
3667
|
+
project: str,
|
|
3668
|
+
request: sls_20201230_models.CreateS3IngestionRequest,
|
|
3669
|
+
) -> sls_20201230_models.CreateS3IngestionResponse:
|
|
3670
|
+
"""
|
|
3671
|
+
@summary 创建S3文件导入任务
|
|
3672
|
+
|
|
3673
|
+
@param request: CreateS3IngestionRequest
|
|
3674
|
+
@return: CreateS3IngestionResponse
|
|
3675
|
+
"""
|
|
3676
|
+
runtime = util_models.RuntimeOptions()
|
|
3677
|
+
headers = {}
|
|
3678
|
+
return self.create_s3ingestion_with_options(project, request, headers, runtime)
|
|
3679
|
+
|
|
3680
|
+
async def create_s3ingestion_async(
|
|
3681
|
+
self,
|
|
3682
|
+
project: str,
|
|
3683
|
+
request: sls_20201230_models.CreateS3IngestionRequest,
|
|
3684
|
+
) -> sls_20201230_models.CreateS3IngestionResponse:
|
|
3685
|
+
"""
|
|
3686
|
+
@summary 创建S3文件导入任务
|
|
3687
|
+
|
|
3688
|
+
@param request: CreateS3IngestionRequest
|
|
3689
|
+
@return: CreateS3IngestionResponse
|
|
3690
|
+
"""
|
|
3691
|
+
runtime = util_models.RuntimeOptions()
|
|
3692
|
+
headers = {}
|
|
3693
|
+
return await self.create_s3ingestion_with_options_async(project, request, headers, runtime)
|
|
3694
|
+
|
|
3565
3695
|
def create_saved_search_with_options(
|
|
3566
3696
|
self,
|
|
3567
3697
|
project: str,
|
|
@@ -7142,6 +7272,106 @@ class Client(OpenApiClient):
|
|
|
7142
7272
|
headers = {}
|
|
7143
7273
|
return await self.delete_project_policy_with_options_async(project, headers, runtime)
|
|
7144
7274
|
|
|
7275
|
+
def delete_s3ingestion_with_options(
|
|
7276
|
+
self,
|
|
7277
|
+
project: str,
|
|
7278
|
+
s_3ingestion_name: str,
|
|
7279
|
+
headers: Dict[str, str],
|
|
7280
|
+
runtime: util_models.RuntimeOptions,
|
|
7281
|
+
) -> sls_20201230_models.DeleteS3IngestionResponse:
|
|
7282
|
+
"""
|
|
7283
|
+
@summary 删除s3导入任务
|
|
7284
|
+
|
|
7285
|
+
@param headers: map
|
|
7286
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
7287
|
+
@return: DeleteS3IngestionResponse
|
|
7288
|
+
"""
|
|
7289
|
+
host_map = {}
|
|
7290
|
+
host_map['project'] = project
|
|
7291
|
+
req = open_api_models.OpenApiRequest(
|
|
7292
|
+
host_map=host_map,
|
|
7293
|
+
headers=headers
|
|
7294
|
+
)
|
|
7295
|
+
params = open_api_models.Params(
|
|
7296
|
+
action='DeleteS3Ingestion',
|
|
7297
|
+
version='2020-12-30',
|
|
7298
|
+
protocol='HTTPS',
|
|
7299
|
+
pathname=f'/s3ingestions/{s_3ingestion_name}',
|
|
7300
|
+
method='DELETE',
|
|
7301
|
+
auth_type='AK',
|
|
7302
|
+
style='ROA',
|
|
7303
|
+
req_body_type='json',
|
|
7304
|
+
body_type='none'
|
|
7305
|
+
)
|
|
7306
|
+
return TeaCore.from_map(
|
|
7307
|
+
sls_20201230_models.DeleteS3IngestionResponse(),
|
|
7308
|
+
self.execute(params, req, runtime)
|
|
7309
|
+
)
|
|
7310
|
+
|
|
7311
|
+
async def delete_s3ingestion_with_options_async(
|
|
7312
|
+
self,
|
|
7313
|
+
project: str,
|
|
7314
|
+
s_3ingestion_name: str,
|
|
7315
|
+
headers: Dict[str, str],
|
|
7316
|
+
runtime: util_models.RuntimeOptions,
|
|
7317
|
+
) -> sls_20201230_models.DeleteS3IngestionResponse:
|
|
7318
|
+
"""
|
|
7319
|
+
@summary 删除s3导入任务
|
|
7320
|
+
|
|
7321
|
+
@param headers: map
|
|
7322
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
7323
|
+
@return: DeleteS3IngestionResponse
|
|
7324
|
+
"""
|
|
7325
|
+
host_map = {}
|
|
7326
|
+
host_map['project'] = project
|
|
7327
|
+
req = open_api_models.OpenApiRequest(
|
|
7328
|
+
host_map=host_map,
|
|
7329
|
+
headers=headers
|
|
7330
|
+
)
|
|
7331
|
+
params = open_api_models.Params(
|
|
7332
|
+
action='DeleteS3Ingestion',
|
|
7333
|
+
version='2020-12-30',
|
|
7334
|
+
protocol='HTTPS',
|
|
7335
|
+
pathname=f'/s3ingestions/{s_3ingestion_name}',
|
|
7336
|
+
method='DELETE',
|
|
7337
|
+
auth_type='AK',
|
|
7338
|
+
style='ROA',
|
|
7339
|
+
req_body_type='json',
|
|
7340
|
+
body_type='none'
|
|
7341
|
+
)
|
|
7342
|
+
return TeaCore.from_map(
|
|
7343
|
+
sls_20201230_models.DeleteS3IngestionResponse(),
|
|
7344
|
+
await self.execute_async(params, req, runtime)
|
|
7345
|
+
)
|
|
7346
|
+
|
|
7347
|
+
def delete_s3ingestion(
|
|
7348
|
+
self,
|
|
7349
|
+
project: str,
|
|
7350
|
+
s_3ingestion_name: str,
|
|
7351
|
+
) -> sls_20201230_models.DeleteS3IngestionResponse:
|
|
7352
|
+
"""
|
|
7353
|
+
@summary 删除s3导入任务
|
|
7354
|
+
|
|
7355
|
+
@return: DeleteS3IngestionResponse
|
|
7356
|
+
"""
|
|
7357
|
+
runtime = util_models.RuntimeOptions()
|
|
7358
|
+
headers = {}
|
|
7359
|
+
return self.delete_s3ingestion_with_options(project, s_3ingestion_name, headers, runtime)
|
|
7360
|
+
|
|
7361
|
+
async def delete_s3ingestion_async(
|
|
7362
|
+
self,
|
|
7363
|
+
project: str,
|
|
7364
|
+
s_3ingestion_name: str,
|
|
7365
|
+
) -> sls_20201230_models.DeleteS3IngestionResponse:
|
|
7366
|
+
"""
|
|
7367
|
+
@summary 删除s3导入任务
|
|
7368
|
+
|
|
7369
|
+
@return: DeleteS3IngestionResponse
|
|
7370
|
+
"""
|
|
7371
|
+
runtime = util_models.RuntimeOptions()
|
|
7372
|
+
headers = {}
|
|
7373
|
+
return await self.delete_s3ingestion_with_options_async(project, s_3ingestion_name, headers, runtime)
|
|
7374
|
+
|
|
7145
7375
|
def delete_saved_search_with_options(
|
|
7146
7376
|
self,
|
|
7147
7377
|
project: str,
|
|
@@ -12552,6 +12782,106 @@ class Client(OpenApiClient):
|
|
|
12552
12782
|
headers = {}
|
|
12553
12783
|
return await self.get_project_policy_with_options_async(project, headers, runtime)
|
|
12554
12784
|
|
|
12785
|
+
def get_s3ingestion_with_options(
|
|
12786
|
+
self,
|
|
12787
|
+
project: str,
|
|
12788
|
+
s_3ingestion_name: str,
|
|
12789
|
+
headers: Dict[str, str],
|
|
12790
|
+
runtime: util_models.RuntimeOptions,
|
|
12791
|
+
) -> sls_20201230_models.GetS3IngestionResponse:
|
|
12792
|
+
"""
|
|
12793
|
+
@summary 获取s3导入任务信息
|
|
12794
|
+
|
|
12795
|
+
@param headers: map
|
|
12796
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12797
|
+
@return: GetS3IngestionResponse
|
|
12798
|
+
"""
|
|
12799
|
+
host_map = {}
|
|
12800
|
+
host_map['project'] = project
|
|
12801
|
+
req = open_api_models.OpenApiRequest(
|
|
12802
|
+
host_map=host_map,
|
|
12803
|
+
headers=headers
|
|
12804
|
+
)
|
|
12805
|
+
params = open_api_models.Params(
|
|
12806
|
+
action='GetS3Ingestion',
|
|
12807
|
+
version='2020-12-30',
|
|
12808
|
+
protocol='HTTPS',
|
|
12809
|
+
pathname=f'/s3ingestions/{s_3ingestion_name}',
|
|
12810
|
+
method='GET',
|
|
12811
|
+
auth_type='AK',
|
|
12812
|
+
style='ROA',
|
|
12813
|
+
req_body_type='json',
|
|
12814
|
+
body_type='json'
|
|
12815
|
+
)
|
|
12816
|
+
return TeaCore.from_map(
|
|
12817
|
+
sls_20201230_models.GetS3IngestionResponse(),
|
|
12818
|
+
self.execute(params, req, runtime)
|
|
12819
|
+
)
|
|
12820
|
+
|
|
12821
|
+
async def get_s3ingestion_with_options_async(
|
|
12822
|
+
self,
|
|
12823
|
+
project: str,
|
|
12824
|
+
s_3ingestion_name: str,
|
|
12825
|
+
headers: Dict[str, str],
|
|
12826
|
+
runtime: util_models.RuntimeOptions,
|
|
12827
|
+
) -> sls_20201230_models.GetS3IngestionResponse:
|
|
12828
|
+
"""
|
|
12829
|
+
@summary 获取s3导入任务信息
|
|
12830
|
+
|
|
12831
|
+
@param headers: map
|
|
12832
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12833
|
+
@return: GetS3IngestionResponse
|
|
12834
|
+
"""
|
|
12835
|
+
host_map = {}
|
|
12836
|
+
host_map['project'] = project
|
|
12837
|
+
req = open_api_models.OpenApiRequest(
|
|
12838
|
+
host_map=host_map,
|
|
12839
|
+
headers=headers
|
|
12840
|
+
)
|
|
12841
|
+
params = open_api_models.Params(
|
|
12842
|
+
action='GetS3Ingestion',
|
|
12843
|
+
version='2020-12-30',
|
|
12844
|
+
protocol='HTTPS',
|
|
12845
|
+
pathname=f'/s3ingestions/{s_3ingestion_name}',
|
|
12846
|
+
method='GET',
|
|
12847
|
+
auth_type='AK',
|
|
12848
|
+
style='ROA',
|
|
12849
|
+
req_body_type='json',
|
|
12850
|
+
body_type='json'
|
|
12851
|
+
)
|
|
12852
|
+
return TeaCore.from_map(
|
|
12853
|
+
sls_20201230_models.GetS3IngestionResponse(),
|
|
12854
|
+
await self.execute_async(params, req, runtime)
|
|
12855
|
+
)
|
|
12856
|
+
|
|
12857
|
+
def get_s3ingestion(
|
|
12858
|
+
self,
|
|
12859
|
+
project: str,
|
|
12860
|
+
s_3ingestion_name: str,
|
|
12861
|
+
) -> sls_20201230_models.GetS3IngestionResponse:
|
|
12862
|
+
"""
|
|
12863
|
+
@summary 获取s3导入任务信息
|
|
12864
|
+
|
|
12865
|
+
@return: GetS3IngestionResponse
|
|
12866
|
+
"""
|
|
12867
|
+
runtime = util_models.RuntimeOptions()
|
|
12868
|
+
headers = {}
|
|
12869
|
+
return self.get_s3ingestion_with_options(project, s_3ingestion_name, headers, runtime)
|
|
12870
|
+
|
|
12871
|
+
async def get_s3ingestion_async(
|
|
12872
|
+
self,
|
|
12873
|
+
project: str,
|
|
12874
|
+
s_3ingestion_name: str,
|
|
12875
|
+
) -> sls_20201230_models.GetS3IngestionResponse:
|
|
12876
|
+
"""
|
|
12877
|
+
@summary 获取s3导入任务信息
|
|
12878
|
+
|
|
12879
|
+
@return: GetS3IngestionResponse
|
|
12880
|
+
"""
|
|
12881
|
+
runtime = util_models.RuntimeOptions()
|
|
12882
|
+
headers = {}
|
|
12883
|
+
return await self.get_s3ingestion_with_options_async(project, s_3ingestion_name, headers, runtime)
|
|
12884
|
+
|
|
12555
12885
|
def get_saved_search_with_options(
|
|
12556
12886
|
self,
|
|
12557
12887
|
project: str,
|
|
@@ -16402,6 +16732,128 @@ class Client(OpenApiClient):
|
|
|
16402
16732
|
headers = {}
|
|
16403
16733
|
return await self.list_project_with_options_async(request, headers, runtime)
|
|
16404
16734
|
|
|
16735
|
+
def list_s3ingestions_with_options(
|
|
16736
|
+
self,
|
|
16737
|
+
project: str,
|
|
16738
|
+
request: sls_20201230_models.ListS3IngestionsRequest,
|
|
16739
|
+
headers: Dict[str, str],
|
|
16740
|
+
runtime: util_models.RuntimeOptions,
|
|
16741
|
+
) -> sls_20201230_models.ListS3IngestionsResponse:
|
|
16742
|
+
"""
|
|
16743
|
+
@summary 列出s3导入任务
|
|
16744
|
+
|
|
16745
|
+
@param request: ListS3IngestionsRequest
|
|
16746
|
+
@param headers: map
|
|
16747
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
16748
|
+
@return: ListS3IngestionsResponse
|
|
16749
|
+
"""
|
|
16750
|
+
UtilClient.validate_model(request)
|
|
16751
|
+
host_map = {}
|
|
16752
|
+
host_map['project'] = project
|
|
16753
|
+
query = {}
|
|
16754
|
+
if not UtilClient.is_unset(request.logstore):
|
|
16755
|
+
query['logstore'] = request.logstore
|
|
16756
|
+
if not UtilClient.is_unset(request.offset):
|
|
16757
|
+
query['offset'] = request.offset
|
|
16758
|
+
if not UtilClient.is_unset(request.size):
|
|
16759
|
+
query['size'] = request.size
|
|
16760
|
+
req = open_api_models.OpenApiRequest(
|
|
16761
|
+
host_map=host_map,
|
|
16762
|
+
headers=headers,
|
|
16763
|
+
query=OpenApiUtilClient.query(query)
|
|
16764
|
+
)
|
|
16765
|
+
params = open_api_models.Params(
|
|
16766
|
+
action='ListS3Ingestions',
|
|
16767
|
+
version='2020-12-30',
|
|
16768
|
+
protocol='HTTPS',
|
|
16769
|
+
pathname=f'/s3ingestions',
|
|
16770
|
+
method='GET',
|
|
16771
|
+
auth_type='AK',
|
|
16772
|
+
style='ROA',
|
|
16773
|
+
req_body_type='json',
|
|
16774
|
+
body_type='json'
|
|
16775
|
+
)
|
|
16776
|
+
return TeaCore.from_map(
|
|
16777
|
+
sls_20201230_models.ListS3IngestionsResponse(),
|
|
16778
|
+
self.execute(params, req, runtime)
|
|
16779
|
+
)
|
|
16780
|
+
|
|
16781
|
+
async def list_s3ingestions_with_options_async(
|
|
16782
|
+
self,
|
|
16783
|
+
project: str,
|
|
16784
|
+
request: sls_20201230_models.ListS3IngestionsRequest,
|
|
16785
|
+
headers: Dict[str, str],
|
|
16786
|
+
runtime: util_models.RuntimeOptions,
|
|
16787
|
+
) -> sls_20201230_models.ListS3IngestionsResponse:
|
|
16788
|
+
"""
|
|
16789
|
+
@summary 列出s3导入任务
|
|
16790
|
+
|
|
16791
|
+
@param request: ListS3IngestionsRequest
|
|
16792
|
+
@param headers: map
|
|
16793
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
16794
|
+
@return: ListS3IngestionsResponse
|
|
16795
|
+
"""
|
|
16796
|
+
UtilClient.validate_model(request)
|
|
16797
|
+
host_map = {}
|
|
16798
|
+
host_map['project'] = project
|
|
16799
|
+
query = {}
|
|
16800
|
+
if not UtilClient.is_unset(request.logstore):
|
|
16801
|
+
query['logstore'] = request.logstore
|
|
16802
|
+
if not UtilClient.is_unset(request.offset):
|
|
16803
|
+
query['offset'] = request.offset
|
|
16804
|
+
if not UtilClient.is_unset(request.size):
|
|
16805
|
+
query['size'] = request.size
|
|
16806
|
+
req = open_api_models.OpenApiRequest(
|
|
16807
|
+
host_map=host_map,
|
|
16808
|
+
headers=headers,
|
|
16809
|
+
query=OpenApiUtilClient.query(query)
|
|
16810
|
+
)
|
|
16811
|
+
params = open_api_models.Params(
|
|
16812
|
+
action='ListS3Ingestions',
|
|
16813
|
+
version='2020-12-30',
|
|
16814
|
+
protocol='HTTPS',
|
|
16815
|
+
pathname=f'/s3ingestions',
|
|
16816
|
+
method='GET',
|
|
16817
|
+
auth_type='AK',
|
|
16818
|
+
style='ROA',
|
|
16819
|
+
req_body_type='json',
|
|
16820
|
+
body_type='json'
|
|
16821
|
+
)
|
|
16822
|
+
return TeaCore.from_map(
|
|
16823
|
+
sls_20201230_models.ListS3IngestionsResponse(),
|
|
16824
|
+
await self.execute_async(params, req, runtime)
|
|
16825
|
+
)
|
|
16826
|
+
|
|
16827
|
+
def list_s3ingestions(
|
|
16828
|
+
self,
|
|
16829
|
+
project: str,
|
|
16830
|
+
request: sls_20201230_models.ListS3IngestionsRequest,
|
|
16831
|
+
) -> sls_20201230_models.ListS3IngestionsResponse:
|
|
16832
|
+
"""
|
|
16833
|
+
@summary 列出s3导入任务
|
|
16834
|
+
|
|
16835
|
+
@param request: ListS3IngestionsRequest
|
|
16836
|
+
@return: ListS3IngestionsResponse
|
|
16837
|
+
"""
|
|
16838
|
+
runtime = util_models.RuntimeOptions()
|
|
16839
|
+
headers = {}
|
|
16840
|
+
return self.list_s3ingestions_with_options(project, request, headers, runtime)
|
|
16841
|
+
|
|
16842
|
+
async def list_s3ingestions_async(
|
|
16843
|
+
self,
|
|
16844
|
+
project: str,
|
|
16845
|
+
request: sls_20201230_models.ListS3IngestionsRequest,
|
|
16846
|
+
) -> sls_20201230_models.ListS3IngestionsResponse:
|
|
16847
|
+
"""
|
|
16848
|
+
@summary 列出s3导入任务
|
|
16849
|
+
|
|
16850
|
+
@param request: ListS3IngestionsRequest
|
|
16851
|
+
@return: ListS3IngestionsResponse
|
|
16852
|
+
"""
|
|
16853
|
+
runtime = util_models.RuntimeOptions()
|
|
16854
|
+
headers = {}
|
|
16855
|
+
return await self.list_s3ingestions_with_options_async(project, request, headers, runtime)
|
|
16856
|
+
|
|
16405
16857
|
def list_saved_search_with_options(
|
|
16406
16858
|
self,
|
|
16407
16859
|
project: str,
|