alibabacloud-sls20201230 4.0.0__py3-none-any.whl → 4.1.1__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.
@@ -36,6 +36,13 @@ class Client(OpenApiClient):
36
36
  headers: Dict[str, str],
37
37
  runtime: util_models.RuntimeOptions,
38
38
  ) -> sls_20201230_models.ApplyConfigToMachineGroupResponse:
39
+ """
40
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
41
+
42
+ @param headers: map
43
+ @param runtime: runtime options for this request RuntimeOptions
44
+ @return: ApplyConfigToMachineGroupResponse
45
+ """
39
46
  host_map = {}
40
47
  host_map['project'] = project
41
48
  req = open_api_models.OpenApiRequest(
@@ -51,7 +58,7 @@ class Client(OpenApiClient):
51
58
  auth_type='AK',
52
59
  style='ROA',
53
60
  req_body_type='json',
54
- body_type='json'
61
+ body_type='none'
55
62
  )
56
63
  return TeaCore.from_map(
57
64
  sls_20201230_models.ApplyConfigToMachineGroupResponse(),
@@ -66,6 +73,13 @@ class Client(OpenApiClient):
66
73
  headers: Dict[str, str],
67
74
  runtime: util_models.RuntimeOptions,
68
75
  ) -> sls_20201230_models.ApplyConfigToMachineGroupResponse:
76
+ """
77
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
78
+
79
+ @param headers: map
80
+ @param runtime: runtime options for this request RuntimeOptions
81
+ @return: ApplyConfigToMachineGroupResponse
82
+ """
69
83
  host_map = {}
70
84
  host_map['project'] = project
71
85
  req = open_api_models.OpenApiRequest(
@@ -81,7 +95,7 @@ class Client(OpenApiClient):
81
95
  auth_type='AK',
82
96
  style='ROA',
83
97
  req_body_type='json',
84
- body_type='json'
98
+ body_type='none'
85
99
  )
86
100
  return TeaCore.from_map(
87
101
  sls_20201230_models.ApplyConfigToMachineGroupResponse(),
@@ -94,6 +108,11 @@ class Client(OpenApiClient):
94
108
  machine_group: str,
95
109
  config_name: str,
96
110
  ) -> sls_20201230_models.ApplyConfigToMachineGroupResponse:
111
+ """
112
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
113
+
114
+ @return: ApplyConfigToMachineGroupResponse
115
+ """
97
116
  runtime = util_models.RuntimeOptions()
98
117
  headers = {}
99
118
  return self.apply_config_to_machine_group_with_options(project, machine_group, config_name, headers, runtime)
@@ -104,6 +123,11 @@ class Client(OpenApiClient):
104
123
  machine_group: str,
105
124
  config_name: str,
106
125
  ) -> sls_20201230_models.ApplyConfigToMachineGroupResponse:
126
+ """
127
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
128
+
129
+ @return: ApplyConfigToMachineGroupResponse
130
+ """
107
131
  runtime = util_models.RuntimeOptions()
108
132
  headers = {}
109
133
  return await self.apply_config_to_machine_group_with_options_async(project, machine_group, config_name, headers, runtime)
@@ -534,6 +558,17 @@ class Client(OpenApiClient):
534
558
  headers: Dict[str, str],
535
559
  runtime: util_models.RuntimeOptions,
536
560
  ) -> sls_20201230_models.CreateConsumerGroupResponse:
561
+ """
562
+ ### Usage notes
563
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
564
+ * You can create up to 30 consumer groups for a Logstore.
565
+ * Simple Log Service provides examples of both regular log consumption and consumer group-based log consumption by using Simple Log Service SDKs for Java. For more information, see [Consume log data](~~120035~~) and [Use consumer groups to consume data](~~28998~~).
566
+
567
+ @param request: CreateConsumerGroupRequest
568
+ @param headers: map
569
+ @param runtime: runtime options for this request RuntimeOptions
570
+ @return: CreateConsumerGroupResponse
571
+ """
537
572
  UtilClient.validate_model(request)
538
573
  host_map = {}
539
574
  host_map['project'] = project
@@ -573,6 +608,17 @@ class Client(OpenApiClient):
573
608
  headers: Dict[str, str],
574
609
  runtime: util_models.RuntimeOptions,
575
610
  ) -> sls_20201230_models.CreateConsumerGroupResponse:
611
+ """
612
+ ### Usage notes
613
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
614
+ * You can create up to 30 consumer groups for a Logstore.
615
+ * Simple Log Service provides examples of both regular log consumption and consumer group-based log consumption by using Simple Log Service SDKs for Java. For more information, see [Consume log data](~~120035~~) and [Use consumer groups to consume data](~~28998~~).
616
+
617
+ @param request: CreateConsumerGroupRequest
618
+ @param headers: map
619
+ @param runtime: runtime options for this request RuntimeOptions
620
+ @return: CreateConsumerGroupResponse
621
+ """
576
622
  UtilClient.validate_model(request)
577
623
  host_map = {}
578
624
  host_map['project'] = project
@@ -610,6 +656,15 @@ class Client(OpenApiClient):
610
656
  logstore: str,
611
657
  request: sls_20201230_models.CreateConsumerGroupRequest,
612
658
  ) -> sls_20201230_models.CreateConsumerGroupResponse:
659
+ """
660
+ ### Usage notes
661
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
662
+ * You can create up to 30 consumer groups for a Logstore.
663
+ * Simple Log Service provides examples of both regular log consumption and consumer group-based log consumption by using Simple Log Service SDKs for Java. For more information, see [Consume log data](~~120035~~) and [Use consumer groups to consume data](~~28998~~).
664
+
665
+ @param request: CreateConsumerGroupRequest
666
+ @return: CreateConsumerGroupResponse
667
+ """
613
668
  runtime = util_models.RuntimeOptions()
614
669
  headers = {}
615
670
  return self.create_consumer_group_with_options(project, logstore, request, headers, runtime)
@@ -620,6 +675,15 @@ class Client(OpenApiClient):
620
675
  logstore: str,
621
676
  request: sls_20201230_models.CreateConsumerGroupRequest,
622
677
  ) -> sls_20201230_models.CreateConsumerGroupResponse:
678
+ """
679
+ ### Usage notes
680
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
681
+ * You can create up to 30 consumer groups for a Logstore.
682
+ * Simple Log Service provides examples of both regular log consumption and consumer group-based log consumption by using Simple Log Service SDKs for Java. For more information, see [Consume log data](~~120035~~) and [Use consumer groups to consume data](~~28998~~).
683
+
684
+ @param request: CreateConsumerGroupRequest
685
+ @return: CreateConsumerGroupResponse
686
+ """
623
687
  runtime = util_models.RuntimeOptions()
624
688
  headers = {}
625
689
  return await self.create_consumer_group_with_options_async(project, logstore, request, headers, runtime)
@@ -711,6 +775,14 @@ class Client(OpenApiClient):
711
775
  headers: Dict[str, str],
712
776
  runtime: util_models.RuntimeOptions,
713
777
  ) -> sls_20201230_models.CreateDomainResponse:
778
+ """
779
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
780
+
781
+ @param request: CreateDomainRequest
782
+ @param headers: map
783
+ @param runtime: runtime options for this request RuntimeOptions
784
+ @return: CreateDomainResponse
785
+ """
714
786
  UtilClient.validate_model(request)
715
787
  host_map = {}
716
788
  host_map['project'] = project
@@ -745,6 +817,14 @@ class Client(OpenApiClient):
745
817
  headers: Dict[str, str],
746
818
  runtime: util_models.RuntimeOptions,
747
819
  ) -> sls_20201230_models.CreateDomainResponse:
820
+ """
821
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
822
+
823
+ @param request: CreateDomainRequest
824
+ @param headers: map
825
+ @param runtime: runtime options for this request RuntimeOptions
826
+ @return: CreateDomainResponse
827
+ """
748
828
  UtilClient.validate_model(request)
749
829
  host_map = {}
750
830
  host_map['project'] = project
@@ -777,6 +857,12 @@ class Client(OpenApiClient):
777
857
  project: str,
778
858
  request: sls_20201230_models.CreateDomainRequest,
779
859
  ) -> sls_20201230_models.CreateDomainResponse:
860
+ """
861
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
862
+
863
+ @param request: CreateDomainRequest
864
+ @return: CreateDomainResponse
865
+ """
780
866
  runtime = util_models.RuntimeOptions()
781
867
  headers = {}
782
868
  return self.create_domain_with_options(project, request, headers, runtime)
@@ -786,6 +872,12 @@ class Client(OpenApiClient):
786
872
  project: str,
787
873
  request: sls_20201230_models.CreateDomainRequest,
788
874
  ) -> sls_20201230_models.CreateDomainResponse:
875
+ """
876
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
877
+
878
+ @param request: CreateDomainRequest
879
+ @return: CreateDomainResponse
880
+ """
789
881
  runtime = util_models.RuntimeOptions()
790
882
  headers = {}
791
883
  return await self.create_domain_with_options_async(project, request, headers, runtime)
@@ -798,6 +890,14 @@ class Client(OpenApiClient):
798
890
  headers: Dict[str, str],
799
891
  runtime: util_models.RuntimeOptions,
800
892
  ) -> sls_20201230_models.CreateIndexResponse:
893
+ """
894
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
895
+
896
+ @param request: CreateIndexRequest
897
+ @param headers: map
898
+ @param runtime: runtime options for this request RuntimeOptions
899
+ @return: CreateIndexResponse
900
+ """
801
901
  UtilClient.validate_model(request)
802
902
  host_map = {}
803
903
  host_map['project'] = project
@@ -845,6 +945,14 @@ class Client(OpenApiClient):
845
945
  headers: Dict[str, str],
846
946
  runtime: util_models.RuntimeOptions,
847
947
  ) -> sls_20201230_models.CreateIndexResponse:
948
+ """
949
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
950
+
951
+ @param request: CreateIndexRequest
952
+ @param headers: map
953
+ @param runtime: runtime options for this request RuntimeOptions
954
+ @return: CreateIndexResponse
955
+ """
848
956
  UtilClient.validate_model(request)
849
957
  host_map = {}
850
958
  host_map['project'] = project
@@ -890,6 +998,12 @@ class Client(OpenApiClient):
890
998
  logstore: str,
891
999
  request: sls_20201230_models.CreateIndexRequest,
892
1000
  ) -> sls_20201230_models.CreateIndexResponse:
1001
+ """
1002
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1003
+
1004
+ @param request: CreateIndexRequest
1005
+ @return: CreateIndexResponse
1006
+ """
893
1007
  runtime = util_models.RuntimeOptions()
894
1008
  headers = {}
895
1009
  return self.create_index_with_options(project, logstore, request, headers, runtime)
@@ -900,6 +1014,12 @@ class Client(OpenApiClient):
900
1014
  logstore: str,
901
1015
  request: sls_20201230_models.CreateIndexRequest,
902
1016
  ) -> sls_20201230_models.CreateIndexResponse:
1017
+ """
1018
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1019
+
1020
+ @param request: CreateIndexRequest
1021
+ @return: CreateIndexResponse
1022
+ """
903
1023
  runtime = util_models.RuntimeOptions()
904
1024
  headers = {}
905
1025
  return await self.create_index_with_options_async(project, logstore, request, headers, runtime)
@@ -911,6 +1031,15 @@ class Client(OpenApiClient):
911
1031
  headers: Dict[str, str],
912
1032
  runtime: util_models.RuntimeOptions,
913
1033
  ) -> sls_20201230_models.CreateLogStoreResponse:
1034
+ """
1035
+ ### Usage notes
1036
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
1037
+
1038
+ @param request: CreateLogStoreRequest
1039
+ @param headers: map
1040
+ @param runtime: runtime options for this request RuntimeOptions
1041
+ @return: CreateLogStoreResponse
1042
+ """
914
1043
  UtilClient.validate_model(request)
915
1044
  host_map = {}
916
1045
  host_map['project'] = project
@@ -965,6 +1094,15 @@ class Client(OpenApiClient):
965
1094
  headers: Dict[str, str],
966
1095
  runtime: util_models.RuntimeOptions,
967
1096
  ) -> sls_20201230_models.CreateLogStoreResponse:
1097
+ """
1098
+ ### Usage notes
1099
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
1100
+
1101
+ @param request: CreateLogStoreRequest
1102
+ @param headers: map
1103
+ @param runtime: runtime options for this request RuntimeOptions
1104
+ @return: CreateLogStoreResponse
1105
+ """
968
1106
  UtilClient.validate_model(request)
969
1107
  host_map = {}
970
1108
  host_map['project'] = project
@@ -1017,6 +1155,13 @@ class Client(OpenApiClient):
1017
1155
  project: str,
1018
1156
  request: sls_20201230_models.CreateLogStoreRequest,
1019
1157
  ) -> sls_20201230_models.CreateLogStoreResponse:
1158
+ """
1159
+ ### Usage notes
1160
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
1161
+
1162
+ @param request: CreateLogStoreRequest
1163
+ @return: CreateLogStoreResponse
1164
+ """
1020
1165
  runtime = util_models.RuntimeOptions()
1021
1166
  headers = {}
1022
1167
  return self.create_log_store_with_options(project, request, headers, runtime)
@@ -1026,6 +1171,13 @@ class Client(OpenApiClient):
1026
1171
  project: str,
1027
1172
  request: sls_20201230_models.CreateLogStoreRequest,
1028
1173
  ) -> sls_20201230_models.CreateLogStoreResponse:
1174
+ """
1175
+ ### Usage notes
1176
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
1177
+
1178
+ @param request: CreateLogStoreRequest
1179
+ @return: CreateLogStoreResponse
1180
+ """
1029
1181
  runtime = util_models.RuntimeOptions()
1030
1182
  headers = {}
1031
1183
  return await self.create_log_store_with_options_async(project, request, headers, runtime)
@@ -1037,6 +1189,14 @@ class Client(OpenApiClient):
1037
1189
  headers: Dict[str, str],
1038
1190
  runtime: util_models.RuntimeOptions,
1039
1191
  ) -> sls_20201230_models.CreateLoggingResponse:
1192
+ """
1193
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1194
+
1195
+ @param request: CreateLoggingRequest
1196
+ @param headers: map
1197
+ @param runtime: runtime options for this request RuntimeOptions
1198
+ @return: CreateLoggingResponse
1199
+ """
1040
1200
  UtilClient.validate_model(request)
1041
1201
  host_map = {}
1042
1202
  host_map['project'] = project
@@ -1073,6 +1233,14 @@ class Client(OpenApiClient):
1073
1233
  headers: Dict[str, str],
1074
1234
  runtime: util_models.RuntimeOptions,
1075
1235
  ) -> sls_20201230_models.CreateLoggingResponse:
1236
+ """
1237
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1238
+
1239
+ @param request: CreateLoggingRequest
1240
+ @param headers: map
1241
+ @param runtime: runtime options for this request RuntimeOptions
1242
+ @return: CreateLoggingResponse
1243
+ """
1076
1244
  UtilClient.validate_model(request)
1077
1245
  host_map = {}
1078
1246
  host_map['project'] = project
@@ -1107,6 +1275,12 @@ class Client(OpenApiClient):
1107
1275
  project: str,
1108
1276
  request: sls_20201230_models.CreateLoggingRequest,
1109
1277
  ) -> sls_20201230_models.CreateLoggingResponse:
1278
+ """
1279
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1280
+
1281
+ @param request: CreateLoggingRequest
1282
+ @return: CreateLoggingResponse
1283
+ """
1110
1284
  runtime = util_models.RuntimeOptions()
1111
1285
  headers = {}
1112
1286
  return self.create_logging_with_options(project, request, headers, runtime)
@@ -1116,6 +1290,12 @@ class Client(OpenApiClient):
1116
1290
  project: str,
1117
1291
  request: sls_20201230_models.CreateLoggingRequest,
1118
1292
  ) -> sls_20201230_models.CreateLoggingResponse:
1293
+ """
1294
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1295
+
1296
+ @param request: CreateLoggingRequest
1297
+ @return: CreateLoggingResponse
1298
+ """
1119
1299
  runtime = util_models.RuntimeOptions()
1120
1300
  headers = {}
1121
1301
  return await self.create_logging_with_options_async(project, request, headers, runtime)
@@ -1237,6 +1417,15 @@ class Client(OpenApiClient):
1237
1417
  headers: Dict[str, str],
1238
1418
  runtime: util_models.RuntimeOptions,
1239
1419
  ) -> sls_20201230_models.CreateMachineGroupResponse:
1420
+ """
1421
+ ### Usage notes
1422
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1423
+
1424
+ @param request: CreateMachineGroupRequest
1425
+ @param headers: map
1426
+ @param runtime: runtime options for this request RuntimeOptions
1427
+ @return: CreateMachineGroupResponse
1428
+ """
1240
1429
  UtilClient.validate_model(request)
1241
1430
  host_map = {}
1242
1431
  host_map['project'] = project
@@ -1279,6 +1468,15 @@ class Client(OpenApiClient):
1279
1468
  headers: Dict[str, str],
1280
1469
  runtime: util_models.RuntimeOptions,
1281
1470
  ) -> sls_20201230_models.CreateMachineGroupResponse:
1471
+ """
1472
+ ### Usage notes
1473
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1474
+
1475
+ @param request: CreateMachineGroupRequest
1476
+ @param headers: map
1477
+ @param runtime: runtime options for this request RuntimeOptions
1478
+ @return: CreateMachineGroupResponse
1479
+ """
1282
1480
  UtilClient.validate_model(request)
1283
1481
  host_map = {}
1284
1482
  host_map['project'] = project
@@ -1319,6 +1517,13 @@ class Client(OpenApiClient):
1319
1517
  project: str,
1320
1518
  request: sls_20201230_models.CreateMachineGroupRequest,
1321
1519
  ) -> sls_20201230_models.CreateMachineGroupResponse:
1520
+ """
1521
+ ### Usage notes
1522
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1523
+
1524
+ @param request: CreateMachineGroupRequest
1525
+ @return: CreateMachineGroupResponse
1526
+ """
1322
1527
  runtime = util_models.RuntimeOptions()
1323
1528
  headers = {}
1324
1529
  return self.create_machine_group_with_options(project, request, headers, runtime)
@@ -1328,6 +1533,13 @@ class Client(OpenApiClient):
1328
1533
  project: str,
1329
1534
  request: sls_20201230_models.CreateMachineGroupRequest,
1330
1535
  ) -> sls_20201230_models.CreateMachineGroupResponse:
1536
+ """
1537
+ ### Usage notes
1538
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1539
+
1540
+ @param request: CreateMachineGroupRequest
1541
+ @return: CreateMachineGroupResponse
1542
+ """
1331
1543
  runtime = util_models.RuntimeOptions()
1332
1544
  headers = {}
1333
1545
  return await self.create_machine_group_with_options_async(project, request, headers, runtime)
@@ -1339,6 +1551,14 @@ class Client(OpenApiClient):
1339
1551
  headers: Dict[str, str],
1340
1552
  runtime: util_models.RuntimeOptions,
1341
1553
  ) -> sls_20201230_models.CreateOssExternalStoreResponse:
1554
+ """
1555
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1556
+
1557
+ @param request: CreateOssExternalStoreRequest
1558
+ @param headers: map
1559
+ @param runtime: runtime options for this request RuntimeOptions
1560
+ @return: CreateOssExternalStoreResponse
1561
+ """
1342
1562
  UtilClient.validate_model(request)
1343
1563
  host_map = {}
1344
1564
  host_map['project'] = project
@@ -1377,6 +1597,14 @@ class Client(OpenApiClient):
1377
1597
  headers: Dict[str, str],
1378
1598
  runtime: util_models.RuntimeOptions,
1379
1599
  ) -> sls_20201230_models.CreateOssExternalStoreResponse:
1600
+ """
1601
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1602
+
1603
+ @param request: CreateOssExternalStoreRequest
1604
+ @param headers: map
1605
+ @param runtime: runtime options for this request RuntimeOptions
1606
+ @return: CreateOssExternalStoreResponse
1607
+ """
1380
1608
  UtilClient.validate_model(request)
1381
1609
  host_map = {}
1382
1610
  host_map['project'] = project
@@ -1413,6 +1641,12 @@ class Client(OpenApiClient):
1413
1641
  project: str,
1414
1642
  request: sls_20201230_models.CreateOssExternalStoreRequest,
1415
1643
  ) -> sls_20201230_models.CreateOssExternalStoreResponse:
1644
+ """
1645
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1646
+
1647
+ @param request: CreateOssExternalStoreRequest
1648
+ @return: CreateOssExternalStoreResponse
1649
+ """
1416
1650
  runtime = util_models.RuntimeOptions()
1417
1651
  headers = {}
1418
1652
  return self.create_oss_external_store_with_options(project, request, headers, runtime)
@@ -1422,6 +1656,12 @@ class Client(OpenApiClient):
1422
1656
  project: str,
1423
1657
  request: sls_20201230_models.CreateOssExternalStoreRequest,
1424
1658
  ) -> sls_20201230_models.CreateOssExternalStoreResponse:
1659
+ """
1660
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1661
+
1662
+ @param request: CreateOssExternalStoreRequest
1663
+ @return: CreateOssExternalStoreResponse
1664
+ """
1425
1665
  runtime = util_models.RuntimeOptions()
1426
1666
  headers = {}
1427
1667
  return await self.create_oss_external_store_with_options_async(project, request, headers, runtime)
@@ -1521,6 +1761,14 @@ class Client(OpenApiClient):
1521
1761
  headers: Dict[str, str],
1522
1762
  runtime: util_models.RuntimeOptions,
1523
1763
  ) -> sls_20201230_models.CreateRdsExternalStoreResponse:
1764
+ """
1765
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1766
+
1767
+ @param request: CreateRdsExternalStoreRequest
1768
+ @param headers: map
1769
+ @param runtime: runtime options for this request RuntimeOptions
1770
+ @return: CreateRdsExternalStoreResponse
1771
+ """
1524
1772
  UtilClient.validate_model(request)
1525
1773
  host_map = {}
