tencentcloud-sdk-python 3.0.1215__py2.py3-none-any.whl → 3.0.1222__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 (80) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/models.py +13 -1
  3. tencentcloud/batch/v20170312/models.py +1 -1
  4. tencentcloud/ccc/v20200210/models.py +18 -0
  5. tencentcloud/cdb/v20170320/cdb_client.py +46 -0
  6. tencentcloud/cdb/v20170320/models.py +278 -0
  7. tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +47 -1
  8. tencentcloud/cdwdoris/v20211228/models.py +460 -4
  9. tencentcloud/cfg/v20210820/models.py +1 -1
  10. tencentcloud/clb/v20180317/models.py +94 -2
  11. tencentcloud/cls/v20201016/models.py +15 -2
  12. tencentcloud/controlcenter/__init__.py +0 -0
  13. tencentcloud/controlcenter/v20230110/__init__.py +0 -0
  14. tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
  15. tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
  16. tencentcloud/controlcenter/v20230110/models.py +140 -0
  17. tencentcloud/csip/v20221121/models.py +385 -0
  18. tencentcloud/cvm/v20170312/models.py +7 -5
  19. tencentcloud/cwp/v20180228/models.py +85 -12
  20. tencentcloud/cynosdb/v20190107/models.py +97 -9
  21. tencentcloud/dasb/v20191018/models.py +13 -0
  22. tencentcloud/dcdb/v20180411/models.py +36 -0
  23. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  24. tencentcloud/dsgc/v20190723/models.py +139 -0
  25. tencentcloud/es/v20180416/models.py +50 -0
  26. tencentcloud/ess/v20201111/ess_client.py +1 -1
  27. tencentcloud/ess/v20201111/models.py +13 -3
  28. tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
  29. tencentcloud/essbasic/v20210526/models.py +16 -4
  30. tencentcloud/facefusion/v20220927/errorcodes.py +15 -6
  31. tencentcloud/facefusion/v20220927/models.py +13 -4
  32. tencentcloud/faceid/v20180301/faceid_client.py +1 -1
  33. tencentcloud/faceid/v20180301/models.py +38 -0
  34. tencentcloud/hunyuan/v20230901/errorcodes.py +21 -0
  35. tencentcloud/hunyuan/v20230901/hunyuan_client.py +52 -0
  36. tencentcloud/hunyuan/v20230901/models.py +360 -0
  37. tencentcloud/iotexplorer/v20190423/models.py +1 -1
  38. tencentcloud/lcic/v20220817/lcic_client.py +23 -0
  39. tencentcloud/lcic/v20220817/models.py +261 -0
  40. tencentcloud/lke/v20231130/models.py +2 -2
  41. tencentcloud/mna/v20210119/models.py +26 -0
  42. tencentcloud/mongodb/v20190725/models.py +13 -5
  43. tencentcloud/monitor/v20180724/models.py +13 -0
  44. tencentcloud/ocr/v20181119/models.py +14 -0
  45. tencentcloud/organization/v20210331/errorcodes.py +6 -0
  46. tencentcloud/organization/v20210331/models.py +87 -17
  47. tencentcloud/organization/v20210331/organization_client.py +25 -2
  48. tencentcloud/redis/v20180412/models.py +20 -18
  49. tencentcloud/rum/v20210622/models.py +12 -0
  50. tencentcloud/scf/v20180416/models.py +44 -7
  51. tencentcloud/ses/v20201002/models.py +177 -0
  52. tencentcloud/sms/v20210111/errorcodes.py +3 -0
  53. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  54. tencentcloud/ssl/v20191205/models.py +13 -0
  55. tencentcloud/ssl/v20191205/ssl_client.py +1 -1
  56. tencentcloud/tag/v20180813/models.py +33 -33
  57. tencentcloud/tdmq/v20200217/models.py +13 -0
  58. tencentcloud/tms/v20201229/errorcodes.py +0 -6
  59. tencentcloud/tms/v20201229/models.py +0 -70
  60. tencentcloud/tms/v20201229/tms_client.py +0 -23
  61. tencentcloud/tmt/v20180321/errorcodes.py +3 -0
  62. tencentcloud/tmt/v20180321/models.py +8 -8
  63. tencentcloud/tmt/v20180321/tmt_client.py +1 -1
  64. tencentcloud/trtc/v20190722/models.py +118 -0
  65. tencentcloud/trtc/v20190722/trtc_client.py +25 -35
  66. tencentcloud/tse/v20201207/models.py +88 -0
  67. tencentcloud/tts/v20190823/models.py +2 -2
  68. tencentcloud/vclm/v20240523/errorcodes.py +8 -2
  69. tencentcloud/vclm/v20240523/models.py +12 -0
  70. tencentcloud/vod/v20180717/models.py +6 -6
  71. tencentcloud/vod/v20180717/vod_client.py +2 -2
  72. tencentcloud/vpc/v20170312/models.py +193 -1
  73. tencentcloud/wedata/v20210820/errorcodes.py +6 -0
  74. tencentcloud/wedata/v20210820/models.py +2626 -352
  75. tencentcloud/wedata/v20210820/wedata_client.py +138 -0
  76. {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1222.dist-info}/METADATA +1 -1
  77. {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1222.dist-info}/RECORD +80 -75
  78. {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1222.dist-info}/LICENSE +0 -0
  79. {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1222.dist-info}/WHEEL +0 -0
  80. {tencentcloud_sdk_python-3.0.1215.dist-info → tencentcloud_sdk_python-3.0.1222.dist-info}/top_level.txt +0 -0
