tencentcloud-sdk-python-intl-en 3.0.1289__py2.py3-none-any.whl → 3.0.1291__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +184 -0
- tencentcloud/clb/v20180317/clb_client.py +4 -4
- tencentcloud/clb/v20180317/errorcodes.py +9 -0
- tencentcloud/clb/v20180317/models.py +27 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +1286 -75
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/models.py +504 -0
- tencentcloud/mdl/v20200326/models.py +191 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +15 -0
- tencentcloud/mongodb/v20190725/models.py +1276 -463
- tencentcloud/mongodb/v20190725/mongodb_client.py +75 -6
- tencentcloud/monitor/v20180724/models.py +1351 -124
- tencentcloud/monitor/v20180724/monitor_client.py +118 -0
- tencentcloud/mps/v20190612/models.py +366 -62
- tencentcloud/quota/v20241204/models.py +17 -2
- tencentcloud/redis/v20180412/models.py +410 -168
- tencentcloud/redis/v20180412/redis_client.py +4 -4
- tencentcloud/wedata/v20250806/__init__.py +0 -0
- tencentcloud/wedata/v20250806/errorcodes.py +57 -0
- tencentcloud/wedata/v20250806/models.py +26375 -0
- tencentcloud/wedata/v20250806/wedata_client.py +1797 -0
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/RECORD +29 -25
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -586,6 +586,29 @@ class CccClient(AbstractClient):
|
|
|
586
586
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
587
587
|
|
|
588
588
|
|
|
589
|
+
def DescribeAIAnalysisResult(self, request):
|
|
590
|
+
r"""This API is used to obtain AI Conversation Analytics results.
|
|
591
|
+
|
|
592
|
+
:param request: Request instance for DescribeAIAnalysisResult.
|
|
593
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAIAnalysisResultRequest`
|
|
594
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeAIAnalysisResultResponse`
|
|
595
|
+
|
|
596
|
+
"""
|
|
597
|
+
try:
|
|
598
|
+
params = request._serialize()
|
|
599
|
+
headers = request.headers
|
|
600
|
+
body = self.call("DescribeAIAnalysisResult", params, headers=headers)
|
|
601
|
+
response = json.loads(body)
|
|
602
|
+
model = models.DescribeAIAnalysisResultResponse()
|
|
603
|
+
model._deserialize(response["Response"])
|
|
604
|
+
return model
|
|
605
|
+
except Exception as e:
|
|
606
|
+
if isinstance(e, TencentCloudSDKException):
|
|
607
|
+
raise
|
|
608
|
+
else:
|
|
609
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
610
|
+
|
|
611
|
+
|
|
589
612
|
def DescribeAICallExtractResult(self, request):
|
|
590
613
|
r"""Obtain AI call content extraction result
|
|
591
614
|
|
|
@@ -18,6 +18,61 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class AIAnalysisResult(AbstractModel):
|
|
22
|
+
r"""AI conversation analytics result.
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Type: Summary: describes the session summary.
|
|
29
|
+
mood: specifies the emotion analysis.
|
|
30
|
+
intention extraction.
|
|
31
|
+
:type Type: str
|
|
32
|
+
:param _Result: AI session analysis result.
|
|
33
|
+
:type Result: str
|
|
34
|
+
"""
|
|
35
|
+
self._Type = None
|
|
36
|
+
self._Result = None
|
|
37
|
+
|
|
38
|
+
@property
|
|
39
|
+
def Type(self):
|
|
40
|
+
r"""Summary: describes the session summary.
|
|
41
|
+
mood: specifies the emotion analysis.
|
|
42
|
+
intention extraction.
|
|
43
|
+
:rtype: str
|
|
44
|
+
"""
|
|
45
|
+
return self._Type
|
|
46
|
+
|
|
47
|
+
@Type.setter
|
|
48
|
+
def Type(self, Type):
|
|
49
|
+
self._Type = Type
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def Result(self):
|
|
53
|
+
r"""AI session analysis result.
|
|
54
|
+
:rtype: str
|
|
55
|
+
"""
|
|
56
|
+
return self._Result
|
|
57
|
+
|
|
58
|
+
@Result.setter
|
|
59
|
+
def Result(self, Result):
|
|
60
|
+
self._Result = Result
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def _deserialize(self, params):
|
|
64
|
+
self._Type = params.get("Type")
|
|
65
|
+
self._Result = params.get("Result")
|
|
66
|
+
memeber_set = set(params.keys())
|
|
67
|
+
for name, value in vars(self).items():
|
|
68
|
+
property_name = name[1:]
|
|
69
|
+
if property_name in memeber_set:
|
|
70
|
+
memeber_set.remove(property_name)
|
|
71
|
+
if len(memeber_set) > 0:
|
|
72
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
21
76
|
class AICallExtractConfigElement(AbstractModel):
|
|
22
77
|
r"""AI call extraction configuration item.
|
|
23
78
|
|
|
@@ -5567,6 +5622,135 @@ class DeleteStaffResponse(AbstractModel):
|
|
|
5567
5622
|
self._RequestId = params.get("RequestId")
|
|
5568
5623
|
|
|
5569
5624
|
|
|
5625
|
+
class DescribeAIAnalysisResultRequest(AbstractModel):
|
|
5626
|
+
r"""DescribeAIAnalysisResult request structure.
|
|
5627
|
+
|
|
5628
|
+
"""
|
|
5629
|
+
|
|
5630
|
+
def __init__(self):
|
|
5631
|
+
r"""
|
|
5632
|
+
:param _SdkAppId: App ID (required). can be viewed at https://console.cloud.tencent.com/ccc.
|
|
5633
|
+
:type SdkAppId: int
|
|
5634
|
+
:param _SessionId: Specifies the conversation ID.
|
|
5635
|
+
:type SessionId: str
|
|
5636
|
+
:param _StartTime: Specifies the search start time.
|
|
5637
|
+
:type StartTime: int
|
|
5638
|
+
:param _EndTime: 1737350008
|
|
5639
|
+
:type EndTime: int
|
|
5640
|
+
"""
|
|
5641
|
+
self._SdkAppId = None
|
|
5642
|
+
self._SessionId = None
|
|
5643
|
+
self._StartTime = None
|
|
5644
|
+
self._EndTime = None
|
|
5645
|
+
|
|
5646
|
+
@property
|
|
5647
|
+
def SdkAppId(self):
|
|
5648
|
+
r"""App ID (required). can be viewed at https://console.cloud.tencent.com/ccc.
|
|
5649
|
+
:rtype: int
|
|
5650
|
+
"""
|
|
5651
|
+
return self._SdkAppId
|
|
5652
|
+
|
|
5653
|
+
@SdkAppId.setter
|
|
5654
|
+
def SdkAppId(self, SdkAppId):
|
|
5655
|
+
self._SdkAppId = SdkAppId
|
|
5656
|
+
|
|
5657
|
+
@property
|
|
5658
|
+
def SessionId(self):
|
|
5659
|
+
r"""Specifies the conversation ID.
|
|
5660
|
+
:rtype: str
|
|
5661
|
+
"""
|
|
5662
|
+
return self._SessionId
|
|
5663
|
+
|
|
5664
|
+
@SessionId.setter
|
|
5665
|
+
def SessionId(self, SessionId):
|
|
5666
|
+
self._SessionId = SessionId
|
|
5667
|
+
|
|
5668
|
+
@property
|
|
5669
|
+
def StartTime(self):
|
|
5670
|
+
r"""Specifies the search start time.
|
|
5671
|
+
:rtype: int
|
|
5672
|
+
"""
|
|
5673
|
+
return self._StartTime
|
|
5674
|
+
|
|
5675
|
+
@StartTime.setter
|
|
5676
|
+
def StartTime(self, StartTime):
|
|
5677
|
+
self._StartTime = StartTime
|
|
5678
|
+
|
|
5679
|
+
@property
|
|
5680
|
+
def EndTime(self):
|
|
5681
|
+
r"""1737350008
|
|
5682
|
+
:rtype: int
|
|
5683
|
+
"""
|
|
5684
|
+
return self._EndTime
|
|
5685
|
+
|
|
5686
|
+
@EndTime.setter
|
|
5687
|
+
def EndTime(self, EndTime):
|
|
5688
|
+
self._EndTime = EndTime
|
|
5689
|
+
|
|
5690
|
+
|
|
5691
|
+
def _deserialize(self, params):
|
|
5692
|
+
self._SdkAppId = params.get("SdkAppId")
|
|
5693
|
+
self._SessionId = params.get("SessionId")
|
|
5694
|
+
self._StartTime = params.get("StartTime")
|
|
5695
|
+
self._EndTime = params.get("EndTime")
|
|
5696
|
+
memeber_set = set(params.keys())
|
|
5697
|
+
for name, value in vars(self).items():
|
|
5698
|
+
property_name = name[1:]
|
|
5699
|
+
if property_name in memeber_set:
|
|
5700
|
+
memeber_set.remove(property_name)
|
|
5701
|
+
if len(memeber_set) > 0:
|
|
5702
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5703
|
+
|
|
5704
|
+
|
|
5705
|
+
|
|
5706
|
+
class DescribeAIAnalysisResultResponse(AbstractModel):
|
|
5707
|
+
r"""DescribeAIAnalysisResult response structure.
|
|
5708
|
+
|
|
5709
|
+
"""
|
|
5710
|
+
|
|
5711
|
+
def __init__(self):
|
|
5712
|
+
r"""
|
|
5713
|
+
:param _ResultList: AI session analysis result.
|
|
5714
|
+
:type ResultList: list of AIAnalysisResult
|
|
5715
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5716
|
+
:type RequestId: str
|
|
5717
|
+
"""
|
|
5718
|
+
self._ResultList = None
|
|
5719
|
+
self._RequestId = None
|
|
5720
|
+
|
|
5721
|
+
@property
|
|
5722
|
+
def ResultList(self):
|
|
5723
|
+
r"""AI session analysis result.
|
|
5724
|
+
:rtype: list of AIAnalysisResult
|
|
5725
|
+
"""
|
|
5726
|
+
return self._ResultList
|
|
5727
|
+
|
|
5728
|
+
@ResultList.setter
|
|
5729
|
+
def ResultList(self, ResultList):
|
|
5730
|
+
self._ResultList = ResultList
|
|
5731
|
+
|
|
5732
|
+
@property
|
|
5733
|
+
def RequestId(self):
|
|
5734
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5735
|
+
:rtype: str
|
|
5736
|
+
"""
|
|
5737
|
+
return self._RequestId
|
|
5738
|
+
|
|
5739
|
+
@RequestId.setter
|
|
5740
|
+
def RequestId(self, RequestId):
|
|
5741
|
+
self._RequestId = RequestId
|
|
5742
|
+
|
|
5743
|
+
|
|
5744
|
+
def _deserialize(self, params):
|
|
5745
|
+
if params.get("ResultList") is not None:
|
|
5746
|
+
self._ResultList = []
|
|
5747
|
+
for item in params.get("ResultList"):
|
|
5748
|
+
obj = AIAnalysisResult()
|
|
5749
|
+
obj._deserialize(item)
|
|
5750
|
+
self._ResultList.append(obj)
|
|
5751
|
+
self._RequestId = params.get("RequestId")
|
|
5752
|
+
|
|
5753
|
+
|
|
5570
5754
|
class DescribeAICallExtractResultRequest(AbstractModel):
|
|
5571
5755
|
r"""DescribeAICallExtractResult request structure.
|
|
5572
5756
|
|
|
@@ -379,8 +379,8 @@ class ClbClient(AbstractClient):
|
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
def DeleteLoadBalancer(self, request):
|
|
382
|
-
r"""This API
|
|
383
|
-
This is
|
|
382
|
+
r"""This API is used to delete one or more specified CLB instances. After successful deletion, the listeners and forwarding rules under the CLB instance will be deleted together, and the backend service will be unbound.
|
|
383
|
+
This API is asynchronous. After it returns the result successfully, you can call the [DescribeTaskStatus](https://www.tencentcloud.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestId as an input parameter to query whether the task is successful.
|
|
384
384
|
|
|
385
385
|
:param request: Request instance for DeleteLoadBalancer.
|
|
386
386
|
:type request: :class:`tencentcloud.clb.v20180317.models.DeleteLoadBalancerRequest`
|
|
@@ -526,7 +526,7 @@ class ClbClient(AbstractClient):
|
|
|
526
526
|
<br/>Limits:
|
|
527
527
|
|
|
528
528
|
- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.
|
|
529
|
-
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account.
|
|
529
|
+
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account.
|
|
530
530
|
- SCF functions cannot be bound with classic CLB instances.
|
|
531
531
|
- SCF functions cannot be bound with classic network-based CLB instances.
|
|
532
532
|
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
|
|
@@ -1751,7 +1751,7 @@ class ClbClient(AbstractClient):
|
|
|
1751
1751
|
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.<br/>
|
|
1752
1752
|
**Limits:**
|
|
1753
1753
|
- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.
|
|
1754
|
-
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account.
|
|
1754
|
+
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account.
|
|
1755
1755
|
- SCF functions cannot be bound with classic CLB instances.
|
|
1756
1756
|
- SCF functions cannot be bound with classic network-based CLB instances.
|
|
1757
1757
|
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
|
|
@@ -26,6 +26,9 @@ DRYRUNOPERATION = 'DryRunOperation'
|
|
|
26
26
|
# Operation failed.
|
|
27
27
|
FAILEDOPERATION = 'FailedOperation'
|
|
28
28
|
|
|
29
|
+
# Instance deletion is determined to be a high-risk operation through frequency verification. Please check the business or try again later.
|
|
30
|
+
FAILEDOPERATION_FREQUENCYCHECKRISK = 'FailedOperation.FrequencyCheckRisk'
|
|
31
|
+
|
|
29
32
|
# Exceptional CLB instance status
|
|
30
33
|
FAILEDOPERATION_INVALIDLBSTATUS = 'FailedOperation.InvalidLBStatus'
|
|
31
34
|
|
|
@@ -35,6 +38,12 @@ FAILEDOPERATION_NOLISTENERINLB = 'FailedOperation.NoListenerInLB'
|
|
|
35
38
|
# The specified resource is currently being operated. Please try again later.
|
|
36
39
|
FAILEDOPERATION_RESOURCEINOPERATING = 'FailedOperation.ResourceInOperating'
|
|
37
40
|
|
|
41
|
+
# Instance deletion is determined to be a high-risk operation through rule quantity verification. To forcibly delete the instance, set the forced verification parameter ForceDelete to true.
|
|
42
|
+
FAILEDOPERATION_TARGETNUMCHECKRISK = 'FailedOperation.TargetNumCheckRisk'
|
|
43
|
+
|
|
44
|
+
# Instance deletion is determined to be a high-risk operation through traffic verification. To forcibly delete the instance, set the forced verification parameter ForceDelete to true.
|
|
45
|
+
FAILEDOPERATION_TRAFFICCHECKRISK = 'FailedOperation.TrafficCheckRisk'
|
|
46
|
+
|
|
38
47
|
# Internal error.
|
|
39
48
|
INTERNALERROR = 'InternalError'
|
|
40
49
|
|
|
@@ -4712,14 +4712,22 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
|
4712
4712
|
|
|
4713
4713
|
def __init__(self):
|
|
4714
4714
|
r"""
|
|
4715
|
-
:param _LoadBalancerIds:
|
|
4715
|
+
:param _LoadBalancerIds: CLB instance ID array to be deleted, which can be obtained by calling the [DescribeLoadBalancers](https://www.tencentcloud.com/document/product/214/30685?from_cn_redirect=1) API. The array can include up to 20 elements.
|
|
4716
4716
|
:type LoadBalancerIds: list of str
|
|
4717
|
+
:param _ForceDelete: Whether to forcibly delete the CLB instance. True indicates forced deletion; False indicates non-forced deletion, and blocking verification is required.
|
|
4718
|
+
The default value is False.
|
|
4719
|
+
The deletion operation is blocked by default in the following cases. If you confirm forced deletion, the value of the forced verification parameter ForceDelete should be set to True.
|
|
4720
|
+
1. The instance with 20 or more RS bound to the backend is deleted.
|
|
4721
|
+
2. The instance with RS bound to the backend and the maximum peak inbound/outbound bandwidth exceeding 10 Mbps within 5 minutes is deleted.
|
|
4722
|
+
3. Thirty or more instances are deleted within 5 minutes in a single region.
|
|
4723
|
+
:type ForceDelete: bool
|
|
4717
4724
|
"""
|
|
4718
4725
|
self._LoadBalancerIds = None
|
|
4726
|
+
self._ForceDelete = None
|
|
4719
4727
|
|
|
4720
4728
|
@property
|
|
4721
4729
|
def LoadBalancerIds(self):
|
|
4722
|
-
r"""
|
|
4730
|
+
r"""CLB instance ID array to be deleted, which can be obtained by calling the [DescribeLoadBalancers](https://www.tencentcloud.com/document/product/214/30685?from_cn_redirect=1) API. The array can include up to 20 elements.
|
|
4723
4731
|
:rtype: list of str
|
|
4724
4732
|
"""
|
|
4725
4733
|
return self._LoadBalancerIds
|
|
@@ -4728,9 +4736,26 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
|
4728
4736
|
def LoadBalancerIds(self, LoadBalancerIds):
|
|
4729
4737
|
self._LoadBalancerIds = LoadBalancerIds
|
|
4730
4738
|
|
|
4739
|
+
@property
|
|
4740
|
+
def ForceDelete(self):
|
|
4741
|
+
r"""Whether to forcibly delete the CLB instance. True indicates forced deletion; False indicates non-forced deletion, and blocking verification is required.
|
|
4742
|
+
The default value is False.
|
|
4743
|
+
The deletion operation is blocked by default in the following cases. If you confirm forced deletion, the value of the forced verification parameter ForceDelete should be set to True.
|
|
4744
|
+
1. The instance with 20 or more RS bound to the backend is deleted.
|
|
4745
|
+
2. The instance with RS bound to the backend and the maximum peak inbound/outbound bandwidth exceeding 10 Mbps within 5 minutes is deleted.
|
|
4746
|
+
3. Thirty or more instances are deleted within 5 minutes in a single region.
|
|
4747
|
+
:rtype: bool
|
|
4748
|
+
"""
|
|
4749
|
+
return self._ForceDelete
|
|
4750
|
+
|
|
4751
|
+
@ForceDelete.setter
|
|
4752
|
+
def ForceDelete(self, ForceDelete):
|
|
4753
|
+
self._ForceDelete = ForceDelete
|
|
4754
|
+
|
|
4731
4755
|
|
|
4732
4756
|
def _deserialize(self, params):
|
|
4733
4757
|
self._LoadBalancerIds = params.get("LoadBalancerIds")
|
|
4758
|
+
self._ForceDelete = params.get("ForceDelete")
|
|
4734
4759
|
memeber_set = set(params.keys())
|
|
4735
4760
|
for name, value in vars(self).items():
|
|
4736
4761
|
property_name = name[1:]
|
|
@@ -394,6 +394,29 @@ class CynosdbClient(AbstractClient):
|
|
|
394
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
395
|
|
|
396
396
|
|
|
397
|
+
def CreateIntegrateCluster(self, request):
|
|
398
|
+
r"""This API is used to create a newly purchased cluster.
|
|
399
|
+
|
|
400
|
+
:param request: Request instance for CreateIntegrateCluster.
|
|
401
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.CreateIntegrateClusterRequest`
|
|
402
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.CreateIntegrateClusterResponse`
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
try:
|
|
406
|
+
params = request._serialize()
|
|
407
|
+
headers = request.headers
|
|
408
|
+
body = self.call("CreateIntegrateCluster", params, headers=headers)
|
|
409
|
+
response = json.loads(body)
|
|
410
|
+
model = models.CreateIntegrateClusterResponse()
|
|
411
|
+
model._deserialize(response["Response"])
|
|
412
|
+
return model
|
|
413
|
+
except Exception as e:
|
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
|
415
|
+
raise
|
|
416
|
+
else:
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
|
+
|
|
419
|
+
|
|
397
420
|
def CreateParamTemplate(self, request):
|
|
398
421
|
r"""This API is used to create parameter templates.
|
|
399
422
|
|
|
@@ -1314,6 +1337,29 @@ class CynosdbClient(AbstractClient):
|
|
|
1314
1337
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1315
1338
|
|
|
1316
1339
|
|
|
1340
|
+
def DescribeIntegrateTask(self, request):
|
|
1341
|
+
r"""This API is used to query cluster tasks.
|
|
1342
|
+
|
|
1343
|
+
:param request: Request instance for DescribeIntegrateTask.
|
|
1344
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeIntegrateTaskRequest`
|
|
1345
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeIntegrateTaskResponse`
|
|
1346
|
+
|
|
1347
|
+
"""
|
|
1348
|
+
try:
|
|
1349
|
+
params = request._serialize()
|
|
1350
|
+
headers = request.headers
|
|
1351
|
+
body = self.call("DescribeIntegrateTask", params, headers=headers)
|
|
1352
|
+
response = json.loads(body)
|
|
1353
|
+
model = models.DescribeIntegrateTaskResponse()
|
|
1354
|
+
model._deserialize(response["Response"])
|
|
1355
|
+
return model
|
|
1356
|
+
except Exception as e:
|
|
1357
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1358
|
+
raise
|
|
1359
|
+
else:
|
|
1360
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1361
|
+
|
|
1362
|
+
|
|
1317
1363
|
def DescribeIsolatedInstances(self, request):
|
|
1318
1364
|
r"""This interface is used for querying the recycle bin instance list.
|
|
1319
1365
|
|
|
@@ -308,6 +308,9 @@ OPERATIONDENIED_PROXYNOTRUNNINGERROR = 'OperationDenied.ProxyNotRunningError'
|
|
|
308
308
|
# Availability zone does not exist.
|
|
309
309
|
OPERATIONDENIED_PROXYSALEZONECHECKERROR = 'OperationDenied.ProxySaleZoneCheckError'
|
|
310
310
|
|
|
311
|
+
#
|
|
312
|
+
OPERATIONDENIED_PROXYSTOCKCHECKERROR = 'OperationDenied.ProxyStockCheckError'
|
|
313
|
+
|
|
311
314
|
# Proxy version check_failed.
|
|
312
315
|
OPERATIONDENIED_PROXYVERSIONCHECKERROR = 'OperationDenied.ProxyVersionCheckError'
|
|
313
316
|
|