1526
1774
  host_map['project'] = project
@@ -1559,6 +1807,14 @@ class Client(OpenApiClient):
1559
1807
  headers: Dict[str, str],
1560
1808
  runtime: util_models.RuntimeOptions,
1561
1809
  ) -> sls_20201230_models.CreateRdsExternalStoreResponse:
1810
+ """
1811
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1812
+
1813
+ @param request: CreateRdsExternalStoreRequest
1814
+ @param headers: map
1815
+ @param runtime: runtime options for this request RuntimeOptions
1816
+ @return: CreateRdsExternalStoreResponse
1817
+ """
1562
1818
  UtilClient.validate_model(request)
1563
1819
  host_map = {}
1564
1820
  host_map['project'] = project
@@ -1595,6 +1851,12 @@ class Client(OpenApiClient):
1595
1851
  project: str,
1596
1852
  request: sls_20201230_models.CreateRdsExternalStoreRequest,
1597
1853
  ) -> sls_20201230_models.CreateRdsExternalStoreResponse:
1854
+ """
1855
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1856
+
1857
+ @param request: CreateRdsExternalStoreRequest
1858
+ @return: CreateRdsExternalStoreResponse
1859
+ """
1598
1860
  runtime = util_models.RuntimeOptions()
1599
1861
  headers = {}
1600
1862
  return self.create_rds_external_store_with_options(project, request, headers, runtime)
@@ -1604,6 +1866,12 @@ class Client(OpenApiClient):
1604
1866
  project: str,
1605
1867
  request: sls_20201230_models.CreateRdsExternalStoreRequest,
1606
1868
  ) -> sls_20201230_models.CreateRdsExternalStoreResponse:
1869
+ """
1870
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1871
+
1872
+ @param request: CreateRdsExternalStoreRequest
1873
+ @return: CreateRdsExternalStoreResponse
1874
+ """
1607
1875
  runtime = util_models.RuntimeOptions()
1608
1876
  headers = {}
1609
1877
  return await self.create_rds_external_store_with_options_async(project, request, headers, runtime)
@@ -1615,6 +1883,15 @@ class Client(OpenApiClient):
1615
1883
  headers: Dict[str, str],
1616
1884
  runtime: util_models.RuntimeOptions,
1617
1885
  ) -> sls_20201230_models.CreateSavedSearchResponse:
1886
+ """
1887
+ ### Usage notes
1888
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1889
+
1890
+ @param request: CreateSavedSearchRequest
1891
+ @param headers: map
1892
+ @param runtime: runtime options for this request RuntimeOptions
1893
+ @return: CreateSavedSearchResponse
1894
+ """
1618
1895
  UtilClient.validate_model(request)
1619
1896
  host_map = {}
1620
1897
  host_map['project'] = project
@@ -1657,6 +1934,15 @@ class Client(OpenApiClient):
1657
1934
  headers: Dict[str, str],
1658
1935
  runtime: util_models.RuntimeOptions,
1659
1936
  ) -> sls_20201230_models.CreateSavedSearchResponse:
1937
+ """
1938
+ ### Usage notes
1939
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1940
+
1941
+ @param request: CreateSavedSearchRequest
1942
+ @param headers: map
1943
+ @param runtime: runtime options for this request RuntimeOptions
1944
+ @return: CreateSavedSearchResponse
1945
+ """
1660
1946
  UtilClient.validate_model(request)
1661
1947
  host_map = {}
1662
1948
  host_map['project'] = project
@@ -1697,6 +1983,13 @@ class Client(OpenApiClient):
1697
1983
  project: str,
1698
1984
  request: sls_20201230_models.CreateSavedSearchRequest,
1699
1985
  ) -> sls_20201230_models.CreateSavedSearchResponse:
1986
+ """
1987
+ ### Usage notes
1988
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
1989
+
1990
+ @param request: CreateSavedSearchRequest
1991
+ @return: CreateSavedSearchResponse
1992
+ """
1700
1993
  runtime = util_models.RuntimeOptions()
1701
1994
  headers = {}
1702
1995
  return self.create_saved_search_with_options(project, request, headers, runtime)
@@ -1706,90 +1999,17 @@ class Client(OpenApiClient):
1706
1999
  project: str,
1707
2000
  request: sls_20201230_models.CreateSavedSearchRequest,
1708
2001
  ) -> sls_20201230_models.CreateSavedSearchResponse:
2002
+ """
2003
+ ### Usage notes
2004
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2005
+
2006
+ @param request: CreateSavedSearchRequest
2007
+ @return: CreateSavedSearchResponse
2008
+ """
1709
2009
  runtime = util_models.RuntimeOptions()
1710
2010
  headers = {}
1711
2011
  return await self.create_saved_search_with_options_async(project, request, headers, runtime)
1712
2012
 
1713
- def create_ticket_with_options(
1714
- self,
1715
- request: sls_20201230_models.CreateTicketRequest,
1716
- headers: Dict[str, str],
1717
- runtime: util_models.RuntimeOptions,
1718
- ) -> sls_20201230_models.CreateTicketResponse:
1719
- UtilClient.validate_model(request)
1720
- body = {}
1721
- if not UtilClient.is_unset(request.play_access_key_id):
1722
- body['playAccessKeyId'] = request.play_access_key_id
1723
- if not UtilClient.is_unset(request.play_access_key_secret):
1724
- body['playAccessKeySecret'] = request.play_access_key_secret
1725
- req = open_api_models.OpenApiRequest(
1726
- headers=headers,
1727
- body=OpenApiUtilClient.parse_to_map(body)
1728
- )
1729
- params = open_api_models.Params(
1730
- action='CreateTicket',
1731
- version='2020-12-30',
1732
- protocol='HTTPS',
1733
- pathname=f'/tickets',
1734
- method='POST',
1735
- auth_type='AK',
1736
- style='ROA',
1737
- req_body_type='json',
1738
- body_type='json'
1739
- )
1740
- return TeaCore.from_map(
1741
- sls_20201230_models.CreateTicketResponse(),
1742
- self.execute(params, req, runtime)
1743
- )
1744
-
1745
- async def create_ticket_with_options_async(
1746
- self,
1747
- request: sls_20201230_models.CreateTicketRequest,
1748
- headers: Dict[str, str],
1749
- runtime: util_models.RuntimeOptions,
1750
- ) -> sls_20201230_models.CreateTicketResponse:
1751
- UtilClient.validate_model(request)
1752
- body = {}
1753
- if not UtilClient.is_unset(request.play_access_key_id):
1754
- body['playAccessKeyId'] = request.play_access_key_id
1755
- if not UtilClient.is_unset(request.play_access_key_secret):
1756
- body['playAccessKeySecret'] = request.play_access_key_secret
1757
- req = open_api_models.OpenApiRequest(
1758
- headers=headers,
1759
- body=OpenApiUtilClient.parse_to_map(body)
1760
- )
1761
- params = open_api_models.Params(
1762
- action='CreateTicket',
1763
- version='2020-12-30',
1764
- protocol='HTTPS',
1765
- pathname=f'/tickets',
1766
- method='POST',
1767
- auth_type='AK',
1768
- style='ROA',
1769
- req_body_type='json',
1770
- body_type='json'
1771
- )
1772
- return TeaCore.from_map(
1773
- sls_20201230_models.CreateTicketResponse(),
1774
- await self.execute_async(params, req, runtime)
1775
- )
1776
-
1777
- def create_ticket(
1778
- self,
1779
- request: sls_20201230_models.CreateTicketRequest,
1780
- ) -> sls_20201230_models.CreateTicketResponse:
1781
- runtime = util_models.RuntimeOptions()
1782
- headers = {}
1783
- return self.create_ticket_with_options(request, headers, runtime)
1784
-
1785
- async def create_ticket_async(
1786
- self,
1787
- request: sls_20201230_models.CreateTicketRequest,
1788
- ) -> sls_20201230_models.CreateTicketResponse:
1789
- runtime = util_models.RuntimeOptions()
1790
- headers = {}
1791
- return await self.create_ticket_with_options_async(request, headers, runtime)
1792
-
1793
2013
  def delete_annotation_data_with_options(
1794
2014
  self,
1795
2015
  dataset_id: str,
@@ -2160,6 +2380,13 @@ class Client(OpenApiClient):
2160
2380
  headers: Dict[str, str],
2161
2381
  runtime: util_models.RuntimeOptions,
2162
2382
  ) -> sls_20201230_models.DeleteConsumerGroupResponse:
2383
+ """
2384
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2385
+
2386
+ @param headers: map
2387
+ @param runtime: runtime options for this request RuntimeOptions
2388
+ @return: DeleteConsumerGroupResponse
2389
+ """
2163
2390
  host_map = {}
2164
2391
  host_map['project'] = project
2165
2392
  req = open_api_models.OpenApiRequest(
@@ -2190,6 +2417,13 @@ class Client(OpenApiClient):
2190
2417
  headers: Dict[str, str],
2191
2418
  runtime: util_models.RuntimeOptions,
2192
2419
  ) -> sls_20201230_models.DeleteConsumerGroupResponse:
2420
+ """
2421
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2422
+
2423
+ @param headers: map
2424
+ @param runtime: runtime options for this request RuntimeOptions
2425
+ @return: DeleteConsumerGroupResponse
2426
+ """
2193
2427
  host_map = {}
2194
2428
  host_map['project'] = project
2195
2429
  req = open_api_models.OpenApiRequest(
@@ -2218,6 +2452,11 @@ class Client(OpenApiClient):
2218
2452
  logstore: str,
2219
2453
  consumer_group: str,
2220
2454
  ) -> sls_20201230_models.DeleteConsumerGroupResponse:
2455
+ """
2456
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2457
+
2458
+ @return: DeleteConsumerGroupResponse
2459
+ """
2221
2460
  runtime = util_models.RuntimeOptions()
2222
2461
  headers = {}
2223
2462
  return self.delete_consumer_group_with_options(project, logstore, consumer_group, headers, runtime)
@@ -2228,6 +2467,11 @@ class Client(OpenApiClient):
2228
2467
  logstore: str,
2229
2468
  consumer_group: str,
2230
2469
  ) -> sls_20201230_models.DeleteConsumerGroupResponse:
2470
+ """
2471
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2472
+
2473
+ @return: DeleteConsumerGroupResponse
2474
+ """
2231
2475
  runtime = util_models.RuntimeOptions()
2232
2476
  headers = {}
2233
2477
  return await self.delete_consumer_group_with_options_async(project, logstore, consumer_group, headers, runtime)
@@ -2315,6 +2559,13 @@ class Client(OpenApiClient):
2315
2559
  headers: Dict[str, str],
2316
2560
  runtime: util_models.RuntimeOptions,
2317
2561
  ) -> sls_20201230_models.DeleteDomainResponse:
2562
+ """
2563
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2564
+
2565
+ @param headers: map
2566
+ @param runtime: runtime options for this request RuntimeOptions
2567
+ @return: DeleteDomainResponse
2568
+ """
2318
2569
  host_map = {}
2319
2570
  host_map['project'] = project
2320
2571
  req = open_api_models.OpenApiRequest(
@@ -2344,6 +2595,13 @@ class Client(OpenApiClient):
2344
2595
  headers: Dict[str, str],
2345
2596
  runtime: util_models.RuntimeOptions,
2346
2597
  ) -> sls_20201230_models.DeleteDomainResponse:
2598
+ """
2599
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2600
+
2601
+ @param headers: map
2602
+ @param runtime: runtime options for this request RuntimeOptions
2603
+ @return: DeleteDomainResponse
2604
+ """
2347
2605
  host_map = {}
2348
2606
  host_map['project'] = project
2349
2607
  req = open_api_models.OpenApiRequest(
@@ -2371,6 +2629,11 @@ class Client(OpenApiClient):
2371
2629
  project: str,
2372
2630
  domain_name: str,
2373
2631
  ) -> sls_20201230_models.DeleteDomainResponse:
2632
+ """
2633
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2634
+
2635
+ @return: DeleteDomainResponse
2636
+ """
2374
2637
  runtime = util_models.RuntimeOptions()
2375
2638
  headers = {}
2376
2639
  return self.delete_domain_with_options(project, domain_name, headers, runtime)
@@ -2380,6 +2643,11 @@ class Client(OpenApiClient):
2380
2643
  project: str,
2381
2644
  domain_name: str,
2382
2645
  ) -> sls_20201230_models.DeleteDomainResponse:
2646
+ """
2647
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2648
+
2649
+ @return: DeleteDomainResponse
2650
+ """
2383
2651
  runtime = util_models.RuntimeOptions()
2384
2652
  headers = {}
2385
2653
  return await self.delete_domain_with_options_async(project, domain_name, headers, runtime)
@@ -2391,6 +2659,13 @@ class Client(OpenApiClient):
2391
2659
  headers: Dict[str, str],
2392
2660
  runtime: util_models.RuntimeOptions,
2393
2661
  ) -> sls_20201230_models.DeleteExternalStoreResponse:
2662
+ """
2663
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2664
+
2665
+ @param headers: map
2666
+ @param runtime: runtime options for this request RuntimeOptions
2667
+ @return: DeleteExternalStoreResponse
2668
+ """
2394
2669
  host_map = {}
2395
2670
  host_map['project'] = project
2396
2671
  req = open_api_models.OpenApiRequest(
@@ -2420,6 +2695,13 @@ class Client(OpenApiClient):
2420
2695
  headers: Dict[str, str],
2421
2696
  runtime: util_models.RuntimeOptions,
2422
2697
  ) -> sls_20201230_models.DeleteExternalStoreResponse:
2698
+ """
2699
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2700
+
2701
+ @param headers: map
2702
+ @param runtime: runtime options for this request RuntimeOptions
2703
+ @return: DeleteExternalStoreResponse
2704
+ """
2423
2705
  host_map = {}
2424
2706
  host_map['project'] = project
2425
2707
  req = open_api_models.OpenApiRequest(
@@ -2447,6 +2729,11 @@ class Client(OpenApiClient):
2447
2729
  project: str,
2448
2730
  external_store_name: str,
2449
2731
  ) -> sls_20201230_models.DeleteExternalStoreResponse:
2732
+ """
2733
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2734
+
2735
+ @return: DeleteExternalStoreResponse
2736
+ """
2450
2737
  runtime = util_models.RuntimeOptions()
2451
2738
  headers = {}
2452
2739
  return self.delete_external_store_with_options(project, external_store_name, headers, runtime)
@@ -2456,6 +2743,11 @@ class Client(OpenApiClient):
2456
2743
  project: str,
2457
2744
  external_store_name: str,
2458
2745
  ) -> sls_20201230_models.DeleteExternalStoreResponse:
2746
+ """
2747
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2748
+
2749
+ @return: DeleteExternalStoreResponse
2750
+ """
2459
2751
  runtime = util_models.RuntimeOptions()
2460
2752
  headers = {}
2461
2753
  return await self.delete_external_store_with_options_async(project, external_store_name, headers, runtime)
@@ -2467,6 +2759,14 @@ class Client(OpenApiClient):
2467
2759
  headers: Dict[str, str],
2468
2760
  runtime: util_models.RuntimeOptions,
2469
2761
  ) -> sls_20201230_models.DeleteIndexResponse:
2762
+ """
2763
+ ### Usage notes
2764
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2765
+
2766
+ @param headers: map
2767
+ @param runtime: runtime options for this request RuntimeOptions
2768
+ @return: DeleteIndexResponse
2769
+ """
2470
2770
  host_map = {}
2471
2771
  host_map['project'] = project
2472
2772
  req = open_api_models.OpenApiRequest(
@@ -2496,6 +2796,14 @@ class Client(OpenApiClient):
2496
2796
  headers: Dict[str, str],
2497
2797
  runtime: util_models.RuntimeOptions,
2498
2798
  ) -> sls_20201230_models.DeleteIndexResponse:
2799
+ """
2800
+ ### Usage notes
2801
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2802
+
2803
+ @param headers: map
2804
+ @param runtime: runtime options for this request RuntimeOptions
2805
+ @return: DeleteIndexResponse
2806
+ """
2499
2807
  host_map = {}
2500
2808
  host_map['project'] = project
2501
2809
  req = open_api_models.OpenApiRequest(
@@ -2523,6 +2831,12 @@ class Client(OpenApiClient):
2523
2831
  project: str,
2524
2832
  logstore: str,
2525
2833
  ) -> sls_20201230_models.DeleteIndexResponse:
2834
+ """
2835
+ ### Usage notes
2836
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2837
+
2838
+ @return: DeleteIndexResponse
2839
+ """
2526
2840
  runtime = util_models.RuntimeOptions()
2527
2841
  headers = {}
2528
2842
  return self.delete_index_with_options(project, logstore, headers, runtime)
@@ -2532,6 +2846,12 @@ class Client(OpenApiClient):
2532
2846
  project: str,
2533
2847
  logstore: str,
2534
2848
  ) -> sls_20201230_models.DeleteIndexResponse:
2849
+ """
2850
+ ### Usage notes
2851
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
2852
+
2853
+ @return: DeleteIndexResponse
2854
+ """
2535
2855
  runtime = util_models.RuntimeOptions()
2536
2856
  headers = {}
2537
2857
  return await self.delete_index_with_options_async(project, logstore, headers, runtime)
@@ -2543,6 +2863,14 @@ class Client(OpenApiClient):
2543
2863
  headers: Dict[str, str],
2544
2864
  runtime: util_models.RuntimeOptions,
2545
2865
  ) -> sls_20201230_models.DeleteLogStoreResponse:
2866
+ """
2867
+ ### Usage notes
2868
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
2869
+
2870
+ @param headers: map
2871
+ @param runtime: runtime options for this request RuntimeOptions
2872
+ @return: DeleteLogStoreResponse
2873
+ """
2546
2874
  host_map = {}
2547
2875
  host_map['project'] = project
2548
2876
  req = open_api_models.OpenApiRequest(
@@ -2572,6 +2900,14 @@ class Client(OpenApiClient):
2572
2900
  headers: Dict[str, str],
2573
2901
  runtime: util_models.RuntimeOptions,
2574
2902
  ) -> sls_20201230_models.DeleteLogStoreResponse:
2903
+ """
2904
+ ### Usage notes
2905
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
2906
+
2907
+ @param headers: map
2908
+ @param runtime: runtime options for this request RuntimeOptions
2909
+ @return: DeleteLogStoreResponse
2910
+ """
2575
2911
  host_map = {}
2576
2912
  host_map['project'] = project
2577
2913
  req = open_api_models.OpenApiRequest(
@@ -2599,6 +2935,12 @@ class Client(OpenApiClient):
2599
2935
  project: str,
2600
2936
  logstore: str,
2601
2937
  ) -> sls_20201230_models.DeleteLogStoreResponse:
2938
+ """
2939
+ ### Usage notes
2940
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
2941
+
2942
+ @return: DeleteLogStoreResponse
2943
+ """
2602
2944
  runtime = util_models.RuntimeOptions()
2603
2945
  headers = {}
2604
2946
  return self.delete_log_store_with_options(project, logstore, headers, runtime)
@@ -2608,6 +2950,12 @@ class Client(OpenApiClient):
2608
2950
  project: str,
2609
2951
  logstore: str,
2610
2952
  ) -> sls_20201230_models.DeleteLogStoreResponse:
2953
+ """
2954
+ ### Usage notes
2955
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
2956
+
2957
+ @return: DeleteLogStoreResponse
2958
+ """
2611
2959
  runtime = util_models.RuntimeOptions()
2612
2960
  headers = {}
2613
2961
  return await self.delete_log_store_with_options_async(project, logstore, headers, runtime)
@@ -2767,6 +3115,14 @@ class Client(OpenApiClient):
2767
3115
  headers: Dict[str, str],
2768
3116
  runtime: util_models.RuntimeOptions,
2769
3117
  ) -> sls_20201230_models.DeleteMachineGroupResponse:
3118
+ """
3119
+ ### Usage notes
3120
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3121
+
3122
+ @param headers: map
3123
+ @param runtime: runtime options for this request RuntimeOptions
3124
+ @return: DeleteMachineGroupResponse
3125
+ """
2770
3126
  host_map = {}
2771
3127
  host_map['project'] = project
2772
3128
  req = open_api_models.OpenApiRequest(
@@ -2796,6 +3152,14 @@ class Client(OpenApiClient):
2796
3152
  headers: Dict[str, str],
2797
3153
  runtime: util_models.RuntimeOptions,
2798
3154
  ) -> sls_20201230_models.DeleteMachineGroupResponse:
3155
+ """
3156
+ ### Usage notes
3157
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3158
+
3159
+ @param headers: map
3160
+ @param runtime: runtime options for this request RuntimeOptions
3161
+ @return: DeleteMachineGroupResponse
3162
+ """
2799
3163
  host_map = {}
2800
3164
  host_map['project'] = project
2801
3165
  req = open_api_models.OpenApiRequest(
@@ -2823,6 +3187,12 @@ class Client(OpenApiClient):
2823
3187
  project: str,
2824
3188
  machine_group: str,
2825
3189
  ) -> sls_20201230_models.DeleteMachineGroupResponse:
3190
+ """
3191
+ ### Usage notes
3192
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3193
+
3194
+ @return: DeleteMachineGroupResponse
3195
+ """
2826
3196
  runtime = util_models.RuntimeOptions()
2827
3197
  headers = {}
2828
3198
  return self.delete_machine_group_with_options(project, machine_group, headers, runtime)
@@ -2832,6 +3202,12 @@ class Client(OpenApiClient):
2832
3202
  project: str,
2833
3203
  machine_group: str,
2834
3204
  ) -> sls_20201230_models.DeleteMachineGroupResponse:
3205
+ """
3206
+ ### Usage notes
3207
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3208
+
3209
+ @return: DeleteMachineGroupResponse
3210
+ """
2835
3211
  runtime = util_models.RuntimeOptions()
2836
3212
  headers = {}
2837
3213
  return await self.delete_machine_group_with_options_async(project, machine_group, headers, runtime)
