tencentcloud-sdk-python-ckafka 3.1.1__tar.gz → 3.1.16__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_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
  5. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/ckafka/v20190819/ckafka_client_async.py +36 -0
  6. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
  7. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/ckafka/v20190819/models.py +857 -282
  8. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_ckafka-3.1.16/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_ckafka-3.1.1/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/README.rst +0 -0
  12. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/ckafka/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
  15. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.16}/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.1.1
3
+ Version: 3.1.16
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.1.1
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.16
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-ckafka',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.16,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ckafka SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.1'
17
+ __version__ = '3.1.16'
@@ -670,6 +670,29 @@ class CkafkaClient(AbstractClient):
670
670
  raise TencentCloudSDKException(type(e).__name__, str(e))
671
671
 
672
672
 
673
+ def DeleteGroupSubscribeTopic(self, request):
674
+ r"""删除消费分组订阅的topic(消费分组必须是Empty 状态)
675
+
676
+ :param request: Request instance for DeleteGroupSubscribeTopic.
677
+ :type request: :class:`tencentcloud.ckafka.v20190819.models.DeleteGroupSubscribeTopicRequest`
678
+ :rtype: :class:`tencentcloud.ckafka.v20190819.models.DeleteGroupSubscribeTopicResponse`
679
+
680
+ """
681
+ try:
682
+ params = request._serialize()
683
+ headers = request.headers
684
+ body = self.call("DeleteGroupSubscribeTopic", params, headers=headers)
685
+ response = json.loads(body)
686
+ model = models.DeleteGroupSubscribeTopicResponse()
687
+ model._deserialize(response["Response"])
688
+ return model
689
+ except Exception as e:
690
+ if isinstance(e, TencentCloudSDKException):
691
+ raise
692
+ else:
693
+ raise TencentCloudSDKException(type(e).__name__, str(e))
694
+
695
+
673
696
  def DeleteInstancePost(self, request):
674
697
  r"""删除后付费实例,通过调用API删除不会对连接器和任务进行关联预检查,直接进行实例销毁。
675
698
 
@@ -1268,6 +1291,29 @@ class CkafkaClient(AbstractClient):
1268
1291
  raise TencentCloudSDKException(type(e).__name__, str(e))
1269
1292
 
1270
1293
 
1294
+ def DescribeModifyType(self, request):
1295
+ r"""查询实例变配类型
1296
+
1297
+ :param request: Request instance for DescribeModifyType.
1298
+ :type request: :class:`tencentcloud.ckafka.v20190819.models.DescribeModifyTypeRequest`
1299
+ :rtype: :class:`tencentcloud.ckafka.v20190819.models.DescribeModifyTypeResponse`
1300
+
1301
+ """
1302
+ try:
1303
+ params = request._serialize()
1304
+ headers = request.headers
1305
+ body = self.call("DescribeModifyType", params, headers=headers)
1306
+ response = json.loads(body)
1307
+ model = models.DescribeModifyTypeResponse()
1308
+ model._deserialize(response["Response"])
1309
+ return model
1310
+ except Exception as e:
1311
+ if isinstance(e, TencentCloudSDKException):
1312
+ raise
1313
+ else:
1314
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1315
+
1316
+
1271
1317
  def DescribePrometheus(self, request):
1272
1318
  r"""获取实例Prometheus信息
1273
1319
 
@@ -529,6 +529,24 @@ class CkafkaClient(AbstractClient):
529
529
 
530
530
  return await self.call_and_deserialize(**kwargs)
531
531
 
532
+ async def DeleteGroupSubscribeTopic(
533
+ self,
534
+ request: models.DeleteGroupSubscribeTopicRequest,
535
+ opts: Dict = None,
536
+ ) -> models.DeleteGroupSubscribeTopicResponse:
537
+ """
538
+ 删除消费分组订阅的topic(消费分组必须是Empty 状态)
539
+ """
540
+
541
+ kwargs = {}
542
+ kwargs["action"] = "DeleteGroupSubscribeTopic"
543
+ kwargs["params"] = request._serialize()
544
+ kwargs["resp_cls"] = models.DeleteGroupSubscribeTopicResponse
545
+ kwargs["headers"] = request.headers
546
+ kwargs["opts"] = opts or {}
547
+
548
+ return await self.call_and_deserialize(**kwargs)
549
+
532
550
  async def DeleteInstancePost(
533
551
  self,
534
552
  request: models.DeleteInstancePostRequest,
@@ -997,6 +1015,24 @@ class CkafkaClient(AbstractClient):
997
1015
 
998
1016
  return await self.call_and_deserialize(**kwargs)
999
1017
 
1018
+ async def DescribeModifyType(
1019
+ self,
1020
+ request: models.DescribeModifyTypeRequest,
1021
+ opts: Dict = None,
1022
+ ) -> models.DescribeModifyTypeResponse:
1023
+ """
1024
+ 查询实例变配类型
1025
+ """
1026
+
1027
+ kwargs = {}
1028
+ kwargs["action"] = "DescribeModifyType"
1029
+ kwargs["params"] = request._serialize()
1030
+ kwargs["resp_cls"] = models.DescribeModifyTypeResponse
1031
+ kwargs["headers"] = request.headers
1032
+ kwargs["opts"] = opts or {}
1033
+
1034
+ return await self.call_and_deserialize(**kwargs)
1035
+
1000
1036
  async def DescribePrometheus(
1001
1037
  self,
1002
1038
  request: models.DescribePrometheusRequest,
@@ -101,6 +101,9 @@ RESOURCEUNAVAILABLE = 'ResourceUnavailable'
101
101
  # Broker 磁盘资源异常
102
102
  RESOURCEUNAVAILABLE_KAFKASTORAGEERROR = 'ResourceUnavailable.KafkaStorageError'
103
103
 
104
+ # 资源售罄。
105
+ RESOURCESSOLDOUT = 'ResourcesSoldOut'
106
+
104
107
  # 未授权操作。
105
108
  UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
106
109