tencentcloud-sdk-python-cls 3.0.1192__tar.gz → 3.0.1201__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.1192 → tencentcloud-sdk-python-cls-3.0.1201}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud/cls/v20201016/cls_client.py +0 -12
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud/cls/v20201016/models.py +33 -10
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1201/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1192/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1192 → tencentcloud-sdk-python-cls-3.0.1201}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -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.1201"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2250,18 +2250,6 @@ class ClsClient(AbstractClient):
|
|
|
2250
2250
|
|
|
2251
2251
|
本接口用于将日志写入到指定的日志主题。
|
|
2252
2252
|
|
|
2253
|
-
日志服务提供以下两种模式:
|
|
2254
|
-
|
|
2255
|
-
#### 负载均衡模式
|
|
2256
|
-
|
|
2257
|
-
系统根据当前日志主题下所有可读写的分区,遵循负载均衡原则自动分配写入的目标分区。该模式适合消费不保序的场景。
|
|
2258
|
-
|
|
2259
|
-
#### 哈希路由模式
|
|
2260
|
-
|
|
2261
|
-
系统根据携带的哈希值(X-CLS-HashKey)将数据写入到符合范围要求的目标分区。例如,可以将某个日志源端通过 hashkey 与某个主题分区强绑定,这样可以保证数据在该分区上写入和消费是严格保序的。
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
2253
|
#### 输入参数(pb二进制流,位于body中)
|
|
2266
2254
|
|
|
2267
2255
|
| 字段名 | 类型 | 位置 | 必须 | 含义 |
|
|
@@ -7313,6 +7313,9 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7313
7313
|
:type DstResources: list of DataTransformResouceInfo
|
|
7314
7314
|
:param _EtlContent: 加工逻辑函数。
|
|
7315
7315
|
:type EtlContent: str
|
|
7316
|
+
:param _DataTransformType: 数据加工类型。0:标准加工任务;1:前置加工任务。
|
|
7317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7318
|
+
:type DataTransformType: int
|
|
7316
7319
|
"""
|
|
7317
7320
|
self._Name = None
|
|
7318
7321
|
self._TaskId = None
|
|
@@ -7327,6 +7330,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7327
7330
|
self._LogsetId = None
|
|
7328
7331
|
self._DstResources = None
|
|
7329
7332
|
self._EtlContent = None
|
|
7333
|
+
self._DataTransformType = None
|
|
7330
7334
|
|
|
7331
7335
|
@property
|
|
7332
7336
|
def Name(self):
|
|
@@ -7432,6 +7436,14 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7432
7436
|
def EtlContent(self, EtlContent):
|
|
7433
7437
|
self._EtlContent = EtlContent
|
|
7434
7438
|
|
|
7439
|
+
@property
|
|
7440
|
+
def DataTransformType(self):
|
|
7441
|
+
return self._DataTransformType
|
|
7442
|
+
|
|
7443
|
+
@DataTransformType.setter
|
|
7444
|
+
def DataTransformType(self, DataTransformType):
|
|
7445
|
+
self._DataTransformType = DataTransformType
|
|
7446
|
+
|
|
7435
7447
|
|
|
7436
7448
|
def _deserialize(self, params):
|
|
7437
7449
|
self._Name = params.get("Name")
|
|
@@ -7452,6 +7464,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
7452
7464
|
obj._deserialize(item)
|
|
7453
7465
|
self._DstResources.append(obj)
|
|
7454
7466
|
self._EtlContent = params.get("EtlContent")
|
|
7467
|
+
self._DataTransformType = params.get("DataTransformType")
|
|
7455
7468
|
memeber_set = set(params.keys())
|
|
7456
7469
|
for name, value in vars(self).items():
|
|
7457
7470
|
property_name = name[1:]
|
|
@@ -9837,25 +9850,31 @@ class DescribeDataTransformInfoRequest(AbstractModel):
|
|
|
9837
9850
|
|
|
9838
9851
|
def __init__(self):
|
|
9839
9852
|
r"""
|
|
9840
|
-
:param _Filters:
|
|
9841
|
-
|
|
9853
|
+
:param _Filters: - taskName
|
|
9842
9854
|
按照【加工任务名称】进行过滤。
|
|
9843
9855
|
类型:String
|
|
9844
|
-
|
|
9845
9856
|
必选:否
|
|
9846
9857
|
|
|
9847
|
-
|
|
9848
|
-
|
|
9858
|
+
- taskId
|
|
9849
9859
|
按照【加工任务id】进行过滤。
|
|
9850
9860
|
类型:String
|
|
9851
|
-
|
|
9852
9861
|
必选:否
|
|
9853
9862
|
|
|
9854
|
-
|
|
9855
|
-
|
|
9863
|
+
- topicId
|
|
9856
9864
|
按照【源topicId】进行过滤。
|
|
9857
9865
|
类型:String
|
|
9858
|
-
|
|
9866
|
+
必选:否
|
|
9867
|
+
- status
|
|
9868
|
+
按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止
|
|
9869
|
+
类型:String
|
|
9870
|
+
必选:否
|
|
9871
|
+
- hasServiceLog
|
|
9872
|
+
按照【是否开启服务日志】进行过滤。 1:未开启,2:已开启
|
|
9873
|
+
类型:String
|
|
9874
|
+
必选:否
|
|
9875
|
+
- dstTopicType
|
|
9876
|
+
按照【目标topic类型】进行过滤。 1:固定,2:动态
|
|
9877
|
+
类型:String
|
|
9859
9878
|
必选:否
|
|
9860
9879
|
|
|
9861
9880
|
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
@@ -21544,7 +21563,7 @@ class UploadLogRequest(AbstractModel):
|
|
|
21544
21563
|
r"""
|
|
21545
21564
|
:param _TopicId: 主题id
|
|
21546
21565
|
:type TopicId: str
|
|
21547
|
-
:param _HashKey:
|
|
21566
|
+
:param _HashKey: 该参数已废弃,请勿使用
|
|
21548
21567
|
:type HashKey: str
|
|
21549
21568
|
:param _CompressType: 压缩方法
|
|
21550
21569
|
:type CompressType: str
|
|
@@ -21563,10 +21582,14 @@ class UploadLogRequest(AbstractModel):
|
|
|
21563
21582
|
|
|
21564
21583
|
@property
|
|
21565
21584
|
def HashKey(self):
|
|
21585
|
+
warnings.warn("parameter `HashKey` is deprecated", DeprecationWarning)
|
|
21586
|
+
|
|
21566
21587
|
return self._HashKey
|
|
21567
21588
|
|
|
21568
21589
|
@HashKey.setter
|
|
21569
21590
|
def HashKey(self, HashKey):
|
|
21591
|
+
warnings.warn("parameter `HashKey` is deprecated", DeprecationWarning)
|
|
21592
|
+
|
|
21570
21593
|
self._HashKey = HashKey
|
|
21571
21594
|
|
|
21572
21595
|
@property
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1201
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1192
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|