@@ -2914,6 +3290,14 @@ class Client(OpenApiClient):
2914
3290
  headers: Dict[str, str],
2915
3291
  runtime: util_models.RuntimeOptions,
2916
3292
  ) -> sls_20201230_models.DeleteProjectPolicyResponse:
3293
+ """
3294
+ ### Usage notes
3295
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3296
+
3297
+ @param headers: map
3298
+ @param runtime: runtime options for this request RuntimeOptions
3299
+ @return: DeleteProjectPolicyResponse
3300
+ """
2917
3301
  host_map = {}
2918
3302
  host_map['project'] = project
2919
3303
  req = open_api_models.OpenApiRequest(
@@ -2942,6 +3326,14 @@ class Client(OpenApiClient):
2942
3326
  headers: Dict[str, str],
2943
3327
  runtime: util_models.RuntimeOptions,
2944
3328
  ) -> sls_20201230_models.DeleteProjectPolicyResponse:
3329
+ """
3330
+ ### Usage notes
3331
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3332
+
3333
+ @param headers: map
3334
+ @param runtime: runtime options for this request RuntimeOptions
3335
+ @return: DeleteProjectPolicyResponse
3336
+ """
2945
3337
  host_map = {}
2946
3338
  host_map['project'] = project
2947
3339
  req = open_api_models.OpenApiRequest(
@@ -2968,6 +3360,12 @@ class Client(OpenApiClient):
2968
3360
  self,
2969
3361
  project: str,
2970
3362
  ) -> sls_20201230_models.DeleteProjectPolicyResponse:
3363
+ """
3364
+ ### Usage notes
3365
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3366
+
3367
+ @return: DeleteProjectPolicyResponse
3368
+ """
2971
3369
  runtime = util_models.RuntimeOptions()
2972
3370
  headers = {}
2973
3371
  return self.delete_project_policy_with_options(project, headers, runtime)
@@ -2976,6 +3374,12 @@ class Client(OpenApiClient):
2976
3374
  self,
2977
3375
  project: str,
2978
3376
  ) -> sls_20201230_models.DeleteProjectPolicyResponse:
3377
+ """
3378
+ ### Usage notes
3379
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3380
+
3381
+ @return: DeleteProjectPolicyResponse
3382
+ """
2979
3383
  runtime = util_models.RuntimeOptions()
2980
3384
  headers = {}
2981
3385
  return await self.delete_project_policy_with_options_async(project, headers, runtime)
@@ -2987,6 +3391,14 @@ class Client(OpenApiClient):
2987
3391
  headers: Dict[str, str],
2988
3392
  runtime: util_models.RuntimeOptions,
2989
3393
  ) -> sls_20201230_models.DeleteSavedSearchResponse:
3394
+ """
3395
+ ### Usage notes
3396
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3397
+
3398
+ @param headers: map
3399
+ @param runtime: runtime options for this request RuntimeOptions
3400
+ @return: DeleteSavedSearchResponse
3401
+ """
2990
3402
  host_map = {}
2991
3403
  host_map['project'] = project
2992
3404
  req = open_api_models.OpenApiRequest(
@@ -3016,6 +3428,14 @@ class Client(OpenApiClient):
3016
3428
  headers: Dict[str, str],
3017
3429
  runtime: util_models.RuntimeOptions,
3018
3430
  ) -> sls_20201230_models.DeleteSavedSearchResponse:
3431
+ """
3432
+ ### Usage notes
3433
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3434
+
3435
+ @param headers: map
3436
+ @param runtime: runtime options for this request RuntimeOptions
3437
+ @return: DeleteSavedSearchResponse
3438
+ """
3019
3439
  host_map = {}
3020
3440
  host_map['project'] = project
3021
3441
  req = open_api_models.OpenApiRequest(
@@ -3043,6 +3463,12 @@ class Client(OpenApiClient):
3043
3463
  project: str,
3044
3464
  savedsearch_name: str,
3045
3465
  ) -> sls_20201230_models.DeleteSavedSearchResponse:
3466
+ """
3467
+ ### Usage notes
3468
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3469
+
3470
+ @return: DeleteSavedSearchResponse
3471
+ """
3046
3472
  runtime = util_models.RuntimeOptions()
3047
3473
  headers = {}
3048
3474
  return self.delete_saved_search_with_options(project, savedsearch_name, headers, runtime)
@@ -3052,6 +3478,12 @@ class Client(OpenApiClient):
3052
3478
  project: str,
3053
3479
  savedsearch_name: str,
3054
3480
  ) -> sls_20201230_models.DeleteSavedSearchResponse:
3481
+ """
3482
+ ### Usage notes
3483
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3484
+
3485
+ @return: DeleteSavedSearchResponse
3486
+ """
3055
3487
  runtime = util_models.RuntimeOptions()
3056
3488
  headers = {}
3057
3489
  return await self.delete_saved_search_with_options_async(project, savedsearch_name, headers, runtime)
@@ -3064,6 +3496,13 @@ class Client(OpenApiClient):
3064
3496
  headers: Dict[str, str],
3065
3497
  runtime: util_models.RuntimeOptions,
3066
3498
  ) -> sls_20201230_models.DeleteShipperResponse:
3499
+ """
3500
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3501
+
3502
+ @param headers: map
3503
+ @param runtime: runtime options for this request RuntimeOptions
3504
+ @return: DeleteShipperResponse
3505
+ """
3067
3506
  host_map = {}
3068
3507
  host_map['project'] = project
3069
3508
  req = open_api_models.OpenApiRequest(
@@ -3094,6 +3533,13 @@ class Client(OpenApiClient):
3094
3533
  headers: Dict[str, str],
3095
3534
  runtime: util_models.RuntimeOptions,
3096
3535
  ) -> sls_20201230_models.DeleteShipperResponse:
3536
+ """
3537
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3538
+
3539
+ @param headers: map
3540
+ @param runtime: runtime options for this request RuntimeOptions
3541
+ @return: DeleteShipperResponse
3542
+ """
3097
3543
  host_map = {}
3098
3544
  host_map['project'] = project
3099
3545
  req = open_api_models.OpenApiRequest(
@@ -3122,6 +3568,11 @@ class Client(OpenApiClient):
3122
3568
  logstore: str,
3123
3569
  shipper_name: str,
3124
3570
  ) -> sls_20201230_models.DeleteShipperResponse:
3571
+ """
3572
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3573
+
3574
+ @return: DeleteShipperResponse
3575
+ """
3125
3576
  runtime = util_models.RuntimeOptions()
3126
3577
  headers = {}
3127
3578
  return self.delete_shipper_with_options(project, logstore, shipper_name, headers, runtime)
@@ -3132,6 +3583,11 @@ class Client(OpenApiClient):
3132
3583
  logstore: str,
3133
3584
  shipper_name: str,
3134
3585
  ) -> sls_20201230_models.DeleteShipperResponse:
3586
+ """
3587
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3588
+
3589
+ @return: DeleteShipperResponse
3590
+ """
3135
3591
  runtime = util_models.RuntimeOptions()
3136
3592
  headers = {}
3137
3593
  return await self.delete_shipper_with_options_async(project, logstore, shipper_name, headers, runtime)
@@ -3345,6 +3801,13 @@ class Client(OpenApiClient):
3345
3801
  headers: Dict[str, str],
3346
3802
  runtime: util_models.RuntimeOptions,
3347
3803
  ) -> sls_20201230_models.GetAppliedConfigsResponse:
3804
+ """
3805
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3806
+
3807
+ @param headers: map
3808
+ @param runtime: runtime options for this request RuntimeOptions
3809
+ @return: GetAppliedConfigsResponse
3810
+ """
3348
3811
  host_map = {}
3349
3812
  host_map['project'] = project
3350
3813
  req = open_api_models.OpenApiRequest(
@@ -3374,6 +3837,13 @@ class Client(OpenApiClient):
3374
3837
  headers: Dict[str, str],
3375
3838
  runtime: util_models.RuntimeOptions,
3376
3839
  ) -> sls_20201230_models.GetAppliedConfigsResponse:
3840
+ """
3841
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3842
+
3843
+ @param headers: map
3844
+ @param runtime: runtime options for this request RuntimeOptions
3845
+ @return: GetAppliedConfigsResponse
3846
+ """
3377
3847
  host_map = {}
3378
3848
  host_map['project'] = project
3379
3849
  req = open_api_models.OpenApiRequest(
@@ -3401,6 +3871,11 @@ class Client(OpenApiClient):
3401
3871
  project: str,
3402
3872
  machine_group: str,
3403
3873
  ) -> sls_20201230_models.GetAppliedConfigsResponse:
3874
+ """
3875
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3876
+
3877
+ @return: GetAppliedConfigsResponse
3878
+ """
3404
3879
  runtime = util_models.RuntimeOptions()
3405
3880
  headers = {}
3406
3881
  return self.get_applied_configs_with_options(project, machine_group, headers, runtime)
@@ -3410,6 +3885,11 @@ class Client(OpenApiClient):
3410
3885
  project: str,
3411
3886
  machine_group: str,
3412
3887
  ) -> sls_20201230_models.GetAppliedConfigsResponse:
3888
+ """
3889
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3890
+
3891
+ @return: GetAppliedConfigsResponse
3892
+ """
3413
3893
  runtime = util_models.RuntimeOptions()
3414
3894
  headers = {}
3415
3895
  return await self.get_applied_configs_with_options_async(project, machine_group, headers, runtime)
@@ -3421,6 +3901,13 @@ class Client(OpenApiClient):
3421
3901
  headers: Dict[str, str],
3422
3902
  runtime: util_models.RuntimeOptions,
3423
3903
  ) -> sls_20201230_models.GetAppliedMachineGroupsResponse:
3904
+ """
3905
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3906
+
3907
+ @param headers: map
3908
+ @param runtime: runtime options for this request RuntimeOptions
3909
+ @return: GetAppliedMachineGroupsResponse
3910
+ """
3424
3911
  host_map = {}
3425
3912
  host_map['project'] = project
3426
3913
  req = open_api_models.OpenApiRequest(
@@ -3450,6 +3937,13 @@ class Client(OpenApiClient):
3450
3937
  headers: Dict[str, str],
3451
3938
  runtime: util_models.RuntimeOptions,
3452
3939
  ) -> sls_20201230_models.GetAppliedMachineGroupsResponse:
3940
+ """
3941
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3942
+
3943
+ @param headers: map
3944
+ @param runtime: runtime options for this request RuntimeOptions
3945
+ @return: GetAppliedMachineGroupsResponse
3946
+ """
3453
3947
  host_map = {}
3454
3948
  host_map['project'] = project
3455
3949
  req = open_api_models.OpenApiRequest(
@@ -3477,6 +3971,11 @@ class Client(OpenApiClient):
3477
3971
  project: str,
3478
3972
  config_name: str,
3479
3973
  ) -> sls_20201230_models.GetAppliedMachineGroupsResponse:
3974
+ """
3975
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3976
+
3977
+ @return: GetAppliedMachineGroupsResponse
3978
+ """
3480
3979
  runtime = util_models.RuntimeOptions()
3481
3980
  headers = {}
3482
3981
  return self.get_applied_machine_groups_with_options(project, config_name, headers, runtime)
@@ -3486,6 +3985,11 @@ class Client(OpenApiClient):
3486
3985
  project: str,
3487
3986
  config_name: str,
3488
3987
  ) -> sls_20201230_models.GetAppliedMachineGroupsResponse:
3988
+ """
3989
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
3990
+
3991
+ @return: GetAppliedMachineGroupsResponse
3992
+ """
3489
3993
  runtime = util_models.RuntimeOptions()
3490
3994
  headers = {}
3491
3995
  return await self.get_applied_machine_groups_with_options_async(project, config_name, headers, runtime)
@@ -3499,6 +4003,14 @@ class Client(OpenApiClient):
3499
4003
  headers: Dict[str, str],
3500
4004
  runtime: util_models.RuntimeOptions,
3501
4005
  ) -> sls_20201230_models.GetCheckPointResponse:
4006
+ """
4007
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4008
+
4009
+ @param request: GetCheckPointRequest
4010
+ @param headers: map
4011
+ @param runtime: runtime options for this request RuntimeOptions
4012
+ @return: GetCheckPointResponse
4013
+ """
3502
4014
  UtilClient.validate_model(request)
3503
4015
  host_map = {}
3504
4016
  host_map['project'] = project
@@ -3535,6 +4047,14 @@ class Client(OpenApiClient):
3535
4047
  headers: Dict[str, str],
3536
4048
  runtime: util_models.RuntimeOptions,
3537
4049
  ) -> sls_20201230_models.GetCheckPointResponse:
4050
+ """
4051
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4052
+
4053
+ @param request: GetCheckPointRequest
4054
+ @param headers: map
4055
+ @param runtime: runtime options for this request RuntimeOptions
4056
+ @return: GetCheckPointResponse
4057
+ """
3538
4058
  UtilClient.validate_model(request)
3539
4059
  host_map = {}
3540
4060
  host_map['project'] = project
@@ -3569,6 +4089,12 @@ class Client(OpenApiClient):
3569
4089
  consumer_group: str,
3570
4090
  request: sls_20201230_models.GetCheckPointRequest,
3571
4091
  ) -> sls_20201230_models.GetCheckPointResponse:
4092
+ """
4093
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4094
+
4095
+ @param request: GetCheckPointRequest
4096
+ @return: GetCheckPointResponse
4097
+ """
3572
4098
  runtime = util_models.RuntimeOptions()
3573
4099
  headers = {}
3574
4100
  return self.get_check_point_with_options(project, logstore, consumer_group, request, headers, runtime)
@@ -3580,6 +4106,12 @@ class Client(OpenApiClient):
3580
4106
  consumer_group: str,
3581
4107
  request: sls_20201230_models.GetCheckPointRequest,
3582
4108
  ) -> sls_20201230_models.GetCheckPointResponse:
4109
+ """
4110
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4111
+
4112
+ @param request: GetCheckPointRequest
4113
+ @return: GetCheckPointResponse
4114
+ """
3583
4115
  runtime = util_models.RuntimeOptions()
3584
4116
  headers = {}
3585
4117
  return await self.get_check_point_with_options_async(project, logstore, consumer_group, request, headers, runtime)
@@ -3752,6 +4284,15 @@ class Client(OpenApiClient):
3752
4284
  headers: Dict[str, str],
3753
4285
  runtime: util_models.RuntimeOptions,
3754
4286
  ) -> sls_20201230_models.GetContextLogsResponse:
4287
+ """
4288
+ You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
4289
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4290
+
4291
+ @param request: GetContextLogsRequest
4292
+ @param headers: map
4293
+ @param runtime: runtime options for this request RuntimeOptions
4294
+ @return: GetContextLogsResponse
4295
+ """
3755
4296
  UtilClient.validate_model(request)
3756
4297
  host_map = {}
3757
4298
  host_map['project'] = project
@@ -3795,6 +4336,15 @@ class Client(OpenApiClient):
3795
4336
  headers: Dict[str, str],
3796
4337
  runtime: util_models.RuntimeOptions,
3797
4338
  ) -> sls_20201230_models.GetContextLogsResponse:
4339
+ """
4340
+ You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
4341
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4342
+
4343
+ @param request: GetContextLogsRequest
4344
+ @param headers: map
4345
+ @param runtime: runtime options for this request RuntimeOptions
4346
+ @return: GetContextLogsResponse
4347
+ """
3798
4348
  UtilClient.validate_model(request)
3799
4349
  host_map = {}
3800
4350
  host_map['project'] = project
@@ -3836,6 +4386,13 @@ class Client(OpenApiClient):
3836
4386
  logstore: str,
3837
4387
  request: sls_20201230_models.GetContextLogsRequest,
3838
4388
  ) -> sls_20201230_models.GetContextLogsResponse:
4389
+ """
4390
+ You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
4391
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4392
+
4393
+ @param request: GetContextLogsRequest
4394
+ @return: GetContextLogsResponse
4395
+ """
3839
4396
  runtime = util_models.RuntimeOptions()
3840
4397
  headers = {}
3841
4398
  return self.get_context_logs_with_options(project, logstore, request, headers, runtime)
@@ -3846,6 +4403,13 @@ class Client(OpenApiClient):
3846
4403
  logstore: str,
3847
4404
  request: sls_20201230_models.GetContextLogsRequest,
3848
4405
  ) -> sls_20201230_models.GetContextLogsResponse:
4406
+ """
4407
+ You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
4408
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4409
+
4410
+ @param request: GetContextLogsRequest
4411
+ @return: GetContextLogsResponse
4412
+ """
3849
4413
  runtime = util_models.RuntimeOptions()
3850
4414
  headers = {}
3851
4415
  return await self.get_context_logs_with_options_async(project, logstore, request, headers, runtime)
@@ -3859,6 +4423,19 @@ class Client(OpenApiClient):
3859
4423
  headers: Dict[str, str],
3860
4424
  runtime: util_models.RuntimeOptions,
3861
4425
  ) -> sls_20201230_models.GetCursorResponse:
4426
+ """
4427
+ ### Usage notes
4428
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4429
+ * The following content describes the relationships among a cursor, project, Logstore, and shard:
4430
+ * A project can have multiple Logstores.
4431
+ * A Logstore can have multiple shards.
4432
+ * You can use a cursor to obtain a log in a shard.
4433
+
4434
+ @param request: GetCursorRequest
4435
+ @param headers: map
4436
+ @param runtime: runtime options for this request RuntimeOptions
4437
+ @return: GetCursorResponse
4438
+ """
3862
4439
  UtilClient.validate_model(request)
3863
4440
  host_map = {}
3864
4441
  host_map['project'] = project
@@ -3895,6 +4472,19 @@ class Client(OpenApiClient):
3895
4472
  headers: Dict[str, str],
3896
4473
  runtime: util_models.RuntimeOptions,
3897
4474
  ) -> sls_20201230_models.GetCursorResponse:
4475
+ """
4476
+ ### Usage notes
4477
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4478
+ * The following content describes the relationships among a cursor, project, Logstore, and shard:
4479
+ * A project can have multiple Logstores.
4480
+ * A Logstore can have multiple shards.
4481
+ * You can use a cursor to obtain a log in a shard.
4482
+
4483
+ @param request: GetCursorRequest
4484
+ @param headers: map
4485
+ @param runtime: runtime options for this request RuntimeOptions
4486
+ @return: GetCursorResponse
4487
+ """
3898
4488
  UtilClient.validate_model(request)
3899
4489
  host_map = {}
3900
4490
  host_map['project'] = project
@@ -3929,6 +4519,17 @@ class Client(OpenApiClient):
3929
4519
  shard_id: str,
3930
4520
  request: sls_20201230_models.GetCursorRequest,
3931
4521
  ) -> sls_20201230_models.GetCursorResponse:
4522
+ """
4523
+ ### Usage notes
4524
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4525
+ * The following content describes the relationships among a cursor, project, Logstore, and shard:
4526
+ * A project can have multiple Logstores.
4527
+ * A Logstore can have multiple shards.
4528
+ * You can use a cursor to obtain a log in a shard.
4529
+
4530
+ @param request: GetCursorRequest
4531
+ @return: GetCursorResponse
4532
+ """
3932
4533
  runtime = util_models.RuntimeOptions()
3933
4534
  headers = {}
3934
4535
  return self.get_cursor_with_options(project, logstore, shard_id, request, headers, runtime)
@@ -3940,6 +4541,17 @@ class Client(OpenApiClient):
3940
4541
  shard_id: str,
3941
4542
  request: sls_20201230_models.GetCursorRequest,
3942
4543
  ) -> sls_20201230_models.GetCursorResponse:
4544
+ """
4545
+ ### Usage notes
4546
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4547
+ * The following content describes the relationships among a cursor, project, Logstore, and shard:
4548
+ * A project can have multiple Logstores.
4549
+ * A Logstore can have multiple shards.
4550
+ * You can use a cursor to obtain a log in a shard.
4551
+
4552
+ @param request: GetCursorRequest
4553
+ @return: GetCursorResponse
4554
+ """
3943
4555
  runtime = util_models.RuntimeOptions()
3944
4556
  headers = {}
3945
4557
  return await self.get_cursor_with_options_async(project, logstore, shard_id, request, headers, runtime)
@@ -4121,6 +4733,14 @@ class Client(OpenApiClient):
4121
4733
  headers: Dict[str, str],
4122
4734
  runtime: util_models.RuntimeOptions,
4123
4735
  ) -> sls_20201230_models.GetExternalStoreResponse:
4736
+ """
4737
+ The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
4738
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4739
+
4740
+ @param headers: map
4741
+ @param runtime: runtime options for this request RuntimeOptions
4742
+ @return: GetExternalStoreResponse
4743
+ """
4124
4744
  host_map = {}
4125
4745
  host_map['project'] = project
4126
4746
  req = open_api_models.OpenApiRequest(
@@ -4150,6 +4770,14 @@ class Client(OpenApiClient):
4150
4770
  headers: Dict[str, str],
4151
4771
  runtime: util_models.RuntimeOptions,
4152
4772
  ) -> sls_20201230_models.GetExternalStoreResponse:
4773
+ """
4774
+ The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
4775
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4776
+
4777
+ @param headers: map
4778
+ @param runtime: runtime options for this request RuntimeOptions
4779
+ @return: GetExternalStoreResponse
4780
+ """
4153
4781
  host_map = {}
4154
4782
  host_map['project'] = project
4155
4783
  req = open_api_models.OpenApiRequest(
@@ -4177,6 +4805,12 @@ class Client(OpenApiClient):
4177
4805
  project: str,
4178
4806
  external_store_name: str,
4179
4807
  ) -> sls_20201230_models.GetExternalStoreResponse:
4808
+ """
4809
+ The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
4810
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4811
+
4812
+ @return: GetExternalStoreResponse
4813
+ """
4180
4814
  runtime = util_models.RuntimeOptions()
4181
4815
  headers = {}
4182
4816
  return self.get_external_store_with_options(project, external_store_name, headers, runtime)
@@ -4186,6 +4820,12 @@ class Client(OpenApiClient):
4186
4820
  project: str,
