tencentcloud-sdk-python 3.0.1081__py2.py3-none-any.whl → 3.0.1083__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/errorcodes.py +3 -0
- tencentcloud/cdb/v20170320/models.py +38 -1
- tencentcloud/cdwdoris/v20211228/models.py +39 -0
- tencentcloud/cfw/v20190904/models.py +316 -26
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +440 -0
- tencentcloud/dasb/v20191018/models.py +26 -0
- tencentcloud/emr/v20190103/models.py +26 -0
- tencentcloud/es/v20180416/models.py +12 -0
- tencentcloud/ess/v20201111/ess_client.py +36 -2
- tencentcloud/ess/v20201111/models.py +169 -15
- tencentcloud/essbasic/v20210526/essbasic_client.py +42 -1
- tencentcloud/essbasic/v20210526/models.py +185 -11
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +4 -2
- tencentcloud/kms/v20190118/models.py +1 -1
- tencentcloud/monitor/v20180724/models.py +28 -1
- tencentcloud/mps/v20190612/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +55 -17
- tencentcloud/mps/v20190612/mps_client.py +2 -1
- tencentcloud/ocr/v20181119/models.py +475 -2
- tencentcloud/ocr/v20181119/ocr_client.py +74 -0
- tencentcloud/postgres/v20170312/models.py +5 -5
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/tag/v20180813/models.py +24 -0
- tencentcloud/teo/v20220901/errorcodes.py +15 -0
- tencentcloud/teo/v20220901/models.py +2165 -665
- tencentcloud/teo/v20220901/teo_client.py +230 -0
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +53 -34
- tencentcloud/tione/v20211111/tione_client.py +6 -6
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trtc/v20190722/models.py +15 -3
- tencentcloud/trtc/v20190722/trtc_client.py +2 -2
- tencentcloud/vod/v20180717/models.py +67 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +792 -162
- tencentcloud/waf/v20180125/waf_client.py +29 -7
- tencentcloud/wedata/v20210820/errorcodes.py +18 -0
- tencentcloud/wedata/v20210820/models.py +87321 -44139
- tencentcloud/wedata/v20210820/wedata_client.py +6598 -1971
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1081.dist-info → tencentcloud_sdk_python-3.0.1083.dist-info}/top_level.txt +0 -0
|
@@ -235,6 +235,52 @@ class TeoClient(AbstractClient):
|
|
|
235
235
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
236
236
|
|
|
237
237
|
|
|
238
|
+
def CreateL4Proxy(self, request):
|
|
239
|
+
"""用于创建四层代理实例。
|
|
240
|
+
|
|
241
|
+
:param request: Request instance for CreateL4Proxy.
|
|
242
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateL4ProxyRequest`
|
|
243
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateL4ProxyResponse`
|
|
244
|
+
|
|
245
|
+
"""
|
|
246
|
+
try:
|
|
247
|
+
params = request._serialize()
|
|
248
|
+
headers = request.headers
|
|
249
|
+
body = self.call("CreateL4Proxy", params, headers=headers)
|
|
250
|
+
response = json.loads(body)
|
|
251
|
+
model = models.CreateL4ProxyResponse()
|
|
252
|
+
model._deserialize(response["Response"])
|
|
253
|
+
return model
|
|
254
|
+
except Exception as e:
|
|
255
|
+
if isinstance(e, TencentCloudSDKException):
|
|
256
|
+
raise
|
|
257
|
+
else:
|
|
258
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
def CreateL4ProxyRules(self, request):
|
|
262
|
+
"""用于创建四层代理实例规则,支持单条或者批量创建。
|
|
263
|
+
|
|
264
|
+
:param request: Request instance for CreateL4ProxyRules.
|
|
265
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateL4ProxyRulesRequest`
|
|
266
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateL4ProxyRulesResponse`
|
|
267
|
+
|
|
268
|
+
"""
|
|
269
|
+
try:
|
|
270
|
+
params = request._serialize()
|
|
271
|
+
headers = request.headers
|
|
272
|
+
body = self.call("CreateL4ProxyRules", params, headers=headers)
|
|
273
|
+
response = json.loads(body)
|
|
274
|
+
model = models.CreateL4ProxyRulesResponse()
|
|
275
|
+
model._deserialize(response["Response"])
|
|
276
|
+
return model
|
|
277
|
+
except Exception as e:
|
|
278
|
+
if isinstance(e, TencentCloudSDKException):
|
|
279
|
+
raise
|
|
280
|
+
else:
|
|
281
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
282
|
+
|
|
283
|
+
|
|
238
284
|
def CreateOriginGroup(self, request):
|
|
239
285
|
"""创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
|
|
240
286
|
|
|
@@ -515,6 +561,52 @@ class TeoClient(AbstractClient):
|
|
|
515
561
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
516
562
|
|
|
517
563
|
|
|
564
|
+
def DeleteL4Proxy(self, request):
|
|
565
|
+
"""用于删除四层代理实例。
|
|
566
|
+
|
|
567
|
+
:param request: Request instance for DeleteL4Proxy.
|
|
568
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteL4ProxyRequest`
|
|
569
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteL4ProxyResponse`
|
|
570
|
+
|
|
571
|
+
"""
|
|
572
|
+
try:
|
|
573
|
+
params = request._serialize()
|
|
574
|
+
headers = request.headers
|
|
575
|
+
body = self.call("DeleteL4Proxy", params, headers=headers)
|
|
576
|
+
response = json.loads(body)
|
|
577
|
+
model = models.DeleteL4ProxyResponse()
|
|
578
|
+
model._deserialize(response["Response"])
|
|
579
|
+
return model
|
|
580
|
+
except Exception as e:
|
|
581
|
+
if isinstance(e, TencentCloudSDKException):
|
|
582
|
+
raise
|
|
583
|
+
else:
|
|
584
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
def DeleteL4ProxyRules(self, request):
|
|
588
|
+
"""用于删除四层代理转发规则,支持单条或者批量操作。
|
|
589
|
+
|
|
590
|
+
:param request: Request instance for DeleteL4ProxyRules.
|
|
591
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteL4ProxyRulesRequest`
|
|
592
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteL4ProxyRulesResponse`
|
|
593
|
+
|
|
594
|
+
"""
|
|
595
|
+
try:
|
|
596
|
+
params = request._serialize()
|
|
597
|
+
headers = request.headers
|
|
598
|
+
body = self.call("DeleteL4ProxyRules", params, headers=headers)
|
|
599
|
+
response = json.loads(body)
|
|
600
|
+
model = models.DeleteL4ProxyRulesResponse()
|
|
601
|
+
model._deserialize(response["Response"])
|
|
602
|
+
return model
|
|
603
|
+
except Exception as e:
|
|
604
|
+
if isinstance(e, TencentCloudSDKException):
|
|
605
|
+
raise
|
|
606
|
+
else:
|
|
607
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
608
|
+
|
|
609
|
+
|
|
518
610
|
def DeleteOriginGroup(self, request):
|
|
519
611
|
"""删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
|
520
612
|
|
|
@@ -1021,6 +1113,52 @@ class TeoClient(AbstractClient):
|
|
|
1021
1113
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1022
1114
|
|
|
1023
1115
|
|
|
1116
|
+
def DescribeL4Proxy(self, request):
|
|
1117
|
+
"""用于查询四层代理实例列表。
|
|
1118
|
+
|
|
1119
|
+
:param request: Request instance for DescribeL4Proxy.
|
|
1120
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeL4ProxyRequest`
|
|
1121
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeL4ProxyResponse`
|
|
1122
|
+
|
|
1123
|
+
"""
|
|
1124
|
+
try:
|
|
1125
|
+
params = request._serialize()
|
|
1126
|
+
headers = request.headers
|
|
1127
|
+
body = self.call("DescribeL4Proxy", params, headers=headers)
|
|
1128
|
+
response = json.loads(body)
|
|
1129
|
+
model = models.DescribeL4ProxyResponse()
|
|
1130
|
+
model._deserialize(response["Response"])
|
|
1131
|
+
return model
|
|
1132
|
+
except Exception as e:
|
|
1133
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1134
|
+
raise
|
|
1135
|
+
else:
|
|
1136
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
def DescribeL4ProxyRules(self, request):
|
|
1140
|
+
"""查询四层代理实例下的规则列表。
|
|
1141
|
+
|
|
1142
|
+
:param request: Request instance for DescribeL4ProxyRules.
|
|
1143
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeL4ProxyRulesRequest`
|
|
1144
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeL4ProxyRulesResponse`
|
|
1145
|
+
|
|
1146
|
+
"""
|
|
1147
|
+
try:
|
|
1148
|
+
params = request._serialize()
|
|
1149
|
+
headers = request.headers
|
|
1150
|
+
body = self.call("DescribeL4ProxyRules", params, headers=headers)
|
|
1151
|
+
response = json.loads(body)
|
|
1152
|
+
model = models.DescribeL4ProxyRulesResponse()
|
|
1153
|
+
model._deserialize(response["Response"])
|
|
1154
|
+
return model
|
|
1155
|
+
except Exception as e:
|
|
1156
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1157
|
+
raise
|
|
1158
|
+
else:
|
|
1159
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1160
|
+
|
|
1161
|
+
|
|
1024
1162
|
def DescribeOriginGroup(self, request):
|
|
1025
1163
|
"""获取源站组列表
|
|
1026
1164
|
|
|
@@ -1644,6 +1782,98 @@ class TeoClient(AbstractClient):
|
|
|
1644
1782
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1645
1783
|
|
|
1646
1784
|
|
|
1785
|
+
def ModifyL4Proxy(self, request):
|
|
1786
|
+
"""用于修改四层代理实例的配置。
|
|
1787
|
+
|
|
1788
|
+
:param request: Request instance for ModifyL4Proxy.
|
|
1789
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyRequest`
|
|
1790
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyResponse`
|
|
1791
|
+
|
|
1792
|
+
"""
|
|
1793
|
+
try:
|
|
1794
|
+
params = request._serialize()
|
|
1795
|
+
headers = request.headers
|
|
1796
|
+
body = self.call("ModifyL4Proxy", params, headers=headers)
|
|
1797
|
+
response = json.loads(body)
|
|
1798
|
+
model = models.ModifyL4ProxyResponse()
|
|
1799
|
+
model._deserialize(response["Response"])
|
|
1800
|
+
return model
|
|
1801
|
+
except Exception as e:
|
|
1802
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1803
|
+
raise
|
|
1804
|
+
else:
|
|
1805
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
def ModifyL4ProxyRules(self, request):
|
|
1809
|
+
"""用于修改四层代理转发规则,支持单条或者批量修改。
|
|
1810
|
+
|
|
1811
|
+
:param request: Request instance for ModifyL4ProxyRules.
|
|
1812
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyRulesRequest`
|
|
1813
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyRulesResponse`
|
|
1814
|
+
|
|
1815
|
+
"""
|
|
1816
|
+
try:
|
|
1817
|
+
params = request._serialize()
|
|
1818
|
+
headers = request.headers
|
|
1819
|
+
body = self.call("ModifyL4ProxyRules", params, headers=headers)
|
|
1820
|
+
response = json.loads(body)
|
|
1821
|
+
model = models.ModifyL4ProxyRulesResponse()
|
|
1822
|
+
model._deserialize(response["Response"])
|
|
1823
|
+
return model
|
|
1824
|
+
except Exception as e:
|
|
1825
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1826
|
+
raise
|
|
1827
|
+
else:
|
|
1828
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
def ModifyL4ProxyRulesStatus(self, request):
|
|
1832
|
+
"""用于启用/停用四层代理转发规则状态,支持单条或者批量操作。
|
|
1833
|
+
|
|
1834
|
+
:param request: Request instance for ModifyL4ProxyRulesStatus.
|
|
1835
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyRulesStatusRequest`
|
|
1836
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyRulesStatusResponse`
|
|
1837
|
+
|
|
1838
|
+
"""
|
|
1839
|
+
try:
|
|
1840
|
+
params = request._serialize()
|
|
1841
|
+
headers = request.headers
|
|
1842
|
+
body = self.call("ModifyL4ProxyRulesStatus", params, headers=headers)
|
|
1843
|
+
response = json.loads(body)
|
|
1844
|
+
model = models.ModifyL4ProxyRulesStatusResponse()
|
|
1845
|
+
model._deserialize(response["Response"])
|
|
1846
|
+
return model
|
|
1847
|
+
except Exception as e:
|
|
1848
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1849
|
+
raise
|
|
1850
|
+
else:
|
|
1851
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
def ModifyL4ProxyStatus(self, request):
|
|
1855
|
+
"""用于启用/停用四层代理实例。
|
|
1856
|
+
|
|
1857
|
+
:param request: Request instance for ModifyL4ProxyStatus.
|
|
1858
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyStatusRequest`
|
|
1859
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL4ProxyStatusResponse`
|
|
1860
|
+
|
|
1861
|
+
"""
|
|
1862
|
+
try:
|
|
1863
|
+
params = request._serialize()
|
|
1864
|
+
headers = request.headers
|
|
1865
|
+
body = self.call("ModifyL4ProxyStatus", params, headers=headers)
|
|
1866
|
+
response = json.loads(body)
|
|
1867
|
+
model = models.ModifyL4ProxyStatusResponse()
|
|
1868
|
+
model._deserialize(response["Response"])
|
|
1869
|
+
return model
|
|
1870
|
+
except Exception as e:
|
|
1871
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1872
|
+
raise
|
|
1873
|
+
else:
|
|
1874
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1875
|
+
|
|
1876
|
+
|
|
1647
1877
|
def ModifyOriginGroup(self, request):
|
|
1648
1878
|
"""修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
|
|
1649
1879
|
|
|
@@ -287,6 +287,9 @@ INVALIDPARAMETER_VALIDATEERROR = 'InvalidParameter.ValidateError'
|
|
|
287
287
|
# 参数取值错误。
|
|
288
288
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
289
289
|
|
|
290
|
+
# 当前任务选择了平台CFS的内置代码,且未正确配置/opt/ml/output/data输出路径,任务无法提交
|
|
291
|
+
INVALIDPARAMETERVALUE_AIMARKETOUTPUTCONFIGEMPTY = 'InvalidParameterValue.AIMarketOutputConfigEmpty'
|
|
292
|
+
|
|
290
293
|
# AI市场公共算法版本Id不存在
|
|
291
294
|
INVALIDPARAMETERVALUE_AIMARKETPUBLICALGOVERSIONNOTEXIST = 'InvalidParameterValue.AIMarketPublicAlgoVersionNotExist'
|
|
292
295
|
|
|
@@ -380,6 +383,9 @@ INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = 'In
|
|
|
380
383
|
# 分页查询limit超出限制
|
|
381
384
|
INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = 'InvalidParameterValue.PageLimitExceeded'
|
|
382
385
|
|
|
386
|
+
# 查询vpc信息失败
|
|
387
|
+
INVALIDPARAMETERVALUE_QUERYVPCINFOFAILED = 'InvalidParameterValue.QueryVPCInfoFailed'
|
|
388
|
+
|
|
383
389
|
# RDMA配置不合法
|
|
384
390
|
INVALIDPARAMETERVALUE_RDMACONFIGILLEGAL = 'InvalidParameterValue.RDMAConfigIllegal'
|
|
385
391
|
|
|
@@ -443,6 +449,9 @@ OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = 'OperationDenied.ResourceGroupInsuff
|
|
|
443
449
|
# 子网不合法。
|
|
444
450
|
OPERATIONDENIED_SUBNETILLEGAL = 'OperationDenied.SubnetIllegal'
|
|
445
451
|
|
|
452
|
+
# 太极应用组存量资源不足,不满足训练要求
|
|
453
|
+
OPERATIONDENIED_TAIJIAPPLICATIONGROUPINSUFFICIENT = 'OperationDenied.TAIJIApplicationGroupInsufficient'
|
|
454
|
+
|
|
446
455
|
# 白名单免费配额不足。
|
|
447
456
|
OPERATIONDENIED_WHITELISTQUOTAEXCEED = 'OperationDenied.WhitelistQuotaExceed'
|
|
448
457
|
|
|
@@ -339,15 +339,15 @@ class BatchModelAccTask(AbstractModel):
|
|
|
339
339
|
|
|
340
340
|
|
|
341
341
|
class BatchTaskDetail(AbstractModel):
|
|
342
|
-
"""
|
|
342
|
+
"""批量预测任务详情
|
|
343
343
|
|
|
344
344
|
"""
|
|
345
345
|
|
|
346
346
|
def __init__(self):
|
|
347
347
|
r"""
|
|
348
|
-
:param _BatchTaskId:
|
|
348
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
349
349
|
:type BatchTaskId: str
|
|
350
|
-
:param _BatchTaskName:
|
|
350
|
+
:param _BatchTaskName: 批量预测任务名称
|
|
351
351
|
:type BatchTaskName: str
|
|
352
352
|
:param _Uin: 主账号uin
|
|
353
353
|
:type Uin: str
|
|
@@ -411,7 +411,12 @@ class BatchTaskDetail(AbstractModel):
|
|
|
411
411
|
:param _EndTime: 任务结束时间
|
|
412
412
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
413
|
:type EndTime: str
|
|
414
|
-
:param _ChargeStatus:
|
|
414
|
+
:param _ChargeStatus: 计费状态,取值范围:
|
|
415
|
+
BILLING: 计费中
|
|
416
|
+
NOT_BILLING: 未计费
|
|
417
|
+
WHITELIST_USING: 白名单使用中
|
|
418
|
+
WHITELIST_STOP: 白名单到期
|
|
419
|
+
ARREARS_STOP: 欠费停止
|
|
415
420
|
:type ChargeStatus: str
|
|
416
421
|
:param _LatestInstanceId: 最近一次实例ID
|
|
417
422
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -893,9 +898,9 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
893
898
|
|
|
894
899
|
def __init__(self):
|
|
895
900
|
r"""
|
|
896
|
-
:param _BatchTaskId:
|
|
901
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
897
902
|
:type BatchTaskId: str
|
|
898
|
-
:param _BatchTaskName:
|
|
903
|
+
:param _BatchTaskName: 批量预测任务名称
|
|
899
904
|
:type BatchTaskName: str
|
|
900
905
|
:param _ModelInfo: 模型信息
|
|
901
906
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -904,7 +909,12 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
904
909
|
:type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
|
|
905
910
|
:param _ChargeType: 计费模式
|
|
906
911
|
:type ChargeType: str
|
|
907
|
-
:param _ChargeStatus:
|
|
912
|
+
:param _ChargeStatus: 计费状态,取值范围:
|
|
913
|
+
BILLING: 计费中
|
|
914
|
+
NOT_BILLING: 未计费
|
|
915
|
+
WHITELIST_USING: 白名单使用中
|
|
916
|
+
WHITELIST_STOP: 白名单到期
|
|
917
|
+
ARREARS_STOP: 欠费停止
|
|
908
918
|
:type ChargeStatus: str
|
|
909
919
|
:param _ResourceGroupId: 包年包月资源组ID
|
|
910
920
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -914,20 +924,21 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
914
924
|
:param _Tags: 标签配置
|
|
915
925
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
916
926
|
:type Tags: list of Tag
|
|
917
|
-
:param _Status:
|
|
927
|
+
:param _Status: 任务状态, 取值范围:
|
|
928
|
+
INIT, STARTING, RUNNING, FAILED, STOPPING, STOPPED, SUCCEED
|
|
918
929
|
:type Status: str
|
|
919
930
|
:param _RuntimeInSeconds: 运行时长
|
|
920
931
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
921
932
|
:type RuntimeInSeconds: int
|
|
922
|
-
:param _CreateTime:
|
|
933
|
+
:param _CreateTime: 任务创建时间
|
|
923
934
|
:type CreateTime: str
|
|
924
|
-
:param _StartTime:
|
|
935
|
+
:param _StartTime: 任务开始运行时间
|
|
925
936
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
926
937
|
:type StartTime: str
|
|
927
|
-
:param _EndTime:
|
|
938
|
+
:param _EndTime: 任务结束时间
|
|
928
939
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
929
940
|
:type EndTime: str
|
|
930
|
-
:param _UpdateTime:
|
|
941
|
+
:param _UpdateTime: 任务更新时间
|
|
931
942
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
932
943
|
:type UpdateTime: str
|
|
933
944
|
:param _Outputs: 输出
|
|
@@ -937,7 +948,7 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
937
948
|
:type ResourceGroupName: str
|
|
938
949
|
:param _FailureReason: 失败原因
|
|
939
950
|
:type FailureReason: str
|
|
940
|
-
:param _BillingInfo:
|
|
951
|
+
:param _BillingInfo: 按量计费信息
|
|
941
952
|
:type BillingInfo: str
|
|
942
953
|
"""
|
|
943
954
|
self._BatchTaskId = None
|
|
@@ -1891,13 +1902,13 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
1891
1902
|
|
|
1892
1903
|
def __init__(self):
|
|
1893
1904
|
r"""
|
|
1894
|
-
:param _BatchTaskName:
|
|
1905
|
+
:param _BatchTaskName: 批量预测任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
1895
1906
|
:type BatchTaskName: str
|
|
1896
1907
|
:param _ChargeType: 计费模式,eg:PREPAID 包年包月;POSTPAID_BY_HOUR 按量计费
|
|
1897
1908
|
:type ChargeType: str
|
|
1898
1909
|
:param _ResourceConfigInfo: 资源配置
|
|
1899
1910
|
:type ResourceConfigInfo: :class:`tencentcloud.tione.v20211111.models.ResourceConfigInfo`
|
|
1900
|
-
:param _Outputs:
|
|
1911
|
+
:param _Outputs: 结果输出存储信息
|
|
1901
1912
|
:type Outputs: list of DataConfig
|
|
1902
1913
|
:param _LogEnable: 是否上报日志
|
|
1903
1914
|
:type LogEnable: bool
|
|
@@ -1992,18 +2003,26 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
1992
2003
|
|
|
1993
2004
|
@property
|
|
1994
2005
|
def JobType(self):
|
|
2006
|
+
warnings.warn("parameter `JobType` is deprecated", DeprecationWarning)
|
|
2007
|
+
|
|
1995
2008
|
return self._JobType
|
|
1996
2009
|
|
|
1997
2010
|
@JobType.setter
|
|
1998
2011
|
def JobType(self, JobType):
|
|
2012
|
+
warnings.warn("parameter `JobType` is deprecated", DeprecationWarning)
|
|
2013
|
+
|
|
1999
2014
|
self._JobType = JobType
|
|
2000
2015
|
|
|
2001
2016
|
@property
|
|
2002
2017
|
def CronInfo(self):
|
|
2018
|
+
warnings.warn("parameter `CronInfo` is deprecated", DeprecationWarning)
|
|
2019
|
+
|
|
2003
2020
|
return self._CronInfo
|
|
2004
2021
|
|
|
2005
2022
|
@CronInfo.setter
|
|
2006
2023
|
def CronInfo(self, CronInfo):
|
|
2024
|
+
warnings.warn("parameter `CronInfo` is deprecated", DeprecationWarning)
|
|
2025
|
+
|
|
2007
2026
|
self._CronInfo = CronInfo
|
|
2008
2027
|
|
|
2009
2028
|
@property
|
|
@@ -2167,7 +2186,7 @@ class CreateBatchTaskResponse(AbstractModel):
|
|
|
2167
2186
|
|
|
2168
2187
|
def __init__(self):
|
|
2169
2188
|
r"""
|
|
2170
|
-
:param _BatchTaskId:
|
|
2189
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
2171
2190
|
:type BatchTaskId: str
|
|
2172
2191
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2173
2192
|
:type RequestId: str
|
|
@@ -5548,7 +5567,7 @@ class DeleteBatchTaskRequest(AbstractModel):
|
|
|
5548
5567
|
|
|
5549
5568
|
def __init__(self):
|
|
5550
5569
|
r"""
|
|
5551
|
-
:param _BatchTaskId:
|
|
5570
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
5552
5571
|
:type BatchTaskId: str
|
|
5553
5572
|
"""
|
|
5554
5573
|
self._BatchTaskId = None
|
|
@@ -6343,7 +6362,7 @@ class DescribeBatchTaskInstancesRequest(AbstractModel):
|
|
|
6343
6362
|
|
|
6344
6363
|
def __init__(self):
|
|
6345
6364
|
r"""
|
|
6346
|
-
:param _BatchTaskId:
|
|
6365
|
+
:param _BatchTaskId: 批量预测任务id
|
|
6347
6366
|
:type BatchTaskId: str
|
|
6348
6367
|
"""
|
|
6349
6368
|
self._BatchTaskId = None
|
|
@@ -6376,7 +6395,7 @@ class DescribeBatchTaskInstancesResponse(AbstractModel):
|
|
|
6376
6395
|
|
|
6377
6396
|
def __init__(self):
|
|
6378
6397
|
r"""
|
|
6379
|
-
:param _BatchInstances:
|
|
6398
|
+
:param _BatchInstances: 批量预测实例结果
|
|
6380
6399
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6381
6400
|
:type BatchInstances: list of BatchTaskInstance
|
|
6382
6401
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6419,7 +6438,7 @@ class DescribeBatchTaskRequest(AbstractModel):
|
|
|
6419
6438
|
|
|
6420
6439
|
def __init__(self):
|
|
6421
6440
|
r"""
|
|
6422
|
-
:param _BatchTaskId:
|
|
6441
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
6423
6442
|
:type BatchTaskId: str
|
|
6424
6443
|
"""
|
|
6425
6444
|
self._BatchTaskId = None
|
|
@@ -6452,7 +6471,7 @@ class DescribeBatchTaskResponse(AbstractModel):
|
|
|
6452
6471
|
|
|
6453
6472
|
def __init__(self):
|
|
6454
6473
|
r"""
|
|
6455
|
-
:param _BatchTaskDetail:
|
|
6474
|
+
:param _BatchTaskDetail: 批量预测任务详情
|
|
6456
6475
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6457
6476
|
:type BatchTaskDetail: :class:`tencentcloud.tione.v20211111.models.BatchTaskDetail`
|
|
6458
6477
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6492,24 +6511,24 @@ class DescribeBatchTasksRequest(AbstractModel):
|
|
|
6492
6511
|
|
|
6493
6512
|
def __init__(self):
|
|
6494
6513
|
r"""
|
|
6495
|
-
:param _Filters:
|
|
6514
|
+
:param _Filters: 过滤器
|
|
6496
6515
|
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
Status
|
|
6501
|
-
|
|
6502
|
-
CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止)
|
|
6516
|
+
Name支持的取值范围:
|
|
6517
|
+
BatchTaskId, BatchTaskName, Status, ModelVersionId
|
|
6518
|
+
|
|
6519
|
+
其中Status 的有效取值范围:
|
|
6520
|
+
INIT, STARTING, RUNNING, FAILED, STOPPING, STOPPED, SUCCEED
|
|
6503
6521
|
:type Filters: list of Filter
|
|
6504
|
-
:param _TagFilters:
|
|
6522
|
+
:param _TagFilters: 标签过滤器
|
|
6505
6523
|
:type TagFilters: list of TagFilter
|
|
6506
6524
|
:param _Offset: 偏移量,默认为0
|
|
6507
6525
|
:type Offset: int
|
|
6508
|
-
:param _Limit:
|
|
6526
|
+
:param _Limit: 限制数目,默认为20
|
|
6509
6527
|
:type Limit: int
|
|
6510
6528
|
:param _Order: 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC
|
|
6511
6529
|
:type Order: str
|
|
6512
|
-
:param _OrderField:
|
|
6530
|
+
:param _OrderField: 排序字段。当前仅支持 "CreateTime"。
|
|
6531
|
+
不传此字段则按照DB默认排序结果返回
|
|
6513
6532
|
:type OrderField: str
|
|
6514
6533
|
"""
|
|
6515
6534
|
self._Filters = None
|
|
@@ -6602,9 +6621,9 @@ class DescribeBatchTasksResponse(AbstractModel):
|
|
|
6602
6621
|
|
|
6603
6622
|
def __init__(self):
|
|
6604
6623
|
r"""
|
|
6605
|
-
:param _TotalCount:
|
|
6624
|
+
:param _TotalCount: 批量预测任务总数
|
|
6606
6625
|
:type TotalCount: int
|
|
6607
|
-
:param _BatchTaskSet:
|
|
6626
|
+
:param _BatchTaskSet: 批量预测任务列表
|
|
6608
6627
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6609
6628
|
:type BatchTaskSet: list of BatchTaskSetItem
|
|
6610
6629
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20163,7 +20182,7 @@ class StopBatchTaskRequest(AbstractModel):
|
|
|
20163
20182
|
|
|
20164
20183
|
def __init__(self):
|
|
20165
20184
|
r"""
|
|
20166
|
-
:param _BatchTaskId:
|
|
20185
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
20167
20186
|
:type BatchTaskId: str
|
|
20168
20187
|
"""
|
|
20169
20188
|
self._BatchTaskId = None
|
|
@@ -73,7 +73,7 @@ class TioneClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def CreateBatchTask(self, request):
|
|
76
|
-
"""
|
|
76
|
+
"""创建批量预测任务
|
|
77
77
|
|
|
78
78
|
:param request: Request instance for CreateBatchTask.
|
|
79
79
|
:type request: :class:`tencentcloud.tione.v20211111.models.CreateBatchTaskRequest`
|
|
@@ -257,7 +257,7 @@ class TioneClient(AbstractClient):
|
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
def DeleteBatchTask(self, request):
|
|
260
|
-
"""
|
|
260
|
+
"""删除批量预测任务
|
|
261
261
|
|
|
262
262
|
:param request: Request instance for DeleteBatchTask.
|
|
263
263
|
:type request: :class:`tencentcloud.tione.v20211111.models.DeleteBatchTaskRequest`
|
|
@@ -510,7 +510,7 @@ class TioneClient(AbstractClient):
|
|
|
510
510
|
|
|
511
511
|
|
|
512
512
|
def DescribeBatchTask(self, request):
|
|
513
|
-
"""
|
|
513
|
+
"""查询批量预测任务
|
|
514
514
|
|
|
515
515
|
:param request: Request instance for DescribeBatchTask.
|
|
516
516
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeBatchTaskRequest`
|
|
@@ -533,7 +533,7 @@ class TioneClient(AbstractClient):
|
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
def DescribeBatchTaskInstances(self, request):
|
|
536
|
-
"""
|
|
536
|
+
"""查询批量预测任务实例列表
|
|
537
537
|
|
|
538
538
|
:param request: Request instance for DescribeBatchTaskInstances.
|
|
539
539
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeBatchTaskInstancesRequest`
|
|
@@ -556,7 +556,7 @@ class TioneClient(AbstractClient):
|
|
|
556
556
|
|
|
557
557
|
|
|
558
558
|
def DescribeBatchTasks(self, request):
|
|
559
|
-
"""
|
|
559
|
+
"""查询批量预测任务列表信息
|
|
560
560
|
|
|
561
561
|
:param request: Request instance for DescribeBatchTasks.
|
|
562
562
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeBatchTasksRequest`
|
|
@@ -1614,7 +1614,7 @@ class TioneClient(AbstractClient):
|
|
|
1614
1614
|
|
|
1615
1615
|
|
|
1616
1616
|
def StopBatchTask(self, request):
|
|
1617
|
-
"""
|
|
1617
|
+
"""停止批量预测任务
|
|
1618
1618
|
|
|
1619
1619
|
:param request: Request instance for StopBatchTask.
|
|
1620
1620
|
:type request: :class:`tencentcloud.tione.v20211111.models.StopBatchTaskRequest`
|
|
@@ -69,7 +69,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
|
|
|
69
69
|
:type Url: str
|
|
70
70
|
:param _BasicDocumentType: 原始文档类型
|
|
71
71
|
:type BasicDocumentType: str
|
|
72
|
-
:param _CallbackUrl: 回调url,文件大于10MB,建议采用回调方式;回调时,所有内容会放入 Body
|
|
72
|
+
:param _CallbackUrl: 回调url,文件大于10MB,建议采用回调方式;回调时,所有内容会放入 Body 中,具体请参见[文件翻译回调说明](https://cloud.tencent.com/document/product/551/91138)。
|
|
73
73
|
:type CallbackUrl: str
|
|
74
74
|
:param _Data: 文件数据,当SourceType 值为1时必须填写,为0可不写。要base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。数据要小于5MB。
|
|
75
75
|
:type Data: str
|
|
@@ -51,7 +51,7 @@ class TmtClient(AbstractClient):
|
|
|
51
51
|
|
|
52
52
|
def GetFileTranslate(self, request):
|
|
53
53
|
"""在调用文档翻译请求接口后,有回调和轮询两种方式获取识别结果。
|
|
54
|
-
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL
|
|
54
|
+
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见[文件翻译回调说明](https://cloud.tencent.com/document/product/551/91138)。
|
|
55
55
|
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见参数说明。
|
|
56
56
|
|
|
57
57
|
:param request: Request instance for GetFileTranslate.
|
|
@@ -289,10 +289,13 @@ class AudioEncodeParams(AbstractModel):
|
|
|
289
289
|
:type Channel: int
|
|
290
290
|
:param _BitRate: 音频码率,取值范围[8,500],单位为kbps。
|
|
291
291
|
:type BitRate: int
|
|
292
|
+
:param _Volume: 音量,取值范围[0,300]。默认100,表示原始音量;0表示静音。
|
|
293
|
+
:type Volume: int
|
|
292
294
|
"""
|
|
293
295
|
self._SampleRate = None
|
|
294
296
|
self._Channel = None
|
|
295
297
|
self._BitRate = None
|
|
298
|
+
self._Volume = None
|
|
296
299
|
|
|
297
300
|
@property
|
|
298
301
|
def SampleRate(self):
|
|
@@ -318,11 +321,20 @@ class AudioEncodeParams(AbstractModel):
|
|
|
318
321
|
def BitRate(self, BitRate):
|
|
319
322
|
self._BitRate = BitRate
|
|
320
323
|
|
|
324
|
+
@property
|
|
325
|
+
def Volume(self):
|
|
326
|
+
return self._Volume
|
|
327
|
+
|
|
328
|
+
@Volume.setter
|
|
329
|
+
def Volume(self, Volume):
|
|
330
|
+
self._Volume = Volume
|
|
331
|
+
|
|
321
332
|
|
|
322
333
|
def _deserialize(self, params):
|
|
323
334
|
self._SampleRate = params.get("SampleRate")
|
|
324
335
|
self._Channel = params.get("Channel")
|
|
325
336
|
self._BitRate = params.get("BitRate")
|
|
337
|
+
self._Volume = params.get("Volume")
|
|
326
338
|
memeber_set = set(params.keys())
|
|
327
339
|
for name, value in vars(self).items():
|
|
328
340
|
property_name = name[1:]
|
|
@@ -8267,9 +8279,9 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
8267
8279
|
0: 字符串类型的RoomId
|
|
8268
8280
|
1: 32位整型的RoomId(默认)
|
|
8269
8281
|
:type RoomIdType: int
|
|
8270
|
-
:param _UserId:
|
|
8282
|
+
:param _UserId: 输入在线媒体流机器人的UserId,用于进房发起拉流转推任务。
|
|
8271
8283
|
:type UserId: str
|
|
8272
|
-
:param _UserSig:
|
|
8284
|
+
:param _UserSig: 输入在线媒体流机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
8273
8285
|
:type UserSig: str
|
|
8274
8286
|
:param _SourceUrl: 【本字段已废弃,请使用 StreamUrl 字段】源流URL,支持一个地址。
|
|
8275
8287
|
:type SourceUrl: list of str
|
|
@@ -8406,7 +8418,7 @@ class StartStreamIngestResponse(AbstractModel):
|
|
|
8406
8418
|
|
|
8407
8419
|
def __init__(self):
|
|
8408
8420
|
r"""
|
|
8409
|
-
:param _TaskId:
|
|
8421
|
+
:param _TaskId: 输入在线媒体流的任务 ID。任务 ID 是对一次输入在线媒体流生命周期过程的唯一标识,结束任务时会失去意义。任务 ID 需要业务保存下来,作为下次针对这个任务操作的参数。
|
|
8410
8422
|
:type TaskId: str
|
|
8411
8423
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8412
8424
|
:type RequestId: str
|
|
@@ -364,7 +364,7 @@ class TrtcClient(AbstractClient):
|
|
|
364
364
|
|
|
365
365
|
|
|
366
366
|
def DescribeStreamIngest(self, request):
|
|
367
|
-
"""
|
|
367
|
+
"""您可以查询输入在线媒体流任务的状态。
|
|
368
368
|
|
|
369
369
|
:param request: Request instance for DescribeStreamIngest.
|
|
370
370
|
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeStreamIngestRequest`
|
|
@@ -1216,7 +1216,7 @@ class TrtcClient(AbstractClient):
|
|
|
1216
1216
|
|
|
1217
1217
|
|
|
1218
1218
|
def StopStreamIngest(self, request):
|
|
1219
|
-
"""
|
|
1219
|
+
"""停止一个输入在线媒体流任务。
|
|
1220
1220
|
|
|
1221
1221
|
:param request: Request instance for StopStreamIngest.
|
|
1222
1222
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StopStreamIngestRequest`
|