tencentcloud-sdk-python-ckafka 3.0.1491__tar.gz → 3.1.1__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.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/setup.py +2 -1
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud_sdk_python_ckafka-3.1.1/tencentcloud/ckafka/v20190819/ckafka_client_async.py +1665 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud/ckafka/v20190819/models.py +280 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_ckafka-3.1.1/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ckafka-3.0.1491/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/README.rst +0 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.0.1491 → tencentcloud_sdk_python_ckafka-3.1.1}/tencentcloud_sdk_python_ckafka.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.1
|
|
4
4
|
Summary: Tencent Cloud Ckafka 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.1
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,8 @@ 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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -877,6 +877,29 @@ class CkafkaClient(AbstractClient):
|
|
|
877
877
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
878
|
|
|
879
879
|
|
|
880
|
+
def DescribeCkafkaVersion(self, request):
|
|
881
|
+
r"""查询实例版本信息
|
|
882
|
+
|
|
883
|
+
:param request: Request instance for DescribeCkafkaVersion.
|
|
884
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.DescribeCkafkaVersionRequest`
|
|
885
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DescribeCkafkaVersionResponse`
|
|
886
|
+
|
|
887
|
+
"""
|
|
888
|
+
try:
|
|
889
|
+
params = request._serialize()
|
|
890
|
+
headers = request.headers
|
|
891
|
+
body = self.call("DescribeCkafkaVersion", params, headers=headers)
|
|
892
|
+
response = json.loads(body)
|
|
893
|
+
model = models.DescribeCkafkaVersionResponse()
|
|
894
|
+
model._deserialize(response["Response"])
|
|
895
|
+
return model
|
|
896
|
+
except Exception as e:
|
|
897
|
+
if isinstance(e, TencentCloudSDKException):
|
|
898
|
+
raise
|
|
899
|
+
else:
|
|
900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
|
+
|
|
902
|
+
|
|
880
903
|
def DescribeCkafkaZone(self, request):
|
|
881
904
|
r"""用于查看ckafka的可用区列表
|
|
882
905
|
|
|
@@ -2067,6 +2090,29 @@ class CkafkaClient(AbstractClient):
|
|
|
2067
2090
|
model = models.SendMessageResponse()
|
|
2068
2091
|
model._deserialize(response["Response"])
|
|
2069
2092
|
return model
|
|
2093
|
+
except Exception as e:
|
|
2094
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2095
|
+
raise
|
|
2096
|
+
else:
|
|
2097
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
def UpgradeBrokerVersion(self, request):
|
|
2101
|
+
r"""broker版本升级
|
|
2102
|
+
|
|
2103
|
+
:param request: Request instance for UpgradeBrokerVersion.
|
|
2104
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.UpgradeBrokerVersionRequest`
|
|
2105
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.UpgradeBrokerVersionResponse`
|
|
2106
|
+
|
|
2107
|
+
"""
|
|
2108
|
+
try:
|
|
2109
|
+
params = request._serialize()
|
|
2110
|
+
headers = request.headers
|
|
2111
|
+
body = self.call("UpgradeBrokerVersion", params, headers=headers)
|
|
2112
|
+
response = json.loads(body)
|
|
2113
|
+
model = models.UpgradeBrokerVersionResponse()
|
|
2114
|
+
model._deserialize(response["Response"])
|
|
2115
|
+
return model
|
|
2070
2116
|
except Exception as e:
|
|
2071
2117
|
if isinstance(e, TencentCloudSDKException):
|
|
2072
2118
|
raise
|