4187
4821
  external_store_name: str,
4188
4822
  ) -> sls_20201230_models.GetExternalStoreResponse:
4823
+ """
4824
+ The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
4825
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4826
+
4827
+ @return: GetExternalStoreResponse
4828
+ """
4189
4829
  runtime = util_models.RuntimeOptions()
4190
4830
  headers = {}
4191
4831
  return await self.get_external_store_with_options_async(project, external_store_name, headers, runtime)
@@ -4198,6 +4838,23 @@ class Client(OpenApiClient):
4198
4838
  headers: Dict[str, str],
4199
4839
  runtime: util_models.RuntimeOptions,
4200
4840
  ) -> sls_20201230_models.GetHistogramsResponse:
4841
+ """
4842
+ ### Usage notes
4843
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4844
+ * The time range is evenly divided into subintervals in the responses. If the time range that is specified in the request remains unchanged, the subintervals in the responses also remain unchanged.
4845
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
4846
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
4847
+ * Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds.
4848
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
4849
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
4850
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:\\__receive_time\\_\\_ field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
4851
+ * Simple Log Service provides examples on how to call the GetHistograms operation by using Simple Log Service SDK for Java. For more information, see [Use GetHistograms to query the distribution of logs](~~462234~~).
4852
+
4853
+ @param request: GetHistogramsRequest
4854
+ @param headers: map
4855
+ @param runtime: runtime options for this request RuntimeOptions
4856
+ @return: GetHistogramsResponse
4857
+ """
4201
4858
  UtilClient.validate_model(request)
4202
4859
  host_map = {}
4203
4860
  host_map['project'] = project
@@ -4239,6 +4896,23 @@ class Client(OpenApiClient):
4239
4896
  headers: Dict[str, str],
4240
4897
  runtime: util_models.RuntimeOptions,
4241
4898
  ) -> sls_20201230_models.GetHistogramsResponse:
4899
+ """
4900
+ ### Usage notes
4901
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4902
+ * The time range is evenly divided into subintervals in the responses. If the time range that is specified in the request remains unchanged, the subintervals in the responses also remain unchanged.
4903
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
4904
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
4905
+ * Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds.
4906
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
4907
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
4908
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:\\__receive_time\\_\\_ field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
4909
+ * Simple Log Service provides examples on how to call the GetHistograms operation by using Simple Log Service SDK for Java. For more information, see [Use GetHistograms to query the distribution of logs](~~462234~~).
4910
+
4911
+ @param request: GetHistogramsRequest
4912
+ @param headers: map
4913
+ @param runtime: runtime options for this request RuntimeOptions
4914
+ @return: GetHistogramsResponse
4915
+ """
4242
4916
  UtilClient.validate_model(request)
4243
4917
  host_map = {}
4244
4918
  host_map['project'] = project
@@ -4278,6 +4952,21 @@ class Client(OpenApiClient):
4278
4952
  logstore: str,
4279
4953
  request: sls_20201230_models.GetHistogramsRequest,
4280
4954
  ) -> sls_20201230_models.GetHistogramsResponse:
4955
+ """
4956
+ ### Usage notes
4957
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4958
+ * The time range is evenly divided into subintervals in the responses. If the time range that is specified in the request remains unchanged, the subintervals in the responses also remain unchanged.
4959
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
4960
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
4961
+ * Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds.
4962
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
4963
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
4964
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:\\__receive_time\\_\\_ field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
4965
+ * Simple Log Service provides examples on how to call the GetHistograms operation by using Simple Log Service SDK for Java. For more information, see [Use GetHistograms to query the distribution of logs](~~462234~~).
4966
+
4967
+ @param request: GetHistogramsRequest
4968
+ @return: GetHistogramsResponse
4969
+ """
4281
4970
  runtime = util_models.RuntimeOptions()
4282
4971
  headers = {}
4283
4972
  return self.get_histograms_with_options(project, logstore, request, headers, runtime)
@@ -4288,6 +4977,21 @@ class Client(OpenApiClient):
4288
4977
  logstore: str,
4289
4978
  request: sls_20201230_models.GetHistogramsRequest,
4290
4979
  ) -> sls_20201230_models.GetHistogramsResponse:
4980
+ """
4981
+ ### Usage notes
4982
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
4983
+ * The time range is evenly divided into subintervals in the responses. If the time range that is specified in the request remains unchanged, the subintervals in the responses also remain unchanged.
4984
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
4985
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
4986
+ * Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds.
4987
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
4988
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
4989
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:\\__receive_time\\_\\_ field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
4990
+ * Simple Log Service provides examples on how to call the GetHistograms operation by using Simple Log Service SDK for Java. For more information, see [Use GetHistograms to query the distribution of logs](~~462234~~).
4991
+
4992
+ @param request: GetHistogramsRequest
4993
+ @return: GetHistogramsResponse
4994
+ """
4291
4995
  runtime = util_models.RuntimeOptions()
4292
4996
  headers = {}
4293
4997
  return await self.get_histograms_with_options_async(project, logstore, request, headers, runtime)
@@ -4299,6 +5003,14 @@ class Client(OpenApiClient):
4299
5003
  headers: Dict[str, str],
4300
5004
  runtime: util_models.RuntimeOptions,
4301
5005
  ) -> sls_20201230_models.GetIndexResponse:
5006
+ """
5007
+ ### Usage notes
5008
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5009
+
5010
+ @param headers: map
5011
+ @param runtime: runtime options for this request RuntimeOptions
5012
+ @return: GetIndexResponse
5013
+ """
4302
5014
  host_map = {}
4303
5015
  host_map['project'] = project
4304
5016
  req = open_api_models.OpenApiRequest(
@@ -4328,6 +5040,14 @@ class Client(OpenApiClient):
4328
5040
  headers: Dict[str, str],
4329
5041
  runtime: util_models.RuntimeOptions,
4330
5042
  ) -> sls_20201230_models.GetIndexResponse:
5043
+ """
5044
+ ### Usage notes
5045
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5046
+
5047
+ @param headers: map
5048
+ @param runtime: runtime options for this request RuntimeOptions
5049
+ @return: GetIndexResponse
5050
+ """
4331
5051
  host_map = {}
4332
5052
  host_map['project'] = project
4333
5053
  req = open_api_models.OpenApiRequest(
@@ -4355,6 +5075,12 @@ class Client(OpenApiClient):
4355
5075
  project: str,
4356
5076
  logstore: str,
4357
5077
  ) -> sls_20201230_models.GetIndexResponse:
5078
+ """
5079
+ ### Usage notes
5080
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5081
+
5082
+ @return: GetIndexResponse
5083
+ """
4358
5084
  runtime = util_models.RuntimeOptions()
4359
5085
  headers = {}
4360
5086
  return self.get_index_with_options(project, logstore, headers, runtime)
@@ -4364,6 +5090,12 @@ class Client(OpenApiClient):
4364
5090
  project: str,
4365
5091
  logstore: str,
4366
5092
  ) -> sls_20201230_models.GetIndexResponse:
5093
+ """
5094
+ ### Usage notes
5095
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5096
+
5097
+ @return: GetIndexResponse
5098
+ """
4367
5099
  runtime = util_models.RuntimeOptions()
4368
5100
  headers = {}
4369
5101
  return await self.get_index_with_options_async(project, logstore, headers, runtime)
@@ -4375,6 +5107,14 @@ class Client(OpenApiClient):
4375
5107
  headers: Dict[str, str],
4376
5108
  runtime: util_models.RuntimeOptions,
4377
5109
  ) -> sls_20201230_models.GetLogStoreResponse:
5110
+ """
5111
+ ### Usage notes
5112
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5113
+
5114
+ @param headers: map
5115
+ @param runtime: runtime options for this request RuntimeOptions
5116
+ @return: GetLogStoreResponse
5117
+ """
4378
5118
  host_map = {}
4379
5119
  host_map['project'] = project
4380
5120
  req = open_api_models.OpenApiRequest(
@@ -4404,6 +5144,14 @@ class Client(OpenApiClient):
4404
5144
  headers: Dict[str, str],
4405
5145
  runtime: util_models.RuntimeOptions,
4406
5146
  ) -> sls_20201230_models.GetLogStoreResponse:
5147
+ """
5148
+ ### Usage notes
5149
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5150
+
5151
+ @param headers: map
5152
+ @param runtime: runtime options for this request RuntimeOptions
5153
+ @return: GetLogStoreResponse
5154
+ """
4407
5155
  host_map = {}
4408
5156
  host_map['project'] = project
4409
5157
  req = open_api_models.OpenApiRequest(
@@ -4431,6 +5179,12 @@ class Client(OpenApiClient):
4431
5179
  project: str,
4432
5180
  logstore: str,
4433
5181
  ) -> sls_20201230_models.GetLogStoreResponse:
5182
+ """
5183
+ ### Usage notes
5184
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5185
+
5186
+ @return: GetLogStoreResponse
5187
+ """
4434
5188
  runtime = util_models.RuntimeOptions()
4435
5189
  headers = {}
4436
5190
  return self.get_log_store_with_options(project, logstore, headers, runtime)
@@ -4440,6 +5194,12 @@ class Client(OpenApiClient):
4440
5194
  project: str,
4441
5195
  logstore: str,
4442
5196
  ) -> sls_20201230_models.GetLogStoreResponse:
5197
+ """
5198
+ ### Usage notes
5199
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5200
+
5201
+ @return: GetLogStoreResponse
5202
+ """
4443
5203
  runtime = util_models.RuntimeOptions()
4444
5204
  headers = {}
4445
5205
  return await self.get_log_store_with_options_async(project, logstore, headers, runtime)
@@ -4526,6 +5286,13 @@ class Client(OpenApiClient):
4526
5286
  headers: Dict[str, str],
4527
5287
  runtime: util_models.RuntimeOptions,
4528
5288
  ) -> sls_20201230_models.GetLoggingResponse:
5289
+ """
5290
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5291
+
5292
+ @param headers: map
5293
+ @param runtime: runtime options for this request RuntimeOptions
5294
+ @return: GetLoggingResponse
5295
+ """
4529
5296
  host_map = {}
4530
5297
  host_map['project'] = project
4531
5298
  req = open_api_models.OpenApiRequest(
@@ -4554,6 +5321,13 @@ class Client(OpenApiClient):
4554
5321
  headers: Dict[str, str],
4555
5322
  runtime: util_models.RuntimeOptions,
4556
5323
  ) -> sls_20201230_models.GetLoggingResponse:
5324
+ """
5325
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5326
+
5327
+ @param headers: map
5328
+ @param runtime: runtime options for this request RuntimeOptions
5329
+ @return: GetLoggingResponse
5330
+ """
4557
5331
  host_map = {}
4558
5332
  host_map['project'] = project
4559
5333
  req = open_api_models.OpenApiRequest(
@@ -4580,6 +5354,11 @@ class Client(OpenApiClient):
4580
5354
  self,
4581
5355
  project: str,
4582
5356
  ) -> sls_20201230_models.GetLoggingResponse:
5357
+ """
5358
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5359
+
5360
+ @return: GetLoggingResponse
5361
+ """
4583
5362
  runtime = util_models.RuntimeOptions()
4584
5363
  headers = {}
4585
5364
  return self.get_logging_with_options(project, headers, runtime)
@@ -4588,6 +5367,11 @@ class Client(OpenApiClient):
4588
5367
  self,
4589
5368
  project: str,
4590
5369
  ) -> sls_20201230_models.GetLoggingResponse:
5370
+ """
5371
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5372
+
5373
+ @return: GetLoggingResponse
5374
+ """
4591
5375
  runtime = util_models.RuntimeOptions()
4592
5376
  headers = {}
4593
5377
  return await self.get_logging_with_options_async(project, headers, runtime)
@@ -4600,6 +5384,23 @@ class Client(OpenApiClient):
4600
5384
  headers: Dict[str, str],
4601
5385
  runtime: util_models.RuntimeOptions,
4602
5386
  ) -> sls_20201230_models.GetLogsResponse:
5387
+ """
5388
+ ### Usage notes
5389
+ > Simple Log Service allows you to create a Scheduled SQL job. For more information, see [Create a Scheduled SQL job](~~286457~~).
5390
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5391
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot forecast the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the x-log-progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5392
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
5393
+ Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. This type of log is usually generated in common scenarios.
5394
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
5395
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5396
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:**receive_time** field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
5397
+ * Simple Log Service provides examples on how to call the GetLogs operation by using Simple Log Service SDK for Java and Simple Log Service SDK for Python. For more information, see [Examples of calling the GetLogs operation by using Simple Log Service SDK for Java](~~407683~~) and [Examples of calling the GetLogs operation by using Simple Log Service SDK for Python](~~407684~~).
5398
+
5399
+ @param request: GetLogsRequest
5400
+ @param headers: map
5401
+ @param runtime: runtime options for this request RuntimeOptions
5402
+ @return: GetLogsResponse
5403
+ """
4603
5404
  UtilClient.validate_model(request)
4604
5405
  host_map = {}
4605
5406
  host_map['project'] = project
@@ -4649,6 +5450,23 @@ class Client(OpenApiClient):
4649
5450
  headers: Dict[str, str],
4650
5451
  runtime: util_models.RuntimeOptions,
4651
5452
  ) -> sls_20201230_models.GetLogsResponse:
5453
+ """
5454
+ ### Usage notes
5455
+ > Simple Log Service allows you to create a Scheduled SQL job. For more information, see [Create a Scheduled SQL job](~~286457~~).
5456
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5457
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot forecast the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the x-log-progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5458
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
5459
+ Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. This type of log is usually generated in common scenarios.
5460
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
5461
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5462
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:**receive_time** field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
5463
+ * Simple Log Service provides examples on how to call the GetLogs operation by using Simple Log Service SDK for Java and Simple Log Service SDK for Python. For more information, see [Examples of calling the GetLogs operation by using Simple Log Service SDK for Java](~~407683~~) and [Examples of calling the GetLogs operation by using Simple Log Service SDK for Python](~~407684~~).
5464
+
5465
+ @param request: GetLogsRequest
5466
+ @param headers: map
5467
+ @param runtime: runtime options for this request RuntimeOptions
5468
+ @return: GetLogsResponse
5469
+ """
4652
5470
  UtilClient.validate_model(request)
4653
5471
  host_map = {}
4654
5472
  host_map['project'] = project
@@ -4696,6 +5514,21 @@ class Client(OpenApiClient):
4696
5514
  logstore: str,
4697
5515
  request: sls_20201230_models.GetLogsRequest,
4698
5516
  ) -> sls_20201230_models.GetLogsResponse:
5517
+ """
5518
+ ### Usage notes
5519
+ > Simple Log Service allows you to create a Scheduled SQL job. For more information, see [Create a Scheduled SQL job](~~286457~~).
5520
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5521
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot forecast the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the x-log-progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5522
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
5523
+ Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. This type of log is usually generated in common scenarios.
5524
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
5525
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5526
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:**receive_time** field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
5527
+ * Simple Log Service provides examples on how to call the GetLogs operation by using Simple Log Service SDK for Java and Simple Log Service SDK for Python. For more information, see [Examples of calling the GetLogs operation by using Simple Log Service SDK for Java](~~407683~~) and [Examples of calling the GetLogs operation by using Simple Log Service SDK for Python](~~407684~~).
5528
+
5529
+ @param request: GetLogsRequest
5530
+ @return: GetLogsResponse
5531
+ """
4699
5532
  runtime = util_models.RuntimeOptions()
4700
5533
  headers = {}
4701
5534
  return self.get_logs_with_options(project, logstore, request, headers, runtime)
@@ -4706,6 +5539,21 @@ class Client(OpenApiClient):
4706
5539
  logstore: str,
4707
5540
  request: sls_20201230_models.GetLogsRequest,
4708
5541
  ) -> sls_20201230_models.GetLogsResponse:
5542
+ """
5543
+ ### Usage notes
5544
+ > Simple Log Service allows you to create a Scheduled SQL job. For more information, see [Create a Scheduled SQL job](~~286457~~).
5545
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5546
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot forecast the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the x-log-progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5547
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
5548
+ Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. This type of log is usually generated in common scenarios.
5549
+ * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
5550
+ After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5551
+ > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:**receive_time** field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
5552
+ * Simple Log Service provides examples on how to call the GetLogs operation by using Simple Log Service SDK for Java and Simple Log Service SDK for Python. For more information, see [Examples of calling the GetLogs operation by using Simple Log Service SDK for Java](~~407683~~) and [Examples of calling the GetLogs operation by using Simple Log Service SDK for Python](~~407684~~).
5553
+
5554
+ @param request: GetLogsRequest
5555
+ @return: GetLogsResponse
5556
+ """
4709
5557
  runtime = util_models.RuntimeOptions()
4710
5558
  headers = {}
4711
5559
  return await self.get_logs_with_options_async(project, logstore, request, headers, runtime)
@@ -4718,6 +5566,18 @@ class Client(OpenApiClient):
4718
5566
  headers: sls_20201230_models.GetLogsV2Headers,
4719
5567
  runtime: util_models.RuntimeOptions,
4720
5568
  ) -> sls_20201230_models.GetLogsV2Response:
5569
+ """
5570
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5571
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times you must call this API operation to obtain a complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation again to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5572
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log. The latency of the query varies based on the type of the log. Simple Log Service classifies logs into the following types based on log timestamps:
5573
+ 1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
5574
+ 2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5575
+
5576
+ @param request: GetLogsV2Request
5577
+ @param headers: GetLogsV2Headers
5578
+ @param runtime: runtime options for this request RuntimeOptions
5579
+ @return: GetLogsV2Response
5580
+ """
4721
5581
  UtilClient.validate_model(request)
4722
5582
  host_map = {}
4723
5583
  host_map['project'] = project
@@ -4778,6 +5638,18 @@ class Client(OpenApiClient):
4778
5638
  headers: sls_20201230_models.GetLogsV2Headers,
4779
5639
  runtime: util_models.RuntimeOptions,
4780
5640
  ) -> sls_20201230_models.GetLogsV2Response:
5641
+ """
5642
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5643
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times you must call this API operation to obtain a complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation again to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5644
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log. The latency of the query varies based on the type of the log. Simple Log Service classifies logs into the following types based on log timestamps:
5645
+ 1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
5646
+ 2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5647
+
5648
+ @param request: GetLogsV2Request
5649
+ @param headers: GetLogsV2Headers
5650
+ @param runtime: runtime options for this request RuntimeOptions
5651
+ @return: GetLogsV2Response
5652
+ """
4781
5653
  UtilClient.validate_model(request)
4782
5654
  host_map = {}
4783
5655
  host_map['project'] = project
@@ -4836,6 +5708,16 @@ class Client(OpenApiClient):
4836
5708
  logstore: str,
4837
5709
  request: sls_20201230_models.GetLogsV2Request,
4838
5710
  ) -> sls_20201230_models.GetLogsV2Response:
5711
+ """
5712
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5713
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times you must call this API operation to obtain a complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation again to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5714
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log. The latency of the query varies based on the type of the log. Simple Log Service classifies logs into the following types based on log timestamps:
5715
+ 1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
5716
+ 2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5717
+
5718
+ @param request: GetLogsV2Request
5719
+ @return: GetLogsV2Response
5720
+ """
4839
5721
  runtime = util_models.RuntimeOptions()
4840
5722
  headers = sls_20201230_models.GetLogsV2Headers()
4841
5723
  return self.get_logs_v2with_options(project, logstore, request, headers, runtime)
@@ -4846,6 +5728,16 @@ class Client(OpenApiClient):
4846
5728
  logstore: str,
4847
5729
  request: sls_20201230_models.GetLogsV2Request,
4848
5730
  ) -> sls_20201230_models.GetLogsV2Response:
5731
+ """
5732
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5733
+ * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times you must call this API operation to obtain a complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation again to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
5734
+ * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log. The latency of the query varies based on the type of the log. Simple Log Service classifies logs into the following types based on log timestamps:
5735
+ 1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
5736
+ 2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
5737
+
5738
+ @param request: GetLogsV2Request
5739
+ @return: GetLogsV2Response
5740
+ """
4849
5741
  runtime = util_models.RuntimeOptions()
4850
5742
  headers = sls_20201230_models.GetLogsV2Headers()
4851
5743
  return await self.get_logs_v2with_options_async(project, logstore, request, headers, runtime)
@@ -4926,6 +5818,88 @@ class Client(OpenApiClient):
4926
5818
  headers = {}
4927
5819
  return await self.get_logtail_pipeline_config_with_options_async(project, config_name, headers, runtime)
4928
5820
 
