tencentcloud-sdk-python 3.0.1363__py2.py3-none-any.whl → 3.0.1372__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -1
- tencentcloud/autoscaling/v20180419/models.py +198 -102
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +67 -56
- tencentcloud/ccc/v20200210/models.py +105 -56
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +173 -0
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -4
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +264 -370
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +19 -1
- tencentcloud/cvm/v20170312/models.py +335 -40
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +109 -0
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +124 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +584 -158
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +1 -16
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +16 -12
- tencentcloud/gs/v20191118/errorcodes.py +3 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +295 -6
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -32
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +557 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/iotexplorer/v20190423/models.py +94 -4
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +251 -16
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/lkeap/v20240522/models.py +193 -2
- tencentcloud/monitor/v20180724/models.py +8 -8
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +135 -10
- tencentcloud/ocr/v20181119/models.py +38 -2
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/redis/v20180412/models.py +159 -6
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/tat/v20201028/errorcodes.py +6 -0
- tencentcloud/tat/v20201028/models.py +78 -32
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tdmq/v20200217/models.py +115 -95
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +47 -126
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +744 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/tse/v20201207/models.py +90 -0
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +24 -12
- tencentcloud/vpc/v20170312/models.py +758 -84
- tencentcloud/vpc/v20170312/vpc_client.py +115 -0
- tencentcloud/waf/v20180125/models.py +378 -0
- tencentcloud/wedata/v20210820/models.py +391 -26
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +112 -112
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -89,8 +89,19 @@ class AmsClient(AbstractClient):
|
|
89
89
|
|
90
90
|
### 功能使用说明:
|
91
91
|
- 前往“[内容安全控制台-音频内容安全](https://console.cloud.tencent.com/cms)”开启使用音频内容安全服务,首次开通可获得**10小时**免费调用时长,有效期为1个月。
|
92
|
-
|
93
|
-
|
92
|
+
|
93
|
+
### 审核并发限制说明:
|
94
|
+
|
95
|
+
- **点播音频(异步审核)**
|
96
|
+
- 默认并发路数:10
|
97
|
+
- 队列处理机制:
|
98
|
+
- 当并发任务达到上限时,新任务进入队列等待处理;
|
99
|
+
- 新送审任务优先处理,旧任务往后排;
|
100
|
+
- **直播音频(异步审核)**
|
101
|
+
- 默认并发路数:100
|
102
|
+
- 队列处理机制:
|
103
|
+
- 运行中的审核任务达到上限时,新请求会提示超频错误:`RequestLimitExceeded`,错误详细为:`You have reached the concurrency limit`;
|
104
|
+
- 不支持排队;
|
94
105
|
|
95
106
|
### 接口功能说明:
|
96
107
|
- 支持对音频流或音频文件进行检测,判断其中是否包含违规内容;
|
@@ -98,15 +109,15 @@ class AmsClient(AbstractClient):
|
|
98
109
|
- 支持识别违规内容,包括:低俗、谩骂、色情、广告等场景;
|
99
110
|
- 支持批量提交检测任务,检测任务列表**最多支持10个**。
|
100
111
|
|
101
|
-
###
|
112
|
+
### 音频文件流调用说明:
|
102
113
|
- 音频文件大小支持:**文件 < 500M**;
|
103
114
|
- 音频文件时长支持:**< 1小时**;
|
104
115
|
- 音频码率类型支持:128 Kbps - 256 Kbps ;
|
105
116
|
- 音频文件支持格式:wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape;
|
106
117
|
- (**当输入为视频文件时**)支持分离视频文件音轨,并对音频内容进行独立审核。
|
107
118
|
|
108
|
-
###
|
109
|
-
-
|
119
|
+
### 直播音频流调用说明:
|
120
|
+
- 音频流时长支持:**24小时以内**,超过需要重新推送审核任务;
|
110
121
|
- 音频码率类型支持:128 Kbps - 256 Kbps ;
|
111
122
|
- 音频流支持的传输协议:RTMP、HTTP、HTTPS;
|
112
123
|
- 音频流格式支持的类型:rtp、srtp、rtmp、rtmps、mmsh、 mmst、hls、http、tcp、https、m3u8;
|
@@ -115,7 +126,7 @@ class AmsClient(AbstractClient):
|
|
115
126
|
### 直播断流处理说明:
|
116
127
|
- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。
|
117
128
|
- 如果直播任务取消/结束,则终止直播拉流并退出审核。
|
118
|
-
-
|
129
|
+
- 在直播任务未取消或结束的情况下,若推流中断(例如 `Operation not permitted` 错误),审核服务将在 10分钟内持续尝试重新拉流。检测到有效的图片或音频数据,审核将自动恢复正常;否则,10分钟后终止拉流并退出审核。此时如有需要,请重新提交审核请求。对于因网络问题导致的拉流失败(如 `HTTP 404 Not Found` 错误),系统将进行最多 16次重试。若成功获取有效数据,审核流程即刻恢复;若所有重试均失败,则同样终止拉流并退出审核,需用户重新送审。
|
119
130
|
|
120
131
|
:param request: Request instance for CreateAudioModerationTask.
|
121
132
|
:type request: :class:`tencentcloud.ams.v20201229.models.CreateAudioModerationTaskRequest`
|
@@ -1501,11 +1501,12 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1501
1501
|
r"""
|
1502
1502
|
:param _Tasks: 该字段表示输入的音频审核任务信息,具体输入内容请参见TaskInput数据结构的详细描述。<br> 备注:最多同时可创建**10个任务**。
|
1503
1503
|
:type Tasks: list of TaskInput
|
1504
|
-
:param _BizType:
|
1504
|
+
:param _BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
1505
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
1505
1506
|
:type BizType: str
|
1506
|
-
:param _Type:
|
1507
|
+
:param _Type: 该字段表示输入的音频审核类型,取值含:**AUDIO**(点播音频)、**LIVE_AUDIO**(直播音频)、**AUDIO_AIGC**(AI生成识别)三种,默认值为AUDIO。
|
1507
1508
|
:type Type: str
|
1508
|
-
:param _Seed:
|
1509
|
+
:param _Seed: 可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1509
1510
|
:type Seed: str
|
1510
1511
|
:param _CallbackUrl: 接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1219/104000)。
|
1511
1512
|
:type CallbackUrl: str
|
@@ -1532,7 +1533,8 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1532
1533
|
|
1533
1534
|
@property
|
1534
1535
|
def BizType(self):
|
1535
|
-
"""
|
1536
|
+
"""该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
1537
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
1536
1538
|
:rtype: str
|
1537
1539
|
"""
|
1538
1540
|
return self._BizType
|
@@ -1543,7 +1545,7 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1543
1545
|
|
1544
1546
|
@property
|
1545
1547
|
def Type(self):
|
1546
|
-
"""
|
1548
|
+
"""该字段表示输入的音频审核类型,取值含:**AUDIO**(点播音频)、**LIVE_AUDIO**(直播音频)、**AUDIO_AIGC**(AI生成识别)三种,默认值为AUDIO。
|
1547
1549
|
:rtype: str
|
1548
1550
|
"""
|
1549
1551
|
return self._Type
|
@@ -1554,7 +1556,7 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1554
1556
|
|
1555
1557
|
@property
|
1556
1558
|
def Seed(self):
|
1557
|
-
"""
|
1559
|
+
"""可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1558
1560
|
:rtype: str
|
1559
1561
|
"""
|
1560
1562
|
return self._Seed
|
@@ -76,7 +76,8 @@ class AutoscalingClient(AbstractClient):
|
|
76
76
|
|
77
77
|
def CancelInstanceRefresh(self, request):
|
78
78
|
"""取消伸缩组的实例刷新活动。
|
79
|
-
*
|
79
|
+
* 已刷新的批次不受影响,待刷新批次被取消
|
80
|
+
* 如存在正在刷新的批次,不允许取消;可先暂停活动,等待当前批次结束后再取消
|
80
81
|
* 刷新失败的实例保持备用中状态,需用户手动处理后尝试退出备用中状态或销毁
|
81
82
|
* 取消后不允许回滚操作,也不支持恢复操作
|
82
83
|
* 因 maxSurge 参数而临时扩容的实例在取消后会自动销毁
|