alibabacloud-sls20201230 5.2.2__py3-none-any.whl → 5.3.0__py3-none-any.whl

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.
@@ -1 +1 @@
1
- __version__ = '5.2.2'
1
+ __version__ = '5.3.0'
@@ -410,7 +410,13 @@ class Client(OpenApiClient):
410
410
  runtime: util_models.RuntimeOptions,
411
411
  ) -> sls_20201230_models.ConsumerGroupUpdateCheckPointResponse:
412
412
  """
413
- @summary 更新指定消费组消费数据时Shard的checkpoint。
413
+ @summary Updates the data consumption progress.
414
+
415
+ @description If you do not specify a consumer, you must set **forceSuccess** to **true**. Otherwise, the checkpoint cannot be updated.
416
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
417
+ An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
418
+ The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
419
+ The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
414
420
 
415
421
  @param request: ConsumerGroupUpdateCheckPointRequest
416
422
  @param headers: map
@@ -462,7 +468,13 @@ class Client(OpenApiClient):
462
468
  runtime: util_models.RuntimeOptions,
463
469
  ) -> sls_20201230_models.ConsumerGroupUpdateCheckPointResponse:
464
470
  """
465
- @summary 更新指定消费组消费数据时Shard的checkpoint。
471
+ @summary Updates the data consumption progress.
472
+
473
+ @description If you do not specify a consumer, you must set **forceSuccess** to **true**. Otherwise, the checkpoint cannot be updated.
474
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
475
+ An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
476
+ The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
477
+ The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
466
478
 
467
479
  @param request: ConsumerGroupUpdateCheckPointRequest
468
480
  @param headers: map
@@ -512,7 +524,13 @@ class Client(OpenApiClient):
512
524
  request: sls_20201230_models.ConsumerGroupUpdateCheckPointRequest,
513
525
  ) -> sls_20201230_models.ConsumerGroupUpdateCheckPointResponse:
514
526
  """
515
- @summary 更新指定消费组消费数据时Shard的checkpoint。
527
+ @summary Updates the data consumption progress.
528
+
529
+ @description If you do not specify a consumer, you must set **forceSuccess** to **true**. Otherwise, the checkpoint cannot be updated.
530
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
531
+ An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
532
+ The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
533
+ The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
516
534
 
517
535
  @param request: ConsumerGroupUpdateCheckPointRequest
518
536
  @return: ConsumerGroupUpdateCheckPointResponse
@@ -529,7 +547,13 @@ class Client(OpenApiClient):
529
547
  request: sls_20201230_models.ConsumerGroupUpdateCheckPointRequest,
530
548
  ) -> sls_20201230_models.ConsumerGroupUpdateCheckPointResponse:
531
549
  """
532
- @summary 更新指定消费组消费数据时Shard的checkpoint。
550
+ @summary Updates the data consumption progress.
551
+
552
+ @description If you do not specify a consumer, you must set **forceSuccess** to **true**. Otherwise, the checkpoint cannot be updated.
553
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
554
+ An AccessKey pair is created and obtained. For more information, see [AccessKey pair](https://help.aliyun.com/document_detail/29009.html).
555
+ The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
556
+ The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html) and [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).
533
557
 
534
558
  @param request: ConsumerGroupUpdateCheckPointRequest
535
559
  @return: ConsumerGroupUpdateCheckPointResponse
@@ -1412,6 +1436,132 @@ class Client(OpenApiClient):
1412
1436
  headers = {}
1413
1437
  return await self.create_domain_with_options_async(project, request, headers, runtime)
1414
1438
 