5821
+ def get_mlservice_results_with_options(
5822
+ self,
5823
+ service_name: str,
5824
+ request: sls_20201230_models.GetMLServiceResultsRequest,
5825
+ headers: Dict[str, str],
5826
+ runtime: util_models.RuntimeOptions,
5827
+ ) -> sls_20201230_models.GetMLServiceResultsResponse:
5828
+ UtilClient.validate_model(request)
5829
+ query = {}
5830
+ if not UtilClient.is_unset(request.allow_builtin):
5831
+ query['allowBuiltin'] = request.allow_builtin
5832
+ req = open_api_models.OpenApiRequest(
5833
+ headers=headers,
5834
+ query=OpenApiUtilClient.query(query),
5835
+ body=OpenApiUtilClient.parse_to_map(request.body)
5836
+ )
5837
+ params = open_api_models.Params(
5838
+ action='GetMLServiceResults',
5839
+ version='2020-12-30',
5840
+ protocol='HTTPS',
5841
+ pathname=f'/ml/service/{service_name}/analysis',
5842
+ method='POST',
5843
+ auth_type='AK',
5844
+ style='ROA',
5845
+ req_body_type='json',
5846
+ body_type='json'
5847
+ )
5848
+ return TeaCore.from_map(
5849
+ sls_20201230_models.GetMLServiceResultsResponse(),
5850
+ self.execute(params, req, runtime)
5851
+ )
5852
+
5853
+ async def get_mlservice_results_with_options_async(
5854
+ self,
5855
+ service_name: str,
5856
+ request: sls_20201230_models.GetMLServiceResultsRequest,
5857
+ headers: Dict[str, str],
5858
+ runtime: util_models.RuntimeOptions,
5859
+ ) -> sls_20201230_models.GetMLServiceResultsResponse:
5860
+ UtilClient.validate_model(request)
5861
+ query = {}
5862
+ if not UtilClient.is_unset(request.allow_builtin):
5863
+ query['allowBuiltin'] = request.allow_builtin
5864
+ req = open_api_models.OpenApiRequest(
5865
+ headers=headers,
5866
+ query=OpenApiUtilClient.query(query),
5867
+ body=OpenApiUtilClient.parse_to_map(request.body)
5868
+ )
5869
+ params = open_api_models.Params(
5870
+ action='GetMLServiceResults',
5871
+ version='2020-12-30',
5872
+ protocol='HTTPS',
5873
+ pathname=f'/ml/service/{service_name}/analysis',
5874
+ method='POST',
5875
+ auth_type='AK',
5876
+ style='ROA',
5877
+ req_body_type='json',
5878
+ body_type='json'
5879
+ )
5880
+ return TeaCore.from_map(
5881
+ sls_20201230_models.GetMLServiceResultsResponse(),
5882
+ await self.execute_async(params, req, runtime)
5883
+ )
5884
+
5885
+ def get_mlservice_results(
5886
+ self,
5887
+ service_name: str,
5888
+ request: sls_20201230_models.GetMLServiceResultsRequest,
5889
+ ) -> sls_20201230_models.GetMLServiceResultsResponse:
5890
+ runtime = util_models.RuntimeOptions()
5891
+ headers = {}
5892
+ return self.get_mlservice_results_with_options(service_name, request, headers, runtime)
5893
+
5894
+ async def get_mlservice_results_async(
5895
+ self,
5896
+ service_name: str,
5897
+ request: sls_20201230_models.GetMLServiceResultsRequest,
5898
+ ) -> sls_20201230_models.GetMLServiceResultsResponse:
5899
+ runtime = util_models.RuntimeOptions()
5900
+ headers = {}
5901
+ return await self.get_mlservice_results_with_options_async(service_name, request, headers, runtime)
5902
+
4929
5903
  def get_machine_group_with_options(
4930
5904
  self,
4931
5905
  project: str,
@@ -4933,6 +5907,13 @@ class Client(OpenApiClient):
4933
5907
  headers: Dict[str, str],
4934
5908
  runtime: util_models.RuntimeOptions,
4935
5909
  ) -> sls_20201230_models.GetMachineGroupResponse:
5910
+ """
5911
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5912
+
5913
+ @param headers: map
5914
+ @param runtime: runtime options for this request RuntimeOptions
5915
+ @return: GetMachineGroupResponse
5916
+ """
4936
5917
  host_map = {}
4937
5918
  host_map['project'] = project
4938
5919
  req = open_api_models.OpenApiRequest(
@@ -4962,6 +5943,13 @@ class Client(OpenApiClient):
4962
5943
  headers: Dict[str, str],
4963
5944
  runtime: util_models.RuntimeOptions,
4964
5945
  ) -> sls_20201230_models.GetMachineGroupResponse:
5946
+ """
5947
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5948
+
5949
+ @param headers: map
5950
+ @param runtime: runtime options for this request RuntimeOptions
5951
+ @return: GetMachineGroupResponse
5952
+ """
4965
5953
  host_map = {}
4966
5954
  host_map['project'] = project
4967
5955
  req = open_api_models.OpenApiRequest(
@@ -4989,6 +5977,11 @@ class Client(OpenApiClient):
4989
5977
  project: str,
4990
5978
  machine_group: str,
4991
5979
  ) -> sls_20201230_models.GetMachineGroupResponse:
5980
+ """
5981
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5982
+
5983
+ @return: GetMachineGroupResponse
5984
+ """
4992
5985
  runtime = util_models.RuntimeOptions()
4993
5986
  headers = {}
4994
5987
  return self.get_machine_group_with_options(project, machine_group, headers, runtime)
@@ -4998,6 +5991,11 @@ class Client(OpenApiClient):
4998
5991
  project: str,
4999
5992
  machine_group: str,
5000
5993
  ) -> sls_20201230_models.GetMachineGroupResponse:
5994
+ """
5995
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
5996
+
5997
+ @return: GetMachineGroupResponse
5998
+ """
5001
5999
  runtime = util_models.RuntimeOptions()
5002
6000
  headers = {}
5003
6001
  return await self.get_machine_group_with_options_async(project, machine_group, headers, runtime)
@@ -5008,6 +6006,14 @@ class Client(OpenApiClient):
5008
6006
  headers: Dict[str, str],
5009
6007
  runtime: util_models.RuntimeOptions,
5010
6008
  ) -> sls_20201230_models.GetProjectResponse:
6009
+ """
6010
+ ### Usage notes
6011
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6012
+
6013
+ @param headers: map
6014
+ @param runtime: runtime options for this request RuntimeOptions
6015
+ @return: GetProjectResponse
6016
+ """
5011
6017
  host_map = {}
5012
6018
  host_map['project'] = project
5013
6019
  req = open_api_models.OpenApiRequest(
@@ -5036,6 +6042,14 @@ class Client(OpenApiClient):
5036
6042
  headers: Dict[str, str],
5037
6043
  runtime: util_models.RuntimeOptions,
5038
6044
  ) -> sls_20201230_models.GetProjectResponse:
6045
+ """
6046
+ ### Usage notes
6047
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6048
+
6049
+ @param headers: map
6050
+ @param runtime: runtime options for this request RuntimeOptions
6051
+ @return: GetProjectResponse
6052
+ """
5039
6053
  host_map = {}
5040
6054
  host_map['project'] = project
5041
6055
  req = open_api_models.OpenApiRequest(
@@ -5062,6 +6076,12 @@ class Client(OpenApiClient):
5062
6076
  self,
5063
6077
  project: str,
5064
6078
  ) -> sls_20201230_models.GetProjectResponse:
6079
+ """
6080
+ ### Usage notes
6081
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6082
+
6083
+ @return: GetProjectResponse
6084
+ """
5065
6085
  runtime = util_models.RuntimeOptions()
5066
6086
  headers = {}
5067
6087
  return self.get_project_with_options(project, headers, runtime)
@@ -5070,6 +6090,12 @@ class Client(OpenApiClient):
5070
6090
  self,
5071
6091
  project: str,
5072
6092
  ) -> sls_20201230_models.GetProjectResponse:
6093
+ """
6094
+ ### Usage notes
6095
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6096
+
6097
+ @return: GetProjectResponse
6098
+ """
5073
6099
  runtime = util_models.RuntimeOptions()
5074
6100
  headers = {}
5075
6101
  return await self.get_project_with_options_async(project, headers, runtime)
@@ -5081,6 +6107,19 @@ class Client(OpenApiClient):
5081
6107
  headers: Dict[str, str],
5082
6108
  runtime: util_models.RuntimeOptions,
5083
6109
  ) -> sls_20201230_models.GetProjectLogsResponse:
6110
+ """
6111
+ ### Usage notes
6112
+ * You can use the query parameter to specify a standard SQL statement.
6113
+ * You must specify a project in the domain name of the request.
6114
+ * You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
6115
+ * You must specify a time range in the SQL statement by using the \\__date\\_\\_ parameter or \\__time\\_\\_ parameter. The value of the \\__date\\_\\_ parameter is a timestamp, and the value of the \\__time\\_\\_ parameter is an integer. The unit of the \\__time\\_\\_ parameter is seconds.
6116
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6117
+
6118
+ @param request: GetProjectLogsRequest
6119
+ @param headers: map
6120
+ @param runtime: runtime options for this request RuntimeOptions
6121
+ @return: GetProjectLogsResponse
6122
+ """
5084
6123
  UtilClient.validate_model(request)
5085
6124
  host_map = {}
5086
6125
  host_map['project'] = project
@@ -5117,6 +6156,19 @@ class Client(OpenApiClient):
5117
6156
  headers: Dict[str, str],
5118
6157
  runtime: util_models.RuntimeOptions,
5119
6158
  ) -> sls_20201230_models.GetProjectLogsResponse:
6159
+ """
6160
+ ### Usage notes
6161
+ * You can use the query parameter to specify a standard SQL statement.
6162
+ * You must specify a project in the domain name of the request.
6163
+ * You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
6164
+ * You must specify a time range in the SQL statement by using the \\__date\\_\\_ parameter or \\__time\\_\\_ parameter. The value of the \\__date\\_\\_ parameter is a timestamp, and the value of the \\__time\\_\\_ parameter is an integer. The unit of the \\__time\\_\\_ parameter is seconds.
6165
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6166
+
6167
+ @param request: GetProjectLogsRequest
6168
+ @param headers: map
6169
+ @param runtime: runtime options for this request RuntimeOptions
6170
+ @return: GetProjectLogsResponse
6171
+ """
5120
6172
  UtilClient.validate_model(request)
5121
6173
  host_map = {}
5122
6174
  host_map['project'] = project
@@ -5151,6 +6203,17 @@ class Client(OpenApiClient):
5151
6203
  project: str,
5152
6204
  request: sls_20201230_models.GetProjectLogsRequest,
5153
6205
  ) -> sls_20201230_models.GetProjectLogsResponse:
6206
+ """
6207
+ ### Usage notes
6208
+ * You can use the query parameter to specify a standard SQL statement.
6209
+ * You must specify a project in the domain name of the request.
6210
+ * You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
6211
+ * You must specify a time range in the SQL statement by using the \\__date\\_\\_ parameter or \\__time\\_\\_ parameter. The value of the \\__date\\_\\_ parameter is a timestamp, and the value of the \\__time\\_\\_ parameter is an integer. The unit of the \\__time\\_\\_ parameter is seconds.
6212
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6213
+
6214
+ @param request: GetProjectLogsRequest
6215
+ @return: GetProjectLogsResponse
6216
+ """
5154
6217
  runtime = util_models.RuntimeOptions()
5155
6218
  headers = {}
5156
6219
  return self.get_project_logs_with_options(project, request, headers, runtime)
@@ -5160,6 +6223,17 @@ class Client(OpenApiClient):
5160
6223
  project: str,
5161
6224
  request: sls_20201230_models.GetProjectLogsRequest,
5162
6225
  ) -> sls_20201230_models.GetProjectLogsResponse:
6226
+ """
6227
+ ### Usage notes
6228
+ * You can use the query parameter to specify a standard SQL statement.
6229
+ * You must specify a project in the domain name of the request.
6230
+ * You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
6231
+ * You must specify a time range in the SQL statement by using the \\__date\\_\\_ parameter or \\__time\\_\\_ parameter. The value of the \\__date\\_\\_ parameter is a timestamp, and the value of the \\__time\\_\\_ parameter is an integer. The unit of the \\__time\\_\\_ parameter is seconds.
6232
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6233
+
6234
+ @param request: GetProjectLogsRequest
6235
+ @return: GetProjectLogsResponse
6236
+ """
5163
6237
  runtime = util_models.RuntimeOptions()
5164
6238
  headers = {}
5165
6239
  return await self.get_project_logs_with_options_async(project, request, headers, runtime)
@@ -5170,6 +6244,14 @@ class Client(OpenApiClient):
5170
6244
  headers: Dict[str, str],
5171
6245
  runtime: util_models.RuntimeOptions,
5172
6246
  ) -> sls_20201230_models.GetProjectPolicyResponse:
6247
+ """
6248
+ ### Usage notes
6249
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6250
+
6251
+ @param headers: map
6252
+ @param runtime: runtime options for this request RuntimeOptions
6253
+ @return: GetProjectPolicyResponse
6254
+ """
5173
6255
  host_map = {}
5174
6256
  host_map['project'] = project
5175
6257
  req = open_api_models.OpenApiRequest(
@@ -5198,6 +6280,14 @@ class Client(OpenApiClient):
5198
6280
  headers: Dict[str, str],
5199
6281
  runtime: util_models.RuntimeOptions,
5200
6282
  ) -> sls_20201230_models.GetProjectPolicyResponse:
6283
+ """
6284
+ ### Usage notes
6285
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6286
+
6287
+ @param headers: map
6288
+ @param runtime: runtime options for this request RuntimeOptions
6289
+ @return: GetProjectPolicyResponse
6290
+ """
5201
6291
  host_map = {}
5202
6292
  host_map['project'] = project
5203
6293
  req = open_api_models.OpenApiRequest(
@@ -5224,6 +6314,12 @@ class Client(OpenApiClient):
5224
6314
  self,
5225
6315
  project: str,
5226
6316
  ) -> sls_20201230_models.GetProjectPolicyResponse:
6317
+ """
6318
+ ### Usage notes
6319
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6320
+
6321
+ @return: GetProjectPolicyResponse
6322
+ """
5227
6323
  runtime = util_models.RuntimeOptions()
5228
6324
  headers = {}
5229
6325
  return self.get_project_policy_with_options(project, headers, runtime)
@@ -5232,6 +6328,12 @@ class Client(OpenApiClient):
5232
6328
  self,
5233
6329
  project: str,
5234
6330
  ) -> sls_20201230_models.GetProjectPolicyResponse:
6331
+ """
6332
+ ### Usage notes
6333
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6334
+
6335
+ @return: GetProjectPolicyResponse
6336
+ """
5235
6337
  runtime = util_models.RuntimeOptions()
5236
6338
  headers = {}
5237
6339
  return await self.get_project_policy_with_options_async(project, headers, runtime)
@@ -5243,6 +6345,14 @@ class Client(OpenApiClient):
5243
6345
  headers: Dict[str, str],
5244
6346
  runtime: util_models.RuntimeOptions,
5245
6347
  ) -> sls_20201230_models.GetSavedSearchResponse:
6348
+ """
6349
+ ### Usage notes
6350
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6351
+
6352
+ @param headers: map
6353
+ @param runtime: runtime options for this request RuntimeOptions
6354
+ @return: GetSavedSearchResponse
6355
+ """
5246
6356
  host_map = {}
5247
6357
  host_map['project'] = project
5248
6358
  req = open_api_models.OpenApiRequest(
@@ -5272,6 +6382,14 @@ class Client(OpenApiClient):
5272
6382
  headers: Dict[str, str],
5273
6383
  runtime: util_models.RuntimeOptions,
5274
6384
  ) -> sls_20201230_models.GetSavedSearchResponse:
6385
+ """
6386
+ ### Usage notes
6387
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6388
+
6389
+ @param headers: map
6390
+ @param runtime: runtime options for this request RuntimeOptions
6391
+ @return: GetSavedSearchResponse
6392
+ """
5275
6393
  host_map = {}
5276
6394
  host_map['project'] = project
5277
6395
  req = open_api_models.OpenApiRequest(
@@ -5299,6 +6417,12 @@ class Client(OpenApiClient):
5299
6417
  project: str,
5300
6418
  savedsearch_name: str,
5301
6419
  ) -> sls_20201230_models.GetSavedSearchResponse:
6420
+ """
6421
+ ### Usage notes
6422
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6423
+
6424
+ @return: GetSavedSearchResponse
6425
+ """
5302
6426
  runtime = util_models.RuntimeOptions()
5303
6427
  headers = {}
5304
6428
  return self.get_saved_search_with_options(project, savedsearch_name, headers, runtime)
@@ -5308,6 +6432,12 @@ class Client(OpenApiClient):
5308
6432
  project: str,
5309
6433
  savedsearch_name: str,
5310
6434
  ) -> sls_20201230_models.GetSavedSearchResponse:
6435
+ """
6436
+ ### Usage notes
6437
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6438
+
6439
+ @return: GetSavedSearchResponse
6440
+ """
5311
6441
  runtime = util_models.RuntimeOptions()
5312
6442
  headers = {}
5313
6443
  return await self.get_saved_search_with_options_async(project, savedsearch_name, headers, runtime)
@@ -5321,6 +6451,14 @@ class Client(OpenApiClient):
5321
6451
  headers: Dict[str, str],
5322
6452
  runtime: util_models.RuntimeOptions,
5323
6453
  ) -> sls_20201230_models.GetShipperStatusResponse:
6454
+ """
6455
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6456
+
6457
+ @param request: GetShipperStatusRequest
6458
+ @param headers: map
6459
+ @param runtime: runtime options for this request RuntimeOptions
6460
+ @return: GetShipperStatusResponse
6461
+ """
5324
6462
  UtilClient.validate_model(request)
5325
6463
  host_map = {}
5326
6464
  host_map['project'] = project
@@ -5365,6 +6503,14 @@ class Client(OpenApiClient):
5365
6503
  headers: Dict[str, str],
5366
6504
  runtime: util_models.RuntimeOptions,
5367
6505
  ) -> sls_20201230_models.GetShipperStatusResponse:
6506
+ """
6507
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6508
+
6509
+ @param request: GetShipperStatusRequest
6510
+ @param headers: map
6511
+ @param runtime: runtime options for this request RuntimeOptions
6512
+ @return: GetShipperStatusResponse
6513
+ """
5368
6514
  UtilClient.validate_model(request)
5369
6515
  host_map = {}
5370
6516
  host_map['project'] = project
@@ -5407,6 +6553,12 @@ class Client(OpenApiClient):
5407
6553
  shipper_name: str,
5408
6554
  request: sls_20201230_models.GetShipperStatusRequest,
5409
6555
  ) -> sls_20201230_models.GetShipperStatusResponse:
6556
+ """
6557
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6558
+
6559
+ @param request: GetShipperStatusRequest
6560
+ @return: GetShipperStatusResponse
6561
+ """
5410
6562
  runtime = util_models.RuntimeOptions()
5411
6563
  headers = {}
5412
6564
  return self.get_shipper_status_with_options(project, logstore, shipper_name, request, headers, runtime)
@@ -5418,6 +6570,12 @@ class Client(OpenApiClient):
5418
6570
  shipper_name: str,
5419
6571
  request: sls_20201230_models.GetShipperStatusRequest,
5420
6572
  ) -> sls_20201230_models.GetShipperStatusResponse:
6573
+ """
6574
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
6575
+
6576
+ @param request: GetShipperStatusRequest
6577
+ @return: GetShipperStatusResponse
6578
+ """
5421
6579
  runtime = util_models.RuntimeOptions()
5422
6580
  headers = {}
5423
6581
  return await self.get_shipper_status_with_options_async(project, logstore, shipper_name, request, headers, runtime)
@@ -5879,6 +7037,14 @@ class Client(OpenApiClient):
5879
7037
  headers: Dict[str, str],
5880
7038
  runtime: util_models.RuntimeOptions,
5881
7039
  ) -> sls_20201230_models.ListConsumerGroupResponse:
7040
+ """
7041
+ ### Usage notes
7042
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7043
+
7044
+ @param headers: map
7045
+ @param runtime: runtime options for this request RuntimeOptions
7046
+ @return: ListConsumerGroupResponse
7047
+ """
5882
7048
  host_map = {}
5883
7049
  host_map['project'] = project
5884
7050
  req = open_api_models.OpenApiRequest(
@@ -5908,6 +7074,14 @@ class Client(OpenApiClient):
5908
7074
  headers: Dict[str, str],
5909
7075
  runtime: util_models.RuntimeOptions,
5910
7076
  ) -> sls_20201230_models.ListConsumerGroupResponse:
7077
+ """
7078
+ ### Usage notes
7079
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7080
+
7081
+ @param headers: map
7082
+ @param runtime: runtime options for this request RuntimeOptions
7083
+ @return: ListConsumerGroupResponse
7084
+ """
5911
7085
  host_map = {}
5912
7086
  host_map['project'] = project
5913
7087
  req = open_api_models.OpenApiRequest(
@@ -5935,6 +7109,12 @@ class Client(OpenApiClient):
5935
7109
  project: str,
5936
7110
  logstore: str,
5937
7111
  ) -> sls_20201230_models.ListConsumerGroupResponse:
7112
+ """
7113
+ ### Usage notes
7114
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7115
+
7116
+ @return: ListConsumerGroupResponse
7117
+ """
5938
7118
  runtime = util_models.RuntimeOptions()
5939
7119
  headers = {}
5940
7120
  return self.list_consumer_group_with_options(project, logstore, headers, runtime)
@@ -5944,6 +7124,12 @@ class Client(OpenApiClient):
5944
7124
  project: str,
5945
7125
  logstore: str,
5946
7126
  ) -> sls_20201230_models.ListConsumerGroupResponse:
7127
+ """
7128
+ ### Usage notes
7129
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7130
+
7131
+ @return: ListConsumerGroupResponse
7132
+ """
5947
7133
  runtime = util_models.RuntimeOptions()
5948
7134
  headers = {}
5949
7135
  return await self.list_consumer_group_with_options_async(project, logstore, headers, runtime)
@@ -6045,6 +7231,15 @@ class Client(OpenApiClient):
6045
7231
  headers: Dict[str, str],
6046
7232
  runtime: util_models.RuntimeOptions,
6047
7233
  ) -> sls_20201230_models.ListDomainsResponse:
7234
+ """
7235
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7236
+ * Only one custom domain name can be bound to each project.
7237
+
7238
+ @param request: ListDomainsRequest
7239
+ @param headers: map
7240
+ @param runtime: runtime options for this request RuntimeOptions
7241
+ @return: ListDomainsResponse
7242
+ """
6048
7243
  UtilClient.validate_model(request)
6049
7244
  host_map = {}
6050
7245
  host_map['project'] = project
@@ -6083,6 +7278,15 @@ class Client(OpenApiClient):
6083
7278
  headers: Dict[str, str],
6084
7279
  runtime: util_models.RuntimeOptions,
6085
7280
  ) -> sls_20201230_models.ListDomainsResponse:
7281
+ """
7282
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7283
+ * Only one custom domain name can be bound to each project.
7284
+
7285
+ @param request: ListDomainsRequest
7286
+ @param headers: map
7287
+ @param runtime: runtime options for this request RuntimeOptions
7288
+ @return: ListDomainsResponse
7289
+ """
6086
7290
  UtilClient.validate_model(request)
