tencentcloud-sdk-python-cls 3.1.57__tar.gz → 3.1.61__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/cls/v20201016/cls_client.py +23 -0
  5. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/cls/v20201016/cls_client_async.py +18 -0
  6. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/cls/v20201016/models.py +244 -0
  7. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cls-3.1.61/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cls-3.1.57/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/cls/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/cls/v20201016/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cls-3.1.57 → tencentcloud_sdk_python_cls-3.1.61}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.57
3
+ Version: 3.1.61
4
4
  Summary: Tencent Cloud Cls SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.57
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.61
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cls',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.57,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.61,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cls SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.57'
17
+ __version__ = '3.1.61'
@@ -3744,6 +3744,29 @@ class ClsClient(AbstractClient):
3744
3744
  raise TencentCloudSDKException(type(e).__name__, str(e))
3745
3745
 
3746
3746
 
3747
+ def OpenClawService(self, request):
3748
+ r"""本接口用于创建OpenClaw依赖的资源与索引
3749
+
3750
+ :param request: Request instance for OpenClawService.
3751
+ :type request: :class:`tencentcloud.cls.v20201016.models.OpenClawServiceRequest`
3752
+ :rtype: :class:`tencentcloud.cls.v20201016.models.OpenClawServiceResponse`
3753
+
3754
+ """
3755
+ try:
3756
+ params = request._serialize()
3757
+ headers = request.headers
3758
+ body = self.call("OpenClawService", params, headers=headers)
3759
+ response = json.loads(body)
3760
+ model = models.OpenClawServiceResponse()
3761
+ model._deserialize(response["Response"])
3762
+ return model
3763
+ except Exception as e:
3764
+ if isinstance(e, TencentCloudSDKException):
3765
+ raise
3766
+ else:
3767
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3768
+
3769
+
3747
3770
  def OpenKafkaConsumer(self, request):