@@ -11924,6 +11924,8 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
11924
11924
  :type Offset: int
11925
11925
  :param _Limit: 返回数量,默认为20,最大值为100。
11926
11926
  :type Limit: int
11927
+ :param _Location: 地域
11928
+ :type Location: :class:`tencentcloud.tse.v20201207.models.Location`
11927
11929
  """
11928
11930
  self._Service = None
11929
11931
  self._Namespace = None
@@ -11936,6 +11938,7 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
11936
11938
  self._Metadatas = None
11937
11939
  self._Offset = None
11938
11940
  self._Limit = None
11941
+ self._Location = None
11939
11942
 
11940
11943
  @property
11941
11944
  def Service(self):
@@ -12025,6 +12028,14 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
12025
12028
  def Limit(self, Limit):
12026
12029
  self._Limit = Limit
12027
12030
 
12031
+ @property
12032
+ def Location(self):
12033
+ return self._Location
12034
+
12035
+ @Location.setter
12036
+ def Location(self, Location):
12037
+ self._Location = Location
12038
+
12028
12039
 
12029
12040
  def _deserialize(self, params):
12030
12041
  self._Service = params.get("Service")
@@ -12043,6 +12054,9 @@ class DescribeGovernanceInstancesRequest(AbstractModel):
12043
12054
  self._Metadatas.append(obj)
12044
12055
  self._Offset = params.get("Offset")
12045
12056
  self._Limit = params.get("Limit")
12057
+ if params.get("Location") is not None:
12058
+ self._Location = Location()
12059
+ self._Location._deserialize(params.get("Location"))
12046
12060
  memeber_set = set(params.keys())
12047
12061
  for name, value in vars(self).items():
12048
12062
  property_name = name[1:]
@@ -12064,11 +12078,14 @@ class DescribeGovernanceInstancesResponse(AbstractModel):
12064
12078
  :type TotalCount: int
12065
12079
  :param _Content: 服务里实例列表。
12066
12080
  :type Content: list of GovernanceInstance
12081
+ :param _Location: 地域
12082
+ :type Location: :class:`tencentcloud.tse.v20201207.models.Location`
12067
12083
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12068
12084
  :type RequestId: str
12069
12085
  """
12070
12086
  self._TotalCount = None
12071
12087
  self._Content = None
12088
+ self._Location = None
12072
12089
  self._RequestId = None
12073
12090
 
12074
12091
  @property
@@ -12087,6 +12104,14 @@ class DescribeGovernanceInstancesResponse(AbstractModel):
12087
12104
  def Content(self, Content):