6087
7291
  host_map = {}
6088
7292
  host_map['project'] = project
@@ -6119,6 +7323,13 @@ class Client(OpenApiClient):
6119
7323
  project: str,
6120
7324
  request: sls_20201230_models.ListDomainsRequest,
6121
7325
  ) -> sls_20201230_models.ListDomainsResponse:
7326
+ """
7327
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7328
+ * Only one custom domain name can be bound to each project.
7329
+
7330
+ @param request: ListDomainsRequest
7331
+ @return: ListDomainsResponse
7332
+ """
6122
7333
  runtime = util_models.RuntimeOptions()
6123
7334
  headers = {}
6124
7335
  return self.list_domains_with_options(project, request, headers, runtime)
@@ -6128,6 +7339,13 @@ class Client(OpenApiClient):
6128
7339
  project: str,
6129
7340
  request: sls_20201230_models.ListDomainsRequest,
6130
7341
  ) -> sls_20201230_models.ListDomainsResponse:
7342
+ """
7343
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7344
+ * Only one custom domain name can be bound to each project.
7345
+
7346
+ @param request: ListDomainsRequest
7347
+ @return: ListDomainsResponse
7348
+ """
6131
7349
  runtime = util_models.RuntimeOptions()
6132
7350
  headers = {}
6133
7351
  return await self.list_domains_with_options_async(project, request, headers, runtime)
@@ -6139,6 +7357,14 @@ class Client(OpenApiClient):
6139
7357
  headers: Dict[str, str],
6140
7358
  runtime: util_models.RuntimeOptions,
6141
7359
  ) -> sls_20201230_models.ListExternalStoreResponse:
7360
+ """
7361
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7362
+
7363
+ @param request: ListExternalStoreRequest
7364
+ @param headers: map
7365
+ @param runtime: runtime options for this request RuntimeOptions
7366
+ @return: ListExternalStoreResponse
7367
+ """
6142
7368
  UtilClient.validate_model(request)
6143
7369
  host_map = {}
6144
7370
  host_map['project'] = project
@@ -6177,6 +7403,14 @@ class Client(OpenApiClient):
6177
7403
  headers: Dict[str, str],
6178
7404
  runtime: util_models.RuntimeOptions,
6179
7405
  ) -> sls_20201230_models.ListExternalStoreResponse:
7406
+ """
7407
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7408
+
7409
+ @param request: ListExternalStoreRequest
7410
+ @param headers: map
7411
+ @param runtime: runtime options for this request RuntimeOptions
7412
+ @return: ListExternalStoreResponse
7413
+ """
6180
7414
  UtilClient.validate_model(request)
6181
7415
  host_map = {}
6182
7416
  host_map['project'] = project
@@ -6213,6 +7447,12 @@ class Client(OpenApiClient):
6213
7447
  project: str,
6214
7448
  request: sls_20201230_models.ListExternalStoreRequest,
6215
7449
  ) -> sls_20201230_models.ListExternalStoreResponse:
7450
+ """
7451
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7452
+
7453
+ @param request: ListExternalStoreRequest
7454
+ @return: ListExternalStoreResponse
7455
+ """
6216
7456
  runtime = util_models.RuntimeOptions()
6217
7457
  headers = {}
6218
7458
  return self.list_external_store_with_options(project, request, headers, runtime)
@@ -6222,6 +7462,12 @@ class Client(OpenApiClient):
6222
7462
  project: str,
6223
7463
  request: sls_20201230_models.ListExternalStoreRequest,
6224
7464
  ) -> sls_20201230_models.ListExternalStoreResponse:
7465
+ """
7466
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7467
+
7468
+ @param request: ListExternalStoreRequest
7469
+ @return: ListExternalStoreResponse
7470
+ """
6225
7471
  runtime = util_models.RuntimeOptions()
6226
7472
  headers = {}
6227
7473
  return await self.list_external_store_with_options_async(project, request, headers, runtime)
@@ -6233,6 +7479,15 @@ class Client(OpenApiClient):
6233
7479
  headers: Dict[str, str],
6234
7480
  runtime: util_models.RuntimeOptions,
6235
7481
  ) -> sls_20201230_models.ListLogStoresResponse:
7482
+ """
7483
+ ### Usage notes
7484
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7485
+
7486
+ @param request: ListLogStoresRequest
7487
+ @param headers: map
7488
+ @param runtime: runtime options for this request RuntimeOptions
7489
+ @return: ListLogStoresResponse
7490
+ """
6236
7491
  UtilClient.validate_model(request)
6237
7492
  host_map = {}
6238
7493
  host_map['project'] = project
@@ -6275,6 +7530,15 @@ class Client(OpenApiClient):
6275
7530
  headers: Dict[str, str],
6276
7531
  runtime: util_models.RuntimeOptions,
6277
7532
  ) -> sls_20201230_models.ListLogStoresResponse:
7533
+ """
7534
+ ### Usage notes
7535
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7536
+
7537
+ @param request: ListLogStoresRequest
7538
+ @param headers: map
7539
+ @param runtime: runtime options for this request RuntimeOptions
7540
+ @return: ListLogStoresResponse
7541
+ """
6278
7542
  UtilClient.validate_model(request)
6279
7543
  host_map = {}
6280
7544
  host_map['project'] = project
@@ -6315,6 +7579,13 @@ class Client(OpenApiClient):
6315
7579
  project: str,
6316
7580
  request: sls_20201230_models.ListLogStoresRequest,
6317
7581
  ) -> sls_20201230_models.ListLogStoresResponse:
7582
+ """
7583
+ ### Usage notes
7584
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7585
+
7586
+ @param request: ListLogStoresRequest
7587
+ @return: ListLogStoresResponse
7588
+ """
6318
7589
  runtime = util_models.RuntimeOptions()
6319
7590
  headers = {}
6320
7591
  return self.list_log_stores_with_options(project, request, headers, runtime)
@@ -6324,6 +7595,13 @@ class Client(OpenApiClient):
6324
7595
  project: str,
6325
7596
  request: sls_20201230_models.ListLogStoresRequest,
6326
7597
  ) -> sls_20201230_models.ListLogStoresResponse:
7598
+ """
7599
+ ### Usage notes
7600
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7601
+
7602
+ @param request: ListLogStoresRequest
7603
+ @return: ListLogStoresResponse
7604
+ """
6327
7605
  runtime = util_models.RuntimeOptions()
6328
7606
  headers = {}
6329
7607
  return await self.list_log_stores_with_options_async(project, request, headers, runtime)
@@ -6433,6 +7711,14 @@ class Client(OpenApiClient):
6433
7711
  headers: Dict[str, str],
6434
7712
  runtime: util_models.RuntimeOptions,
6435
7713
  ) -> sls_20201230_models.ListMachineGroupResponse:
7714
+ """
7715
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7716
+
7717
+ @param request: ListMachineGroupRequest
7718
+ @param headers: map
7719
+ @param runtime: runtime options for this request RuntimeOptions
7720
+ @return: ListMachineGroupResponse
7721
+ """
6436
7722
  UtilClient.validate_model(request)
6437
7723
  host_map = {}
6438
7724
  host_map['project'] = project
@@ -6471,6 +7757,14 @@ class Client(OpenApiClient):
6471
7757
  headers: Dict[str, str],
6472
7758
  runtime: util_models.RuntimeOptions,
6473
7759
  ) -> sls_20201230_models.ListMachineGroupResponse:
7760
+ """
7761
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7762
+
7763
+ @param request: ListMachineGroupRequest
7764
+ @param headers: map
7765
+ @param runtime: runtime options for this request RuntimeOptions
7766
+ @return: ListMachineGroupResponse
7767
+ """
6474
7768
  UtilClient.validate_model(request)
6475
7769
  host_map = {}
6476
7770
  host_map['project'] = project
@@ -6507,6 +7801,12 @@ class Client(OpenApiClient):
6507
7801
  project: str,
6508
7802
  request: sls_20201230_models.ListMachineGroupRequest,
6509
7803
  ) -> sls_20201230_models.ListMachineGroupResponse:
7804
+ """
7805
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7806
+
7807
+ @param request: ListMachineGroupRequest
7808
+ @return: ListMachineGroupResponse
7809
+ """
6510
7810
  runtime = util_models.RuntimeOptions()
6511
7811
  headers = {}
6512
7812
  return self.list_machine_group_with_options(project, request, headers, runtime)
@@ -6516,6 +7816,12 @@ class Client(OpenApiClient):
6516
7816
  project: str,
6517
7817
  request: sls_20201230_models.ListMachineGroupRequest,
6518
7818
  ) -> sls_20201230_models.ListMachineGroupResponse:
7819
+ """
7820
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7821
+
7822
+ @param request: ListMachineGroupRequest
7823
+ @return: ListMachineGroupResponse
7824
+ """
6519
7825
  runtime = util_models.RuntimeOptions()
6520
7826
  headers = {}
6521
7827
  return await self.list_machine_group_with_options_async(project, request, headers, runtime)
@@ -6528,6 +7834,14 @@ class Client(OpenApiClient):
6528
7834
  headers: Dict[str, str],
6529
7835
  runtime: util_models.RuntimeOptions,
6530
7836
  ) -> sls_20201230_models.ListMachinesResponse:
7837
+ """
7838
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7839
+
7840
+ @param request: ListMachinesRequest
7841
+ @param headers: map
7842
+ @param runtime: runtime options for this request RuntimeOptions
7843
+ @return: ListMachinesResponse
7844
+ """
6531
7845
  UtilClient.validate_model(request)
6532
7846
  host_map = {}
6533
7847
  host_map['project'] = project
@@ -6565,6 +7879,14 @@ class Client(OpenApiClient):
6565
7879
  headers: Dict[str, str],
6566
7880
  runtime: util_models.RuntimeOptions,
6567
7881
  ) -> sls_20201230_models.ListMachinesResponse:
7882
+ """
7883
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7884
+
7885
+ @param request: ListMachinesRequest
7886
+ @param headers: map
7887
+ @param runtime: runtime options for this request RuntimeOptions
7888
+ @return: ListMachinesResponse
7889
+ """
6568
7890
  UtilClient.validate_model(request)
6569
7891
  host_map = {}
6570
7892
  host_map['project'] = project
@@ -6600,6 +7922,12 @@ class Client(OpenApiClient):
6600
7922
  machine_group: str,
6601
7923
  request: sls_20201230_models.ListMachinesRequest,
6602
7924
  ) -> sls_20201230_models.ListMachinesResponse:
7925
+ """
7926
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7927
+
7928
+ @param request: ListMachinesRequest
7929
+ @return: ListMachinesResponse
7930
+ """
6603
7931
  runtime = util_models.RuntimeOptions()
6604
7932
  headers = {}
6605
7933
  return self.list_machines_with_options(project, machine_group, request, headers, runtime)
@@ -6610,23 +7938,39 @@ class Client(OpenApiClient):
6610
7938
  machine_group: str,
6611
7939
  request: sls_20201230_models.ListMachinesRequest,
6612
7940
  ) -> sls_20201230_models.ListMachinesResponse:
7941
+ """
7942
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7943
+
7944
+ @param request: ListMachinesRequest
7945
+ @return: ListMachinesResponse
7946
+ """
6613
7947
  runtime = util_models.RuntimeOptions()
6614
7948
  headers = {}
6615
7949
  return await self.list_machines_with_options_async(project, machine_group, request, headers, runtime)
6616
7950
 
6617
7951
  def list_project_with_options(
6618
7952
  self,
6619
- resource_group_id: str,
6620
7953
  request: sls_20201230_models.ListProjectRequest,
6621
7954
  headers: Dict[str, str],
6622
7955
  runtime: util_models.RuntimeOptions,
6623
7956
  ) -> sls_20201230_models.ListProjectResponse:
7957
+ """
7958
+ ### Usage notes
7959
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
7960
+
7961
+ @param request: ListProjectRequest
7962
+ @param headers: map
7963
+ @param runtime: runtime options for this request RuntimeOptions
7964
+ @return: ListProjectResponse
7965
+ """
6624
7966
  UtilClient.validate_model(request)
6625
7967
  query = {}
6626
7968
  if not UtilClient.is_unset(request.offset):
6627
7969
  query['offset'] = request.offset
6628
7970
  if not UtilClient.is_unset(request.project_name):
6629
7971
  query['projectName'] = request.project_name
7972
+ if not UtilClient.is_unset(request.resource_group_id):
7973
+ query['resourceGroupId'] = request.resource_group_id
6630
7974
  if not UtilClient.is_unset(request.size):
6631
7975
  query['size'] = request.size
6632
7976
  req = open_api_models.OpenApiRequest(
@@ -6651,17 +7995,27 @@ class Client(OpenApiClient):
6651
7995
 
6652
7996
  async def list_project_with_options_async(
6653
7997
  self,
6654
- resource_group_id: str,
6655
7998
  request: sls_20201230_models.ListProjectRequest,
6656
7999
  headers: Dict[str, str],
6657
8000
  runtime: util_models.RuntimeOptions,
6658
8001
  ) -> sls_20201230_models.ListProjectResponse:
8002
+ """
8003
+ ### Usage notes
8004
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8005
+
8006
+ @param request: ListProjectRequest
8007
+ @param headers: map
8008
+ @param runtime: runtime options for this request RuntimeOptions
8009
+ @return: ListProjectResponse
8010
+ """
6659
8011
  UtilClient.validate_model(request)
6660
8012
  query = {}
6661
8013
  if not UtilClient.is_unset(request.offset):
6662
8014
  query['offset'] = request.offset
6663
8015
  if not UtilClient.is_unset(request.project_name):
6664
8016
  query['projectName'] = request.project_name
8017
+ if not UtilClient.is_unset(request.resource_group_id):
8018
+ query['resourceGroupId'] = request.resource_group_id
6665
8019
  if not UtilClient.is_unset(request.size):
6666
8020
  query['size'] = request.size
6667
8021
  req = open_api_models.OpenApiRequest(
@@ -6686,21 +8040,33 @@ class Client(OpenApiClient):
6686
8040
 
6687
8041
  def list_project(
6688
8042
  self,
6689
- resource_group_id: str,
6690
8043
  request: sls_20201230_models.ListProjectRequest,
6691
8044
  ) -> sls_20201230_models.ListProjectResponse:
8045
+ """
8046
+ ### Usage notes
8047
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8048
+
8049
+ @param request: ListProjectRequest
8050
+ @return: ListProjectResponse
8051
+ """
6692
8052
  runtime = util_models.RuntimeOptions()
6693
8053
  headers = {}
6694
- return self.list_project_with_options(resource_group_id, request, headers, runtime)
8054
+ return self.list_project_with_options(request, headers, runtime)
6695
8055
 
6696
8056
  async def list_project_async(
6697
8057
  self,
6698
- resource_group_id: str,
6699
8058
  request: sls_20201230_models.ListProjectRequest,
6700
8059
  ) -> sls_20201230_models.ListProjectResponse:
8060
+ """
8061
+ ### Usage notes
8062
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8063
+
8064
+ @param request: ListProjectRequest
8065
+ @return: ListProjectResponse
8066
+ """
6701
8067
  runtime = util_models.RuntimeOptions()
6702
8068
  headers = {}
6703
- return await self.list_project_with_options_async(resource_group_id, request, headers, runtime)
8069
+ return await self.list_project_with_options_async(request, headers, runtime)
6704
8070
 
6705
8071
  def list_saved_search_with_options(
6706
8072
  self,
@@ -6709,6 +8075,15 @@ class Client(OpenApiClient):
6709
8075
  headers: Dict[str, str],
6710
8076
  runtime: util_models.RuntimeOptions,
6711
8077
  ) -> sls_20201230_models.ListSavedSearchResponse:
8078
+ """
8079
+ ### Usage notes
8080
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8081
+
8082
+ @param request: ListSavedSearchRequest
8083
+ @param headers: map
8084
+ @param runtime: runtime options for this request RuntimeOptions
8085
+ @return: ListSavedSearchResponse
8086
+ """
6712
8087
  UtilClient.validate_model(request)
6713
8088
  host_map = {}
6714
8089
  host_map['project'] = project
@@ -6745,6 +8120,15 @@ class Client(OpenApiClient):
6745
8120
  headers: Dict[str, str],
6746
8121
  runtime: util_models.RuntimeOptions,
6747
8122
  ) -> sls_20201230_models.ListSavedSearchResponse:
8123
+ """
8124
+ ### Usage notes
8125
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8126
+
8127
+ @param request: ListSavedSearchRequest
8128
+ @param headers: map
8129
+ @param runtime: runtime options for this request RuntimeOptions
8130
+ @return: ListSavedSearchResponse
8131
+ """
6748
8132
  UtilClient.validate_model(request)
6749
8133
  host_map = {}
6750
8134
  host_map['project'] = project
@@ -6779,6 +8163,13 @@ class Client(OpenApiClient):
6779
8163
  project: str,
6780
8164
  request: sls_20201230_models.ListSavedSearchRequest,
6781
8165
  ) -> sls_20201230_models.ListSavedSearchResponse:
8166
+ """
8167
+ ### Usage notes
8168
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8169
+
8170
+ @param request: ListSavedSearchRequest
8171
+ @return: ListSavedSearchResponse
8172
+ """
6782
8173
  runtime = util_models.RuntimeOptions()
6783
8174
  headers = {}
6784
8175
  return self.list_saved_search_with_options(project, request, headers, runtime)
@@ -6788,6 +8179,13 @@ class Client(OpenApiClient):
6788
8179
  project: str,
6789
8180
  request: sls_20201230_models.ListSavedSearchRequest,
6790
8181
  ) -> sls_20201230_models.ListSavedSearchResponse:
8182
+ """
8183
+ ### Usage notes
8184
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8185
+
8186
+ @param request: ListSavedSearchRequest
8187
+ @return: ListSavedSearchResponse
8188
+ """
6791
8189
  runtime = util_models.RuntimeOptions()
6792
8190
  headers = {}
6793
8191
  return await self.list_saved_search_with_options_async(project, request, headers, runtime)
@@ -6875,6 +8273,13 @@ class Client(OpenApiClient):
6875
8273
  headers: Dict[str, str],
6876
8274
  runtime: util_models.RuntimeOptions,
6877
8275
  ) -> sls_20201230_models.ListShipperResponse:
8276
+ """
8277
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8278
+
8279
+ @param headers: map
8280
+ @param runtime: runtime options for this request RuntimeOptions
8281
+ @return: ListShipperResponse
8282
+ """
6878
8283
  host_map = {}
6879
8284
  host_map['project'] = project
6880
8285
  req = open_api_models.OpenApiRequest(
@@ -6904,6 +8309,13 @@ class Client(OpenApiClient):
6904
8309
  headers: Dict[str, str],
6905
8310
  runtime: util_models.RuntimeOptions,
6906
8311
  ) -> sls_20201230_models.ListShipperResponse:
8312
+ """
8313
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8314
+
8315
+ @param headers: map
8316
+ @param runtime: runtime options for this request RuntimeOptions
8317
+ @return: ListShipperResponse
8318
+ """
6907
8319
  host_map = {}
6908
8320
  host_map['project'] = project
6909
8321
  req = open_api_models.OpenApiRequest(
@@ -6931,6 +8343,11 @@ class Client(OpenApiClient):
6931
8343
  project: str,
6932
8344
  logstore: str,
6933
8345
  ) -> sls_20201230_models.ListShipperResponse:
8346
+ """
8347
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8348
+
8349
+ @return: ListShipperResponse
8350
+ """
6934
8351
  runtime = util_models.RuntimeOptions()
6935
8352
  headers = {}
6936
8353
  return self.list_shipper_with_options(project, logstore, headers, runtime)
@@ -6940,6 +8357,11 @@ class Client(OpenApiClient):
6940
8357
  project: str,
6941
8358
  logstore: str,
6942
8359
  ) -> sls_20201230_models.ListShipperResponse:
8360
+ """
8361
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8362
+
8363
+ @return: ListShipperResponse
8364
+ """
6943
8365
  runtime = util_models.RuntimeOptions()
6944
8366
  headers = {}
6945
8367
  return await self.list_shipper_with_options_async(project, logstore, headers, runtime)
@@ -6950,6 +8372,15 @@ class Client(OpenApiClient):
6950
8372
  headers: Dict[str, str],
6951
8373
  runtime: util_models.RuntimeOptions,
6952
8374
  ) -> sls_20201230_models.ListTagResourcesResponse:
8375
+ """
8376
+ ### Usage notes
8377
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8378
+
8379
+ @param tmp_req: ListTagResourcesRequest
8380
+ @param headers: map
8381
+ @param runtime: runtime options for this request RuntimeOptions
8382
+ @return: ListTagResourcesResponse
8383
+ """
6953
8384
  UtilClient.validate_model(tmp_req)
6954
8385
  request = sls_20201230_models.ListTagResourcesShrinkRequest()
6955
8386
  OpenApiUtilClient.convert(tmp_req, request)
@@ -6990,6 +8421,15 @@ class Client(OpenApiClient):
6990
8421
  headers: Dict[str, str],
6991
8422
  runtime: util_models.RuntimeOptions,
6992
8423
  ) -> sls_20201230_models.ListTagResourcesResponse:
8424
+ """
8425
+ ### Usage notes
8426
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8427
+
8428
+ @param tmp_req: ListTagResourcesRequest
8429
+ @param headers: map
8430
+ @param runtime: runtime options for this request RuntimeOptions
8431
+ @return: ListTagResourcesResponse
8432
+ """
6993
8433
  UtilClient.validate_model(tmp_req)
6994
8434
  request = sls_20201230_models.ListTagResourcesShrinkRequest()
6995
8435
  OpenApiUtilClient.convert(tmp_req, request)
@@ -7028,6 +8468,13 @@ class Client(OpenApiClient):
7028
8468
  self,
7029
8469
  request: sls_20201230_models.ListTagResourcesRequest,
7030
8470
  ) -> sls_20201230_models.ListTagResourcesResponse:
8471
+ """
8472
+ ### Usage notes
8473
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8474
+
8475
+ @param request: ListTagResourcesRequest
8476
+ @return: ListTagResourcesResponse
8477
+ """
7031
8478
  runtime = util_models.RuntimeOptions()
7032
8479
  headers = {}
7033
8480
  return self.list_tag_resources_with_options(request, headers, runtime)
@@ -7036,6 +8483,13 @@ class Client(OpenApiClient):
7036
8483
  self,
7037
8484
  request: sls_20201230_models.ListTagResourcesRequest,
7038
8485
  ) -> sls_20201230_models.ListTagResourcesResponse:
8486
+ """
8487
+ ### Usage notes
8488
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8489
+
8490
+ @param request: ListTagResourcesRequest
8491
+ @return: ListTagResourcesResponse
8492
+ """
7039
8493
  runtime = util_models.RuntimeOptions()
7040
8494
  headers = {}
7041
8495
  return await self.list_tag_resources_with_options_async(request, headers, runtime)
@@ -7139,6 +8593,19 @@ class Client(OpenApiClient):
7139
8593
  headers: Dict[str, str],
7140
8594
  runtime: util_models.RuntimeOptions,
7141
8595
  ) -> sls_20201230_models.PutProjectPolicyResponse:
8596
+ """
8597
+ ### Usage notes
8598
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8599
+ * Alibaba Cloud Simple Log Service allows you to configure a project policy to authorize other users to access the specified Log Service resources.
8600
+ * You must configure a project policy based on policy syntax. Before you configure a project policy, you must be familiar with the Action, Resource, and Condition parameters. For more information, see [RAM](~~128139~~).
8601
+ * If you set the Principal element to an asterisk (\\*) and do not configure the Condition element when you configure a project policy, the policy applies to all users except for the project owner. If you set the Principal element to an asterisk (\\*) and configure the Condition element when you configure a project policy, the policy applies to all users including the project owner.
8602
+ * You can configure multiple project policies for a project. The total size of the policies cannot exceed 16 KB.
8603
+
8604
+ @param request: PutProjectPolicyRequest
8605
+ @param headers: map
8606
+ @param runtime: runtime options for this request RuntimeOptions
8607
+ @return: PutProjectPolicyResponse
8608
+ """
7142
8609
  UtilClient.validate_model(request)
7143
8610
  host_map = {}
7144
8611
  host_map['project'] = project
@@ -7170,6 +8637,19 @@ class Client(OpenApiClient):
7170
8637
  headers: Dict[str, str],
7171
8638
  runtime: util_models.RuntimeOptions,
7172
8639
  ) -> sls_20201230_models.PutProjectPolicyResponse:
8640
+ """
8641
+ ### Usage notes
8642
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8643
+ * Alibaba Cloud Simple Log Service allows you to configure a project policy to authorize other users to access the specified Log Service resources.
8644
+ * You must configure a project policy based on policy syntax. Before you configure a project policy, you must be familiar with the Action, Resource, and Condition parameters. For more information, see [RAM](~~128139~~).
8645
+ * If you set the Principal element to an asterisk (\\*) and do not configure the Condition element when you configure a project policy, the policy applies to all users except for the project owner. If you set the Principal element to an asterisk (\\*) and configure the Condition element when you configure a project policy, the policy applies to all users including the project owner.
8646
+ * You can configure multiple project policies for a project. The total size of the policies cannot exceed 16 KB.
8647
+
8648
+ @param request: PutProjectPolicyRequest
8649
+ @param headers: map
8650
+ @param runtime: runtime options for this request RuntimeOptions
8651
+ @return: PutProjectPolicyResponse
8652
+ """
7173
8653
  UtilClient.validate_model(request)
7174
8654
  host_map = {}
7175
8655
  host_map['project'] = project
@@ -7199,6 +8679,17 @@ class Client(OpenApiClient):
7199
8679
  project: str,
7200
8680
  request: sls_20201230_models.PutProjectPolicyRequest,
7201
8681
  ) -> sls_20201230_models.PutProjectPolicyResponse:
8682
+ """
8683
+ ### Usage notes
8684
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8685
+ * Alibaba Cloud Simple Log Service allows you to configure a project policy to authorize other users to access the specified Log Service resources.
8686
+ * You must configure a project policy based on policy syntax. Before you configure a project policy, you must be familiar with the Action, Resource, and Condition parameters. For more information, see [RAM](~~128139~~).
8687
+ * If you set the Principal element to an asterisk (\\*) and do not configure the Condition element when you configure a project policy, the policy applies to all users except for the project owner. If you set the Principal element to an asterisk (\\*) and configure the Condition element when you configure a project policy, the policy applies to all users including the project owner.
8688
+ * You can configure multiple project policies for a project. The total size of the policies cannot exceed 16 KB.
8689
+
8690
+ @param request: PutProjectPolicyRequest
8691
+ @return: PutProjectPolicyResponse
8692
+ """
7202
8693
  runtime = util_models.RuntimeOptions()
7203
8694
  headers = {}
7204
8695
  return self.put_project_policy_with_options(project, request, headers, runtime)
@@ -7208,6 +8699,17 @@ class Client(OpenApiClient):
7208
8699
  project: str,
7209
8700
  request: sls_20201230_models.PutProjectPolicyRequest,
7210
8701
  ) -> sls_20201230_models.PutProjectPolicyResponse:
8702
+ """
8703
+ ### Usage notes
8704
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8705
+ * Alibaba Cloud Simple Log Service allows you to configure a project policy to authorize other users to access the specified Log Service resources.
8706
+ * You must configure a project policy based on policy syntax. Before you configure a project policy, you must be familiar with the Action, Resource, and Condition parameters. For more information, see [RAM](~~128139~~).
8707
+ * If you set the Principal element to an asterisk (\\*) and do not configure the Condition element when you configure a project policy, the policy applies to all users except for the project owner. If you set the Principal element to an asterisk (\\*) and configure the Condition element when you configure a project policy, the policy applies to all users including the project owner.
8708
+ * You can configure multiple project policies for a project. The total size of the policies cannot exceed 16 KB.
8709
+
8710
+ @param request: PutProjectPolicyRequest
8711
+ @return: PutProjectPolicyResponse
8712
+ """
7211
8713
  runtime = util_models.RuntimeOptions()
7212
8714
  headers = {}
7213
8715
  return await self.put_project_policy_with_options_async(project, request, headers, runtime)
@@ -7321,6 +8823,15 @@ class Client(OpenApiClient):
7321
8823
  headers: Dict[str, str],
7322
8824
  runtime: util_models.RuntimeOptions,
7323
8825
  ) -> sls_20201230_models.QueryMLServiceResultsResponse:
8826
+ """
8827
+ @deprecated
8828
+
8829
+ @param request: QueryMLServiceResultsRequest
8830
+ @param headers: map
8831
+ @param runtime: runtime options for this request RuntimeOptions
8832
+ @return: QueryMLServiceResultsResponse
8833
+ Deprecated
8834
+ """
7324
8835
  UtilClient.validate_model(request)
7325
8836
  query = {}
7326
8837
  if not UtilClient.is_unset(request.allow_builtin):
@@ -7353,6 +8864,15 @@ class Client(OpenApiClient):
7353
8864
  headers: Dict[str, str],
7354
8865
  runtime: util_models.RuntimeOptions,
7355
8866
  ) -> sls_20201230_models.QueryMLServiceResultsResponse:
8867
+ """
8868
+ @deprecated
8869
+
8870
+ @param request: QueryMLServiceResultsRequest
8871
+ @param headers: map
8872
+ @param runtime: runtime options for this request RuntimeOptions
8873
+ @return: QueryMLServiceResultsResponse
8874
+ Deprecated
8875
+ """
7356
8876
  UtilClient.validate_model(request)
7357
8877
  query = {}
7358
8878
  if not UtilClient.is_unset(request.allow_builtin):
@@ -7383,6 +8903,13 @@ class Client(OpenApiClient):
7383
8903
  service_name: str,
7384
8904
  request: sls_20201230_models.QueryMLServiceResultsRequest,
7385
8905
  ) -> sls_20201230_models.QueryMLServiceResultsResponse:
8906
+ """
8907
+ @deprecated
8908
+
8909
+ @param request: QueryMLServiceResultsRequest
8910
+ @return: QueryMLServiceResultsResponse
8911
+ Deprecated
8912
+ """
7386
8913
  runtime = util_models.RuntimeOptions()
7387
8914
  headers = {}
7388
8915
  return self.query_mlservice_results_with_options(service_name, request, headers, runtime)
@@ -7392,6 +8919,13 @@ class Client(OpenApiClient):
7392
8919
  service_name: str,
7393
8920
  request: sls_20201230_models.QueryMLServiceResultsRequest,
7394
8921
  ) -> sls_20201230_models.QueryMLServiceResultsResponse:
8922
+ """
8923
+ @deprecated
8924
+
8925
+ @param request: QueryMLServiceResultsRequest
8926
+ @return: QueryMLServiceResultsResponse
8927
+ Deprecated
8928
+ """
7395
8929
  runtime = util_models.RuntimeOptions()
7396
8930
  headers = {}
7397
8931
  return await self.query_mlservice_results_with_options_async(service_name, request, headers, runtime)
@@ -7404,6 +8938,13 @@ class Client(OpenApiClient):
7404
8938
  headers: Dict[str, str],
7405
8939
  runtime: util_models.RuntimeOptions,
7406
8940
  ) -> sls_20201230_models.RemoveConfigFromMachineGroupResponse:
8941
+ """
8942
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8943
+
8944
+ @param headers: map
8945
+ @param runtime: runtime options for this request RuntimeOptions
8946
+ @return: RemoveConfigFromMachineGroupResponse
8947
+ """
7407
8948
  host_map = {}
7408
8949
  host_map['project'] = project
7409
8950
  req = open_api_models.OpenApiRequest(
@@ -7434,6 +8975,13 @@ class Client(OpenApiClient):
7434
8975
  headers: Dict[str, str],
7435
8976
  runtime: util_models.RuntimeOptions,
7436
8977
  ) -> sls_20201230_models.RemoveConfigFromMachineGroupResponse:
8978
+ """
8979
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
8980
+
8981
+ @param headers: map
8982
+ @param runtime: runtime options for this request RuntimeOptions
8983
+ @return: RemoveConfigFromMachineGroupResponse
8984
+ """
7437
8985
  host_map = {}
7438
8986
  host_map['project'] = project
7439
8987
  req = open_api_models.OpenApiRequest(
@@ -7462,6 +9010,11 @@ class Client(OpenApiClient):
7462
9010
  machine_group: str,
7463
9011
  config_name: str,
7464
9012
  ) -> sls_20201230_models.RemoveConfigFromMachineGroupResponse:
9013
+ """
9014
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9015
+
9016
+ @return: RemoveConfigFromMachineGroupResponse
9017
+ """
7465
9018
  runtime = util_models.RuntimeOptions()
7466
9019
  headers = {}
7467
9020
  return self.remove_config_from_machine_group_with_options(project, machine_group, config_name, headers, runtime)
@@ -7472,6 +9025,11 @@ class Client(OpenApiClient):
7472
9025
  machine_group: str,
7473
9026
  config_name: str,
7474
9027
  ) -> sls_20201230_models.RemoveConfigFromMachineGroupResponse:
9028
+ """
9029
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9030
+
9031
+ @return: RemoveConfigFromMachineGroupResponse
9032
+ """
7475
9033
  runtime = util_models.RuntimeOptions()
7476
9034
  headers = {}
7477
9035
  return await self.remove_config_from_machine_group_with_options_async(project, machine_group, config_name, headers, runtime)
@@ -7485,6 +9043,16 @@ class Client(OpenApiClient):
7485
9043
  headers: Dict[str, str],
7486
9044
  runtime: util_models.RuntimeOptions,
7487
9045
  ) -> sls_20201230_models.SplitShardResponse:
9046
+ """
9047
+ ### Usage notes
9048
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9049
+ * Each shard has an MD5 hash range, and each range is a left-closed, right-open interval. The interval is in the `[BeginKey,EndKey)` format. A shard can be in the readwrite or readonly state. You can split a shard and merge shards. For more information, see [Shard](~~28976~~).
9050
+
9051
+ @param request: SplitShardRequest
9052
+ @param headers: map
9053
+ @param runtime: runtime options for this request RuntimeOptions
9054
+ @return: SplitShardResponse
9055
+ """
7488
9056
  UtilClient.validate_model(request)
7489
9057
  host_map = {}
7490
9058
  host_map['project'] = project
@@ -7523,6 +9091,16 @@ class Client(OpenApiClient):
7523
9091
  headers: Dict[str, str],
7524
9092
  runtime: util_models.RuntimeOptions,
7525
9093
  ) -> sls_20201230_models.SplitShardResponse:
9094
+ """
9095
+ ### Usage notes
9096
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9097
+ * Each shard has an MD5 hash range, and each range is a left-closed, right-open interval. The interval is in the `[BeginKey,EndKey)` format. A shard can be in the readwrite or readonly state. You can split a shard and merge shards. For more information, see [Shard](~~28976~~).
9098
+
9099
+ @param request: SplitShardRequest
9100
+ @param headers: map
9101
+ @param runtime: runtime options for this request RuntimeOptions
9102
+ @return: SplitShardResponse
9103
+ """
7526
9104
  UtilClient.validate_model(request)
7527
9105
  host_map = {}
7528
9106
  host_map['project'] = project
@@ -7559,6 +9137,14 @@ class Client(OpenApiClient):
7559
9137
  shard: str,
7560
9138
  request: sls_20201230_models.SplitShardRequest,
7561
9139
  ) -> sls_20201230_models.SplitShardResponse:
9140
+ """
9141
+ ### Usage notes
9142
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9143
+ * Each shard has an MD5 hash range, and each range is a left-closed, right-open interval. The interval is in the `[BeginKey,EndKey)` format. A shard can be in the readwrite or readonly state. You can split a shard and merge shards. For more information, see [Shard](~~28976~~).
9144
+
9145
+ @param request: SplitShardRequest
9146
+ @return: SplitShardResponse
9147
+ """
7562
9148
  runtime = util_models.RuntimeOptions()
7563
9149
  headers = {}
7564
9150
  return self.split_shard_with_options(project, logstore, shard, request, headers, runtime)
@@ -7570,6 +9156,14 @@ class Client(OpenApiClient):
7570
9156
  shard: str,
7571
9157
  request: sls_20201230_models.SplitShardRequest,
7572
9158
  ) -> sls_20201230_models.SplitShardResponse:
9159
+ """
9160
+ ### Usage notes
9161
+ * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9162
+ * Each shard has an MD5 hash range, and each range is a left-closed, right-open interval. The interval is in the `[BeginKey,EndKey)` format. A shard can be in the readwrite or readonly state. You can split a shard and merge shards. For more information, see [Shard](~~28976~~).
9163
+
9164
+ @param request: SplitShardRequest
9165
+ @return: SplitShardResponse
9166
+ """
7573
9167
  runtime = util_models.RuntimeOptions()
7574
9168
  headers = {}
7575
9169
  return await self.split_shard_with_options_async(project, logstore, shard, request, headers, runtime)
@@ -7580,6 +9174,15 @@ class Client(OpenApiClient):
7580
9174
  headers: Dict[str, str],
7581
9175
  runtime: util_models.RuntimeOptions,
7582
9176
  ) -> sls_20201230_models.TagResourcesResponse:
9177
+ """
9178
+ ### Usage notes
9179
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9180
+
9181
+ @param request: TagResourcesRequest
9182
+ @param headers: map
9183
+ @param runtime: runtime options for this request RuntimeOptions
9184
+ @return: TagResourcesResponse
9185
+ """
7583
9186
  UtilClient.validate_model(request)
7584
9187
  body = {}
7585
9188
  if not UtilClient.is_unset(request.resource_id):
@@ -7614,6 +9217,15 @@ class Client(OpenApiClient):
7614
9217
  headers: Dict[str, str],
7615
9218
  runtime: util_models.RuntimeOptions,
7616
9219
  ) -> sls_20201230_models.TagResourcesResponse:
9220
+ """
9221
+ ### Usage notes
9222
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9223
+
9224
+ @param request: TagResourcesRequest
9225
+ @param headers: map
9226
+ @param runtime: runtime options for this request RuntimeOptions
9227
+ @return: TagResourcesResponse
9228
+ """
7617
9229
  UtilClient.validate_model(request)
7618
9230
  body = {}
7619
9231
  if not UtilClient.is_unset(request.resource_id):
@@ -7646,6 +9258,13 @@ class Client(OpenApiClient):
7646
9258
  self,
7647
9259
  request: sls_20201230_models.TagResourcesRequest,
7648
9260
  ) -> sls_20201230_models.TagResourcesResponse:
9261
+ """
9262
+ ### Usage notes
9263
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9264
+
9265
+ @param request: TagResourcesRequest
9266
+ @return: TagResourcesResponse
9267
+ """
7649
9268
  runtime = util_models.RuntimeOptions()
7650
9269
  headers = {}
7651
9270
  return self.tag_resources_with_options(request, headers, runtime)
@@ -7654,6 +9273,13 @@ class Client(OpenApiClient):
7654
9273
  self,
7655
9274
  request: sls_20201230_models.TagResourcesRequest,
7656
9275
  ) -> sls_20201230_models.TagResourcesResponse:
9276
+ """
9277
+ ### Usage notes
9278
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9279
+
9280
+ @param request: TagResourcesRequest
9281
+ @return: TagResourcesResponse
9282
+ """
7657
9283
  runtime = util_models.RuntimeOptions()
7658
9284
  headers = {}
7659
9285
  return await self.tag_resources_with_options_async(request, headers, runtime)
@@ -7664,6 +9290,15 @@ class Client(OpenApiClient):
7664
9290
  headers: Dict[str, str],
7665
9291
  runtime: util_models.RuntimeOptions,
7666
9292
  ) -> sls_20201230_models.UntagResourcesResponse:
9293
+ """
9294
+ ### Usage notes
9295
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9296
+
9297
+ @param request: UntagResourcesRequest
9298
+ @param headers: map
9299
+ @param runtime: runtime options for this request RuntimeOptions
9300
+ @return: UntagResourcesResponse
9301
+ """
7667
9302
  UtilClient.validate_model(request)
7668
9303
  body = {}
7669
9304
  if not UtilClient.is_unset(request.all):
@@ -7700,6 +9335,15 @@ class Client(OpenApiClient):
7700
9335
  headers: Dict[str, str],
7701
9336
  runtime: util_models.RuntimeOptions,
7702
9337
  ) -> sls_20201230_models.UntagResourcesResponse:
9338
+ """
9339
+ ### Usage notes
9340
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9341
+
9342
+ @param request: UntagResourcesRequest
9343
+ @param headers: map
9344
+ @param runtime: runtime options for this request RuntimeOptions
9345
+ @return: UntagResourcesResponse
9346
+ """
7703
9347
  UtilClient.validate_model(request)
7704
9348
  body = {}
7705
9349
  if not UtilClient.is_unset(request.all):
@@ -7734,6 +9378,13 @@ class Client(OpenApiClient):
7734
9378
  self,
7735
9379
  request: sls_20201230_models.UntagResourcesRequest,
7736
9380
  ) -> sls_20201230_models.UntagResourcesResponse:
9381
+ """
9382
+ ### Usage notes
9383
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9384
+
9385
+ @param request: UntagResourcesRequest
9386
+ @return: UntagResourcesResponse
9387
+ """
7737
9388
  runtime = util_models.RuntimeOptions()
7738
9389
  headers = {}
7739
9390
  return self.untag_resources_with_options(request, headers, runtime)
@@ -7742,6 +9393,13 @@ class Client(OpenApiClient):
7742
9393
  self,
7743
9394
  request: sls_20201230_models.UntagResourcesRequest,
7744
9395
  ) -> sls_20201230_models.UntagResourcesResponse:
9396
+ """
9397
+ ### Usage notes
9398
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9399
+
9400
+ @param request: UntagResourcesRequest
9401
+ @return: UntagResourcesResponse
9402
+ """
7745
9403
  runtime = util_models.RuntimeOptions()
7746
9404
  headers = {}
7747
9405
  return await self.untag_resources_with_options_async(request, headers, runtime)
@@ -7983,6 +9641,15 @@ class Client(OpenApiClient):
7983
9641
  headers: Dict[str, str],
7984
9642
  runtime: util_models.RuntimeOptions,
7985
9643
  ) -> sls_20201230_models.UpdateConsumerGroupResponse:
9644
+ """
9645
+ ### Usage notes
9646
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9647
+
9648
+ @param request: UpdateConsumerGroupRequest
9649
+ @param headers: map
9650
+ @param runtime: runtime options for this request RuntimeOptions
9651
+ @return: UpdateConsumerGroupResponse
9652
+ """
7986
9653
  UtilClient.validate_model(request)
7987
9654
  host_map = {}
7988
9655
  host_map['project'] = project
@@ -8021,6 +9688,15 @@ class Client(OpenApiClient):
8021
9688
  headers: Dict[str, str],
8022
9689
  runtime: util_models.RuntimeOptions,
8023
9690
  ) -> sls_20201230_models.UpdateConsumerGroupResponse:
9691
+ """
9692
+ ### Usage notes
9693
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9694
+
9695
+ @param request: UpdateConsumerGroupRequest
9696
+ @param headers: map
9697
+ @param runtime: runtime options for this request RuntimeOptions
9698
+ @return: UpdateConsumerGroupResponse
9699
+ """
8024
9700
  UtilClient.validate_model(request)
8025
9701
  host_map = {}
8026
9702
  host_map['project'] = project
@@ -8057,6 +9733,13 @@ class Client(OpenApiClient):
8057
9733
  consumer_group: str,
8058
9734
  request: sls_20201230_models.UpdateConsumerGroupRequest,
8059
9735
  ) -> sls_20201230_models.UpdateConsumerGroupResponse:
9736
+ """
9737
+ ### Usage notes
9738
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9739
+
9740
+ @param request: UpdateConsumerGroupRequest
9741
+ @return: UpdateConsumerGroupResponse
9742
+ """
8060
9743
  runtime = util_models.RuntimeOptions()
