tencentcloud-sdk-python 3.0.1445__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.

Files changed (26) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cbs/v20170312/models.py +17 -2
  3. tencentcloud/ccc/v20200210/models.py +21 -0
  4. tencentcloud/dlc/v20210125/dlc_client.py +161 -0
  5. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  6. tencentcloud/dlc/v20210125/models.py +1019 -0
  7. tencentcloud/es/v20180416/models.py +85 -0
  8. tencentcloud/ess/v20201111/models.py +32 -0
  9. tencentcloud/essbasic/v20210526/models.py +62 -0
  10. tencentcloud/ioa/v20220601/models.py +78 -50
  11. tencentcloud/mps/v20190612/models.py +55 -10
  12. tencentcloud/postgres/v20170312/models.py +2 -2
  13. tencentcloud/tbaas/v20180416/models.py +12 -12
  14. tencentcloud/tcaplusdb/v20190823/models.py +0 -328
  15. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  16. tencentcloud/tdmq/v20200217/models.py +51 -17
  17. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  18. tencentcloud/trocket/v20230308/models.py +2 -2
  19. tencentcloud/tse/v20201207/models.py +15 -0
  20. tencentcloud/tsf/v20180326/models.py +10 -8
  21. tencentcloud/vod/v20180717/models.py +4 -12
  22. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/RECORD +26 -26
  24. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/LICENSE +0 -0
  25. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/WHEEL +0 -0
  26. {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1445'
17
+ __version__ = '3.0.1446'
@@ -6520,14 +6520,17 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
6520
6520
  r"""
6521
6521
  :param _DiskSize: 云硬盘扩容后的大小,单位为GiB,不得小于当前云硬盘大小。云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。
6522
6522
  :type DiskSize: int
6523
- :param _DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
6523
+ :param _DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskIds互斥。
6524
6524
  :type DiskId: str
6525
6525
  :param _ProjectId: 云硬盘所属项目ID。该参数可以通过调用[DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。 如传入则仅用于鉴权。
6526
6526
  :type ProjectId: int
6527
+ :param _DiskIds: 云硬盘ID列表, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskId互斥。
6528
+ :type DiskIds: list of str
6527
6529
  """
6528
6530
  self._DiskSize = None
6529
6531
  self._DiskId = None
6530
6532
  self._ProjectId = None
6533
+ self._DiskIds = None
6531
6534
 
6532
6535
  @property
6533
6536
  def DiskSize(self):
@@ -6542,7 +6545,7 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
6542
6545
 
6543
6546
  @property
6544
6547
  def DiskId(self):
6545
- """云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
6548
+ """云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskIds互斥。
6546
6549
  :rtype: str
6547
6550
  """
6548
6551
  return self._DiskId
@@ -6562,11 +6565,23 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
6562
6565
  def ProjectId(self, ProjectId):
6563
6566
  self._ProjectId = ProjectId
6564
6567
 
6568
+ @property
6569
+ def DiskIds(self):
6570
+ """云硬盘ID列表, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskId互斥。
6571
+ :rtype: list of str
6572
+ """
6573
+ return self._DiskIds
6574
+
6575
+ @DiskIds.setter
6576
+ def DiskIds(self, DiskIds):
6577
+ self._DiskIds = DiskIds
6578
+
6565
6579
 
6566
6580
  def _deserialize(self, params):
6567
6581
  self._DiskSize = params.get("DiskSize")
6568
6582
  self._DiskId = params.get("DiskId")
6569
6583
  self._ProjectId = params.get("ProjectId")
6584
+ self._DiskIds = params.get("DiskIds")
6570
6585
  memeber_set = set(params.keys())
6571
6586
  for name, value in vars(self).items():
6572
6587
  property_name = name[1:]
@@ -3218,6 +3218,11 @@ HoaiMy
3218
3218
  :type VadLevel: int
3219
3219
  :param _ToneWord: 衔接语
3220
3220
  :type ToneWord: :class:`tencentcloud.ccc.v20200210.models.ToneWordInfo`
3221
+ :param _EnableComplianceAudio: 合规提示音,
3222
+ 该参数传true(默认)表示通话开始播放摩斯码,提示对话内容为 AI 生成。
3223
+ 该参数传false表示关闭合规提示音。该参数传false则代表您知晓并同意以下协议:
3224
+ 我方充分知悉和理解,根据[《网络安全法》](https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm)[《互联网信息服务深度合成管理规定》](https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm)[《生成式人工智能服务管理暂行办法》](https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm)[《人工智能生成合成内容标识办法》](https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm)的法律法规的规定,对人工智能生成合成内容应当添加显式标识和隐式标识。我方基于业务需求,请腾讯云对生成合成内容不添加显式标识,我方承诺合法合规使用生成合成内容,避免造成混淆、误认;如果使用生成合成内容对公众提供服务的,或通过网络传播的,我方将自觉主动添加符合法律规定和国家标准要求的显式标识,承担人工智能生成合成内容标识的法律义务。我方未能恰当、合理地履行人工智能内容标识义务造成不良后果的,或遭受主管部门责罚的,相关责任由我方完全承担。
3225
+ :type EnableComplianceAudio: bool
3221
3226
  """
3222
3227
  self._SdkAppId = None
3223
3228
  self._Callee = None
@@ -3251,6 +3256,7 @@ HoaiMy
3251
3256
  self._TopP = None
3252
3257
  self._VadLevel = None
3253
3258
  self._ToneWord = None
3259
+ self._EnableComplianceAudio = None
3254
3260
 
3255
3261
  @property
3256
3262
  def SdkAppId(self):
@@ -3779,6 +3785,20 @@ HoaiMy
3779
3785
  def ToneWord(self, ToneWord):
3780
3786
  self._ToneWord = ToneWord
3781
3787
 
3788
+ @property
3789
+ def EnableComplianceAudio(self):
3790
+ """合规提示音,
3791
+ 该参数传true(默认)表示通话开始播放摩斯码,提示对话内容为 AI 生成。
3792
+ 该参数传false表示关闭合规提示音。该参数传false则代表您知晓并同意以下协议:
3793
+ 我方充分知悉和理解,根据[《网络安全法》](https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm)[《互联网信息服务深度合成管理规定》](https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm)[《生成式人工智能服务管理暂行办法》](https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm)[《人工智能生成合成内容标识办法》](https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm)的法律法规的规定,对人工智能生成合成内容应当添加显式标识和隐式标识。我方基于业务需求,请腾讯云对生成合成内容不添加显式标识,我方承诺合法合规使用生成合成内容,避免造成混淆、误认;如果使用生成合成内容对公众提供服务的,或通过网络传播的,我方将自觉主动添加符合法律规定和国家标准要求的显式标识,承担人工智能生成合成内容标识的法律义务。我方未能恰当、合理地履行人工智能内容标识义务造成不良后果的,或遭受主管部门责罚的,相关责任由我方完全承担。
3794
+ :rtype: bool
3795
+ """
3796
+ return self._EnableComplianceAudio
3797
+
3798
+ @EnableComplianceAudio.setter
3799
+ def EnableComplianceAudio(self, EnableComplianceAudio):
3800
+ self._EnableComplianceAudio = EnableComplianceAudio
3801
+
3782
3802
 
3783
3803
  def _deserialize(self, params):
3784
3804
  self._SdkAppId = params.get("SdkAppId")
@@ -3835,6 +3855,7 @@ HoaiMy
3835
3855
  if params.get("ToneWord") is not None:
3836
3856
  self._ToneWord = ToneWordInfo()
3837
3857
  self._ToneWord._deserialize(params.get("ToneWord"))
3858
+ self._EnableComplianceAudio = params.get("EnableComplianceAudio")
3838
3859
  memeber_set = set(params.keys())
3839
3860
  for name, value in vars(self).items():
3840
3861
  property_name = name[1:]
@@ -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