3748
3771
  r"""打开Kafka协议消费功能
3749
3772
 
@@ -2938,6 +2938,24 @@ class ClsClient(AbstractClient):
2938
2938
 
2939
2939
  return await self.call_and_deserialize(**kwargs)
2940
2940
 
2941
+ async def OpenClawService(
2942
+ self,
2943
+ request: models.OpenClawServiceRequest,
2944
+ opts: Dict = None,
2945
+ ) -> models.OpenClawServiceResponse:
2946
+ """
2947
+ 本接口用于创建OpenClaw依赖的资源与索引
2948
+ """
2949
+
2950
+ kwargs = {}
2951
+ kwargs["action"] = "OpenClawService"
2952
+ kwargs["params"] = request._serialize()
2953
+ kwargs["resp_cls"] = models.OpenClawServiceResponse
2954
+ kwargs["headers"] = request.headers
2955
+ kwargs["opts"] = opts or {}
2956
+
2957
+ return await self.call_and_deserialize(**kwargs)
2958
+
2941
2959
  async def OpenKafkaConsumer(
2942
2960
  self,
2943
2961
  request: models.OpenKafkaConsumerRequest,
@@ -40742,6 +40742,250 @@ class NoticeRule(AbstractModel):
40742
40742
 
40743
40743
 
40744
40744
 
40745
+ class OpenClawServiceRequest(AbstractModel):
40746
+ r"""OpenClawService请求参数结构体
40747
+
40748
+ """
40749
+
40750
+ def __init__(self):
40751
+ r"""
40752
+ :param _Tag: <p>标签类型</p><p>枚举值:</p><ul><li>OpenClaw: OpenClaw类型</li><li>ClawPro: ClawPro类型</li></ul>
40753
+ :type Tag: str
40754
+ """
40755
+ self._Tag = None
40756
+
40757
+ @property
40758
+ def Tag(self):
40759
+ r"""<p>标签类型</p><p>枚举值:</p><ul><li>OpenClaw: OpenClaw类型</li><li>ClawPro: ClawPro类型</li></ul>
40760
+ :rtype: str
40761
+ """
40762
+ return self._Tag
40763
+
40764
+ @Tag.setter
40765
+ def Tag(self, Tag):
40766
+ self._Tag = Tag
40767
+
40768
+
40769
+ def _deserialize(self, params):
40770
+ self._Tag = params.get("Tag")
40771
+ memeber_set = set(params.keys())
40772
+ for name, value in vars(self).items():
40773
+ property_name = name[1:]
40774
+ if property_name in memeber_set:
40775
+ memeber_set.remove(property_name)
40776
+ if len(memeber_set) > 0:
40777
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40778
+
40779
+
40780
+
40781
+ class OpenClawServiceResponse(AbstractModel):
40782
+ r"""OpenClawService返回参数结构体
40783
+
40784
+ """
40785
+
40786
+ def __init__(self):
40787
+ r"""
40788
+ :param _LogsetId: <p>日志集id</p><p><a href="https://cloud.tencent.com/document/product/614/41034">日志集文档</a></p>
40789
+ :type LogsetId: str
40790
+ :param _LogsetName: <p>日志集名称</p>
40791
+ :type LogsetName: str
40792
+ :param _TopicId: <p>日志主题id</p><p><a href="https://cloud.tencent.com/document/product/614/41035">日志主题文档</a></p>
40793
+ :type TopicId: str
40794
+ :param _TopicName: <p>日志主题名称</p>
40795
+ :type TopicName: str
40796
+ :param _MetricTopicId: <p>指标主题id</p><p><a href="https://cloud.tencent.com/document/product/614/90328">指标主题文档</a></p>
40797
+ :type MetricTopicId: str
40798
+ :param _MetricTopicName: <p>指标主题名称</p>
40799
+ :type MetricTopicName: str
40800
+ :param _MachineGroupId: <p>机器组id</p><p><a href="https://cloud.tencent.com/document/product/614/17412">机器组文档</a></p>
40801
+ :type MachineGroupId: str
40802
+ :param _MachineGroupName: <p>机器组名称</p>
40803
+ :type MachineGroupName: str
40804
+ :param _AppLogConfigId: <p>采集配置id。应用日志</p><p><a href="https://cloud.tencent.com/document/product/614/33494">采集概述文档</a> - <a href="https://cloud.tencent.com/document/product/614/57497">LogListener 采集配置导入</a></p>
40805
+ :type AppLogConfigId: str
40806
+ :param _AppLogConfigName: <p>采集配置名称。应用日志</p>
40807
+ :type AppLogConfigName: str
40808
+ :param _SessionLogConfigId: <p>采集配置id。会话日志</p><p><a href="https://cloud.tencent.com/document/product/614/33494">采集概述文档</a> - <a href="https://cloud.tencent.com/document/product/614/57497">LogListener 采集配置导入</a></p>
40809
+ :type SessionLogConfigId: str
40810
+ :param _SessionLogConfigName: <p>采集配置名称。会话日志</p>
40811
+ :type SessionLogConfigName: str
40812
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40813
+ :type RequestId: str
40814
+ """
40815
+ self._LogsetId = None
40816
+ self._LogsetName = None
40817
+ self._TopicId = None
40818
+ self._TopicName = None
40819
+ self._MetricTopicId = None
40820
+ self._MetricTopicName = None
40821
+ self._MachineGroupId = None
40822
+ self._MachineGroupName = None
40823
+ self._AppLogConfigId = None
40824
+ self._AppLogConfigName = None
40825
+ self._SessionLogConfigId = None
40826
+ self._SessionLogConfigName = None
40827
+ self._RequestId = None
40828
+
40829
+ @property
40830
+ def LogsetId(self):
40831
+ r"""<p>日志集id</p><p><a href="https://cloud.tencent.com/document/product/614/41034">日志集文档</a></p>
40832
+ :rtype: str
40833
+ """
40834
+ return self._LogsetId
40835
+
40836
+ @LogsetId.setter
40837
+ def LogsetId(self, LogsetId):
40838
+ self._LogsetId = LogsetId
40839
+
40840
+ @property
40841
+ def LogsetName(self):
40842
+ r"""<p>日志集名称</p>
40843
+ :rtype: str
40844
+ """
40845
+ return self._LogsetName
40846
+
40847
+ @LogsetName.setter
40848
+ def LogsetName(self, LogsetName):
40849
+ self._LogsetName = LogsetName
40850
+
40851
+ @property
40852
+ def TopicId(self):
40853
+ r"""<p>日志主题id</p><p><a href="https://cloud.tencent.com/document/product/614/41035">日志主题文档</a></p>
40854
+ :rtype: str
40855
+ """
40856
+ return self._TopicId
40857
+
40858
+ @TopicId.setter
40859
+ def TopicId(self, TopicId):
40860
+ self._TopicId = TopicId
40861
+
40862
+ @property
40863
+ def TopicName(self):
40864
+ r"""<p>日志主题名称</p>
40865
+ :rtype: str
40866
+ """
40867
+ return self._TopicName
40868
+
40869
+ @TopicName.setter
40870
+ def TopicName(self, TopicName):
40871
+ self._TopicName = TopicName
40872
+
40873
+ @property
40874
+ def MetricTopicId(self):
40875
+ r"""<p>指标主题id</p><p><a href="https://cloud.tencent.com/document/product/614/90328">指标主题文档</a></p>
40876
+ :rtype: str
40877
+ """
40878
+ return self._MetricTopicId
40879
+
40880
+ @MetricTopicId.setter
40881
+ def MetricTopicId(self, MetricTopicId):
40882
+ self._MetricTopicId = MetricTopicId
40883
+
40884
+ @property
40885
+ def MetricTopicName(self):
40886
+ r"""<p>指标主题名称</p>
40887
+ :rtype: str
40888
+ """
40889
+ return self._MetricTopicName
40890
+
40891
+ @MetricTopicName.setter
40892
+ def MetricTopicName(self, MetricTopicName):
40893
+ self._MetricTopicName = MetricTopicName
40894
+
40895
+ @property
40896
+ def MachineGroupId(self):
40897
+ r"""<p>机器组id</p><p><a href="https://cloud.tencent.com/document/product/614/17412">机器组文档</a></p>
40898
+ :rtype: str
40899
+ """
40900
+ return self._MachineGroupId
40901
+
40902
+ @MachineGroupId.setter
40903
+ def MachineGroupId(self, MachineGroupId):
40904
+ self._MachineGroupId = MachineGroupId
40905
+
40906
+ @property
40907
+ def MachineGroupName(self):
40908
+ r"""<p>机器组名称</p>
40909
+ :rtype: str
40910
+ """
40911
+ return self._MachineGroupName
40912
+
40913
+ @MachineGroupName.setter
40914
+ def MachineGroupName(self, MachineGroupName):
40915
+ self._MachineGroupName = MachineGroupName
40916
+
40917
+ @property
40918
+ def AppLogConfigId(self):
40919
+ r"""<p>采集配置id。应用日志</p><p><a href="https://cloud.tencent.com/document/product/614/33494">采集概述文档</a> - <a href="https://cloud.tencent.com/document/product/614/57497">LogListener 采集配置导入</a></p>
40920
+ :rtype: str
40921
+ """
40922
+ return self._AppLogConfigId
40923
+
40924
+ @AppLogConfigId.setter
40925
+ def AppLogConfigId(self, AppLogConfigId):
40926
+ self._AppLogConfigId = AppLogConfigId
40927
+
40928
+ @property
40929
+ def AppLogConfigName(self):
40930
+ r"""<p>采集配置名称。应用日志</p>
40931
+ :rtype: str
40932
+ """
40933
+ return self._AppLogConfigName
40934
+
40935
+ @AppLogConfigName.setter
40936
+ def AppLogConfigName(self, AppLogConfigName):
40937
+ self._AppLogConfigName = AppLogConfigName
40938
+
40939
+ @property
40940
+ def SessionLogConfigId(self):
40941
+ r"""<p>采集配置id。会话日志</p><p><a href="https://cloud.tencent.com/document/product/614/33494">采集概述文档</a> - <a href="https://cloud.tencent.com/document/product/614/57497">LogListener 采集配置导入</a></p>
40942
+ :rtype: str
40943
+ """
40944
+ return self._SessionLogConfigId
40945
+
40946
+ @SessionLogConfigId.setter
40947
+ def SessionLogConfigId(self, SessionLogConfigId):
40948
+ self._SessionLogConfigId = SessionLogConfigId
40949
+
40950
+ @property
40951
+ def SessionLogConfigName(self):
40952
+ r"""<p>采集配置名称。会话日志</p>
40953
+ :rtype: str
40954
+ """
40955
+ return self._SessionLogConfigName
40956
+
40957
+ @SessionLogConfigName.setter
40958
+ def SessionLogConfigName(self, SessionLogConfigName):
40959
+ self._SessionLogConfigName = SessionLogConfigName
40960
+
40961
+ @property
40962
+ def RequestId(self):
40963
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40964
+ :rtype: str
40965
+ """
40966
+ return self._RequestId
40967
+
40968
+ @RequestId.setter
40969
+ def RequestId(self, RequestId):
40970
+ self._RequestId = RequestId
40971
+
40972
+
40973
+ def _deserialize(self, params):
40974
+ self._LogsetId = params.get("LogsetId")
40975
+ self._LogsetName = params.get("LogsetName")
40976
+ self._TopicId = params.get("TopicId")
40977
+ self._TopicName = params.get("TopicName")
40978
+ self._MetricTopicId = params.get("MetricTopicId")
40979
+ self._MetricTopicName = params.get("MetricTopicName")
40980
+ self._MachineGroupId = params.get("MachineGroupId")
40981
+ self._MachineGroupName = params.get("MachineGroupName")
40982
+ self._AppLogConfigId = params.get("AppLogConfigId")
40983
+ self._AppLogConfigName = params.get("AppLogConfigName")
40984
+ self._SessionLogConfigId = params.get("SessionLogConfigId")
40985
+ self._SessionLogConfigName = params.get("SessionLogConfigName")
40986
+ self._RequestId = params.get("RequestId")
40987
+
40988
+
40745
40989
  class OpenKafkaConsumerRequest(AbstractModel):
40746
40990
  r"""OpenKafkaConsumer请求参数结构体
40747
40991
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.57
3
+ Version: 3.1.61
4
4
  Summary: Tencent Cloud Cls SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.57
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.61
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.61
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.57