8061
9744
  headers = {}
8062
9745
  return self.update_consumer_group_with_options(project, logstore, consumer_group, request, headers, runtime)
@@ -8068,6 +9751,13 @@ class Client(OpenApiClient):
8068
9751
  consumer_group: str,
8069
9752
  request: sls_20201230_models.UpdateConsumerGroupRequest,
8070
9753
  ) -> sls_20201230_models.UpdateConsumerGroupResponse:
9754
+ """
9755
+ ### Usage notes
9756
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
9757
+
9758
+ @param request: UpdateConsumerGroupRequest
9759
+ @return: UpdateConsumerGroupResponse
9760
+ """
8071
9761
  runtime = util_models.RuntimeOptions()
8072
9762
  headers = {}
8073
9763
  return await self.update_consumer_group_with_options_async(project, logstore, consumer_group, request, headers, runtime)
@@ -8186,6 +9876,15 @@ class Client(OpenApiClient):
8186
9876
  headers: Dict[str, str],
8187
9877
  runtime: util_models.RuntimeOptions,
8188
9878
  ) -> sls_20201230_models.UpdateIndexResponse:
9879
+ """
9880
+ ### Usage notes
9881
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9882
+
9883
+ @param request: UpdateIndexRequest
9884
+ @param headers: map
9885
+ @param runtime: runtime options for this request RuntimeOptions
9886
+ @return: UpdateIndexResponse
9887
+ """
8189
9888
  UtilClient.validate_model(request)
8190
9889
  host_map = {}
8191
9890
  host_map['project'] = project
@@ -8233,6 +9932,15 @@ class Client(OpenApiClient):
8233
9932
  headers: Dict[str, str],
8234
9933
  runtime: util_models.RuntimeOptions,
8235
9934
  ) -> sls_20201230_models.UpdateIndexResponse:
9935
+ """
9936
+ ### Usage notes
9937
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9938
+
9939
+ @param request: UpdateIndexRequest
9940
+ @param headers: map
9941
+ @param runtime: runtime options for this request RuntimeOptions
9942
+ @return: UpdateIndexResponse
9943
+ """
8236
9944
  UtilClient.validate_model(request)
8237
9945
  host_map = {}
8238
9946
  host_map['project'] = project
@@ -8278,6 +9986,13 @@ class Client(OpenApiClient):
8278
9986
  logstore: str,
8279
9987
  request: sls_20201230_models.UpdateIndexRequest,
8280
9988
  ) -> sls_20201230_models.UpdateIndexResponse:
9989
+ """
9990
+ ### Usage notes
9991
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
9992
+
9993
+ @param request: UpdateIndexRequest
9994
+ @return: UpdateIndexResponse
9995
+ """
8281
9996
  runtime = util_models.RuntimeOptions()
8282
9997
  headers = {}
8283
9998
  return self.update_index_with_options(project, logstore, request, headers, runtime)
@@ -8288,6 +10003,13 @@ class Client(OpenApiClient):
8288
10003
  logstore: str,
8289
10004
  request: sls_20201230_models.UpdateIndexRequest,
8290
10005
  ) -> sls_20201230_models.UpdateIndexResponse:
10006
+ """
10007
+ ### Usage notes
10008
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10009
+
10010
+ @param request: UpdateIndexRequest
10011
+ @return: UpdateIndexResponse
10012
+ """
8291
10013
  runtime = util_models.RuntimeOptions()
8292
10014
  headers = {}
8293
10015
  return await self.update_index_with_options_async(project, logstore, request, headers, runtime)
@@ -8300,6 +10022,16 @@ class Client(OpenApiClient):
8300
10022
  headers: Dict[str, str],
8301
10023
  runtime: util_models.RuntimeOptions,
8302
10024
  ) -> sls_20201230_models.UpdateLogStoreResponse:
10025
+ """
10026
+ ### Usage notes
10027
+ * Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10028
+ * You can call the UpdateLogStore operation to change only the time-to-live (TTL) attribute.
10029
+
10030
+ @param request: UpdateLogStoreRequest
10031
+ @param headers: map
10032
+ @param runtime: runtime options for this request RuntimeOptions
10033
+ @return: UpdateLogStoreResponse
10034
+ """
8303
10035
  UtilClient.validate_model(request)
8304
10036
  host_map = {}
8305
10037
  host_map['project'] = project
@@ -8355,6 +10087,16 @@ class Client(OpenApiClient):
8355
10087
  headers: Dict[str, str],
8356
10088
  runtime: util_models.RuntimeOptions,
8357
10089
  ) -> sls_20201230_models.UpdateLogStoreResponse:
10090
+ """
10091
+ ### Usage notes
10092
+ * Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10093
+ * You can call the UpdateLogStore operation to change only the time-to-live (TTL) attribute.
10094
+
10095
+ @param request: UpdateLogStoreRequest
10096
+ @param headers: map
10097
+ @param runtime: runtime options for this request RuntimeOptions
10098
+ @return: UpdateLogStoreResponse
10099
+ """
8358
10100
  UtilClient.validate_model(request)
8359
10101
  host_map = {}
8360
10102
  host_map['project'] = project
@@ -8408,6 +10150,14 @@ class Client(OpenApiClient):
8408
10150
  logstore: str,
8409
10151
  request: sls_20201230_models.UpdateLogStoreRequest,
8410
10152
  ) -> sls_20201230_models.UpdateLogStoreResponse:
10153
+ """
10154
+ ### Usage notes
10155
+ * Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10156
+ * You can call the UpdateLogStore operation to change only the time-to-live (TTL) attribute.
10157
+
10158
+ @param request: UpdateLogStoreRequest
10159
+ @return: UpdateLogStoreResponse
10160
+ """
8411
10161
  runtime = util_models.RuntimeOptions()
8412
10162
  headers = {}
8413
10163
  return self.update_log_store_with_options(project, logstore, request, headers, runtime)
@@ -8418,6 +10168,14 @@ class Client(OpenApiClient):
8418
10168
  logstore: str,
8419
10169
  request: sls_20201230_models.UpdateLogStoreRequest,
8420
10170
  ) -> sls_20201230_models.UpdateLogStoreResponse:
10171
+ """
10172
+ ### Usage notes
10173
+ * Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10174
+ * You can call the UpdateLogStore operation to change only the time-to-live (TTL) attribute.
10175
+
10176
+ @param request: UpdateLogStoreRequest
10177
+ @return: UpdateLogStoreResponse
10178
+ """
8421
10179
  runtime = util_models.RuntimeOptions()
8422
10180
  headers = {}
8423
10181
  return await self.update_log_store_with_options_async(project, logstore, request, headers, runtime)
@@ -8519,6 +10277,14 @@ class Client(OpenApiClient):
8519
10277
  headers: Dict[str, str],
8520
10278
  runtime: util_models.RuntimeOptions,
8521
10279
  ) -> sls_20201230_models.UpdateLoggingResponse:
10280
+ """
10281
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10282
+
10283
+ @param request: UpdateLoggingRequest
10284
+ @param headers: map
10285
+ @param runtime: runtime options for this request RuntimeOptions
10286
+ @return: UpdateLoggingResponse
10287
+ """
8522
10288
  UtilClient.validate_model(request)
8523
10289
  host_map = {}
8524
10290
  host_map['project'] = project
@@ -8555,6 +10321,14 @@ class Client(OpenApiClient):
8555
10321
  headers: Dict[str, str],
8556
10322
  runtime: util_models.RuntimeOptions,
8557
10323
  ) -> sls_20201230_models.UpdateLoggingResponse:
10324
+ """
10325
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10326
+
10327
+ @param request: UpdateLoggingRequest
10328
+ @param headers: map
10329
+ @param runtime: runtime options for this request RuntimeOptions
10330
+ @return: UpdateLoggingResponse
10331
+ """
8558
10332
  UtilClient.validate_model(request)
8559
10333
  host_map = {}
8560
10334
  host_map['project'] = project
@@ -8589,6 +10363,12 @@ class Client(OpenApiClient):
8589
10363
  project: str,
8590
10364
  request: sls_20201230_models.UpdateLoggingRequest,
8591
10365
  ) -> sls_20201230_models.UpdateLoggingResponse:
10366
+ """
10367
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10368
+
10369
+ @param request: UpdateLoggingRequest
10370
+ @return: UpdateLoggingResponse
10371
+ """
8592
10372
  runtime = util_models.RuntimeOptions()
8593
10373
  headers = {}
8594
10374
  return self.update_logging_with_options(project, request, headers, runtime)
@@ -8598,6 +10378,12 @@ class Client(OpenApiClient):
8598
10378
  project: str,
8599
10379
  request: sls_20201230_models.UpdateLoggingRequest,
8600
10380
  ) -> sls_20201230_models.UpdateLoggingResponse:
10381
+ """
10382
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10383
+
10384
+ @param request: UpdateLoggingRequest
10385
+ @return: UpdateLoggingResponse
10386
+ """
8601
10387
  runtime = util_models.RuntimeOptions()
8602
10388
  headers = {}
8603
10389
  return await self.update_logging_with_options_async(project, request, headers, runtime)
@@ -8724,6 +10510,14 @@ class Client(OpenApiClient):
8724
10510
  headers: Dict[str, str],
8725
10511
  runtime: util_models.RuntimeOptions,
8726
10512
  ) -> sls_20201230_models.UpdateMachineGroupResponse:
10513
+ """
10514
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10515
+
10516
+ @param request: UpdateMachineGroupRequest
10517
+ @param headers: map
10518
+ @param runtime: runtime options for this request RuntimeOptions
10519
+ @return: UpdateMachineGroupResponse
10520
+ """
8727
10521
  UtilClient.validate_model(request)
8728
10522
  host_map = {}
8729
10523
  host_map['project'] = project
@@ -8767,6 +10561,14 @@ class Client(OpenApiClient):
8767
10561
  headers: Dict[str, str],
8768
10562
  runtime: util_models.RuntimeOptions,
8769
10563
  ) -> sls_20201230_models.UpdateMachineGroupResponse:
10564
+ """
10565
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10566
+
10567
+ @param request: UpdateMachineGroupRequest
10568
+ @param headers: map
10569
+ @param runtime: runtime options for this request RuntimeOptions
10570
+ @return: UpdateMachineGroupResponse
10571
+ """
8770
10572
  UtilClient.validate_model(request)
8771
10573
  host_map = {}
8772
10574
  host_map['project'] = project
@@ -8808,6 +10610,12 @@ class Client(OpenApiClient):
8808
10610
  group_name: str,
8809
10611
  request: sls_20201230_models.UpdateMachineGroupRequest,
8810
10612
  ) -> sls_20201230_models.UpdateMachineGroupResponse:
10613
+ """
10614
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10615
+
10616
+ @param request: UpdateMachineGroupRequest
10617
+ @return: UpdateMachineGroupResponse
10618
+ """
8811
10619
  runtime = util_models.RuntimeOptions()
8812
10620
  headers = {}
8813
10621
  return self.update_machine_group_with_options(project, group_name, request, headers, runtime)
@@ -8818,6 +10626,12 @@ class Client(OpenApiClient):
8818
10626
  group_name: str,
8819
10627
  request: sls_20201230_models.UpdateMachineGroupRequest,
8820
10628
  ) -> sls_20201230_models.UpdateMachineGroupResponse:
10629
+ """
10630
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
10631
+
10632
+ @param request: UpdateMachineGroupRequest
10633
+ @return: UpdateMachineGroupResponse
10634
+ """
8821
10635
  runtime = util_models.RuntimeOptions()
8822
10636
  headers = {}
8823
10637
  return await self.update_machine_group_with_options_async(project, group_name, request, headers, runtime)
@@ -8830,6 +10644,14 @@ class Client(OpenApiClient):
8830
10644
  headers: Dict[str, str],
8831
10645
  runtime: util_models.RuntimeOptions,
8832
10646
  ) -> sls_20201230_models.UpdateMachineGroupMachineResponse:
10647
+ """
10648
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10649
+
10650
+ @param request: UpdateMachineGroupMachineRequest
10651
+ @param headers: map
10652
+ @param runtime: runtime options for this request RuntimeOptions
10653
+ @return: UpdateMachineGroupMachineResponse
10654
+ """
8833
10655
  UtilClient.validate_model(request)
8834
10656
  host_map = {}
8835
10657
  host_map['project'] = project
@@ -8866,6 +10688,14 @@ class Client(OpenApiClient):
8866
10688
  headers: Dict[str, str],
8867
10689
  runtime: util_models.RuntimeOptions,
8868
10690
  ) -> sls_20201230_models.UpdateMachineGroupMachineResponse:
10691
+ """
10692
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10693
+
10694
+ @param request: UpdateMachineGroupMachineRequest
10695
+ @param headers: map
10696
+ @param runtime: runtime options for this request RuntimeOptions
10697
+ @return: UpdateMachineGroupMachineResponse
10698
+ """
8869
10699
  UtilClient.validate_model(request)
8870
10700
  host_map = {}
8871
10701
  host_map['project'] = project
@@ -8900,6 +10730,12 @@ class Client(OpenApiClient):
8900
10730
  machine_group: str,
8901
10731
  request: sls_20201230_models.UpdateMachineGroupMachineRequest,
8902
10732
  ) -> sls_20201230_models.UpdateMachineGroupMachineResponse:
10733
+ """
10734
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10735
+
10736
+ @param request: UpdateMachineGroupMachineRequest
10737
+ @return: UpdateMachineGroupMachineResponse
10738
+ """
8903
10739
  runtime = util_models.RuntimeOptions()
8904
10740
  headers = {}
8905
10741
  return self.update_machine_group_machine_with_options(project, machine_group, request, headers, runtime)
@@ -8910,6 +10746,12 @@ class Client(OpenApiClient):
8910
10746
  machine_group: str,
8911
10747
  request: sls_20201230_models.UpdateMachineGroupMachineRequest,
8912
10748
  ) -> sls_20201230_models.UpdateMachineGroupMachineResponse:
10749
+ """
10750
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10751
+
10752
+ @param request: UpdateMachineGroupMachineRequest
10753
+ @return: UpdateMachineGroupMachineResponse
10754
+ """
8913
10755
  runtime = util_models.RuntimeOptions()
8914
10756
  headers = {}
8915
10757
  return await self.update_machine_group_machine_with_options_async(project, machine_group, request, headers, runtime)
@@ -8922,6 +10764,14 @@ class Client(OpenApiClient):
8922
10764
  headers: Dict[str, str],
8923
10765
  runtime: util_models.RuntimeOptions,
8924
10766
  ) -> sls_20201230_models.UpdateOssExternalStoreResponse:
10767
+ """
10768
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10769
+
10770
+ @param request: UpdateOssExternalStoreRequest
10771
+ @param headers: map
10772
+ @param runtime: runtime options for this request RuntimeOptions
10773
+ @return: UpdateOssExternalStoreResponse
10774
+ """
8925
10775
  UtilClient.validate_model(request)
8926
10776
  host_map = {}
8927
10777
  host_map['project'] = project
@@ -8961,6 +10811,14 @@ class Client(OpenApiClient):
8961
10811
  headers: Dict[str, str],
8962
10812
  runtime: util_models.RuntimeOptions,
8963
10813
  ) -> sls_20201230_models.UpdateOssExternalStoreResponse:
10814
+ """
10815
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10816
+
10817
+ @param request: UpdateOssExternalStoreRequest
10818
+ @param headers: map
10819
+ @param runtime: runtime options for this request RuntimeOptions
10820
+ @return: UpdateOssExternalStoreResponse
10821
+ """
8964
10822
  UtilClient.validate_model(request)
8965
10823
  host_map = {}
8966
10824
  host_map['project'] = project
@@ -8998,6 +10856,12 @@ class Client(OpenApiClient):
8998
10856
  external_store_name: str,
8999
10857
  request: sls_20201230_models.UpdateOssExternalStoreRequest,
9000
10858
  ) -> sls_20201230_models.UpdateOssExternalStoreResponse:
10859
+ """
10860
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10861
+
10862
+ @param request: UpdateOssExternalStoreRequest
10863
+ @return: UpdateOssExternalStoreResponse
10864
+ """
9001
10865
  runtime = util_models.RuntimeOptions()
9002
10866
  headers = {}
9003
10867
  return self.update_oss_external_store_with_options(project, external_store_name, request, headers, runtime)
@@ -9008,6 +10872,12 @@ class Client(OpenApiClient):
9008
10872
  external_store_name: str,
9009
10873
  request: sls_20201230_models.UpdateOssExternalStoreRequest,
9010
10874
  ) -> sls_20201230_models.UpdateOssExternalStoreResponse:
10875
+ """
10876
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10877
+
10878
+ @param request: UpdateOssExternalStoreRequest
10879
+ @return: UpdateOssExternalStoreResponse
10880
+ """
9011
10881
  runtime = util_models.RuntimeOptions()
9012
10882
  headers = {}
9013
10883
  return await self.update_oss_external_store_with_options_async(project, external_store_name, request, headers, runtime)
@@ -9019,6 +10889,15 @@ class Client(OpenApiClient):
9019
10889
  headers: Dict[str, str],
9020
10890
  runtime: util_models.RuntimeOptions,
9021
10891
  ) -> sls_20201230_models.UpdateProjectResponse:
10892
+ """
10893
+ ### Usage notes
10894
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10895
+
10896
+ @param request: UpdateProjectRequest
10897
+ @param headers: map
10898
+ @param runtime: runtime options for this request RuntimeOptions
10899
+ @return: UpdateProjectResponse
10900
+ """
9022
10901
  UtilClient.validate_model(request)
9023
10902
  host_map = {}
9024
10903
  host_map['project'] = project
@@ -9053,6 +10932,15 @@ class Client(OpenApiClient):
9053
10932
  headers: Dict[str, str],
9054
10933
  runtime: util_models.RuntimeOptions,
9055
10934
  ) -> sls_20201230_models.UpdateProjectResponse:
10935
+ """
10936
+ ### Usage notes
10937
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10938
+
10939
+ @param request: UpdateProjectRequest
10940
+ @param headers: map
10941
+ @param runtime: runtime options for this request RuntimeOptions
10942
+ @return: UpdateProjectResponse
10943
+ """
9056
10944
  UtilClient.validate_model(request)
9057
10945
  host_map = {}
9058
10946
  host_map['project'] = project
@@ -9085,6 +10973,13 @@ class Client(OpenApiClient):
9085
10973
  project: str,
9086
10974
  request: sls_20201230_models.UpdateProjectRequest,
9087
10975
  ) -> sls_20201230_models.UpdateProjectResponse:
10976
+ """
10977
+ ### Usage notes
10978
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10979
+
10980
+ @param request: UpdateProjectRequest
10981
+ @return: UpdateProjectResponse
10982
+ """
9088
10983
  runtime = util_models.RuntimeOptions()
9089
10984
  headers = {}
9090
10985
  return self.update_project_with_options(project, request, headers, runtime)
@@ -9094,6 +10989,13 @@ class Client(OpenApiClient):
9094
10989
  project: str,
9095
10990
  request: sls_20201230_models.UpdateProjectRequest,
9096
10991
  ) -> sls_20201230_models.UpdateProjectResponse:
10992
+ """
10993
+ ### Usage notes
10994
+ Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
10995
+
10996
+ @param request: UpdateProjectRequest
10997
+ @return: UpdateProjectResponse
10998
+ """
9097
10999
  runtime = util_models.RuntimeOptions()
9098
11000
  headers = {}
9099
11001
  return await self.update_project_with_options_async(project, request, headers, runtime)
@@ -9106,6 +11008,14 @@ class Client(OpenApiClient):
9106
11008
  headers: Dict[str, str],
9107
11009
  runtime: util_models.RuntimeOptions,
9108
11010
  ) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
11011
+ """
11012
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
11013
+
11014
+ @param request: UpdateRdsExternalStoreRequest
11015
+ @param headers: map
11016
+ @param runtime: runtime options for this request RuntimeOptions
11017
+ @return: UpdateRdsExternalStoreResponse
11018
+ """
9109
11019
  UtilClient.validate_model(request)
9110
11020
  host_map = {}
9111
11021
  host_map['project'] = project
@@ -9145,6 +11055,14 @@ class Client(OpenApiClient):
9145
11055
  headers: Dict[str, str],
9146
11056
  runtime: util_models.RuntimeOptions,
9147
11057
  ) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
11058
+ """
11059
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
11060
+
11061
+ @param request: UpdateRdsExternalStoreRequest
11062
+ @param headers: map
11063
+ @param runtime: runtime options for this request RuntimeOptions
11064
+ @return: UpdateRdsExternalStoreResponse
11065
+ """
9148
11066
  UtilClient.validate_model(request)
9149
11067
  host_map = {}
9150
11068
  host_map['project'] = project
@@ -9182,6 +11100,12 @@ class Client(OpenApiClient):
9182
11100
  external_store_name: str,
9183
11101
  request: sls_20201230_models.UpdateRdsExternalStoreRequest,
9184
11102
  ) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
11103
+ """
11104
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
11105
+
11106
+ @param request: UpdateRdsExternalStoreRequest
11107
+ @return: UpdateRdsExternalStoreResponse
11108
+ """
9185
11109
  runtime = util_models.RuntimeOptions()
9186
11110
  headers = {}
9187
11111
  return self.update_rds_external_store_with_options(project, external_store_name, request, headers, runtime)
@@ -9192,6 +11116,12 @@ class Client(OpenApiClient):
9192
11116
  external_store_name: str,
9193
11117
  request: sls_20201230_models.UpdateRdsExternalStoreRequest,
9194
11118
  ) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
11119
+ """
11120
+ Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
11121
+
11122
+ @param request: UpdateRdsExternalStoreRequest
11123
+ @return: UpdateRdsExternalStoreResponse
11124
+ """
9195
11125
  runtime = util_models.RuntimeOptions()
9196
11126
  headers = {}
9197
11127
  return await self.update_rds_external_store_with_options_async(project, external_store_name, request, headers, runtime)