1439
+ def create_download_job_with_options(
1440
+ self,
1441
+ project: str,
1442
+ request: sls_20201230_models.CreateDownloadJobRequest,
1443
+ headers: Dict[str, str],
1444
+ runtime: util_models.RuntimeOptions,
1445
+ ) -> sls_20201230_models.CreateDownloadJobResponse:
1446
+ """
1447
+ @summary 创建下载任务
1448
+
1449
+ @param request: CreateDownloadJobRequest
1450
+ @param headers: map
1451
+ @param runtime: runtime options for this request RuntimeOptions
1452
+ @return: CreateDownloadJobResponse
1453
+ """
1454
+ UtilClient.validate_model(request)
1455
+ host_map = {}
1456
+ host_map['project'] = project
1457
+ body = {}
1458
+ if not UtilClient.is_unset(request.configuration):
1459
+ body['configuration'] = request.configuration
1460
+ if not UtilClient.is_unset(request.description):
1461
+ body['description'] = request.description
1462
+ if not UtilClient.is_unset(request.display_name):
1463
+ body['displayName'] = request.display_name
1464
+ if not UtilClient.is_unset(request.name):
1465
+ body['name'] = request.name
1466
+ req = open_api_models.OpenApiRequest(
1467
+ host_map=host_map,
1468
+ headers=headers,
1469
+ body=OpenApiUtilClient.parse_to_map(body)
1470
+ )
1471
+ params = open_api_models.Params(
1472
+ action='CreateDownloadJob',
1473
+ version='2020-12-30',
1474
+ protocol='HTTPS',
1475
+ pathname=f'/downloadjobs',
1476
+ method='POST',
1477
+ auth_type='AK',
1478
+ style='ROA',
1479
+ req_body_type='json',
1480
+ body_type='none'
1481
+ )
1482
+ return TeaCore.from_map(
1483
+ sls_20201230_models.CreateDownloadJobResponse(),
1484
+ self.execute(params, req, runtime)
1485
+ )
1486
+
1487
+ async def create_download_job_with_options_async(
1488
+ self,
1489
+ project: str,
1490
+ request: sls_20201230_models.CreateDownloadJobRequest,
1491
+ headers: Dict[str, str],
1492
+ runtime: util_models.RuntimeOptions,
1493
+ ) -> sls_20201230_models.CreateDownloadJobResponse:
1494
+ """
1495
+ @summary 创建下载任务
1496
+
1497
+ @param request: CreateDownloadJobRequest
1498
+ @param headers: map
1499
+ @param runtime: runtime options for this request RuntimeOptions
1500
+ @return: CreateDownloadJobResponse
1501
+ """
1502
+ UtilClient.validate_model(request)
1503
+ host_map = {}
1504
+ host_map['project'] = project
1505
+ body = {}
1506
+ if not UtilClient.is_unset(request.configuration):
1507
+ body['configuration'] = request.configuration
1508
+ if not UtilClient.is_unset(request.description):
1509
+ body['description'] = request.description
1510
+ if not UtilClient.is_unset(request.display_name):
1511
+ body['displayName'] = request.display_name
1512
+ if not UtilClient.is_unset(request.name):
1513
+ body['name'] = request.name
1514
+ req = open_api_models.OpenApiRequest(
1515
+ host_map=host_map,
1516
+ headers=headers,
1517
+ body=OpenApiUtilClient.parse_to_map(body)
1518
+ )
1519
+ params = open_api_models.Params(
1520
+ action='CreateDownloadJob',
1521
+ version='2020-12-30',
1522
+ protocol='HTTPS',
1523
+ pathname=f'/downloadjobs',
1524
+ method='POST',
1525
+ auth_type='AK',
1526
+ style='ROA',
1527
+ req_body_type='json',
1528
+ body_type='none'
1529
+ )
1530
+ return TeaCore.from_map(
1531
+ sls_20201230_models.CreateDownloadJobResponse(),
1532
+ await self.execute_async(params, req, runtime)
1533
+ )
1534
+
1535
+ def create_download_job(
1536
+ self,
1537
+ project: str,
1538
+ request: sls_20201230_models.CreateDownloadJobRequest,
1539
+ ) -> sls_20201230_models.CreateDownloadJobResponse:
1540
+ """
1541
+ @summary 创建下载任务
1542
+
1543
+ @param request: CreateDownloadJobRequest
1544
+ @return: CreateDownloadJobResponse
1545
+ """
1546
+ runtime = util_models.RuntimeOptions()
1547
+ headers = {}
1548
+ return self.create_download_job_with_options(project, request, headers, runtime)
1549
+
1550
+ async def create_download_job_async(
1551
+ self,
1552
+ project: str,
1553
+ request: sls_20201230_models.CreateDownloadJobRequest,
1554
+ ) -> sls_20201230_models.CreateDownloadJobResponse:
1555
+ """
1556
+ @summary 创建下载任务
1557
+
1558
+ @param request: CreateDownloadJobRequest
1559
+ @return: CreateDownloadJobResponse
1560
+ """
1561
+ runtime = util_models.RuntimeOptions()
1562
+ headers = {}
1563
+ return await self.create_download_job_with_options_async(project, request, headers, runtime)
1564
+
1415
1565
  def create_etlwith_options(
1416
1566
  self,
1417
1567
  project: str,
@@ -4054,6 +4204,8 @@ class Client(OpenApiClient):
4054
4204
  """
4055
4205
  @summary 通过调用DeleteCollectionPolicy删除配置的日志采集规则
4056
4206
 
4207
+ @description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
4208
+
4057
4209
  @param request: DeleteCollectionPolicyRequest
4058
4210
  @param headers: map
4059
4211
  @param runtime: runtime options for this request RuntimeOptions
@@ -4095,6 +4247,8 @@ class Client(OpenApiClient):
4095
4247
  """
4096
4248
  @summary 通过调用DeleteCollectionPolicy删除配置的日志采集规则
4097
4249
 
4250
+ @description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
4251
+
4098
4252
  @param request: DeleteCollectionPolicyRequest
4099
4253
  @param headers: map
4100
4254
  @param runtime: runtime options for this request RuntimeOptions
@@ -4134,6 +4288,8 @@ class Client(OpenApiClient):
4134
4288
  """
4135
4289
  @summary 通过调用DeleteCollectionPolicy删除配置的日志采集规则
4136
4290
 
4291
+ @description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
4292
+
4137
4293
  @param request: DeleteCollectionPolicyRequest
4138
4294
  @return: DeleteCollectionPolicyResponse
4139
4295
  """
@@ -4149,6 +4305,8 @@ class Client(OpenApiClient):
4149
4305
  """
4150
4306
  @summary 通过调用DeleteCollectionPolicy删除配置的日志采集规则
4151
4307
 
4308
+ @description You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.
4309
+
4152
4310
  @param request: DeleteCollectionPolicyRequest
4153
4311
  @return: DeleteCollectionPolicyResponse
4154
4312
  """
@@ -4632,6 +4790,106 @@ class Client(OpenApiClient):
4632
4790
  headers = {}
4633
4791
  return await self.delete_domain_with_options_async(project, domain_name, headers, runtime)
4634
4792
 
4793
+ def delete_download_job_with_options(
4794
+ self,
4795
+ project: str,
4796
+ download_job_name: str,
4797
+ headers: Dict[str, str],
4798
+ runtime: util_models.RuntimeOptions,
4799
+ ) -> sls_20201230_models.DeleteDownloadJobResponse:
4800
+ """
4801
+ @summary 删除下载任务
4802
+
4803
+ @param headers: map
4804
+ @param runtime: runtime options for this request RuntimeOptions
4805
+ @return: DeleteDownloadJobResponse
4806
+ """
4807
+ host_map = {}
4808
+ host_map['project'] = project
4809
+ req = open_api_models.OpenApiRequest(
4810
+ host_map=host_map,
4811
+ headers=headers
4812
+ )
4813
+ params = open_api_models.Params(
4814
+ action='DeleteDownloadJob',
4815
+ version='2020-12-30',
4816
+ protocol='HTTPS',
4817
+ pathname=f'/downloadjobs/{download_job_name}',
4818
+ method='DELETE',
4819
+ auth_type='AK',
4820
+ style='ROA',
4821
+ req_body_type='json',
4822
+ body_type='none'
4823
+ )
4824
+ return TeaCore.from_map(
4825
+ sls_20201230_models.DeleteDownloadJobResponse(),
4826
+ self.execute(params, req, runtime)
4827
+ )
4828
+
4829
+ async def delete_download_job_with_options_async(
4830
+ self,
4831
+ project: str,
4832
+ download_job_name: str,
4833
+ headers: Dict[str, str],
4834
+ runtime: util_models.RuntimeOptions,
4835
+ ) -> sls_20201230_models.DeleteDownloadJobResponse:
4836
+ """
4837
+ @summary 删除下载任务
4838
+
4839
+ @param headers: map
4840
+ @param runtime: runtime options for this request RuntimeOptions
4841
+ @return: DeleteDownloadJobResponse
4842
+ """
4843
+ host_map = {}
4844
+ host_map['project'] = project
4845
+ req = open_api_models.OpenApiRequest(
4846
+ host_map=host_map,
4847
+ headers=headers
4848
+ )
4849
+ params = open_api_models.Params(
4850
+ action='DeleteDownloadJob',
4851
+ version='2020-12-30',
4852
+ protocol='HTTPS',
4853
+ pathname=f'/downloadjobs/{download_job_name}',
4854
+ method='DELETE',
4855
+ auth_type='AK',
4856
+ style='ROA',
4857
+ req_body_type='json',
4858
+ body_type='none'
4859
+ )
4860
+ return TeaCore.from_map(
4861
+ sls_20201230_models.DeleteDownloadJobResponse(),
4862
+ await self.execute_async(params, req, runtime)
4863
+ )
4864
+
4865
+ def delete_download_job(
4866
+ self,
4867
+ project: str,
4868
+ download_job_name: str,
4869
+ ) -> sls_20201230_models.DeleteDownloadJobResponse:
4870
+ """
4871
+ @summary 删除下载任务
4872
+
4873
+ @return: DeleteDownloadJobResponse
4874
+ """
4875
+ runtime = util_models.RuntimeOptions()
4876
+ headers = {}
4877
+ return self.delete_download_job_with_options(project, download_job_name, headers, runtime)
4878
+
4879
+ async def delete_download_job_async(
4880
+ self,
4881
+ project: str,
4882
+ download_job_name: str,
4883
+ ) -> sls_20201230_models.DeleteDownloadJobResponse:
4884
+ """
4885
+ @summary 删除下载任务
4886
+
4887
+ @return: DeleteDownloadJobResponse
4888
+ """
4889
+ runtime = util_models.RuntimeOptions()
4890
+ headers = {}
4891
+ return await self.delete_download_job_with_options_async(project, download_job_name, headers, runtime)
4892
+
4635
4893
  def delete_etlwith_options(
4636
4894
  self,
4637
4895
  project: str,
@@ -6887,7 +7145,7 @@ class Client(OpenApiClient):
6887
7145
  runtime: util_models.RuntimeOptions,
6888
7146
  ) -> sls_20201230_models.GetAnnotationLabelResponse:
6889
7147
  """
6890
- @summary Queries a tag table by using a label id.
7148
+ @summary Queries a tag table by using a label ID.
6891
7149
 
6892
7150
  @param headers: map
6893
7151
  @param runtime: runtime options for this request RuntimeOptions
@@ -6919,7 +7177,7 @@ class Client(OpenApiClient):
6919
7177
  runtime: util_models.RuntimeOptions,
6920
7178
  ) -> sls_20201230_models.GetAnnotationLabelResponse:
6921
7179
  """
6922
- @summary Queries a tag table by using a label id.
7180
+ @summary Queries a tag table by using a label ID.
6923
7181
 
6924
7182
  @param headers: map
6925
7183
  @param runtime: runtime options for this request RuntimeOptions
@@ -6949,7 +7207,7 @@ class Client(OpenApiClient):
6949
7207
  label_id: str,
6950
7208
  ) -> sls_20201230_models.GetAnnotationLabelResponse:
