tencentcloud-sdk-python 3.0.1412__py2.py3-none-any.whl → 3.0.1413__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 (67) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ams/v20201229/models.py +2 -14
  3. tencentcloud/batch/v20170312/batch_client.py +23 -0
  4. tencentcloud/batch/v20170312/models.py +236 -0
  5. tencentcloud/bh/v20230418/models.py +424 -0
  6. tencentcloud/bi/v20220105/models.py +15 -0
  7. tencentcloud/ccc/v20200210/models.py +17 -0
  8. tencentcloud/cdb/v20170320/cdb_client.py +6 -5
  9. tencentcloud/cdb/v20170320/models.py +50 -42
  10. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  11. tencentcloud/cdwch/v20200915/models.py +700 -0
  12. tencentcloud/cdwdoris/v20211228/models.py +36 -2
  13. tencentcloud/cfg/v20210820/models.py +123 -0
  14. tencentcloud/ckafka/v20190819/models.py +32 -2
  15. tencentcloud/csip/v20221121/csip_client.py +73 -4
  16. tencentcloud/csip/v20221121/models.py +1510 -227
  17. tencentcloud/cvm/v20170312/models.py +17 -4
  18. tencentcloud/dlc/v20210125/models.py +101 -0
  19. tencentcloud/emr/v20190103/emr_client.py +69 -0
  20. tencentcloud/emr/v20190103/errorcodes.py +54 -0
  21. tencentcloud/emr/v20190103/models.py +1536 -98
  22. tencentcloud/ess/v20201111/models.py +57 -10
  23. tencentcloud/essbasic/v20210526/models.py +2 -2
  24. tencentcloud/gs/v20191118/models.py +67 -2
  25. tencentcloud/hai/v20230812/errorcodes.py +3 -0
  26. tencentcloud/igtm/__init__.py +0 -0
  27. tencentcloud/igtm/v20231024/__init__.py +0 -0
  28. tencentcloud/igtm/v20231024/errorcodes.py +264 -0
  29. tencentcloud/igtm/v20231024/igtm_client.py +555 -0
  30. tencentcloud/igtm/v20231024/models.py +6234 -0
  31. tencentcloud/ims/v20201229/models.py +0 -4
  32. tencentcloud/ioa/v20220601/errorcodes.py +9 -0
  33. tencentcloud/ioa/v20220601/ioa_client.py +46 -0
  34. tencentcloud/ioa/v20220601/models.py +396 -0
  35. tencentcloud/iss/v20230517/models.py +17 -2
  36. tencentcloud/kms/v20190118/models.py +10 -22
  37. tencentcloud/mps/v20190612/models.py +82 -2
  38. tencentcloud/ocr/v20181119/models.py +247 -842
  39. tencentcloud/partners/v20180321/models.py +6 -2
  40. tencentcloud/securitylake/__init__.py +0 -0
  41. tencentcloud/securitylake/v20240117/__init__.py +0 -0
  42. tencentcloud/securitylake/v20240117/errorcodes.py +75 -0
  43. tencentcloud/securitylake/v20240117/models.py +1152 -0
  44. tencentcloud/securitylake/v20240117/securitylake_client.py +49 -0
  45. tencentcloud/sms/v20190711/errorcodes.py +2 -2
  46. tencentcloud/sms/v20210111/errorcodes.py +2 -2
  47. tencentcloud/tcbr/v20220217/models.py +113 -0
  48. tencentcloud/tdmq/v20200217/models.py +437 -10
  49. tencentcloud/teo/v20220901/models.py +65 -50
  50. tencentcloud/teo/v20220901/teo_client.py +8 -2
  51. tencentcloud/tione/v20211111/models.py +491 -2
  52. tencentcloud/tione/v20211111/tione_client.py +23 -0
  53. tencentcloud/tke/v20180525/models.py +79 -54
  54. tencentcloud/trocket/v20230308/models.py +164 -162
  55. tencentcloud/trocket/v20230308/trocket_client.py +46 -18
  56. tencentcloud/tsf/v20180326/models.py +6363 -4491
  57. tencentcloud/tsf/v20180326/tsf_client.py +23 -0
  58. tencentcloud/vdb/v20230616/models.py +75 -0
  59. tencentcloud/vm/v20210922/models.py +0 -8
  60. tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  61. tencentcloud/wav/v20210129/models.py +6 -6
  62. tencentcloud/wedata/v20210820/models.py +15 -0
  63. {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/METADATA +1 -1
  64. {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/RECORD +67 -57
  65. {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/LICENSE +0 -0
  66. {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/WHEEL +0 -0
  67. {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/top_level.txt +0 -0
@@ -3723,15 +3723,13 @@ class GenerateDataKeyRequest(AbstractModel):
3723
3723
  :type EncryptionPublicKey: str
3724
3724
  :param _EncryptionAlgorithm: 非对称加密算法,配合 EncryptionPublicKey 对返回数据进行加密。目前支持:SM2(以 C1C3C2 格式返回密文),SM2_C1C3C2_ASN1 (以 C1C3C2 ASN1 格式返回密文),RSAES_PKCS1_V1_5,RSAES_OAEP_SHA_1,RSAES_OAEP_SHA_256。若为空,则默认为 SM2。
3725
3725
  :type EncryptionAlgorithm: str
3726
- :param _IsHostedByKms: 表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。
3726
+ :param _IsHostedByKms: 表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。
3727
3727
  :type IsHostedByKms: int
3728
3728
  :param _DataKeyName: 数据密钥的名称,当IsHostedByKms为1时,必须填写。当IsHostedByKms为0时,可以不填,KMS不托管。
3729
3729
  :type DataKeyName: str
3730
3730
  :param _Description: 数据密钥 的描述,最大100字节
3731
3731
  :type Description: str
3732
- :param _HsmClusterId: KMS 独享版对应的 HSM 集群 ID
3733
- 当KeyId 没有传入时有效,如果指定HsmClusterId,会默认在此集群下生成根密钥,然后利用创建的根密钥产生数据密钥。
3734
- 如果没有指定HsmClusterId,则会在公有云共享集群下创建一个根密钥,然后利用创建的根密钥产生数据密钥。
3732
+ :param _HsmClusterId: KMS 独享版对应的 HSM 集群 ID。如果指定HsmClusterId,表明根密钥在此集群里,会校验KeyId是否和HsmClusterId对应。
3735
3733
  :type HsmClusterId: str
3736
3734
  """
3737
3735
  self._KeyId = None
@@ -3813,7 +3811,7 @@ class GenerateDataKeyRequest(AbstractModel):
3813
3811
 
3814
3812
  @property
3815
3813
  def IsHostedByKms(self):
3816
- """表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。
3814
+ """表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。
3817
3815
  :rtype: int
3818
3816
  """
3819
3817
  return self._IsHostedByKms
@@ -3846,9 +3844,7 @@ class GenerateDataKeyRequest(AbstractModel):
3846
3844
 
3847
3845
  @property
3848
3846
  def HsmClusterId(self):
3849
- """KMS 独享版对应的 HSM 集群 ID
3850
- 当KeyId 没有传入时有效,如果指定HsmClusterId,会默认在此集群下生成根密钥,然后利用创建的根密钥产生数据密钥。
3851
- 如果没有指定HsmClusterId,则会在公有云共享集群下创建一个根密钥,然后利用创建的根密钥产生数据密钥。
3847
+ """KMS 独享版对应的 HSM 集群 ID。如果指定HsmClusterId,表明根密钥在此集群里,会校验KeyId是否和HsmClusterId对应。
3852
3848
  :rtype: str
3853
3849
  """
3854
3850
  return self._HsmClusterId
@@ -4921,14 +4917,10 @@ class ImportDataKeyRequest(AbstractModel):
4921
4917
  :type ImportType: int
4922
4918
  :param _Description: 数据密钥 的描述,最大100字节
4923
4919
  :type Description: str
4924
- :param _KeyId: 当导入密文数据密钥时,无需传入根密钥,如果传入也会忽略。
4925
- KeyId 为空,如果指定了独享集群HsmClusterId,则会在独享集群下创建一个根密钥,根据生成的根密钥加密数据密钥。
4926
- 如果没有指定独享集群HsmClusterId,则会在公有云共享集群下创建一个根密钥,根据生成的根密钥加密数据密钥。
4927
- 如果KeyId 不为空,根据指定的根密钥加密数据密钥。
4920
+ :param _KeyId: 当导入密文数据密钥时,无需传入根密钥,如果传入会校验此KeyId是否和密文中一致。
4921
+ 当导入明文数据密钥,KeyId 不能为空,会根据指定的根密钥加密数据密钥。
4928
4922
  :type KeyId: str
4929
- :param _HsmClusterId: KMS 独享版对应的 HSM 集群 ID
4930
- 当KeyId 没有传入时有效,如果指定了独享集群HsmClusterId,则会在独享集群下创建一个根密钥,根据产生的根密钥加密数据密钥。
4931
- 如果没有指定独享集群HsmClusterId,则会在公有云共享集群下创建一个根密钥,根据产生的根密钥加密数据密钥。
4923
+ :param _HsmClusterId: KMS 独享版对应的 HSM 集群 ID。如果指定HsmClusterId,表明根密钥在此集群里,会校验KeyId是否和HsmClusterId对应。
4932
4924
  :type HsmClusterId: str
4933
4925
  """
4934
4926
  self._DataKeyName = None
@@ -4984,10 +4976,8 @@ class ImportDataKeyRequest(AbstractModel):
4984
4976
 
4985
4977
  @property
4986
4978
  def KeyId(self):
4987
- """当导入密文数据密钥时,无需传入根密钥,如果传入也会忽略。
4988
- KeyId 为空,如果指定了独享集群HsmClusterId,则会在独享集群下创建一个根密钥,根据生成的根密钥加密数据密钥。
4989
- 如果没有指定独享集群HsmClusterId,则会在公有云共享集群下创建一个根密钥,根据生成的根密钥加密数据密钥。
4990
- 如果KeyId 不为空,根据指定的根密钥加密数据密钥。
4979
+ """当导入密文数据密钥时,无需传入根密钥,如果传入会校验此KeyId是否和密文中一致。
4980
+ 当导入明文数据密钥,KeyId 不能为空,会根据指定的根密钥加密数据密钥。
4991
4981
  :rtype: str
4992
4982
  """
4993
4983
  return self._KeyId
@@ -4998,9 +4988,7 @@ class ImportDataKeyRequest(AbstractModel):
4998
4988
 
4999
4989
  @property
5000
4990
  def HsmClusterId(self):
5001
- """KMS 独享版对应的 HSM 集群 ID
5002
- 当KeyId 没有传入时有效,如果指定了独享集群HsmClusterId,则会在独享集群下创建一个根密钥,根据产生的根密钥加密数据密钥。
5003
- 如果没有指定独享集群HsmClusterId,则会在公有云共享集群下创建一个根密钥,根据产生的根密钥加密数据密钥。
4991
+ """KMS 独享版对应的 HSM 集群 ID。如果指定HsmClusterId,表明根密钥在此集群里,会校验KeyId是否和HsmClusterId对应。
5004
4992
  :rtype: str
5005
4993
  """
5006
4994
  return self._HsmClusterId
@@ -19014,10 +19014,14 @@ class CreateQualityControlTemplateRequest(AbstractModel):
19014
19014
  :type QualityControlItemSet: list of QualityControlItemConfig
19015
19015
  :param _Comment: 媒体质检模板描述信息,长度限制:256 个字符。
19016
19016
  :type Comment: str
19017
+ :param _RecordFormat: 录制文件格式。可选值:
19018
+ <li>PNG: PNG图片</li>
19019
+ :type RecordFormat: str
19017
19020
  """
19018
19021
  self._Name = None
19019
19022
  self._QualityControlItemSet = None
19020
19023
  self._Comment = None
19024
+ self._RecordFormat = None
19021
19025
 
19022
19026
  @property
19023
19027
  def Name(self):
@@ -19052,6 +19056,18 @@ class CreateQualityControlTemplateRequest(AbstractModel):
19052
19056
  def Comment(self, Comment):
19053
19057
  self._Comment = Comment
19054
19058
 
19059
+ @property
19060
+ def RecordFormat(self):
19061
+ """录制文件格式。可选值:
19062
+ <li>PNG: PNG图片</li>
19063
+ :rtype: str
19064
+ """
19065
+ return self._RecordFormat
19066
+
19067
+ @RecordFormat.setter
19068
+ def RecordFormat(self, RecordFormat):
19069
+ self._RecordFormat = RecordFormat
19070
+
19055
19071
 
19056
19072
  def _deserialize(self, params):
19057
19073
  self._Name = params.get("Name")
@@ -19062,6 +19078,7 @@ class CreateQualityControlTemplateRequest(AbstractModel):
19062
19078
  obj._deserialize(item)
19063
19079
  self._QualityControlItemSet.append(obj)
19064
19080
  self._Comment = params.get("Comment")
19081
+ self._RecordFormat = params.get("RecordFormat")
19065
19082
  memeber_set = set(params.keys())
19066
19083
  for name, value in vars(self).items():
19067
19084
  property_name = name[1:]
@@ -39458,6 +39475,9 @@ class LiveStreamAsrFullTextRecognitionResult(AbstractModel):
39458
39475
  :param _SteadyState: 稳态标记。
39459
39476
  注意:此字段可能返回 null,表示取不到有效值。
39460
39477
  :type SteadyState: bool
39478
+ :param _UserId: websocket与trtc识别结果的UserId
39479
+ 注意:此字段可能返回 null,表示取不到有效值。
39480
+ :type UserId: str
39461
39481
  """
39462
39482
  self._Text = None
39463
39483
  self._StartPtsTime = None
@@ -39466,6 +39486,7 @@ class LiveStreamAsrFullTextRecognitionResult(AbstractModel):
39466
39486
  self._StartTime = None
39467
39487
  self._EndTime = None
39468
39488
  self._SteadyState = None
39489
+ self._UserId = None
39469
39490
 
39470
39491
  @property
39471
39492
  def Text(self):
@@ -39547,6 +39568,18 @@ class LiveStreamAsrFullTextRecognitionResult(AbstractModel):
39547
39568
  def SteadyState(self, SteadyState):
39548
39569
  self._SteadyState = SteadyState
39549
39570
 
39571
+ @property
39572
+ def UserId(self):
39573
+ """websocket与trtc识别结果的UserId
39574
+ 注意:此字段可能返回 null,表示取不到有效值。
39575
+ :rtype: str
39576
+ """
39577
+ return self._UserId
39578
+
39579
+ @UserId.setter
39580
+ def UserId(self, UserId):
39581
+ self._UserId = UserId
39582
+
39550
39583
 
39551
39584
  def _deserialize(self, params):
39552
39585
  self._Text = params.get("Text")
@@ -39556,6 +39589,7 @@ class LiveStreamAsrFullTextRecognitionResult(AbstractModel):
39556
39589
  self._StartTime = params.get("StartTime")
39557
39590
  self._EndTime = params.get("EndTime")
39558
39591
  self._SteadyState = params.get("SteadyState")
39592
+ self._UserId = params.get("UserId")
39559
39593
  memeber_set = set(params.keys())
39560
39594
  for name, value in vars(self).items():
39561
39595
  property_name = name[1:]
@@ -40542,6 +40576,9 @@ class LiveStreamTransTextRecognitionResult(AbstractModel):
40542
40576
  :param _SteadyState: 稳态标记。
40543
40577
  注意:此字段可能返回 null,表示取不到有效值。
40544
40578
  :type SteadyState: bool
40579
+ :param _UserId: websocket与trtc实时翻译的UserId
40580
+ 注意:此字段可能返回 null,表示取不到有效值。
40581
+ :type UserId: str
40545
40582
  """
40546
40583
  self._Text = None
40547
40584
  self._StartPtsTime = None
@@ -40551,6 +40588,7 @@ class LiveStreamTransTextRecognitionResult(AbstractModel):
40551
40588
  self._StartTime = None
40552
40589
  self._EndTime = None
40553
40590
  self._SteadyState = None
40591
+ self._UserId = None
40554
40592
 
40555
40593
  @property
40556
40594
  def Text(self):
@@ -40643,6 +40681,18 @@ class LiveStreamTransTextRecognitionResult(AbstractModel):
40643
40681
  def SteadyState(self, SteadyState):
40644
40682
  self._SteadyState = SteadyState
40645
40683
 
40684
+ @property
40685
+ def UserId(self):
40686
+ """websocket与trtc实时翻译的UserId
40687
+ 注意:此字段可能返回 null,表示取不到有效值。
40688
+ :rtype: str
40689
+ """
40690
+ return self._UserId
40691
+
40692
+ @UserId.setter
40693
+ def UserId(self, UserId):
40694
+ self._UserId = UserId
40695
+
40646
40696
 
40647
40697
  def _deserialize(self, params):
40648
40698
  self._Text = params.get("Text")
@@ -40653,6 +40703,7 @@ class LiveStreamTransTextRecognitionResult(AbstractModel):
40653
40703
  self._StartTime = params.get("StartTime")
40654
40704
  self._EndTime = params.get("EndTime")
40655
40705
  self._SteadyState = params.get("SteadyState")
40706
+ self._UserId = params.get("UserId")
40656
40707
  memeber_set = set(params.keys())
40657
40708
  for name, value in vars(self).items():
40658
40709
  property_name = name[1:]
@@ -46855,11 +46906,15 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
46855
46906
  :type Comment: str
46856
46907
  :param _QualityControlItemSet: 媒体质检配置参数。
46857
46908
  :type QualityControlItemSet: list of QualityControlItemConfig
46909
+ :param _RecordFormat: 录制文件格式。可选值:
46910
+ <li>PNG: PNG图片</li>
46911
+ :type RecordFormat: str
46858
46912
  """
46859
46913
  self._Definition = None
46860
46914
  self._Name = None
46861
46915
  self._Comment = None
46862
46916
  self._QualityControlItemSet = None
46917
+ self._RecordFormat = None
46863
46918
 
46864
46919
  @property
46865
46920
  def Definition(self):
@@ -46905,6 +46960,18 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
46905
46960
  def QualityControlItemSet(self, QualityControlItemSet):
46906
46961
  self._QualityControlItemSet = QualityControlItemSet
46907
46962
 
46963
+ @property
46964
+ def RecordFormat(self):
46965
+ """录制文件格式。可选值:
46966
+ <li>PNG: PNG图片</li>
46967
+ :rtype: str
46968
+ """
46969
+ return self._RecordFormat
46970
+
46971
+ @RecordFormat.setter
46972
+ def RecordFormat(self, RecordFormat):
46973
+ self._RecordFormat = RecordFormat
46974
+
46908
46975
 
46909
46976
  def _deserialize(self, params):
46910
46977
  self._Definition = params.get("Definition")
@@ -46916,6 +46983,7 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
46916
46983
  obj = QualityControlItemConfig()
46917
46984
  obj._deserialize(item)
46918
46985
  self._QualityControlItemSet.append(obj)
46986
+ self._RecordFormat = params.get("RecordFormat")
46919
46987
  memeber_set = set(params.keys())
46920
46988
  for name, value in vars(self).items():
46921
46989
  property_name = name[1:]
@@ -51597,7 +51665,13 @@ class ProcessLiveStreamRequest(AbstractModel):
51597
51665
 
51598
51666
  def __init__(self):
51599
51667
  r"""
51600
- :param _Url: 直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv 等)。
51668
+ :param _Url: 直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv, trtc 等)。
51669
+ trtc地址如下:
51670
+ trtc: //trtc.rtc.qq.com/mps/`<roomid>`?sdkappid=`<sdkappid>`&userid=`<userid>`&usersig=<`usersig>`
51671
+ `<roomid>` 为trtc的房间号id, 为数字
51672
+ `<sdkappid>` 为trtc的sdk app id
51673
+ `<userid>` 为服务进入房间的用户id,可以区分谁是机器人
51674
+ <`usersig>` 为trtc 用户的签名
51601
51675
  :type Url: str
51602
51676
  :param _TaskNotifyConfig: 任务的事件通知信息,用于指定直播流处理的结果。
51603
51677
  :type TaskNotifyConfig: :class:`tencentcloud.mps.v20190612.models.LiveStreamTaskNotifyConfig`
@@ -51638,7 +51712,13 @@ class ProcessLiveStreamRequest(AbstractModel):
51638
51712
 
51639
51713
  @property
51640
51714
  def Url(self):
51641
- """直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv 等)。
51715
+ """直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv, trtc 等)。
51716
+ trtc地址如下:
51717
+ trtc: //trtc.rtc.qq.com/mps/`<roomid>`?sdkappid=`<sdkappid>`&userid=`<userid>`&usersig=<`usersig>`
51718
+ `<roomid>` 为trtc的房间号id, 为数字
51719
+ `<sdkappid>` 为trtc的sdk app id
51720
+ `<userid>` 为服务进入房间的用户id,可以区分谁是机器人
51721
+ <`usersig>` 为trtc 用户的签名
51642
51722
  :rtype: str
51643
51723
  """
51644
51724
  return self._Url