tencentcloud-sdk-python-cls 3.0.1469__tar.gz → 3.0.1487__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.
- tencentcloud_sdk_python_cls-3.0.1487/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud/cls/v20201016/cls_client.py +4 -4
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud/cls/v20201016/errorcodes.py +9 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud/cls/v20201016/models.py +651 -67
- tencentcloud_sdk_python_cls-3.0.1487/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_cls-3.0.1487/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1469/PKG-INFO +0 -45
- tencentcloud-sdk-python-cls-3.0.1469/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cls-3.0.1469/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1469 → tencentcloud_sdk_python_cls-3.0.1487}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cls
|
|
3
|
+
Version: 3.0.1487
|
|
4
|
+
Summary: Tencent Cloud Cls SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1487
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cls SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cls
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cls
|
|
46
|
+
|
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1487,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -609,7 +609,7 @@ class ClsClient(AbstractClient):
|
|
|
609
609
|
|
|
610
610
|
|
|
611
611
|
def CreateTopic(self, request):
|
|
612
|
-
r"""
|
|
612
|
+
r"""本接口用于创建日志或指标主题。
|
|
613
613
|
|
|
614
614
|
:param request: Request instance for CreateTopic.
|
|
615
615
|
:type request: :class:`tencentcloud.cls.v20201016.models.CreateTopicRequest`
|
|
@@ -1138,7 +1138,7 @@ class ClsClient(AbstractClient):
|
|
|
1138
1138
|
|
|
1139
1139
|
|
|
1140
1140
|
def DeleteTopic(self, request):
|
|
1141
|
-
r"""
|
|
1141
|
+
r"""本接口用于删除日志或指标主题。
|
|
1142
1142
|
|
|
1143
1143
|
:param request: Request instance for DeleteTopic.
|
|
1144
1144
|
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteTopicRequest`
|
|
@@ -1898,7 +1898,7 @@ class ClsClient(AbstractClient):
|
|
|
1898
1898
|
|
|
1899
1899
|
|
|
1900
1900
|
def DescribeTopics(self, request):
|
|
1901
|
-
r"""
|
|
1901
|
+
r"""本接口用于获取日志或指标主题列表,支持分页
|
|
1902
1902
|
|
|
1903
1903
|
:param request: Request instance for DescribeTopics.
|
|
1904
1904
|
:type request: :class:`tencentcloud.cls.v20201016.models.DescribeTopicsRequest`
|
|
@@ -2451,7 +2451,7 @@ class ClsClient(AbstractClient):
|
|
|
2451
2451
|
|
|
2452
2452
|
|
|
2453
2453
|
def ModifyTopic(self, request):
|
|
2454
|
-
r"""
|
|
2454
|
+
r"""本接口用于修改日志或指标主题。
|
|
2455
2455
|
|
|
2456
2456
|
:param request: Request instance for ModifyTopic.
|
|
2457
2457
|
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyTopicRequest`
|
|
@@ -188,6 +188,12 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
|
188
188
|
# 超过配额限制。
|
|
189
189
|
LIMITEXCEEDED = 'LimitExceeded'
|
|
190
190
|
|
|
191
|
+
# 一个billing topic只能创建一个cos采集配置
|
|
192
|
+
LIMITEXCEEDED_BILLINGCOSRECHARGEOUTOFLIMIT = 'LimitExceeded.BillingCosRechargeOutOfLimit'
|
|
193
|
+
|
|
194
|
+
# 一个uin只能创建一个billing topic
|
|
195
|
+
LIMITEXCEEDED_BILLINGTOPICOUTOFLIMIT = 'LimitExceeded.BillingTopicOutOfLimit'
|
|
196
|
+
|
|
191
197
|
# 采集规则配置超过最大值限制。
|
|
192
198
|
LIMITEXCEEDED_CONFIG = 'LimitExceeded.Config'
|
|
193
199
|
|
|
@@ -343,3 +349,6 @@ UNKNOWNPARAMETER = 'UnknownParameter'
|
|
|
343
349
|
|
|
344
350
|
# 操作不支持。
|
|
345
351
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
352
|
+
|
|
353
|
+
# billing topic不允许修改cos导入配置
|
|
354
|
+
UNSUPPORTEDOPERATION_MODIFYBILLINGCOSRECHARGENOSUPPORT = 'UnsupportedOperation.ModifyBillingCosRechargeNoSupport'
|