6951
7209
  """
6952
- @summary Queries a tag table by using a label id.
7210
+ @summary Queries a tag table by using a label ID.
6953
7211
 
6954
7212
  @return: GetAnnotationLabelResponse
6955
7213
  """
@@ -6962,7 +7220,7 @@ class Client(OpenApiClient):
6962
7220
  label_id: str,
6963
7221
  ) -> sls_20201230_models.GetAnnotationLabelResponse:
6964
7222
  """
6965
- @summary Queries a tag table by using a label id.
7223
+ @summary Queries a tag table by using a label ID.
6966
7224
 
6967
7225
  @return: GetAnnotationLabelResponse
6968
7226
  """
@@ -8098,6 +8356,106 @@ class Client(OpenApiClient):
8098
8356
  headers = {}
8099
8357
  return await self.get_dashboard_with_options_async(project, dashboard_name, headers, runtime)
8100
8358
 
8359
+ def get_download_job_with_options(
8360
+ self,
8361
+ project: str,
8362
+ download_job_name: str,
8363
+ headers: Dict[str, str],
8364
+ runtime: util_models.RuntimeOptions,
8365
+ ) -> sls_20201230_models.GetDownloadJobResponse:
8366
+ """
8367
+ @summary 获取下载任务信息
8368
+
8369
+ @param headers: map
8370
+ @param runtime: runtime options for this request RuntimeOptions
8371
+ @return: GetDownloadJobResponse
8372
+ """
8373
+ host_map = {}
8374
+ host_map['project'] = project
8375
+ req = open_api_models.OpenApiRequest(
8376
+ host_map=host_map,
8377
+ headers=headers
8378
+ )
8379
+ params = open_api_models.Params(
8380
+ action='GetDownloadJob',
8381
+ version='2020-12-30',
8382
+ protocol='HTTPS',
8383
+ pathname=f'/downloadjobs/{download_job_name}',
8384
+ method='GET',
8385
+ auth_type='AK',
8386
+ style='ROA',
8387
+ req_body_type='json',
8388
+ body_type='json'
8389
+ )
8390
+ return TeaCore.from_map(
8391
+ sls_20201230_models.GetDownloadJobResponse(),
8392
+ self.execute(params, req, runtime)
8393
+ )
8394
+
8395
+ async def get_download_job_with_options_async(
8396
+ self,
8397
+ project: str,
8398
+ download_job_name: str,
8399
+ headers: Dict[str, str],
8400
+ runtime: util_models.RuntimeOptions,
8401
+ ) -> sls_20201230_models.GetDownloadJobResponse:
8402
+ """
8403
+ @summary 获取下载任务信息
8404
+
8405
+ @param headers: map
8406
+ @param runtime: runtime options for this request RuntimeOptions
8407
+ @return: GetDownloadJobResponse
8408
+ """
8409
+ host_map = {}
8410
+ host_map['project'] = project
8411
+ req = open_api_models.OpenApiRequest(
8412
+ host_map=host_map,
8413
+ headers=headers
8414
+ )
8415
+ params = open_api_models.Params(
8416
+ action='GetDownloadJob',
8417
+ version='2020-12-30',
8418
+ protocol='HTTPS',
8419
+ pathname=f'/downloadjobs/{download_job_name}',
8420
+ method='GET',
8421
+ auth_type='AK',
8422
+ style='ROA',
8423
+ req_body_type='json',
8424
+ body_type='json'
8425
+ )
8426
+ return TeaCore.from_map(
8427
+ sls_20201230_models.GetDownloadJobResponse(),
8428
+ await self.execute_async(params, req, runtime)
8429
+ )
8430
+
8431
+ def get_download_job(
8432
+ self,
8433
+ project: str,
8434
+ download_job_name: str,
8435
+ ) -> sls_20201230_models.GetDownloadJobResponse:
8436
+ """
8437
+ @summary 获取下载任务信息
8438
+
8439
+ @return: GetDownloadJobResponse
8440
+ """
8441
+ runtime = util_models.RuntimeOptions()
8442
+ headers = {}
8443
+ return self.get_download_job_with_options(project, download_job_name, headers, runtime)
8444
+
8445
+ async def get_download_job_async(
8446
+ self,
8447
+ project: str,
8448
+ download_job_name: str,
8449
+ ) -> sls_20201230_models.GetDownloadJobResponse:
8450
+ """
8451
+ @summary 获取下载任务信息
8452
+
8453
+ @return: GetDownloadJobResponse
8454
+ """
8455
+ runtime = util_models.RuntimeOptions()
8456
+ headers = {}
8457
+ return await self.get_download_job_with_options_async(project, download_job_name, headers, runtime)
8458
+
8101
8459
  def get_etlwith_options(
8102
8460
  self,
8103
8461
  project: str,
@@ -11118,7 +11476,7 @@ class Client(OpenApiClient):
11118
11476
  runtime: util_models.RuntimeOptions,
11119
11477
  ) -> sls_20201230_models.ListAnnotationDataResponse:
11120
11478
  """
11121
- @summary Queries data in a dataset.
11479
+ @summary Queries data in datasets.
11122
11480
 
11123
11481
  @param request: ListAnnotationDataRequest
11124
11482
  @param headers: map
@@ -11159,7 +11517,7 @@ class Client(OpenApiClient):
11159
11517
  runtime: util_models.RuntimeOptions,
11160
11518
  ) -> sls_20201230_models.ListAnnotationDataResponse:
11161
11519
  """
11162
- @summary Queries data in a dataset.
11520
+ @summary Queries data in datasets.
11163
11521
 
11164
11522
  @param request: ListAnnotationDataRequest
11165
11523
  @param headers: map
@@ -11198,7 +11556,7 @@ class Client(OpenApiClient):
11198
11556
  request: sls_20201230_models.ListAnnotationDataRequest,
11199
11557
  ) -> sls_20201230_models.ListAnnotationDataResponse:
11200
11558
  """
11201
- @summary Queries data in a dataset.
11559
+ @summary Queries data in datasets.
11202
11560
 
11203
11561
  @param request: ListAnnotationDataRequest
11204
11562
  @return: ListAnnotationDataResponse
@@ -11213,7 +11571,7 @@ class Client(OpenApiClient):
11213
11571
  request: sls_20201230_models.ListAnnotationDataRequest,
11214
11572
  ) -> sls_20201230_models.ListAnnotationDataResponse:
11215
11573
  """
