tencentcloud-sdk-python-ckafka 3.0.1475__tar.gz → 3.0.1482__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_ckafka-3.0.1482/PKG-INFO +46 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/setup.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud/ckafka/v20190819/ckafka_client.py +69 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud/ckafka/v20190819/models.py +281 -0
- tencentcloud_sdk_python_ckafka-3.0.1482/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_ckafka-3.0.1482/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ckafka-3.0.1475/PKG-INFO +0 -45
- tencentcloud-sdk-python-ckafka-3.0.1475/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-ckafka-3.0.1475/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/README.rst +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/tencentcloud_sdk_python_ckafka.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
+
Version: 3.0.1482
|
|
4
|
+
Summary: Tencent Cloud Ckafka 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.1482
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Ckafka 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-ckafka
|
|
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 ckafka
|
|
46
|
+
|
{tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ckafka',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1482,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1982,6 +1982,29 @@ class CkafkaClient(AbstractClient):
|
|
|
1982
1982
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1983
1983
|
|
|
1984
1984
|
|
|
1985
|
+
def PauseDatahubTask(self, request):
|
|
1986
|
+
r"""暂停Dip任务
|
|
1987
|
+
|
|
1988
|
+
:param request: Request instance for PauseDatahubTask.
|
|
1989
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.PauseDatahubTaskRequest`
|
|
1990
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.PauseDatahubTaskResponse`
|
|
1991
|
+
|
|
1992
|
+
"""
|
|
1993
|
+
try:
|
|
1994
|
+
params = request._serialize()
|
|
1995
|
+
headers = request.headers
|
|
1996
|
+
body = self.call("PauseDatahubTask", params, headers=headers)
|
|
1997
|
+
response = json.loads(body)
|
|
1998
|
+
model = models.PauseDatahubTaskResponse()
|
|
1999
|
+
model._deserialize(response["Response"])
|
|
2000
|
+
return model
|
|
2001
|
+
except Exception as e:
|
|
2002
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2003
|
+
raise
|
|
2004
|
+
else:
|
|
2005
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2006
|
+
|
|
2007
|
+
|
|
1985
2008
|
def RenewCkafkaInstance(self, request):
|
|
1986
2009
|
r"""续费Ckafka实例, 目前只支持国内站包年包月实例续费
|
|
1987
2010
|
|
|
@@ -2005,6 +2028,52 @@ class CkafkaClient(AbstractClient):
|
|
|
2005
2028
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2006
2029
|
|
|
2007
2030
|
|
|
2031
|
+
def RestartDatahubTask(self, request):
|
|
2032
|
+
r"""Datahub任务异常时,重启Datahub任务
|
|
2033
|
+
|
|
2034
|
+
:param request: Request instance for RestartDatahubTask.
|
|
2035
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.RestartDatahubTaskRequest`
|
|
2036
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.RestartDatahubTaskResponse`
|
|
2037
|
+
|
|
2038
|
+
"""
|
|
2039
|
+
try:
|
|
2040
|
+
params = request._serialize()
|
|
2041
|
+
headers = request.headers
|
|
2042
|
+
body = self.call("RestartDatahubTask", params, headers=headers)
|
|
2043
|
+
response = json.loads(body)
|
|
2044
|
+
model = models.RestartDatahubTaskResponse()
|
|
2045
|
+
model._deserialize(response["Response"])
|
|
2046
|
+
return model
|
|
2047
|
+
except Exception as e:
|
|
2048
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2049
|
+
raise
|
|
2050
|
+
else:
|
|
2051
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
def ResumeDatahubTask(self, request):
|
|
2055
|
+
r"""恢复Dip任务
|
|
2056
|
+
|
|
2057
|
+
:param request: Request instance for ResumeDatahubTask.
|
|
2058
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.ResumeDatahubTaskRequest`
|
|
2059
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.ResumeDatahubTaskResponse`
|
|
2060
|
+
|
|
2061
|
+
"""
|
|
2062
|
+
try:
|
|
2063
|
+
params = request._serialize()
|
|
2064
|
+
headers = request.headers
|
|
2065
|
+
body = self.call("ResumeDatahubTask", params, headers=headers)
|
|
2066
|
+
response = json.loads(body)
|
|
2067
|
+
model = models.ResumeDatahubTaskResponse()
|
|
2068
|
+
model._deserialize(response["Response"])
|
|
2069
|
+
return model
|
|
2070
|
+
except Exception as e:
|
|
2071
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2072
|
+
raise
|
|
2073
|
+
else:
|
|
2074
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2075
|
+
|
|
2076
|
+
|
|
2008
2077
|
def SendMessage(self, request):
|
|
2009
2078
|
r"""通过HTTP接入层发送消息
|
|
2010
2079
|
|
|
@@ -22321,6 +22321,10 @@ class KafkaParam(AbstractModel):
|
|
|
22321
22321
|
:type KeepPartition: bool
|
|
22322
22322
|
:param _TopicRegularExpression: 正则匹配Topic列表
|
|
22323
22323
|
:type TopicRegularExpression: str
|
|
22324
|
+
:param _Prefix: Topic 前缀
|
|
22325
|
+
:type Prefix: str
|
|
22326
|
+
:param _Separator: Topic前缀分隔符
|
|
22327
|
+
:type Separator: str
|
|
22324
22328
|
"""
|
|
22325
22329
|
self._SelfBuilt = None
|
|
22326
22330
|
self._Resource = None
|
|
@@ -22341,6 +22345,8 @@ class KafkaParam(AbstractModel):
|
|
|
22341
22345
|
self._ConnectorSyncType = None
|
|
22342
22346
|
self._KeepPartition = None
|
|
22343
22347
|
self._TopicRegularExpression = None
|
|
22348
|
+
self._Prefix = None
|
|
22349
|
+
self._Separator = None
|
|
22344
22350
|
|
|
22345
22351
|
@property
|
|
22346
22352
|
def SelfBuilt(self):
|
|
@@ -22559,6 +22565,28 @@ class KafkaParam(AbstractModel):
|
|
|
22559
22565
|
def TopicRegularExpression(self, TopicRegularExpression):
|
|
22560
22566
|
self._TopicRegularExpression = TopicRegularExpression
|
|
22561
22567
|
|
|
22568
|
+
@property
|
|
22569
|
+
def Prefix(self):
|
|
22570
|
+
r"""Topic 前缀
|
|
22571
|
+
:rtype: str
|
|
22572
|
+
"""
|
|
22573
|
+
return self._Prefix
|
|
22574
|
+
|
|
22575
|
+
@Prefix.setter
|
|
22576
|
+
def Prefix(self, Prefix):
|
|
22577
|
+
self._Prefix = Prefix
|
|
22578
|
+
|
|
22579
|
+
@property
|
|
22580
|
+
def Separator(self):
|
|
22581
|
+
r"""Topic前缀分隔符
|
|
22582
|
+
:rtype: str
|
|
22583
|
+
"""
|
|
22584
|
+
return self._Separator
|
|
22585
|
+
|
|
22586
|
+
@Separator.setter
|
|
22587
|
+
def Separator(self, Separator):
|
|
22588
|
+
self._Separator = Separator
|
|
22589
|
+
|
|
22562
22590
|
|
|
22563
22591
|
def _deserialize(self, params):
|
|
22564
22592
|
self._SelfBuilt = params.get("SelfBuilt")
|
|
@@ -22585,6 +22613,8 @@ class KafkaParam(AbstractModel):
|
|
|
22585
22613
|
self._ConnectorSyncType = params.get("ConnectorSyncType")
|
|
22586
22614
|
self._KeepPartition = params.get("KeepPartition")
|
|
22587
22615
|
self._TopicRegularExpression = params.get("TopicRegularExpression")
|
|
22616
|
+
self._Prefix = params.get("Prefix")
|
|
22617
|
+
self._Separator = params.get("Separator")
|
|
22588
22618
|
memeber_set = set(params.keys())
|
|
22589
22619
|
for name, value in vars(self).items():
|
|
22590
22620
|
property_name = name[1:]
|
|
@@ -25659,6 +25689,7 @@ class MqttConnectParam(AbstractModel):
|
|
|
25659
25689
|
:param _SelfBuilt: 是否为自建集群
|
|
25660
25690
|
:type SelfBuilt: bool
|
|
25661
25691
|
:param _IsUpdate: 是否更新到关联的Dip任务
|
|
25692
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25662
25693
|
:type IsUpdate: bool
|
|
25663
25694
|
:param _Region: MQTT连接源的实例资源地域, 跨地域时必填
|
|
25664
25695
|
:type Region: str
|
|
@@ -25756,6 +25787,7 @@ class MqttConnectParam(AbstractModel):
|
|
|
25756
25787
|
@property
|
|
25757
25788
|
def IsUpdate(self):
|
|
25758
25789
|
r"""是否更新到关联的Dip任务
|
|
25790
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25759
25791
|
:rtype: bool
|
|
25760
25792
|
"""
|
|
25761
25793
|
return self._IsUpdate
|
|
@@ -26964,6 +26996,89 @@ class Partitions(AbstractModel):
|
|
|
26964
26996
|
|
|
26965
26997
|
|
|
26966
26998
|
|
|
26999
|
+
class PauseDatahubTaskRequest(AbstractModel):
|
|
27000
|
+
r"""PauseDatahubTask请求参数结构体
|
|
27001
|
+
|
|
27002
|
+
"""
|
|
27003
|
+
|
|
27004
|
+
def __init__(self):
|
|
27005
|
+
r"""
|
|
27006
|
+
:param _TaskId: 任务id
|
|
27007
|
+
:type TaskId: str
|
|
27008
|
+
"""
|
|
27009
|
+
self._TaskId = None
|
|
27010
|
+
|
|
27011
|
+
@property
|
|
27012
|
+
def TaskId(self):
|
|
27013
|
+
r"""任务id
|
|
27014
|
+
:rtype: str
|
|
27015
|
+
"""
|
|
27016
|
+
return self._TaskId
|
|
27017
|
+
|
|
27018
|
+
@TaskId.setter
|
|
27019
|
+
def TaskId(self, TaskId):
|
|
27020
|
+
self._TaskId = TaskId
|
|
27021
|
+
|
|
27022
|
+
|
|
27023
|
+
def _deserialize(self, params):
|
|
27024
|
+
self._TaskId = params.get("TaskId")
|
|
27025
|
+
memeber_set = set(params.keys())
|
|
27026
|
+
for name, value in vars(self).items():
|
|
27027
|
+
property_name = name[1:]
|
|
27028
|
+
if property_name in memeber_set:
|
|
27029
|
+
memeber_set.remove(property_name)
|
|
27030
|
+
if len(memeber_set) > 0:
|
|
27031
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27032
|
+
|
|
27033
|
+
|
|
27034
|
+
|
|
27035
|
+
class PauseDatahubTaskResponse(AbstractModel):
|
|
27036
|
+
r"""PauseDatahubTask返回参数结构体
|
|
27037
|
+
|
|
27038
|
+
"""
|
|
27039
|
+
|
|
27040
|
+
def __init__(self):
|
|
27041
|
+
r"""
|
|
27042
|
+
:param _Result: 任务id
|
|
27043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27044
|
+
:type Result: :class:`tencentcloud.ckafka.v20190819.models.DatahubTaskIdRes`
|
|
27045
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27046
|
+
:type RequestId: str
|
|
27047
|
+
"""
|
|
27048
|
+
self._Result = None
|
|
27049
|
+
self._RequestId = None
|
|
27050
|
+
|
|
27051
|
+
@property
|
|
27052
|
+
def Result(self):
|
|
27053
|
+
r"""任务id
|
|
27054
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27055
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DatahubTaskIdRes`
|
|
27056
|
+
"""
|
|
27057
|
+
return self._Result
|
|
27058
|
+
|
|
27059
|
+
@Result.setter
|
|
27060
|
+
def Result(self, Result):
|
|
27061
|
+
self._Result = Result
|
|
27062
|
+
|
|
27063
|
+
@property
|
|
27064
|
+
def RequestId(self):
|
|
27065
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27066
|
+
:rtype: str
|
|
27067
|
+
"""
|
|
27068
|
+
return self._RequestId
|
|
27069
|
+
|
|
27070
|
+
@RequestId.setter
|
|
27071
|
+
def RequestId(self, RequestId):
|
|
27072
|
+
self._RequestId = RequestId
|
|
27073
|
+
|
|
27074
|
+
|
|
27075
|
+
def _deserialize(self, params):
|
|
27076
|
+
if params.get("Result") is not None:
|
|
27077
|
+
self._Result = DatahubTaskIdRes()
|
|
27078
|
+
self._Result._deserialize(params.get("Result"))
|
|
27079
|
+
self._RequestId = params.get("RequestId")
|
|
27080
|
+
|
|
27081
|
+
|
|
26967
27082
|
class PostgreSQLConnectParam(AbstractModel):
|
|
26968
27083
|
r"""PostgreSQL连接源参数
|
|
26969
27084
|
|
|
@@ -28340,6 +28455,172 @@ class ReplaceParam(AbstractModel):
|
|
|
28340
28455
|
|
|
28341
28456
|
|
|
28342
28457
|
|
|
28458
|
+
class RestartDatahubTaskRequest(AbstractModel):
|
|
28459
|
+
r"""RestartDatahubTask请求参数结构体
|
|
28460
|
+
|
|
28461
|
+
"""
|
|
28462
|
+
|
|
28463
|
+
def __init__(self):
|
|
28464
|
+
r"""
|
|
28465
|
+
:param _TaskId: 任务id
|
|
28466
|
+
:type TaskId: str
|
|
28467
|
+
"""
|
|
28468
|
+
self._TaskId = None
|
|
28469
|
+
|
|
28470
|
+
@property
|
|
28471
|
+
def TaskId(self):
|
|
28472
|
+
r"""任务id
|
|
28473
|
+
:rtype: str
|
|
28474
|
+
"""
|
|
28475
|
+
return self._TaskId
|
|
28476
|
+
|
|
28477
|
+
@TaskId.setter
|
|
28478
|
+
def TaskId(self, TaskId):
|
|
28479
|
+
self._TaskId = TaskId
|
|
28480
|
+
|
|
28481
|
+
|
|
28482
|
+
def _deserialize(self, params):
|
|
28483
|
+
self._TaskId = params.get("TaskId")
|
|
28484
|
+
memeber_set = set(params.keys())
|
|
28485
|
+
for name, value in vars(self).items():
|
|
28486
|
+
property_name = name[1:]
|
|
28487
|
+
if property_name in memeber_set:
|
|
28488
|
+
memeber_set.remove(property_name)
|
|
28489
|
+
if len(memeber_set) > 0:
|
|
28490
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28491
|
+
|
|
28492
|
+
|
|
28493
|
+
|
|
28494
|
+
class RestartDatahubTaskResponse(AbstractModel):
|
|
28495
|
+
r"""RestartDatahubTask返回参数结构体
|
|
28496
|
+
|
|
28497
|
+
"""
|
|
28498
|
+
|
|
28499
|
+
def __init__(self):
|
|
28500
|
+
r"""
|
|
28501
|
+
:param _Result: 任务id
|
|
28502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28503
|
+
:type Result: :class:`tencentcloud.ckafka.v20190819.models.DatahubTaskIdRes`
|
|
28504
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28505
|
+
:type RequestId: str
|
|
28506
|
+
"""
|
|
28507
|
+
self._Result = None
|
|
28508
|
+
self._RequestId = None
|
|
28509
|
+
|
|
28510
|
+
@property
|
|
28511
|
+
def Result(self):
|
|
28512
|
+
r"""任务id
|
|
28513
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28514
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DatahubTaskIdRes`
|
|
28515
|
+
"""
|
|
28516
|
+
return self._Result
|
|
28517
|
+
|
|
28518
|
+
@Result.setter
|
|
28519
|
+
def Result(self, Result):
|
|
28520
|
+
self._Result = Result
|
|
28521
|
+
|
|
28522
|
+
@property
|
|
28523
|
+
def RequestId(self):
|
|
28524
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28525
|
+
:rtype: str
|
|
28526
|
+
"""
|
|
28527
|
+
return self._RequestId
|
|
28528
|
+
|
|
28529
|
+
@RequestId.setter
|
|
28530
|
+
def RequestId(self, RequestId):
|
|
28531
|
+
self._RequestId = RequestId
|
|
28532
|
+
|
|
28533
|
+
|
|
28534
|
+
def _deserialize(self, params):
|
|
28535
|
+
if params.get("Result") is not None:
|
|
28536
|
+
self._Result = DatahubTaskIdRes()
|
|
28537
|
+
self._Result._deserialize(params.get("Result"))
|
|
28538
|
+
self._RequestId = params.get("RequestId")
|
|
28539
|
+
|
|
28540
|
+
|
|
28541
|
+
class ResumeDatahubTaskRequest(AbstractModel):
|
|
28542
|
+
r"""ResumeDatahubTask请求参数结构体
|
|
28543
|
+
|
|
28544
|
+
"""
|
|
28545
|
+
|
|
28546
|
+
def __init__(self):
|
|
28547
|
+
r"""
|
|
28548
|
+
:param _TaskId: 任务id
|
|
28549
|
+
:type TaskId: str
|
|
28550
|
+
"""
|
|
28551
|
+
self._TaskId = None
|
|
28552
|
+
|
|
28553
|
+
@property
|
|
28554
|
+
def TaskId(self):
|
|
28555
|
+
r"""任务id
|
|
28556
|
+
:rtype: str
|
|
28557
|
+
"""
|
|
28558
|
+
return self._TaskId
|
|
28559
|
+
|
|
28560
|
+
@TaskId.setter
|
|
28561
|
+
def TaskId(self, TaskId):
|
|
28562
|
+
self._TaskId = TaskId
|
|
28563
|
+
|
|
28564
|
+
|
|
28565
|
+
def _deserialize(self, params):
|
|
28566
|
+
self._TaskId = params.get("TaskId")
|
|
28567
|
+
memeber_set = set(params.keys())
|
|
28568
|
+
for name, value in vars(self).items():
|
|
28569
|
+
property_name = name[1:]
|
|
28570
|
+
if property_name in memeber_set:
|
|
28571
|
+
memeber_set.remove(property_name)
|
|
28572
|
+
if len(memeber_set) > 0:
|
|
28573
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28574
|
+
|
|
28575
|
+
|
|
28576
|
+
|
|
28577
|
+
class ResumeDatahubTaskResponse(AbstractModel):
|
|
28578
|
+
r"""ResumeDatahubTask返回参数结构体
|
|
28579
|
+
|
|
28580
|
+
"""
|
|
28581
|
+
|
|
28582
|
+
def __init__(self):
|
|
28583
|
+
r"""
|
|
28584
|
+
:param _Result: 任务id
|
|
28585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28586
|
+
:type Result: :class:`tencentcloud.ckafka.v20190819.models.DatahubTaskIdRes`
|
|
28587
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28588
|
+
:type RequestId: str
|
|
28589
|
+
"""
|
|
28590
|
+
self._Result = None
|
|
28591
|
+
self._RequestId = None
|
|
28592
|
+
|
|
28593
|
+
@property
|
|
28594
|
+
def Result(self):
|
|
28595
|
+
r"""任务id
|
|
28596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28597
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DatahubTaskIdRes`
|
|
28598
|
+
"""
|
|
28599
|
+
return self._Result
|
|
28600
|
+
|
|
28601
|
+
@Result.setter
|
|
28602
|
+
def Result(self, Result):
|
|
28603
|
+
self._Result = Result
|
|
28604
|
+
|
|
28605
|
+
@property
|
|
28606
|
+
def RequestId(self):
|
|
28607
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28608
|
+
:rtype: str
|
|
28609
|
+
"""
|
|
28610
|
+
return self._RequestId
|
|
28611
|
+
|
|
28612
|
+
@RequestId.setter
|
|
28613
|
+
def RequestId(self, RequestId):
|
|
28614
|
+
self._RequestId = RequestId
|
|
28615
|
+
|
|
28616
|
+
|
|
28617
|
+
def _deserialize(self, params):
|
|
28618
|
+
if params.get("Result") is not None:
|
|
28619
|
+
self._Result = DatahubTaskIdRes()
|
|
28620
|
+
self._Result._deserialize(params.get("Result"))
|
|
28621
|
+
self._RequestId = params.get("RequestId")
|
|
28622
|
+
|
|
28623
|
+
|
|
28343
28624
|
class Route(AbstractModel):
|
|
28344
28625
|
r"""路由实体对象
|
|
28345
28626
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
+
Version: 3.0.1482
|
|
4
|
+
Summary: Tencent Cloud Ckafka 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.1482
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Ckafka 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-ckafka
|
|
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 ckafka
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
-
Version: 3.0.1475
|
|
4
|
-
Summary: Tencent Cloud Ckafka 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
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Ckafka 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.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-ckafka
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common ckafka
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
-
Version: 3.0.1475
|
|
4
|
-
Summary: Tencent Cloud Ckafka 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
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Ckafka 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.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-ckafka
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common ckafka
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
tencentcloud-sdk-python-ckafka-3.0.1475/tencentcloud_sdk_python_ckafka.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1475
|
{tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-ckafka-3.0.1475 → tencentcloud_sdk_python_ckafka-3.0.1482}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|