tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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.
Files changed (76) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/bi/v20220105/bi_client.py +23 -0
  3. tencentcloud/bi/v20220105/models.py +179 -0
  4. tencentcloud/cbs/v20170312/models.py +17 -2
  5. tencentcloud/ccc/v20200210/models.py +21 -0
  6. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  7. tencentcloud/cdb/v20170320/models.py +30 -6
  8. tencentcloud/cdwdoris/v20211228/models.py +45 -0
  9. tencentcloud/cfs/v20190719/models.py +21 -2
  10. tencentcloud/clb/v20180317/models.py +30 -0
  11. tencentcloud/cls/v20201016/models.py +98 -24
  12. tencentcloud/common/abstract_client.py +14 -12
  13. tencentcloud/common/credential.py +61 -26
  14. tencentcloud/csip/v20221121/models.py +4 -4
  15. tencentcloud/ctem/v20231128/models.py +30 -0
  16. tencentcloud/cwp/v20180228/models.py +53 -14
  17. tencentcloud/cynosdb/v20190107/models.py +2 -0
  18. tencentcloud/dc/v20180410/models.py +30 -0
  19. tencentcloud/dlc/v20210125/dlc_client.py +161 -0
  20. tencentcloud/dlc/v20210125/errorcodes.py +6 -0
  21. tencentcloud/dlc/v20210125/models.py +1049 -0
  22. tencentcloud/dts/v20211206/dts_client.py +23 -0
  23. tencentcloud/dts/v20211206/models.py +64 -0
  24. tencentcloud/es/v20180416/models.py +85 -0
  25. tencentcloud/ess/v20201111/ess_client.py +56 -0
  26. tencentcloud/ess/v20201111/models.py +313 -8
  27. tencentcloud/essbasic/v20210526/models.py +70 -14
  28. tencentcloud/faceid/v20180301/models.py +2 -2
  29. tencentcloud/ioa/v20220601/errorcodes.py +6 -0
  30. tencentcloud/ioa/v20220601/ioa_client.py +46 -0
  31. tencentcloud/ioa/v20220601/models.py +1036 -91
  32. tencentcloud/iotexplorer/v20190423/models.py +112 -0
  33. tencentcloud/iss/v20230517/errorcodes.py +3 -0
  34. tencentcloud/iss/v20230517/iss_client.py +23 -0
  35. tencentcloud/iss/v20230517/models.py +122 -0
  36. tencentcloud/live/v20180801/models.py +2 -2
  37. tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
  38. tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
  39. tencentcloud/lkeap/v20240522/models.py +15 -0
  40. tencentcloud/mna/v20210119/models.py +2 -2
  41. tencentcloud/mongodb/v20190725/models.py +19 -0
  42. tencentcloud/mps/v20190612/models.py +229 -10
  43. tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
  44. tencentcloud/mqtt/v20240516/models.py +880 -22
  45. tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
  46. tencentcloud/ocr/v20181119/models.py +4 -4
  47. tencentcloud/ocr/v20181119/ocr_client.py +7 -23
  48. tencentcloud/organization/v20210331/models.py +393 -0
  49. tencentcloud/organization/v20210331/organization_client.py +23 -0
  50. tencentcloud/partners/v20180321/models.py +8 -8
  51. tencentcloud/partners/v20180321/partners_client.py +2 -2
  52. tencentcloud/postgres/v20170312/models.py +2 -2
  53. tencentcloud/rce/v20201103/rce_client.py +1 -1
  54. tencentcloud/smh/v20210712/models.py +19 -4
  55. tencentcloud/tbaas/v20180416/models.py +12 -12
  56. tencentcloud/tcaplusdb/v20190823/models.py +0 -328
  57. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  58. tencentcloud/tdmq/v20200217/models.py +51 -17
  59. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
  60. tencentcloud/tione/v20211111/models.py +333 -10
  61. tencentcloud/tke/v20180525/models.py +15 -0
  62. tencentcloud/tke/v20220501/models.py +32 -2
  63. tencentcloud/trocket/v20230308/models.py +2 -2
  64. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  65. tencentcloud/trtc/v20190722/trtc_client.py +9 -3
  66. tencentcloud/tse/v20201207/models.py +15 -0
  67. tencentcloud/tsf/v20180326/errorcodes.py +3 -0
  68. tencentcloud/tsf/v20180326/models.py +6 -6
  69. tencentcloud/vod/v20180717/models.py +4 -12
  70. tencentcloud/vpc/v20170312/errorcodes.py +18 -0
  71. tencentcloud/vpc/v20170312/models.py +15 -0
  72. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
  73. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
  74. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
  75. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
  76. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.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
 
@@ -620,6 +623,9 @@ RESOURCENOTFOUND_SESSIONSTATESHUTTINGDOWN = 'ResourceNotFound.SessionStateShutti
620
623
  # 找不到Spark Shuffle存储路径,请到控制台->数据探索页面->存储配置中设置
621
624
  RESOURCENOTFOUND_SHUFFLEDIRNOTFOUND = 'ResourceNotFound.ShuffleDirNotFound'
622
625
 
626
+ # 任务资源不足,请调整driver或executor指定规格大小
627
+ RESOURCENOTFOUND_SPARKJOBINSUFFICIENTRESOURCES = 'ResourceNotFound.SparkJobInsufficientResources'
628
+
623
629
  # 表不存在,请重试,或者提交工单联系我们
624
630
  RESOURCENOTFOUND_TABLENOTFOUND = 'ResourceNotFound.TableNotFound'
625
631