11216
- @summary Queries data in a dataset.
11574
+ @summary Queries data in datasets.
11217
11575
 
11218
11576
  @param request: ListAnnotationDataRequest
11219
11577
  @return: ListAnnotationDataResponse
@@ -12104,6 +12462,128 @@ class Client(OpenApiClient):
12104
12462
  headers = {}
12105
12463
  return await self.list_domains_with_options_async(project, request, headers, runtime)
12106
12464
 
12465
+ def list_download_jobs_with_options(
12466
+ self,
12467
+ project: str,
12468
+ request: sls_20201230_models.ListDownloadJobsRequest,
12469
+ headers: Dict[str, str],
12470
+ runtime: util_models.RuntimeOptions,
12471
+ ) -> sls_20201230_models.ListDownloadJobsResponse:
12472
+ """
12473
+ @summary 列举下载任务
12474
+
12475
+ @param request: ListDownloadJobsRequest
12476
+ @param headers: map
12477
+ @param runtime: runtime options for this request RuntimeOptions
12478
+ @return: ListDownloadJobsResponse
12479
+ """
12480
+ UtilClient.validate_model(request)
12481
+ host_map = {}
12482
+ host_map['project'] = project
12483
+ query = {}
12484
+ if not UtilClient.is_unset(request.logstore):
12485
+ query['logstore'] = request.logstore
12486
+ if not UtilClient.is_unset(request.offset):
12487
+ query['offset'] = request.offset
12488
+ if not UtilClient.is_unset(request.size):
12489
+ query['size'] = request.size
12490
+ req = open_api_models.OpenApiRequest(
12491
+ host_map=host_map,
12492
+ headers=headers,
12493
+ query=OpenApiUtilClient.query(query)
12494
+ )
12495
+ params = open_api_models.Params(
12496
+ action='ListDownloadJobs',
12497
+ version='2020-12-30',
12498
+ protocol='HTTPS',
12499
+ pathname=f'/downloadjobs',
12500
+ method='GET',
12501
+ auth_type='AK',
12502
+ style='ROA',
12503
+ req_body_type='json',
12504
+ body_type='json'
12505
+ )
12506
+ return TeaCore.from_map(
12507
+ sls_20201230_models.ListDownloadJobsResponse(),
12508
+ self.execute(params, req, runtime)
12509
+ )
12510
+
12511
+ async def list_download_jobs_with_options_async(
12512
+ self,
12513
+ project: str,
12514
+ request: sls_20201230_models.ListDownloadJobsRequest,
12515
+ headers: Dict[str, str],
12516
+ runtime: util_models.RuntimeOptions,
12517
+ ) -> sls_20201230_models.ListDownloadJobsResponse:
12518
+ """
12519
+ @summary 列举下载任务
12520
+
12521
+ @param request: ListDownloadJobsRequest
12522
+ @param headers: map
12523
+ @param runtime: runtime options for this request RuntimeOptions
12524
+ @return: ListDownloadJobsResponse
12525
+ """
12526
+ UtilClient.validate_model(request)
12527
+ host_map = {}
12528
+ host_map['project'] = project
12529
+ query = {}
12530
+ if not UtilClient.is_unset(request.logstore):
12531
+ query['logstore'] = request.logstore
12532
+ if not UtilClient.is_unset(request.offset):
12533
+ query['offset'] = request.offset
12534
+ if not UtilClient.is_unset(request.size):
12535
+ query['size'] = request.size
12536
+ req = open_api_models.OpenApiRequest(
12537
+ host_map=host_map,
12538
+ headers=headers,
12539
+ query=OpenApiUtilClient.query(query)
12540
+ )
12541
+ params = open_api_models.Params(
12542
+ action='ListDownloadJobs',
12543
+ version='2020-12-30',
12544
+ protocol='HTTPS',
12545
+ pathname=f'/downloadjobs',
12546
+ method='GET',
12547
+ auth_type='AK',
12548
+ style='ROA',
12549
+ req_body_type='json',
12550
+ body_type='json'
12551
+ )
12552
+ return TeaCore.from_map(
12553
+ sls_20201230_models.ListDownloadJobsResponse(),
12554
+ await self.execute_async(params, req, runtime)
12555
+ )
12556
+
12557
+ def list_download_jobs(
12558
+ self,
12559
+ project: str,
12560
+ request: sls_20201230_models.ListDownloadJobsRequest,
12561
+ ) -> sls_20201230_models.ListDownloadJobsResponse:
12562
+ """
12563
+ @summary 列举下载任务
12564
+
12565
+ @param request: ListDownloadJobsRequest
12566
+ @return: ListDownloadJobsResponse
12567
+ """
12568
+ runtime = util_models.RuntimeOptions()
12569
+ headers = {}
12570
+ return self.list_download_jobs_with_options(project, request, headers, runtime)
12571
+
12572
+ async def list_download_jobs_async(
12573
+ self,
12574
+ project: str,
12575
+ request: sls_20201230_models.ListDownloadJobsRequest,
12576
+ ) -> sls_20201230_models.ListDownloadJobsResponse:
12577
+ """
12578
+ @summary 列举下载任务
12579
+
12580
+ @param request: ListDownloadJobsRequest
12581
+ @return: ListDownloadJobsResponse
12582
+ """
12583
+ runtime = util_models.RuntimeOptions()
12584
+ headers = {}
12585
+ return await self.list_download_jobs_with_options_async(project, request, headers, runtime)
12586
+
12107
12587
  def list_etls_with_options(
12108
12588
  self,
12109
12589
  project: str,
@@ -14695,7 +15175,7 @@ class Client(OpenApiClient):
14695
15175
  action='QueryMLServiceResults',
14696
15176
  version='2020-12-30',
14697
15177
  protocol='HTTPS',
14698
- pathname=f'/ml/v2/service/{service_name}/analysis',
15178
+ pathname=f'/ml/service/{service_name}/analysis',
14699
15179
  method='POST',
14700
15180
  auth_type='AK',
14701
15181
  style='ROA',
@@ -14738,7 +15218,7 @@ class Client(OpenApiClient):
14738
15218
  action='QueryMLServiceResults',
14739
15219
  version='2020-12-30',
14740
15220
  protocol='HTTPS',
14741
- pathname=f'/ml/v2/service/{service_name}/analysis',
15221
+ pathname=f'/ml/service/{service_name}/analysis',
14742
15222
  method='POST',
14743
15223
  auth_type='AK',
14744
15224
  style='ROA',