tencentcloud-sdk-python-ckafka 3.0.936__tar.gz → 3.0.947__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.936 → tencentcloud-sdk-python-ckafka-3.0.947}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud/ckafka/v20190819/ckafka_client.py +102 -79
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud/ckafka/v20190819/models.py +231 -1
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/README.rst +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/setup.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/tencentcloud_sdk_python_ckafka.egg-info/top_level.txt +0 -0
|
@@ -46,7 +46,7 @@ class CkafkaClient(AbstractClient):
|
|
|
46
46
|
if isinstance(e, TencentCloudSDKException):
|
|
47
47
|
raise
|
|
48
48
|
else:
|
|
49
|
-
raise TencentCloudSDKException(e.
|
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def BatchCreateAcl(self, request):
|
|
@@ -69,7 +69,7 @@ class CkafkaClient(AbstractClient):
|
|
|
69
69
|
if isinstance(e, TencentCloudSDKException):
|
|
70
70
|
raise
|
|
71
71
|
else:
|
|
72
|
-
raise TencentCloudSDKException(e.
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def BatchModifyGroupOffsets(self, request):
|
|
@@ -92,7 +92,7 @@ class CkafkaClient(AbstractClient):
|
|
|
92
92
|
if isinstance(e, TencentCloudSDKException):
|
|
93
93
|
raise
|
|
94
94
|
else:
|
|
95
|
-
raise TencentCloudSDKException(e.
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def BatchModifyTopicAttributes(self, request):
|
|
@@ -115,7 +115,7 @@ class CkafkaClient(AbstractClient):
|
|
|
115
115
|
if isinstance(e, TencentCloudSDKException):
|
|
116
116
|
raise
|
|
117
117
|
else:
|
|
118
|
-
raise TencentCloudSDKException(e.
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
def CancelAuthorizationToken(self, request):
|
|
@@ -138,7 +138,7 @@ class CkafkaClient(AbstractClient):
|
|
|
138
138
|
if isinstance(e, TencentCloudSDKException):
|
|
139
139
|
raise
|
|
140
140
|
else:
|
|
141
|
-
raise TencentCloudSDKException(e.
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
def CheckCdcCluster(self, request):
|
|
@@ -161,7 +161,7 @@ class CkafkaClient(AbstractClient):
|
|
|
161
161
|
if isinstance(e, TencentCloudSDKException):
|
|
162
162
|
raise
|
|
163
163
|
else:
|
|
164
|
-
raise TencentCloudSDKException(e.
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def CreateAcl(self, request):
|
|
@@ -184,7 +184,7 @@ class CkafkaClient(AbstractClient):
|
|
|
184
184
|
if isinstance(e, TencentCloudSDKException):
|
|
185
185
|
raise
|
|
186
186
|
else:
|
|
187
|
-
raise TencentCloudSDKException(e.
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
def CreateAclRule(self, request):
|
|
@@ -207,7 +207,7 @@ class CkafkaClient(AbstractClient):
|
|
|
207
207
|
if isinstance(e, TencentCloudSDKException):
|
|
208
208
|
raise
|
|
209
209
|
else:
|
|
210
|
-
raise TencentCloudSDKException(e.
|
|
210
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
def CreateCdcCluster(self, request):
|
|
@@ -230,7 +230,7 @@ class CkafkaClient(AbstractClient):
|
|
|
230
230
|
if isinstance(e, TencentCloudSDKException):
|
|
231
231
|
raise
|
|
232
232
|
else:
|
|
233
|
-
raise TencentCloudSDKException(e.
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
def CreateConnectResource(self, request):
|
|
@@ -253,7 +253,7 @@ class CkafkaClient(AbstractClient):
|
|
|
253
253
|
if isinstance(e, TencentCloudSDKException):
|
|
254
254
|
raise
|
|
255
255
|
else:
|
|
256
|
-
raise TencentCloudSDKException(e.
|
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
def CreateConsumer(self, request):
|
|
@@ -276,7 +276,7 @@ class CkafkaClient(AbstractClient):
|
|
|
276
276
|
if isinstance(e, TencentCloudSDKException):
|
|
277
277
|
raise
|
|
278
278
|
else:
|
|
279
|
-
raise TencentCloudSDKException(e.
|
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
def CreateDatahubTask(self, request):
|
|
@@ -299,7 +299,7 @@ class CkafkaClient(AbstractClient):
|
|
|
299
299
|
if isinstance(e, TencentCloudSDKException):
|
|
300
300
|
raise
|
|
301
301
|
else:
|
|
302
|
-
raise TencentCloudSDKException(e.
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
303
|
|
|
304
304
|
|
|
305
305
|
def CreateDatahubTopic(self, request):
|
|
@@ -322,7 +322,7 @@ class CkafkaClient(AbstractClient):
|
|
|
322
322
|
if isinstance(e, TencentCloudSDKException):
|
|
323
323
|
raise
|
|
324
324
|
else:
|
|
325
|
-
raise TencentCloudSDKException(e.
|
|
325
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
def CreateInstancePost(self, request):
|
|
@@ -345,7 +345,7 @@ class CkafkaClient(AbstractClient):
|
|
|
345
345
|
if isinstance(e, TencentCloudSDKException):
|
|
346
346
|
raise
|
|
347
347
|
else:
|
|
348
|
-
raise TencentCloudSDKException(e.
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
349
|
|
|
350
350
|
|
|
351
351
|
def CreateInstancePre(self, request):
|
|
@@ -368,7 +368,7 @@ class CkafkaClient(AbstractClient):
|
|
|
368
368
|
if isinstance(e, TencentCloudSDKException):
|
|
369
369
|
raise
|
|
370
370
|
else:
|
|
371
|
-
raise TencentCloudSDKException(e.
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
372
|
|
|
373
373
|
|
|
374
374
|
def CreatePartition(self, request):
|
|
@@ -391,7 +391,7 @@ class CkafkaClient(AbstractClient):
|
|
|
391
391
|
if isinstance(e, TencentCloudSDKException):
|
|
392
392
|
raise
|
|
393
393
|
else:
|
|
394
|
-
raise TencentCloudSDKException(e.
|
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
395
|
|
|
396
396
|
|
|
397
397
|
def CreatePostPaidInstance(self, request):
|
|
@@ -414,7 +414,7 @@ class CkafkaClient(AbstractClient):
|
|
|
414
414
|
if isinstance(e, TencentCloudSDKException):
|
|
415
415
|
raise
|
|
416
416
|
else:
|
|
417
|
-
raise TencentCloudSDKException(e.
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
418
|
|
|
419
419
|
|
|
420
420
|
def CreateRoute(self, request):
|
|
@@ -437,7 +437,7 @@ class CkafkaClient(AbstractClient):
|
|
|
437
437
|
if isinstance(e, TencentCloudSDKException):
|
|
438
438
|
raise
|
|
439
439
|
else:
|
|
440
|
-
raise TencentCloudSDKException(e.
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
441
|
|
|
442
442
|
|
|
443
443
|
def CreateToken(self, request):
|
|
@@ -460,7 +460,7 @@ class CkafkaClient(AbstractClient):
|
|
|
460
460
|
if isinstance(e, TencentCloudSDKException):
|
|
461
461
|
raise
|
|
462
462
|
else:
|
|
463
|
-
raise TencentCloudSDKException(e.
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
def CreateTopic(self, request):
|
|
@@ -483,7 +483,7 @@ class CkafkaClient(AbstractClient):
|
|
|
483
483
|
if isinstance(e, TencentCloudSDKException):
|
|
484
484
|
raise
|
|
485
485
|
else:
|
|
486
|
-
raise TencentCloudSDKException(e.
|
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
487
|
|
|
488
488
|
|
|
489
489
|
def CreateTopicIpWhiteList(self, request):
|
|
@@ -506,7 +506,7 @@ class CkafkaClient(AbstractClient):
|
|
|
506
506
|
if isinstance(e, TencentCloudSDKException):
|
|
507
507
|
raise
|
|
508
508
|
else:
|
|
509
|
-
raise TencentCloudSDKException(e.
|
|
509
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
510
510
|
|
|
511
511
|
|
|
512
512
|
def CreateUser(self, request):
|
|
@@ -529,7 +529,7 @@ class CkafkaClient(AbstractClient):
|
|
|
529
529
|
if isinstance(e, TencentCloudSDKException):
|
|
530
530
|
raise
|
|
531
531
|
else:
|
|
532
|
-
raise TencentCloudSDKException(e.
|
|
532
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
def DeleteAcl(self, request):
|
|
@@ -552,7 +552,7 @@ class CkafkaClient(AbstractClient):
|
|
|
552
552
|
if isinstance(e, TencentCloudSDKException):
|
|
553
553
|
raise
|
|
554
554
|
else:
|
|
555
|
-
raise TencentCloudSDKException(e.
|
|
555
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
556
556
|
|
|
557
557
|
|
|
558
558
|
def DeleteAclRule(self, request):
|
|
@@ -575,7 +575,7 @@ class CkafkaClient(AbstractClient):
|
|
|
575
575
|
if isinstance(e, TencentCloudSDKException):
|
|
576
576
|
raise
|
|
577
577
|
else:
|
|
578
|
-
raise TencentCloudSDKException(e.
|
|
578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
579
579
|
|
|
580
580
|
|
|
581
581
|
def DeleteConnectResource(self, request):
|
|
@@ -598,7 +598,7 @@ class CkafkaClient(AbstractClient):
|
|
|
598
598
|
if isinstance(e, TencentCloudSDKException):
|
|
599
599
|
raise
|
|
600
600
|
else:
|
|
601
|
-
raise TencentCloudSDKException(e.
|
|
601
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
602
602
|
|
|
603
603
|
|
|
604
604
|
def DeleteDatahubTask(self, request):
|
|
@@ -621,7 +621,7 @@ class CkafkaClient(AbstractClient):
|
|
|
621
621
|
if isinstance(e, TencentCloudSDKException):
|
|
622
622
|
raise
|
|
623
623
|
else:
|
|
624
|
-
raise TencentCloudSDKException(e.
|
|
624
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
625
625
|
|
|
626
626
|
|
|
627
627
|
def DeleteDatahubTopic(self, request):
|
|
@@ -644,7 +644,7 @@ class CkafkaClient(AbstractClient):
|
|
|
644
644
|
if isinstance(e, TencentCloudSDKException):
|
|
645
645
|
raise
|
|
646
646
|
else:
|
|
647
|
-
raise TencentCloudSDKException(e.
|
|
647
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
648
648
|
|
|
649
649
|
|
|
650
650
|
def DeleteGroup(self, request):
|
|
@@ -667,7 +667,7 @@ class CkafkaClient(AbstractClient):
|
|
|
667
667
|
if isinstance(e, TencentCloudSDKException):
|
|
668
668
|
raise
|
|
669
669
|
else:
|
|
670
|
-
raise TencentCloudSDKException(e.
|
|
670
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
671
|
|
|
672
672
|
|
|
673
673
|
def DeleteInstancePre(self, request):
|
|
@@ -690,7 +690,7 @@ class CkafkaClient(AbstractClient):
|
|
|
690
690
|
if isinstance(e, TencentCloudSDKException):
|
|
691
691
|
raise
|
|
692
692
|
else:
|
|
693
|
-
raise TencentCloudSDKException(e.
|
|
693
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
694
694
|
|
|
695
695
|
|
|
696
696
|
def DeleteRoute(self, request):
|
|
@@ -713,7 +713,7 @@ class CkafkaClient(AbstractClient):
|
|
|
713
713
|
if isinstance(e, TencentCloudSDKException):
|
|
714
714
|
raise
|
|
715
715
|
else:
|
|
716
|
-
raise TencentCloudSDKException(e.
|
|
716
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
717
717
|
|
|
718
718
|
|
|
719
719
|
def DeleteRouteTriggerTime(self, request):
|
|
@@ -736,7 +736,7 @@ class CkafkaClient(AbstractClient):
|
|
|
736
736
|
if isinstance(e, TencentCloudSDKException):
|
|
737
737
|
raise
|
|
738
738
|
else:
|
|
739
|
-
raise TencentCloudSDKException(e.
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
740
|
|
|
741
741
|
|
|
742
742
|
def DeleteTopic(self, request):
|
|
@@ -759,7 +759,7 @@ class CkafkaClient(AbstractClient):
|
|
|
759
759
|
if isinstance(e, TencentCloudSDKException):
|
|
760
760
|
raise
|
|
761
761
|
else:
|
|
762
|
-
raise TencentCloudSDKException(e.
|
|
762
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
763
763
|
|
|
764
764
|
|
|
765
765
|
def DeleteTopicIpWhiteList(self, request):
|
|
@@ -782,7 +782,7 @@ class CkafkaClient(AbstractClient):
|
|
|
782
782
|
if isinstance(e, TencentCloudSDKException):
|
|
783
783
|
raise
|
|
784
784
|
else:
|
|
785
|
-
raise TencentCloudSDKException(e.
|
|
785
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
786
|
|
|
787
787
|
|
|
788
788
|
def DeleteUser(self, request):
|
|
@@ -805,7 +805,7 @@ class CkafkaClient(AbstractClient):
|
|
|
805
805
|
if isinstance(e, TencentCloudSDKException):
|
|
806
806
|
raise
|
|
807
807
|
else:
|
|
808
|
-
raise TencentCloudSDKException(e.
|
|
808
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
809
809
|
|
|
810
810
|
|
|
811
811
|
def DescribeACL(self, request):
|
|
@@ -828,7 +828,7 @@ class CkafkaClient(AbstractClient):
|
|
|
828
828
|
if isinstance(e, TencentCloudSDKException):
|
|
829
829
|
raise
|
|
830
830
|
else:
|
|
831
|
-
raise TencentCloudSDKException(e.
|
|
831
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
832
|
|
|
833
833
|
|
|
834
834
|
def DescribeAclRule(self, request):
|
|
@@ -851,7 +851,7 @@ class CkafkaClient(AbstractClient):
|
|
|
851
851
|
if isinstance(e, TencentCloudSDKException):
|
|
852
852
|
raise
|
|
853
853
|
else:
|
|
854
|
-
raise TencentCloudSDKException(e.
|
|
854
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
855
|
|
|
856
856
|
|
|
857
857
|
def DescribeAppInfo(self, request):
|
|
@@ -874,7 +874,7 @@ class CkafkaClient(AbstractClient):
|
|
|
874
874
|
if isinstance(e, TencentCloudSDKException):
|
|
875
875
|
raise
|
|
876
876
|
else:
|
|
877
|
-
raise TencentCloudSDKException(e.
|
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
878
|
|
|
879
879
|
|
|
880
880
|
def DescribeCkafkaZone(self, request):
|
|
@@ -897,7 +897,7 @@ class CkafkaClient(AbstractClient):
|
|
|
897
897
|
if isinstance(e, TencentCloudSDKException):
|
|
898
898
|
raise
|
|
899
899
|
else:
|
|
900
|
-
raise TencentCloudSDKException(e.
|
|
900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
901
|
|
|
902
902
|
|
|
903
903
|
def DescribeConnectResource(self, request):
|
|
@@ -920,7 +920,7 @@ class CkafkaClient(AbstractClient):
|
|
|
920
920
|
if isinstance(e, TencentCloudSDKException):
|
|
921
921
|
raise
|
|
922
922
|
else:
|
|
923
|
-
raise TencentCloudSDKException(e.
|
|
923
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
def DescribeConnectResources(self, request):
|
|
@@ -943,7 +943,7 @@ class CkafkaClient(AbstractClient):
|
|
|
943
943
|
if isinstance(e, TencentCloudSDKException):
|
|
944
944
|
raise
|
|
945
945
|
else:
|
|
946
|
-
raise TencentCloudSDKException(e.
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
947
|
|
|
948
948
|
|
|
949
949
|
def DescribeConsumerGroup(self, request):
|
|
@@ -966,7 +966,7 @@ class CkafkaClient(AbstractClient):
|
|
|
966
966
|
if isinstance(e, TencentCloudSDKException):
|
|
967
967
|
raise
|
|
968
968
|
else:
|
|
969
|
-
raise TencentCloudSDKException(e.
|
|
969
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
970
|
|
|
971
971
|
|
|
972
972
|
def DescribeDatahubGroupOffsets(self, request):
|
|
@@ -989,7 +989,7 @@ class CkafkaClient(AbstractClient):
|
|
|
989
989
|
if isinstance(e, TencentCloudSDKException):
|
|
990
990
|
raise
|
|
991
991
|
else:
|
|
992
|
-
raise TencentCloudSDKException(e.
|
|
992
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
993
993
|
|
|
994
994
|
|
|
995
995
|
def DescribeDatahubTask(self, request):
|
|
@@ -1012,7 +1012,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1012
1012
|
if isinstance(e, TencentCloudSDKException):
|
|
1013
1013
|
raise
|
|
1014
1014
|
else:
|
|
1015
|
-
raise TencentCloudSDKException(e.
|
|
1015
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1016
1016
|
|
|
1017
1017
|
|
|
1018
1018
|
def DescribeDatahubTasks(self, request):
|
|
@@ -1035,7 +1035,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1035
1035
|
if isinstance(e, TencentCloudSDKException):
|
|
1036
1036
|
raise
|
|
1037
1037
|
else:
|
|
1038
|
-
raise TencentCloudSDKException(e.
|
|
1038
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1039
1039
|
|
|
1040
1040
|
|
|
1041
1041
|
def DescribeDatahubTopic(self, request):
|
|
@@ -1058,7 +1058,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1058
1058
|
if isinstance(e, TencentCloudSDKException):
|
|
1059
1059
|
raise
|
|
1060
1060
|
else:
|
|
1061
|
-
raise TencentCloudSDKException(e.
|
|
1061
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
1062
|
|
|
1063
1063
|
|
|
1064
1064
|
def DescribeDatahubTopics(self, request):
|
|
@@ -1081,7 +1081,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1081
1081
|
if isinstance(e, TencentCloudSDKException):
|
|
1082
1082
|
raise
|
|
1083
1083
|
else:
|
|
1084
|
-
raise TencentCloudSDKException(e.
|
|
1084
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1085
1085
|
|
|
1086
1086
|
|
|
1087
1087
|
def DescribeGroup(self, request):
|
|
@@ -1104,7 +1104,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1104
1104
|
if isinstance(e, TencentCloudSDKException):
|
|
1105
1105
|
raise
|
|
1106
1106
|
else:
|
|
1107
|
-
raise TencentCloudSDKException(e.
|
|
1107
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1108
1108
|
|
|
1109
1109
|
|
|
1110
1110
|
def DescribeGroupInfo(self, request):
|
|
@@ -1127,7 +1127,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1127
1127
|
if isinstance(e, TencentCloudSDKException):
|
|
1128
1128
|
raise
|
|
1129
1129
|
else:
|
|
1130
|
-
raise TencentCloudSDKException(e.
|
|
1130
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1131
1131
|
|
|
1132
1132
|
|
|
1133
1133
|
def DescribeGroupOffsets(self, request):
|
|
@@ -1150,7 +1150,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1150
1150
|
if isinstance(e, TencentCloudSDKException):
|
|
1151
1151
|
raise
|
|
1152
1152
|
else:
|
|
1153
|
-
raise TencentCloudSDKException(e.
|
|
1153
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1154
1154
|
|
|
1155
1155
|
|
|
1156
1156
|
def DescribeInstanceAttributes(self, request):
|
|
@@ -1173,7 +1173,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1173
1173
|
if isinstance(e, TencentCloudSDKException):
|
|
1174
1174
|
raise
|
|
1175
1175
|
else:
|
|
1176
|
-
raise TencentCloudSDKException(e.
|
|
1176
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1177
1177
|
|
|
1178
1178
|
|
|
1179
1179
|
def DescribeInstances(self, request):
|
|
@@ -1196,7 +1196,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1196
1196
|
if isinstance(e, TencentCloudSDKException):
|
|
1197
1197
|
raise
|
|
1198
1198
|
else:
|
|
1199
|
-
raise TencentCloudSDKException(e.
|
|
1199
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
1200
|
|
|
1201
1201
|
|
|
1202
1202
|
def DescribeInstancesDetail(self, request):
|
|
@@ -1219,7 +1219,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1219
1219
|
if isinstance(e, TencentCloudSDKException):
|
|
1220
1220
|
raise
|
|
1221
1221
|
else:
|
|
1222
|
-
raise TencentCloudSDKException(e.
|
|
1222
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
1223
|
|
|
1224
1224
|
|
|
1225
1225
|
def DescribeRegion(self, request):
|
|
@@ -1242,7 +1242,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1242
1242
|
if isinstance(e, TencentCloudSDKException):
|
|
1243
1243
|
raise
|
|
1244
1244
|
else:
|
|
1245
|
-
raise TencentCloudSDKException(e.
|
|
1245
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1246
1246
|
|
|
1247
1247
|
|
|
1248
1248
|
def DescribeRoute(self, request):
|
|
@@ -1265,7 +1265,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1265
1265
|
if isinstance(e, TencentCloudSDKException):
|
|
1266
1266
|
raise
|
|
1267
1267
|
else:
|
|
1268
|
-
raise TencentCloudSDKException(e.
|
|
1268
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1269
1269
|
|
|
1270
1270
|
|
|
1271
1271
|
def DescribeTaskStatus(self, request):
|
|
@@ -1288,7 +1288,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1288
1288
|
if isinstance(e, TencentCloudSDKException):
|
|
1289
1289
|
raise
|
|
1290
1290
|
else:
|
|
1291
|
-
raise TencentCloudSDKException(e.
|
|
1291
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1292
1292
|
|
|
1293
1293
|
|
|
1294
1294
|
def DescribeTopic(self, request):
|
|
@@ -1312,7 +1312,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1312
1312
|
if isinstance(e, TencentCloudSDKException):
|
|
1313
1313
|
raise
|
|
1314
1314
|
else:
|
|
1315
|
-
raise TencentCloudSDKException(e.
|
|
1315
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1316
1316
|
|
|
1317
1317
|
|
|
1318
1318
|
def DescribeTopicAttributes(self, request):
|
|
@@ -1335,7 +1335,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1335
1335
|
if isinstance(e, TencentCloudSDKException):
|
|
1336
1336
|
raise
|
|
1337
1337
|
else:
|
|
1338
|
-
raise TencentCloudSDKException(e.
|
|
1338
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1339
1339
|
|
|
1340
1340
|
|
|
1341
1341
|
def DescribeTopicDetail(self, request):
|
|
@@ -1358,7 +1358,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1358
1358
|
if isinstance(e, TencentCloudSDKException):
|
|
1359
1359
|
raise
|
|
1360
1360
|
else:
|
|
1361
|
-
raise TencentCloudSDKException(e.
|
|
1361
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1362
1362
|
|
|
1363
1363
|
|
|
1364
1364
|
def DescribeTopicFlowRanking(self, request):
|
|
@@ -1381,7 +1381,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1381
1381
|
if isinstance(e, TencentCloudSDKException):
|
|
1382
1382
|
raise
|
|
1383
1383
|
else:
|
|
1384
|
-
raise TencentCloudSDKException(e.
|
|
1384
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1385
1385
|
|
|
1386
1386
|
|
|
1387
1387
|
def DescribeTopicProduceConnection(self, request):
|
|
@@ -1404,7 +1404,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1404
1404
|
if isinstance(e, TencentCloudSDKException):
|
|
1405
1405
|
raise
|
|
1406
1406
|
else:
|
|
1407
|
-
raise TencentCloudSDKException(e.
|
|
1407
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1408
1408
|
|
|
1409
1409
|
|
|
1410
1410
|
def DescribeTopicSubscribeGroup(self, request):
|
|
@@ -1427,7 +1427,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1427
1427
|
if isinstance(e, TencentCloudSDKException):
|
|
1428
1428
|
raise
|
|
1429
1429
|
else:
|
|
1430
|
-
raise TencentCloudSDKException(e.
|
|
1430
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1431
1431
|
|
|
1432
1432
|
|
|
1433
1433
|
def DescribeTopicSyncReplica(self, request):
|
|
@@ -1450,7 +1450,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1450
1450
|
if isinstance(e, TencentCloudSDKException):
|
|
1451
1451
|
raise
|
|
1452
1452
|
else:
|
|
1453
|
-
raise TencentCloudSDKException(e.
|
|
1453
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1454
1454
|
|
|
1455
1455
|
|
|
1456
1456
|
def DescribeUser(self, request):
|
|
@@ -1473,7 +1473,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1473
1473
|
if isinstance(e, TencentCloudSDKException):
|
|
1474
1474
|
raise
|
|
1475
1475
|
else:
|
|
1476
|
-
raise TencentCloudSDKException(e.
|
|
1476
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1477
1477
|
|
|
1478
1478
|
|
|
1479
1479
|
def FetchDatahubMessageByOffset(self, request):
|
|
@@ -1496,7 +1496,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1496
1496
|
if isinstance(e, TencentCloudSDKException):
|
|
1497
1497
|
raise
|
|
1498
1498
|
else:
|
|
1499
|
-
raise TencentCloudSDKException(e.
|
|
1499
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1500
1500
|
|
|
1501
1501
|
|
|
1502
1502
|
def FetchLatestDatahubMessageList(self, request):
|
|
@@ -1519,7 +1519,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1519
1519
|
if isinstance(e, TencentCloudSDKException):
|
|
1520
1520
|
raise
|
|
1521
1521
|
else:
|
|
1522
|
-
raise TencentCloudSDKException(e.
|
|
1522
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1523
1523
|
|
|
1524
1524
|
|
|
1525
1525
|
def FetchMessageByOffset(self, request):
|
|
@@ -1542,7 +1542,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1542
1542
|
if isinstance(e, TencentCloudSDKException):
|
|
1543
1543
|
raise
|
|
1544
1544
|
else:
|
|
1545
|
-
raise TencentCloudSDKException(e.
|
|
1545
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1546
1546
|
|
|
1547
1547
|
|
|
1548
1548
|
def FetchMessageListByOffset(self, request):
|
|
@@ -1565,7 +1565,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1565
1565
|
if isinstance(e, TencentCloudSDKException):
|
|
1566
1566
|
raise
|
|
1567
1567
|
else:
|
|
1568
|
-
raise TencentCloudSDKException(e.
|
|
1568
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1569
1569
|
|
|
1570
1570
|
|
|
1571
1571
|
def InquireCkafkaPrice(self, request):
|
|
@@ -1588,7 +1588,30 @@ class CkafkaClient(AbstractClient):
|
|
|
1588
1588
|
if isinstance(e, TencentCloudSDKException):
|
|
1589
1589
|
raise
|
|
1590
1590
|
else:
|
|
1591
|
-
raise TencentCloudSDKException(e.
|
|
1591
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
def InstanceScalingDown(self, request):
|
|
1595
|
+
"""按量实例缩容
|
|
1596
|
+
|
|
1597
|
+
:param request: Request instance for InstanceScalingDown.
|
|
1598
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.InstanceScalingDownRequest`
|
|
1599
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.InstanceScalingDownResponse`
|
|
1600
|
+
|
|
1601
|
+
"""
|
|
1602
|
+
try:
|
|
1603
|
+
params = request._serialize()
|
|
1604
|
+
headers = request.headers
|
|
1605
|
+
body = self.call("InstanceScalingDown", params, headers=headers)
|
|
1606
|
+
response = json.loads(body)
|
|
1607
|
+
model = models.InstanceScalingDownResponse()
|
|
1608
|
+
model._deserialize(response["Response"])
|
|
1609
|
+
return model
|
|
1610
|
+
except Exception as e:
|
|
1611
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1612
|
+
raise
|
|
1613
|
+
else:
|
|
1614
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1592
1615
|
|
|
1593
1616
|
|
|
1594
1617
|
def ModifyAclRule(self, request):
|
|
@@ -1611,7 +1634,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1611
1634
|
if isinstance(e, TencentCloudSDKException):
|
|
1612
1635
|
raise
|
|
1613
1636
|
else:
|
|
1614
|
-
raise TencentCloudSDKException(e.
|
|
1637
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1615
1638
|
|
|
1616
1639
|
|
|
1617
1640
|
def ModifyConnectResource(self, request):
|
|
@@ -1634,7 +1657,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1634
1657
|
if isinstance(e, TencentCloudSDKException):
|
|
1635
1658
|
raise
|
|
1636
1659
|
else:
|
|
1637
|
-
raise TencentCloudSDKException(e.
|
|
1660
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1638
1661
|
|
|
1639
1662
|
|
|
1640
1663
|
def ModifyDatahubTask(self, request):
|
|
@@ -1657,7 +1680,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1657
1680
|
if isinstance(e, TencentCloudSDKException):
|
|
1658
1681
|
raise
|
|
1659
1682
|
else:
|
|
1660
|
-
raise TencentCloudSDKException(e.
|
|
1683
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1661
1684
|
|
|
1662
1685
|
|
|
1663
1686
|
def ModifyDatahubTopic(self, request):
|
|
@@ -1680,7 +1703,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1680
1703
|
if isinstance(e, TencentCloudSDKException):
|
|
1681
1704
|
raise
|
|
1682
1705
|
else:
|
|
1683
|
-
raise TencentCloudSDKException(e.
|
|
1706
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1684
1707
|
|
|
1685
1708
|
|
|
1686
1709
|
def ModifyGroupOffsets(self, request):
|
|
@@ -1703,7 +1726,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1703
1726
|
if isinstance(e, TencentCloudSDKException):
|
|
1704
1727
|
raise
|
|
1705
1728
|
else:
|
|
1706
|
-
raise TencentCloudSDKException(e.
|
|
1729
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1707
1730
|
|
|
1708
1731
|
|
|
1709
1732
|
def ModifyInstanceAttributes(self, request):
|
|
@@ -1726,7 +1749,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1726
1749
|
if isinstance(e, TencentCloudSDKException):
|
|
1727
1750
|
raise
|
|
1728
1751
|
else:
|
|
1729
|
-
raise TencentCloudSDKException(e.
|
|
1752
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1730
1753
|
|
|
1731
1754
|
|
|
1732
1755
|
def ModifyInstancePre(self, request):
|
|
@@ -1749,7 +1772,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1749
1772
|
if isinstance(e, TencentCloudSDKException):
|
|
1750
1773
|
raise
|
|
1751
1774
|
else:
|
|
1752
|
-
raise TencentCloudSDKException(e.
|
|
1775
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1753
1776
|
|
|
1754
1777
|
|
|
1755
1778
|
def ModifyPassword(self, request):
|
|
@@ -1772,7 +1795,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1772
1795
|
if isinstance(e, TencentCloudSDKException):
|
|
1773
1796
|
raise
|
|
1774
1797
|
else:
|
|
1775
|
-
raise TencentCloudSDKException(e.
|
|
1798
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1776
1799
|
|
|
1777
1800
|
|
|
1778
1801
|
def ModifyTopicAttributes(self, request):
|
|
@@ -1795,7 +1818,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1795
1818
|
if isinstance(e, TencentCloudSDKException):
|
|
1796
1819
|
raise
|
|
1797
1820
|
else:
|
|
1798
|
-
raise TencentCloudSDKException(e.
|
|
1821
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1799
1822
|
|
|
1800
1823
|
|
|
1801
1824
|
def RenewCkafkaInstance(self, request):
|
|
@@ -1818,7 +1841,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1818
1841
|
if isinstance(e, TencentCloudSDKException):
|
|
1819
1842
|
raise
|
|
1820
1843
|
else:
|
|
1821
|
-
raise TencentCloudSDKException(e.
|
|
1844
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1822
1845
|
|
|
1823
1846
|
|
|
1824
1847
|
def SendMessage(self, request):
|
|
@@ -1841,4 +1864,4 @@ class CkafkaClient(AbstractClient):
|
|
|
1841
1864
|
if isinstance(e, TencentCloudSDKException):
|
|
1842
1865
|
raise
|
|
1843
1866
|
else:
|
|
1844
|
-
raise TencentCloudSDKException(e.
|
|
1867
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
@@ -3099,7 +3099,7 @@ class CreateAclRequest(AbstractModel):
|
|
|
3099
3099
|
:type PermissionType: int
|
|
3100
3100
|
:param _ResourceName: 资源名称,和resourceType相关,如当resourceType为TOPIC时,则该字段表示topic名称,当resourceType为GROUP时,该字段表示group名称,当resourceType为CLUSTER时,该字段可为空。
|
|
3101
3101
|
:type ResourceName: str
|
|
3102
|
-
:param _Host:
|
|
3102
|
+
:param _Host: 默认为*,表示任何host都可以访问。支持填写IP或网段,支持“;”分隔。
|
|
3103
3103
|
:type Host: str
|
|
3104
3104
|
:param _Principal: 用户列表,默认为User:*,表示任何user都可以访问,当前用户只能是用户列表中包含的用户。传入时需要加 User: 前缀,如用户A则传入User:A。
|
|
3105
3105
|
:type Principal: str
|
|
@@ -13747,6 +13747,10 @@ class EsParam(AbstractModel):
|
|
|
13747
13747
|
:type DatabasePrimaryKey: str
|
|
13748
13748
|
:param _DropDlq: 死信队列
|
|
13749
13749
|
:type DropDlq: :class:`tencentcloud.ckafka.v20190819.models.FailureParam`
|
|
13750
|
+
:param _RecordMappingList: 使用数据订阅格式导入 es 时,消息与 es 索引字段映射关系。不填默认为默认字段匹配
|
|
13751
|
+
:type RecordMappingList: list of EsRecordMapping
|
|
13752
|
+
:param _DateField: 消息要映射为 es 索引中 @timestamp 的字段,如果当前配置为空,则使用消息的时间戳进行映射
|
|
13753
|
+
:type DateField: str
|
|
13750
13754
|
"""
|
|
13751
13755
|
self._Resource = None
|
|
13752
13756
|
self._Port = None
|
|
@@ -13765,6 +13769,8 @@ class EsParam(AbstractModel):
|
|
|
13765
13769
|
self._DropCls = None
|
|
13766
13770
|
self._DatabasePrimaryKey = None
|
|
13767
13771
|
self._DropDlq = None
|
|
13772
|
+
self._RecordMappingList = None
|
|
13773
|
+
self._DateField = None
|
|
13768
13774
|
|
|
13769
13775
|
@property
|
|
13770
13776
|
def Resource(self):
|
|
@@ -13902,6 +13908,22 @@ class EsParam(AbstractModel):
|
|
|
13902
13908
|
def DropDlq(self, DropDlq):
|
|
13903
13909
|
self._DropDlq = DropDlq
|
|
13904
13910
|
|
|
13911
|
+
@property
|
|
13912
|
+
def RecordMappingList(self):
|
|
13913
|
+
return self._RecordMappingList
|
|
13914
|
+
|
|
13915
|
+
@RecordMappingList.setter
|
|
13916
|
+
def RecordMappingList(self, RecordMappingList):
|
|
13917
|
+
self._RecordMappingList = RecordMappingList
|
|
13918
|
+
|
|
13919
|
+
@property
|
|
13920
|
+
def DateField(self):
|
|
13921
|
+
return self._DateField
|
|
13922
|
+
|
|
13923
|
+
@DateField.setter
|
|
13924
|
+
def DateField(self, DateField):
|
|
13925
|
+
self._DateField = DateField
|
|
13926
|
+
|
|
13905
13927
|
|
|
13906
13928
|
def _deserialize(self, params):
|
|
13907
13929
|
self._Resource = params.get("Resource")
|
|
@@ -13925,6 +13947,58 @@ class EsParam(AbstractModel):
|
|
|
13925
13947
|
if params.get("DropDlq") is not None:
|
|
13926
13948
|
self._DropDlq = FailureParam()
|
|
13927
13949
|
self._DropDlq._deserialize(params.get("DropDlq"))
|
|
13950
|
+
if params.get("RecordMappingList") is not None:
|
|
13951
|
+
self._RecordMappingList = []
|
|
13952
|
+
for item in params.get("RecordMappingList"):
|
|
13953
|
+
obj = EsRecordMapping()
|
|
13954
|
+
obj._deserialize(item)
|
|
13955
|
+
self._RecordMappingList.append(obj)
|
|
13956
|
+
self._DateField = params.get("DateField")
|
|
13957
|
+
memeber_set = set(params.keys())
|
|
13958
|
+
for name, value in vars(self).items():
|
|
13959
|
+
property_name = name[1:]
|
|
13960
|
+
if property_name in memeber_set:
|
|
13961
|
+
memeber_set.remove(property_name)
|
|
13962
|
+
if len(memeber_set) > 0:
|
|
13963
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13964
|
+
|
|
13965
|
+
|
|
13966
|
+
|
|
13967
|
+
class EsRecordMapping(AbstractModel):
|
|
13968
|
+
"""消息字段与 es 索引的映射关系
|
|
13969
|
+
|
|
13970
|
+
"""
|
|
13971
|
+
|
|
13972
|
+
def __init__(self):
|
|
13973
|
+
r"""
|
|
13974
|
+
:param _ColumnName: es 索引成员名称
|
|
13975
|
+
:type ColumnName: str
|
|
13976
|
+
:param _JsonKey: 消息字段名称
|
|
13977
|
+
:type JsonKey: str
|
|
13978
|
+
"""
|
|
13979
|
+
self._ColumnName = None
|
|
13980
|
+
self._JsonKey = None
|
|
13981
|
+
|
|
13982
|
+
@property
|
|
13983
|
+
def ColumnName(self):
|
|
13984
|
+
return self._ColumnName
|
|
13985
|
+
|
|
13986
|
+
@ColumnName.setter
|
|
13987
|
+
def ColumnName(self, ColumnName):
|
|
13988
|
+
self._ColumnName = ColumnName
|
|
13989
|
+
|
|
13990
|
+
@property
|
|
13991
|
+
def JsonKey(self):
|
|
13992
|
+
return self._JsonKey
|
|
13993
|
+
|
|
13994
|
+
@JsonKey.setter
|
|
13995
|
+
def JsonKey(self, JsonKey):
|
|
13996
|
+
self._JsonKey = JsonKey
|
|
13997
|
+
|
|
13998
|
+
|
|
13999
|
+
def _deserialize(self, params):
|
|
14000
|
+
self._ColumnName = params.get("ColumnName")
|
|
14001
|
+
self._JsonKey = params.get("JsonKey")
|
|
13928
14002
|
memeber_set = set(params.keys())
|
|
13929
14003
|
for name, value in vars(self).items():
|
|
13930
14004
|
property_name = name[1:]
|
|
@@ -17363,6 +17437,128 @@ class InstanceResponse(AbstractModel):
|
|
|
17363
17437
|
|
|
17364
17438
|
|
|
17365
17439
|
|
|
17440
|
+
class InstanceScalingDownRequest(AbstractModel):
|
|
17441
|
+
"""InstanceScalingDown请求参数结构体
|
|
17442
|
+
|
|
17443
|
+
"""
|
|
17444
|
+
|
|
17445
|
+
def __init__(self):
|
|
17446
|
+
r"""
|
|
17447
|
+
:param _InstanceId: 实例id
|
|
17448
|
+
:type InstanceId: str
|
|
17449
|
+
:param _UpgradeStrategy: 缩容模式 1:稳定变配
|
|
17450
|
+
2.高速变配
|
|
17451
|
+
:type UpgradeStrategy: int
|
|
17452
|
+
:param _DiskSize: 磁盘大小 单位 GB
|
|
17453
|
+
:type DiskSize: int
|
|
17454
|
+
:param _BandWidth: 峰值带宽 单位 MB/s
|
|
17455
|
+
:type BandWidth: int
|
|
17456
|
+
:param _Partition: 分区上限
|
|
17457
|
+
:type Partition: int
|
|
17458
|
+
"""
|
|
17459
|
+
self._InstanceId = None
|
|
17460
|
+
self._UpgradeStrategy = None
|
|
17461
|
+
self._DiskSize = None
|
|
17462
|
+
self._BandWidth = None
|
|
17463
|
+
self._Partition = None
|
|
17464
|
+
|
|
17465
|
+
@property
|
|
17466
|
+
def InstanceId(self):
|
|
17467
|
+
return self._InstanceId
|
|
17468
|
+
|
|
17469
|
+
@InstanceId.setter
|
|
17470
|
+
def InstanceId(self, InstanceId):
|
|
17471
|
+
self._InstanceId = InstanceId
|
|
17472
|
+
|
|
17473
|
+
@property
|
|
17474
|
+
def UpgradeStrategy(self):
|
|
17475
|
+
return self._UpgradeStrategy
|
|
17476
|
+
|
|
17477
|
+
@UpgradeStrategy.setter
|
|
17478
|
+
def UpgradeStrategy(self, UpgradeStrategy):
|
|
17479
|
+
self._UpgradeStrategy = UpgradeStrategy
|
|
17480
|
+
|
|
17481
|
+
@property
|
|
17482
|
+
def DiskSize(self):
|
|
17483
|
+
return self._DiskSize
|
|
17484
|
+
|
|
17485
|
+
@DiskSize.setter
|
|
17486
|
+
def DiskSize(self, DiskSize):
|
|
17487
|
+
self._DiskSize = DiskSize
|
|
17488
|
+
|
|
17489
|
+
@property
|
|
17490
|
+
def BandWidth(self):
|
|
17491
|
+
return self._BandWidth
|
|
17492
|
+
|
|
17493
|
+
@BandWidth.setter
|
|
17494
|
+
def BandWidth(self, BandWidth):
|
|
17495
|
+
self._BandWidth = BandWidth
|
|
17496
|
+
|
|
17497
|
+
@property
|
|
17498
|
+
def Partition(self):
|
|
17499
|
+
return self._Partition
|
|
17500
|
+
|
|
17501
|
+
@Partition.setter
|
|
17502
|
+
def Partition(self, Partition):
|
|
17503
|
+
self._Partition = Partition
|
|
17504
|
+
|
|
17505
|
+
|
|
17506
|
+
def _deserialize(self, params):
|
|
17507
|
+
self._InstanceId = params.get("InstanceId")
|
|
17508
|
+
self._UpgradeStrategy = params.get("UpgradeStrategy")
|
|
17509
|
+
self._DiskSize = params.get("DiskSize")
|
|
17510
|
+
self._BandWidth = params.get("BandWidth")
|
|
17511
|
+
self._Partition = params.get("Partition")
|
|
17512
|
+
memeber_set = set(params.keys())
|
|
17513
|
+
for name, value in vars(self).items():
|
|
17514
|
+
property_name = name[1:]
|
|
17515
|
+
if property_name in memeber_set:
|
|
17516
|
+
memeber_set.remove(property_name)
|
|
17517
|
+
if len(memeber_set) > 0:
|
|
17518
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17519
|
+
|
|
17520
|
+
|
|
17521
|
+
|
|
17522
|
+
class InstanceScalingDownResponse(AbstractModel):
|
|
17523
|
+
"""InstanceScalingDown返回参数结构体
|
|
17524
|
+
|
|
17525
|
+
"""
|
|
17526
|
+
|
|
17527
|
+
def __init__(self):
|
|
17528
|
+
r"""
|
|
17529
|
+
:param _Result: 缩容应答
|
|
17530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17531
|
+
:type Result: :class:`tencentcloud.ckafka.v20190819.models.ScalingDownResp`
|
|
17532
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
17533
|
+
:type RequestId: str
|
|
17534
|
+
"""
|
|
17535
|
+
self._Result = None
|
|
17536
|
+
self._RequestId = None
|
|
17537
|
+
|
|
17538
|
+
@property
|
|
17539
|
+
def Result(self):
|
|
17540
|
+
return self._Result
|
|
17541
|
+
|
|
17542
|
+
@Result.setter
|
|
17543
|
+
def Result(self, Result):
|
|
17544
|
+
self._Result = Result
|
|
17545
|
+
|
|
17546
|
+
@property
|
|
17547
|
+
def RequestId(self):
|
|
17548
|
+
return self._RequestId
|
|
17549
|
+
|
|
17550
|
+
@RequestId.setter
|
|
17551
|
+
def RequestId(self, RequestId):
|
|
17552
|
+
self._RequestId = RequestId
|
|
17553
|
+
|
|
17554
|
+
|
|
17555
|
+
def _deserialize(self, params):
|
|
17556
|
+
if params.get("Result") is not None:
|
|
17557
|
+
self._Result = ScalingDownResp()
|
|
17558
|
+
self._Result._deserialize(params.get("Result"))
|
|
17559
|
+
self._RequestId = params.get("RequestId")
|
|
17560
|
+
|
|
17561
|
+
|
|
17366
17562
|
class JgwOperateResponse(AbstractModel):
|
|
17367
17563
|
"""操作型结果返回值
|
|
17368
17564
|
|
|
@@ -22676,6 +22872,40 @@ class SaleInfo(AbstractModel):
|
|
|
22676
22872
|
|
|
22677
22873
|
|
|
22678
22874
|
|
|
22875
|
+
class ScalingDownResp(AbstractModel):
|
|
22876
|
+
"""实例缩容应答
|
|
22877
|
+
|
|
22878
|
+
"""
|
|
22879
|
+
|
|
22880
|
+
def __init__(self):
|
|
22881
|
+
r"""
|
|
22882
|
+
:param _DealNames: 订单号
|
|
22883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22884
|
+
:type DealNames: list of str
|
|
22885
|
+
"""
|
|
22886
|
+
self._DealNames = None
|
|
22887
|
+
|
|
22888
|
+
@property
|
|
22889
|
+
def DealNames(self):
|
|
22890
|
+
return self._DealNames
|
|
22891
|
+
|
|
22892
|
+
@DealNames.setter
|
|
22893
|
+
def DealNames(self, DealNames):
|
|
22894
|
+
self._DealNames = DealNames
|
|
22895
|
+
|
|
22896
|
+
|
|
22897
|
+
def _deserialize(self, params):
|
|
22898
|
+
self._DealNames = params.get("DealNames")
|
|
22899
|
+
memeber_set = set(params.keys())
|
|
22900
|
+
for name, value in vars(self).items():
|
|
22901
|
+
property_name = name[1:]
|
|
22902
|
+
if property_name in memeber_set:
|
|
22903
|
+
memeber_set.remove(property_name)
|
|
22904
|
+
if len(memeber_set) > 0:
|
|
22905
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22906
|
+
|
|
22907
|
+
|
|
22908
|
+
|
|
22679
22909
|
class ScfParam(AbstractModel):
|
|
22680
22910
|
"""Scf类型入参
|
|
22681
22911
|
|
{tencentcloud-sdk-python-ckafka-3.0.936 → tencentcloud-sdk-python-ckafka-3.0.947}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|