12088
12105
  self._Content = Content
12089
12106
 
12107
+ @property
12108
+ def Location(self):
12109
+ return self._Location
12110
+
12111
+ @Location.setter
12112
+ def Location(self, Location):
12113
+ self._Location = Location
12114
+
12090
12115
  @property
12091
12116
  def RequestId(self):
12092
12117
  return self._RequestId
@@ -12104,6 +12129,9 @@ class DescribeGovernanceInstancesResponse(AbstractModel):
12104
12129
  obj = GovernanceInstance()
12105
12130
  obj._deserialize(item)
12106
12131
  self._Content.append(obj)
12132
+ if params.get("Location") is not None:
12133
+ self._Location = Location()
12134
+ self._Location._deserialize(params.get("Location"))
12107
12135
  self._RequestId = params.get("RequestId")
12108
12136
 
12109
12137
 
@@ -19228,6 +19256,66 @@ class ListFilter(AbstractModel):
19228
19256
 
19229
19257
 
19230
19258
 
19259
+ class Location(AbstractModel):
19260
+ """新增Location字段,展示zone/region/campus
19261
+
19262
+ """
19263
+
19264
+ def __init__(self):
19265
+ r"""
19266
+ :param _Region: 大区
19267
+ 注意:此字段可能返回 null,表示取不到有效值。
19268
+ :type Region: str
19269
+ :param _Zone: 可用区
19270
+ 注意:此字段可能返回 null,表示取不到有效值。
19271
+ :type Zone: str
19272
+ :param _Campus: 机房
19273
+ 注意:此字段可能返回 null,表示取不到有效值。
19274
+ :type Campus: str
19275
+ """
19276
+ self._Region = None
19277
+ self._Zone = None
19278
+ self._Campus = None
19279
+
19280
+ @property
19281
+ def Region(self):
19282
+ return self._Region
19283
+
19284
+ @Region.setter
19285
+ def Region(self, Region):
19286
+ self._Region = Region
19287
+
19288
+ @property
19289
+ def Zone(self):
19290
+ return self._Zone
19291
+
19292
+ @Zone.setter
19293
+ def Zone(self, Zone):
19294
+ self._Zone = Zone
19295
+
19296
+ @property
19297
+ def Campus(self):
19298
+ return self._Campus
19299
+
19300
+ @Campus.setter
19301
+ def Campus(self, Campus):
19302
+ self._Campus = Campus
19303
+
19304
+
19305
+ def _deserialize(self, params):
19306
+ self._Region = params.get("Region")
19307
+ self._Zone = params.get("Zone")
19308
+ self._Campus = params.get("Campus")
19309
+ memeber_set = set(params.keys())
19310
+ for name, value in vars(self).items():
19311
+ property_name = name[1:]
19312
+ if property_name in memeber_set:
19313
+ memeber_set.remove(property_name)
19314
+ if len(memeber_set) > 0:
19315
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19316
+
19317
+
19318
+
19231
19319
  class Metadata(AbstractModel):
