tencentcloud-sdk-python 3.0.1444__py2.py3-none-any.whl → 3.0.1446__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cls/v20201016/models.py +393 -62
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1019 -0
- tencentcloud/emr/v20190103/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/models.py +137 -0
- tencentcloud/essbasic/v20210526/models.py +122 -0
- tencentcloud/ioa/v20220601/models.py +78 -50
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +1998 -50
- tencentcloud/mps/v20190612/models.py +55 -10
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/partners/v20180321/models.py +4 -4
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +6 -6
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trabbit/v20230418/models.py +15 -0
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +240 -82
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +505 -6
- tencentcloud/vod/v20180717/vod_client.py +101 -0
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/top_level.txt +0 -0
|
@@ -210,6 +210,29 @@ class DlcClient(AbstractClient):
|
|
|
210
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
211
|
|
|
212
212
|
|
|
213
|
+
def AttachDataMaskPolicy(self, request):
|
|
214
|
+
"""绑定数据脱敏策略
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for AttachDataMaskPolicy.
|
|
217
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.AttachDataMaskPolicyRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.AttachDataMaskPolicyResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("AttachDataMaskPolicy", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.AttachDataMaskPolicyResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
213
236
|
def AttachUserPolicy(self, request):
|
|
214
237
|
"""绑定鉴权策略到用户
|
|
215
238
|
|
|
@@ -578,6 +601,29 @@ class DlcClient(AbstractClient):
|
|
|
578
601
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
579
602
|
|
|
580
603
|
|
|
604
|
+
def CreateDataMaskStrategy(self, request):
|
|
605
|
+
"""创建数据脱敏策略
|
|
606
|
+
|
|
607
|
+
:param request: Request instance for CreateDataMaskStrategy.
|
|
608
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CreateDataMaskStrategyRequest`
|
|
609
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CreateDataMaskStrategyResponse`
|
|
610
|
+
|
|
611
|
+
"""
|
|
612
|
+
try:
|
|
613
|
+
params = request._serialize()
|
|
614
|
+
headers = request.headers
|
|
615
|
+
body = self.call("CreateDataMaskStrategy", params, headers=headers)
|
|
616
|
+
response = json.loads(body)
|
|
617
|
+
model = models.CreateDataMaskStrategyResponse()
|
|
618
|
+
model._deserialize(response["Response"])
|
|
619
|
+
return model
|
|
620
|
+
except Exception as e:
|
|
621
|
+
if isinstance(e, TencentCloudSDKException):
|
|
622
|
+
raise
|
|
623
|
+
else:
|
|
624
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
625
|
+
|
|
626
|
+
|
|
581
627
|
def CreateDatabase(self, request):
|
|
582
628
|
"""本接口(CreateDatabase)用于生成建库SQL语句。
|
|
583
629
|
|
|
@@ -1132,6 +1178,29 @@ class DlcClient(AbstractClient):
|
|
|
1132
1178
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1133
1179
|
|
|
1134
1180
|
|
|
1181
|
+
def DeleteDataMaskStrategy(self, request):
|
|
1182
|
+
"""删除数据脱敏策略
|
|
1183
|
+
|
|
1184
|
+
:param request: Request instance for DeleteDataMaskStrategy.
|
|
1185
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DeleteDataMaskStrategyRequest`
|
|
1186
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DeleteDataMaskStrategyResponse`
|
|
1187
|
+
|
|
1188
|
+
"""
|
|
1189
|
+
try:
|
|
1190
|
+
params = request._serialize()
|
|
1191
|
+
headers = request.headers
|
|
1192
|
+
body = self.call("DeleteDataMaskStrategy", params, headers=headers)
|
|
1193
|
+
response = json.loads(body)
|
|
1194
|
+
model = models.DeleteDataMaskStrategyResponse()
|
|
1195
|
+
model._deserialize(response["Response"])
|
|
1196
|
+
return model
|
|
1197
|
+
except Exception as e:
|
|
1198
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1199
|
+
raise
|
|
1200
|
+
else:
|
|
1201
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1202
|
+
|
|
1203
|
+
|
|
1135
1204
|
def DeleteNativeSparkSession(self, request):
|
|
1136
1205
|
"""根据spark session名称销毁eg spark session
|
|
1137
1206
|
|
|
@@ -1707,6 +1776,29 @@ class DlcClient(AbstractClient):
|
|
|
1707
1776
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1708
1777
|
|
|
1709
1778
|
|
|
1779
|
+
def DescribeDataMaskStrategies(self, request):
|
|
1780
|
+
"""查询数据脱敏列表接口
|
|
1781
|
+
|
|
1782
|
+
:param request: Request instance for DescribeDataMaskStrategies.
|
|
1783
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeDataMaskStrategiesRequest`
|
|
1784
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeDataMaskStrategiesResponse`
|
|
1785
|
+
|
|
1786
|
+
"""
|
|
1787
|
+
try:
|
|
1788
|
+
params = request._serialize()
|
|
1789
|
+
headers = request.headers
|
|
1790
|
+
body = self.call("DescribeDataMaskStrategies", params, headers=headers)
|
|
1791
|
+
response = json.loads(body)
|
|
1792
|
+
model = models.DescribeDataMaskStrategiesResponse()
|
|
1793
|
+
model._deserialize(response["Response"])
|
|
1794
|
+
return model
|
|
1795
|
+
except Exception as e:
|
|
1796
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1797
|
+
raise
|
|
1798
|
+
else:
|
|
1799
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1800
|
+
|
|
1801
|
+
|
|
1710
1802
|
def DescribeDatabases(self, request):
|
|
1711
1803
|
"""本接口(DescribeDatabases)用于查询数据库列表。
|
|
1712
1804
|
|
|
@@ -2696,6 +2788,29 @@ class DlcClient(AbstractClient):
|
|
|
2696
2788
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2697
2789
|
|
|
2698
2790
|
|
|
2791
|
+
def DescribeUDFPolicy(self, request):
|
|
2792
|
+
"""获取UDF权限信息
|
|
2793
|
+
|
|
2794
|
+
:param request: Request instance for DescribeUDFPolicy.
|
|
2795
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeUDFPolicyRequest`
|
|
2796
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeUDFPolicyResponse`
|
|
2797
|
+
|
|
2798
|
+
"""
|
|
2799
|
+
try:
|
|
2800
|
+
params = request._serialize()
|
|
2801
|
+
headers = request.headers
|
|
2802
|
+
body = self.call("DescribeUDFPolicy", params, headers=headers)
|
|
2803
|
+
response = json.loads(body)
|
|
2804
|
+
model = models.DescribeUDFPolicyResponse()
|
|
2805
|
+
model._deserialize(response["Response"])
|
|
2806
|
+
return model
|
|
2807
|
+
except Exception as e:
|
|
2808
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2809
|
+
raise
|
|
2810
|
+
else:
|
|
2811
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2812
|
+
|
|
2813
|
+
|
|
2699
2814
|
def DescribeUpdatableDataEngines(self, request):
|
|
2700
2815
|
"""查询可更新配置的引擎列表
|
|
2701
2816
|
|
|
@@ -3823,6 +3938,29 @@ class DlcClient(AbstractClient):
|
|
|
3823
3938
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3824
3939
|
|
|
3825
3940
|
|
|
3941
|
+
def UpdateDataMaskStrategy(self, request):
|
|
3942
|
+
"""更新数据脱敏策略
|
|
3943
|
+
|
|
3944
|
+
:param request: Request instance for UpdateDataMaskStrategy.
|
|
3945
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.UpdateDataMaskStrategyRequest`
|
|
3946
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.UpdateDataMaskStrategyResponse`
|
|
3947
|
+
|
|
3948
|
+
"""
|
|
3949
|
+
try:
|
|
3950
|
+
params = request._serialize()
|
|
3951
|
+
headers = request.headers
|
|
3952
|
+
body = self.call("UpdateDataMaskStrategy", params, headers=headers)
|
|
3953
|
+
response = json.loads(body)
|
|
3954
|
+
model = models.UpdateDataMaskStrategyResponse()
|
|
3955
|
+
model._deserialize(response["Response"])
|
|
3956
|
+
return model
|
|
3957
|
+
except Exception as e:
|
|
3958
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3959
|
+
raise
|
|
3960
|
+
else:
|
|
3961
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3962
|
+
|
|
3963
|
+
|
|
3826
3964
|
def UpdateEngineResourceGroupNetworkConfigInfo(self, request):
|
|
3827
3965
|
"""更新标准引擎资源组网络配置信息
|
|
3828
3966
|
|
|
@@ -3961,6 +4099,29 @@ class DlcClient(AbstractClient):
|
|
|
3961
4099
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3962
4100
|
|
|
3963
4101
|
|
|
4102
|
+
def UpdateUDFPolicy(self, request):
|
|
4103
|
+
"""UDP权限修改
|
|
4104
|
+
|
|
4105
|
+
:param request: Request instance for UpdateUDFPolicy.
|
|
4106
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.UpdateUDFPolicyRequest`
|
|
4107
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.UpdateUDFPolicyResponse`
|
|
4108
|
+
|
|
4109
|
+
"""
|
|
4110
|
+
try:
|
|
4111
|
+
params = request._serialize()
|
|
4112
|
+
headers = request.headers
|
|
4113
|
+
body = self.call("UpdateUDFPolicy", params, headers=headers)
|
|
4114
|
+
response = json.loads(body)
|
|
4115
|
+
model = models.UpdateUDFPolicyResponse()
|
|
4116
|
+
model._deserialize(response["Response"])
|
|
4117
|
+
return model
|
|
4118
|
+
except Exception as e:
|
|
4119
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4120
|
+
raise
|
|
4121
|
+
else:
|
|
4122
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4123
|
+
|
|
4124
|
+
|
|
3964
4125
|
def UpdateUserDataEngineConfig(self, request):
|
|
3965
4126
|
"""修改用户引擎自定义配置
|
|
3966
4127
|
|
|
@@ -146,6 +146,9 @@ FAILEDOPERATION_TOOMANYRESOURCES = 'FailedOperation.TooManyResources'
|
|
|
146
146
|
# 标签数量超出限制。
|
|
147
147
|
FAILEDOPERATION_TOOMANYTAGS = 'FailedOperation.TooManyTags'
|
|
148
148
|
|
|
149
|
+
# 更新权限信息失败。
|
|
150
|
+
FAILEDOPERATION_UPDATEPOLICYFAILED = 'FailedOperation.UpdatePolicyFailed'
|
|
151
|
+
|
|
149
152
|
# 内部错误。
|
|
150
153
|
INTERNALERROR = 'InternalError'
|
|
151
154
|
|