19232
19320
  """元数据信息
19233
19321
 
@@ -49,7 +49,7 @@ class CreateTtsTaskRequest(AbstractModel):
49
49
  :type EnableSubtitle: bool
50
50
  :param _VoiceoverDialogueSplit: 旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
51
51
  :type VoiceoverDialogueSplit: bool
52
- :param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
52
+ :param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
53
53
  :type EmotionCategory: str
54
54
  :param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
55
55
  :type EmotionIntensity: int
@@ -579,7 +579,7 @@ class TextToVoiceRequest(AbstractModel):
579
579
  :type EnableSubtitle: bool
580
580
  :param _SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
581
581
  :type SegmentRate: int
582
- :param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
582
+ :param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
583
583
  示例值:neutral
584
584
  :type EmotionCategory: str
585
585
  :param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
@@ -26,6 +26,9 @@ FAILEDOPERATION_AUDIOPROCESSFAILED = 'FailedOperation.AudioProcessFailed'
26
26
  # 音频处理任务未完成,不能执行翻译结果确认
27
27
  FAILEDOPERATION_AUDIOPROCESSNOTFINISHED = 'FailedOperation.AudioProcessNotFinished'
28
28
 
29
+ # 人体关键点检测失败。
30
+ FAILEDOPERATION_BODYJOINTSFAIL = 'FailedOperation.BodyJointsFail'
31
+
29
32
  # 翻译结果确认任务异常。
30
33
  FAILEDOPERATION_CONFIRMTASKEXCEPTION = 'FailedOperation.ConfirmTaskException'
31
34
 
@@ -38,6 +41,9 @@ FAILEDOPERATION_DRIVERFAILED = 'FailedOperation.DriverFailed'
38
41
  # 人脸框太小,无法识别使用。
39
42
  FAILEDOPERATION_FACESIZETOOSMALL = 'FailedOperation.FaceSizeTooSmall'
40
43
 
44
+ # 图片身体部位有遮挡或不全,请重新上传图片
45
+ FAILEDOPERATION_IMAGEBODYJOINSUNDETECTED = 'FailedOperation.ImageBodyJoinsUndetected'
46
+
41
47
  # 输入图身体(头顶到脚踝)高度占比不到图片高度的二分之一
42
48
  FAILEDOPERATION_IMAGEBODYSMALL = 'FailedOperation.ImageBodySmall'
43
49
 
@@ -50,8 +56,8 @@ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
50
56
  # 输入图人脸检测失败
51
57
  FAILEDOPERATION_IMAGEDETECTFACEFAILED = 'FailedOperation.ImageDetectFaceFailed'
52
58
 
53
- # 人脸检测失败。
54
- FAILEDOPERATION_IMAGEFACEDETECTFAILED = 'FailedOperation.ImageFacedetectFailed'
59
+ # 人脸检测失败
60
+ FAILEDOPERATION_IMAGEFACEDETECTFAILED = 'FailedOperation.ImageFaceDetectFailed'
55
61
 
56
62
  # 输入图中存在多人
57
63
  FAILEDOPERATION_IMAGEMANYPEOPLE = 'FailedOperation.ImageManyPeople'
@@ -784,11 +784,14 @@ class SubmitImageAnimateJobRequest(AbstractModel):
784
784
  :type TemplateId: str
785
785
  :param _EnableAudio: 结果视频是否保留模板音频。默认为true
786
786
  :type EnableAudio: bool
787
+ :param _EnableBodyJoins: 是否检测输入图人体12个身体部位(头部、颈部、右肩、右肘、右腕、左肩、左肘、左腕、右髋、左髋,、左膝、右膝)。默认不检测。
788
+ :type EnableBodyJoins: bool
787
789
  """
788
790
  self._ImageUrl = None
789
791
  self._ImageBase64 = None
790
792
  self._TemplateId = None
791
793
  self._EnableAudio = None
794
+ self._EnableBodyJoins = None
792
795
 
793
796
  @property
794
797
  def ImageUrl(self):
@@ -822,12 +825,21 @@ class SubmitImageAnimateJobRequest(AbstractModel):
822
825
  def EnableAudio(self, EnableAudio):
823
826
  self._EnableAudio = EnableAudio
824
827
 
828
+ @property
829
+ def EnableBodyJoins(self):
830
+ return self._EnableBodyJoins
831
+
832
+ @EnableBodyJoins.setter
833
+ def EnableBodyJoins(self, EnableBodyJoins):
834
+ self._EnableBodyJoins = EnableBodyJoins
835
+
825
836
 
826
837
  def _deserialize(self, params):
827
838
  self._ImageUrl = params.get("ImageUrl")
828
839
  self._ImageBase64 = params.get("ImageBase64")
829
840
  self._TemplateId = params.get("TemplateId")
830
841
  self._EnableAudio = params.get("EnableAudio")
842
+ self._EnableBodyJoins = params.get("EnableBodyJoins")
831
843
  memeber_set = set(params.keys())
832
844
  for name, value in vars(self).items():
833
845
  property_name = name[1:]
@@ -658,9 +658,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
658
658
  :type Definition: int
659
659
  :param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
660
660
  :type WatermarkSet: list of WatermarkInput
661
- :param _TraceWatermark: 溯源水印。
661
+ :param _TraceWatermark: 溯源水印,该功能已不再支持使用。
662
662
  :type TraceWatermark: :class:`tencentcloud.vod.v20180717.models.TraceWatermarkInput`
663
- :param _CopyRightWatermark: 版权水印。
663
+ :param _CopyRightWatermark: 版权水印,该功能已不再支持使用。
664
664
  :type CopyRightWatermark: :class:`tencentcloud.vod.v20180717.models.CopyRightWatermarkInput`
665
665
  :param _SubtitleSet: 字幕列表,元素为字幕 ID,支持多个字幕,最大可支持16个。
666
666
  :type SubtitleSet: list of str
@@ -28953,7 +28953,7 @@ class ExtractTraceWatermarkTaskOutput(AbstractModel):
28953
28953
 
28954
28954
  def __init__(self):
28955
28955
  r"""
28956
- :param _Uv: 播放者的 ID,以十六进制表示,共6位,该参数用于 [溯源水印](https://cloud.tencent.com/document/product/266/75789) 使用场景。
28956
+ :param _Uv: 播放者的 ID,以十六进制表示,共6位。
28957
28957
  :type Uv: str
28958
28958
  :param _Uid: 该字段已废弃。
28959
28959
  :type Uid: str
@@ -52306,7 +52306,7 @@ class RoundPlayFilePlayInfo(AbstractModel):
52306
52306
  :param _Duration: 播放时长,单位为秒。
52307
52307
  注意:此字段可能返回 null,表示取不到有效值。
52308
52308
  :type Duration: float
52309
- :param _Progress: 播放进度,单位为妙。
52309
+ :param _Progress: 播放进度,单位为秒。
52310
52310
  注意:此字段可能返回 null,表示取不到有效值。
52311
52311
  :type Progress: float
52312
52312
  """
@@ -57470,9 +57470,9 @@ class TranscodeTaskInput(AbstractModel):
57470
57470
  :type Definition: int
57471
57471
  :param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
57472
57472
  :type WatermarkSet: list of WatermarkInput
57473
- :param _TraceWatermark: 溯源水印。
57473
+ :param _TraceWatermark: 溯源水印,该功能已不再支持使用。
57474
57474
  :type TraceWatermark: :class:`tencentcloud.vod.v20180717.models.TraceWatermarkInput`
57475
- :param _CopyRightWatermark: 版权水印。
57475
+ :param _CopyRightWatermark: 版权水印,该功能已不再支持使用。
57476
57476
  :type CopyRightWatermark: :class:`tencentcloud.vod.v20180717.models.CopyRightWatermarkInput`
57477
57477
  :param _MosaicSet: 马赛克列表,最大可支持 10 张。
57478
57478
  :type MosaicSet: list of MosaicInput
@@ -2876,7 +2876,7 @@ class VodClient(AbstractClient):
2876
2876
 
2877
2877
 
2878
2878
  def ExtractCopyRightWatermark(self, request):
2879
- """提取版权水印信息。
2879
+ """该 API 已经<font color='red'>不再维护</font>。如果有盗录溯源需求,请参考 [幽灵水印](https://cloud.tencent.com/document/product/266/94228)。
2880
2880
 
2881
2881
  :param request: Request instance for ExtractCopyRightWatermark.
2882
2882
  :type request: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkRequest`
@@ -2899,7 +2899,7 @@ class VodClient(AbstractClient):
2899
2899
 
2900
2900
 
2901
2901
  def ExtractTraceWatermark(self, request):
2902
- """用于提取溯源水印。
2902
+ """该 API 已经<font color='red'>不再维护</font>。如果有盗录溯源需求,请参考 [幽灵水印](https://cloud.tencent.com/document/product/266/94228)。
2903
2903
 
2904
2904
  :param request: Request instance for ExtractTraceWatermark.
2905
2905
  :type request: :class:`tencentcloud.vod.v20180717.models.ExtractTraceWatermarkRequest`