tencentcloud-sdk-python 3.0.1276__py2.py3-none-any.whl → 3.0.1278__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/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +207 -6
- tencentcloud/batch/v20170312/models.py +19 -19
- tencentcloud/cam/v20190116/models.py +8 -8
- tencentcloud/cdb/v20170320/cdb_client.py +12 -4
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cloudapp/v20220530/errorcodes.py +6 -0
- tencentcloud/config/v20220802/models.py +40 -20
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +529 -30
- tencentcloud/dbbrain/v20210527/models.py +2 -2
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/errorcodes.py +33 -0
- tencentcloud/emr/v20190103/models.py +1283 -27
- tencentcloud/essbasic/v20210526/models.py +17 -0
- tencentcloud/iotexplorer/v20190423/models.py +17 -0
- tencentcloud/ivld/v20210903/ivld_client.py +0 -1
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lke/v20231130/lke_client.py +6 -2
- tencentcloud/mps/v20190612/models.py +93 -0
- tencentcloud/mqtt/v20240516/models.py +524 -6
- tencentcloud/mqtt/v20240516/mqtt_client.py +46 -1
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/ocr/v20181119/models.py +141 -4
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/pts/v20210728/models.py +15 -0
- tencentcloud/scf/v20180416/models.py +15 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +316 -227
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/tcr/v20190924/models.py +24 -2
- tencentcloud/tdmq/v20200217/models.py +8 -148
- tencentcloud/tdmq/v20200217/tdmq_client.py +9 -28
- tencentcloud/teo/v20220901/errorcodes.py +3 -3
- tencentcloud/trtc/v20190722/models.py +4 -2
- tencentcloud/vclm/v20240523/models.py +67 -8
- tencentcloud/vclm/v20240523/vclm_client.py +36 -53
- tencentcloud/vod/v20180717/models.py +43 -28
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +982 -38
- tencentcloud/vpc/v20170312/vpc_client.py +193 -7
- {tencentcloud_sdk_python-3.0.1276.dist-info → tencentcloud_sdk_python-3.0.1278.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1276.dist-info → tencentcloud_sdk_python-3.0.1278.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1276.dist-info → tencentcloud_sdk_python-3.0.1278.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1276.dist-info → tencentcloud_sdk_python-3.0.1278.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1276.dist-info → tencentcloud_sdk_python-3.0.1278.dist-info}/top_level.txt +0 -0
@@ -142,7 +142,7 @@ class SslClient(AbstractClient):
|
|
142
142
|
|
143
143
|
|
144
144
|
def CommitCertificateInformation(self, request):
|
145
|
-
"""
|
145
|
+
"""提交证书订单到CA机构。
|
146
146
|
|
147
147
|
:param request: Request instance for CommitCertificateInformation.
|
148
148
|
:type request: :class:`tencentcloud.ssl.v20191205.models.CommitCertificateInformationRequest`
|
@@ -165,7 +165,7 @@ class SslClient(AbstractClient):
|
|
165
165
|
|
166
166
|
|
167
167
|
def CompleteCertificate(self, request):
|
168
|
-
"""本接口(CompleteCertificate
|
168
|
+
"""本接口(CompleteCertificate)用于主动触发证书验证。DNSPod和Wotrus品牌的证书不支持使用此接口。
|
169
169
|
|
170
170
|
:param request: Request instance for CompleteCertificate.
|
171
171
|
:type request: :class:`tencentcloud.ssl.v20191205.models.CompleteCertificateRequest`
|
@@ -14097,7 +14097,18 @@ class Registry(AbstractModel):
|
|
14097
14097
|
:type RegistryName: str
|
14098
14098
|
:param _RegistryType: 实例规格
|
14099
14099
|
:type RegistryType: str
|
14100
|
-
:param _Status:
|
14100
|
+
:param _Status: 实例状态。有以下状态:
|
14101
|
+
Pending, 初始化中
|
14102
|
+
Deploying, 创建中
|
14103
|
+
Running, 运行中
|
14104
|
+
Unhealthy, 状态异常
|
14105
|
+
FailedCreated, 创建失败
|
14106
|
+
FailedUpdated, 更新失败
|
14107
|
+
Bucket-Error, 存储桶异常
|
14108
|
+
Isolate, 待回收
|
14109
|
+
Deleting, 删除中
|
14110
|
+
DeleteBucketFailed, 实例删除存储桶失败
|
14111
|
+
DeleteFailed, 实例删除失败
|
14101
14112
|
:type Status: str
|
14102
14113
|
:param _PublicDomain: 实例的公共访问地址
|
14103
14114
|
:type PublicDomain: str
|
@@ -14180,7 +14191,18 @@ class Registry(AbstractModel):
|
|
14180
14191
|
|
14181
14192
|
@property
|
14182
14193
|
def Status(self):
|
14183
|
-
"""
|
14194
|
+
"""实例状态。有以下状态:
|
14195
|
+
Pending, 初始化中
|
14196
|
+
Deploying, 创建中
|
14197
|
+
Running, 运行中
|
14198
|
+
Unhealthy, 状态异常
|
14199
|
+
FailedCreated, 创建失败
|
14200
|
+
FailedUpdated, 更新失败
|
14201
|
+
Bucket-Error, 存储桶异常
|
14202
|
+
Isolate, 待回收
|
14203
|
+
Deleting, 删除中
|
14204
|
+
DeleteBucketFailed, 实例删除存储桶失败
|
14205
|
+
DeleteFailed, 实例删除失败
|
14184
14206
|
:rtype: str
|
14185
14207
|
"""
|
14186
14208
|
return self._Status
|
@@ -9809,150 +9809,6 @@ class DescribeClustersResponse(AbstractModel):
|
|
9809
9809
|
self._RequestId = params.get("RequestId")
|
9810
9810
|
|
9811
9811
|
|
9812
|
-
class DescribeCmqDeadLetterSourceQueuesRequest(AbstractModel):
|
9813
|
-
"""DescribeCmqDeadLetterSourceQueues请求参数结构体
|
9814
|
-
|
9815
|
-
"""
|
9816
|
-
|
9817
|
-
def __init__(self):
|
9818
|
-
r"""
|
9819
|
-
:param _DeadLetterQueueName: 死信队列名称
|
9820
|
-
:type DeadLetterQueueName: str
|
9821
|
-
:param _Limit: 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。
|
9822
|
-
:type Limit: int
|
9823
|
-
:param _Offset: 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。
|
9824
|
-
:type Offset: int
|
9825
|
-
:param _SourceQueueName: 根据SourceQueueName过滤
|
9826
|
-
:type SourceQueueName: str
|
9827
|
-
"""
|
9828
|
-
self._DeadLetterQueueName = None
|
9829
|
-
self._Limit = None
|
9830
|
-
self._Offset = None
|
9831
|
-
self._SourceQueueName = None
|
9832
|
-
|
9833
|
-
@property
|
9834
|
-
def DeadLetterQueueName(self):
|
9835
|
-
"""死信队列名称
|
9836
|
-
:rtype: str
|
9837
|
-
"""
|
9838
|
-
return self._DeadLetterQueueName
|
9839
|
-
|
9840
|
-
@DeadLetterQueueName.setter
|
9841
|
-
def DeadLetterQueueName(self, DeadLetterQueueName):
|
9842
|
-
self._DeadLetterQueueName = DeadLetterQueueName
|
9843
|
-
|
9844
|
-
@property
|
9845
|
-
def Limit(self):
|
9846
|
-
"""分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。
|
9847
|
-
:rtype: int
|
9848
|
-
"""
|
9849
|
-
return self._Limit
|
9850
|
-
|
9851
|
-
@Limit.setter
|
9852
|
-
def Limit(self, Limit):
|
9853
|
-
self._Limit = Limit
|
9854
|
-
|
9855
|
-
@property
|
9856
|
-
def Offset(self):
|
9857
|
-
"""分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。
|
9858
|
-
:rtype: int
|
9859
|
-
"""
|
9860
|
-
return self._Offset
|
9861
|
-
|
9862
|
-
@Offset.setter
|
9863
|
-
def Offset(self, Offset):
|
9864
|
-
self._Offset = Offset
|
9865
|
-
|
9866
|
-
@property
|
9867
|
-
def SourceQueueName(self):
|
9868
|
-
"""根据SourceQueueName过滤
|
9869
|
-
:rtype: str
|
9870
|
-
"""
|
9871
|
-
return self._SourceQueueName
|
9872
|
-
|
9873
|
-
@SourceQueueName.setter
|
9874
|
-
def SourceQueueName(self, SourceQueueName):
|
9875
|
-
self._SourceQueueName = SourceQueueName
|
9876
|
-
|
9877
|
-
|
9878
|
-
def _deserialize(self, params):
|
9879
|
-
self._DeadLetterQueueName = params.get("DeadLetterQueueName")
|
9880
|
-
self._Limit = params.get("Limit")
|
9881
|
-
self._Offset = params.get("Offset")
|
9882
|
-
self._SourceQueueName = params.get("SourceQueueName")
|
9883
|
-
memeber_set = set(params.keys())
|
9884
|
-
for name, value in vars(self).items():
|
9885
|
-
property_name = name[1:]
|
9886
|
-
if property_name in memeber_set:
|
9887
|
-
memeber_set.remove(property_name)
|
9888
|
-
if len(memeber_set) > 0:
|
9889
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9890
|
-
|
9891
|
-
|
9892
|
-
|
9893
|
-
class DescribeCmqDeadLetterSourceQueuesResponse(AbstractModel):
|
9894
|
-
"""DescribeCmqDeadLetterSourceQueues返回参数结构体
|
9895
|
-
|
9896
|
-
"""
|
9897
|
-
|
9898
|
-
def __init__(self):
|
9899
|
-
r"""
|
9900
|
-
:param _TotalCount: 满足本次条件的队列个数
|
9901
|
-
:type TotalCount: int
|
9902
|
-
:param _QueueSet: 死信队列源队列
|
9903
|
-
:type QueueSet: list of CmqDeadLetterSource
|
9904
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9905
|
-
:type RequestId: str
|
9906
|
-
"""
|
9907
|
-
self._TotalCount = None
|
9908
|
-
self._QueueSet = None
|
9909
|
-
self._RequestId = None
|
9910
|
-
|
9911
|
-
@property
|
9912
|
-
def TotalCount(self):
|
9913
|
-
"""满足本次条件的队列个数
|
9914
|
-
:rtype: int
|
9915
|
-
"""
|
9916
|
-
return self._TotalCount
|
9917
|
-
|
9918
|
-
@TotalCount.setter
|
9919
|
-
def TotalCount(self, TotalCount):
|
9920
|
-
self._TotalCount = TotalCount
|
9921
|
-
|
9922
|
-
@property
|
9923
|
-
def QueueSet(self):
|
9924
|
-
"""死信队列源队列
|
9925
|
-
:rtype: list of CmqDeadLetterSource
|
9926
|
-
"""
|
9927
|
-
return self._QueueSet
|
9928
|
-
|
9929
|
-
@QueueSet.setter
|
9930
|
-
def QueueSet(self, QueueSet):
|
9931
|
-
self._QueueSet = QueueSet
|
9932
|
-
|
9933
|
-
@property
|
9934
|
-
def RequestId(self):
|
9935
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9936
|
-
:rtype: str
|
9937
|
-
"""
|
9938
|
-
return self._RequestId
|
9939
|
-
|
9940
|
-
@RequestId.setter
|
9941
|
-
def RequestId(self, RequestId):
|
9942
|
-
self._RequestId = RequestId
|
9943
|
-
|
9944
|
-
|
9945
|
-
def _deserialize(self, params):
|
9946
|
-
self._TotalCount = params.get("TotalCount")
|
9947
|
-
if params.get("QueueSet") is not None:
|
9948
|
-
self._QueueSet = []
|
9949
|
-
for item in params.get("QueueSet"):
|
9950
|
-
obj = CmqDeadLetterSource()
|
9951
|
-
obj._deserialize(item)
|
9952
|
-
self._QueueSet.append(obj)
|
9953
|
-
self._RequestId = params.get("RequestId")
|
9954
|
-
|
9955
|
-
|
9956
9812
|
class DescribeCmqQueueDetailRequest(AbstractModel):
|
9957
9813
|
"""DescribeCmqQueueDetail请求参数结构体
|
9958
9814
|
|
@@ -30210,7 +30066,7 @@ class RocketMQClusterConfig(AbstractModel):
|
|
30210
30066
|
|
30211
30067
|
def __init__(self):
|
30212
30068
|
r"""
|
30213
|
-
:param _MaxTpsPerNamespace: 单命名空间TPS
|
30069
|
+
:param _MaxTpsPerNamespace: 单命名空间TPS上限
|
30214
30070
|
:type MaxTpsPerNamespace: int
|
30215
30071
|
:param _MaxNamespaceNum: 最大命名空间数量
|
30216
30072
|
:type MaxNamespaceNum: int
|
@@ -30249,13 +30105,17 @@ class RocketMQClusterConfig(AbstractModel):
|
|
30249
30105
|
|
30250
30106
|
@property
|
30251
30107
|
def MaxTpsPerNamespace(self):
|
30252
|
-
""
|
30108
|
+
warnings.warn("parameter `MaxTpsPerNamespace` is deprecated", DeprecationWarning)
|
30109
|
+
|
30110
|
+
"""单命名空间TPS上限
|
30253
30111
|
:rtype: int
|
30254
30112
|
"""
|
30255
30113
|
return self._MaxTpsPerNamespace
|
30256
30114
|
|
30257
30115
|
@MaxTpsPerNamespace.setter
|
30258
30116
|
def MaxTpsPerNamespace(self, MaxTpsPerNamespace):
|
30117
|
+
warnings.warn("parameter `MaxTpsPerNamespace` is deprecated", DeprecationWarning)
|
30118
|
+
|
30259
30119
|
self._MaxTpsPerNamespace = MaxTpsPerNamespace
|
30260
30120
|
|
30261
30121
|
@property
|
@@ -31638,7 +31498,7 @@ class RocketMQGroupConfigOutput(AbstractModel):
|
|
31638
31498
|
:param _GroupName: 消费组名称
|
31639
31499
|
注意:此字段可能返回 null,表示取不到有效值。
|
31640
31500
|
:type GroupName: str
|
31641
|
-
:param _Imported:
|
31501
|
+
:param _Imported: 是否已导入
|
31642
31502
|
注意:此字段可能返回 null,表示取不到有效值。
|
31643
31503
|
:type Imported: bool
|
31644
31504
|
:param _Remark: remark
|
@@ -31676,7 +31536,7 @@ class RocketMQGroupConfigOutput(AbstractModel):
|
|
31676
31536
|
|
31677
31537
|
@property
|
31678
31538
|
def Imported(self):
|
31679
|
-
"""
|
31539
|
+
"""是否已导入
|
31680
31540
|
注意:此字段可能返回 null,表示取不到有效值。
|
31681
31541
|
:rtype: bool
|
31682
31542
|
"""
|
@@ -1062,7 +1062,9 @@ class TdmqClient(AbstractClient):
|
|
1062
1062
|
|
1063
1063
|
|
1064
1064
|
def DescribeAMQPClusters(self, request):
|
1065
|
-
"""
|
1065
|
+
"""历史原因,该接口位于tdmq-manager,目前rabbitmq产品没有使用该接口,当前使用的是DescribeRabbitMQVipInstances。不过从调用链上看,线网还有请求流程,所以走预下线流程。
|
1066
|
+
|
1067
|
+
获取amqp集群列表
|
1066
1068
|
|
1067
1069
|
:param request: Request instance for DescribeAMQPClusters.
|
1068
1070
|
:type request: :class:`tencentcloud.tdmq.v20200217.models.DescribeAMQPClustersRequest`
|
@@ -1199,31 +1201,6 @@ class TdmqClient(AbstractClient):
|
|
1199
1201
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1200
1202
|
|
1201
1203
|
|
1202
|
-
def DescribeCmqDeadLetterSourceQueues(self, request):
|
1203
|
-
"""接口很久之前已删除,需下线
|
1204
|
-
|
1205
|
-
枚举cmq死信队列源队列
|
1206
|
-
|
1207
|
-
:param request: Request instance for DescribeCmqDeadLetterSourceQueues.
|
1208
|
-
:type request: :class:`tencentcloud.tdmq.v20200217.models.DescribeCmqDeadLetterSourceQueuesRequest`
|
1209
|
-
:rtype: :class:`tencentcloud.tdmq.v20200217.models.DescribeCmqDeadLetterSourceQueuesResponse`
|
1210
|
-
|
1211
|
-
"""
|
1212
|
-
try:
|
1213
|
-
params = request._serialize()
|
1214
|
-
headers = request.headers
|
1215
|
-
body = self.call("DescribeCmqDeadLetterSourceQueues", params, headers=headers)
|
1216
|
-
response = json.loads(body)
|
1217
|
-
model = models.DescribeCmqDeadLetterSourceQueuesResponse()
|
1218
|
-
model._deserialize(response["Response"])
|
1219
|
-
return model
|
1220
|
-
except Exception as e:
|
1221
|
-
if isinstance(e, TencentCloudSDKException):
|
1222
|
-
raise
|
1223
|
-
else:
|
1224
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1225
|
-
|
1226
|
-
|
1227
1204
|
def DescribeCmqQueueDetail(self, request):
|
1228
1205
|
"""查询cmq队列详情
|
1229
1206
|
|
@@ -1823,7 +1800,9 @@ class TdmqClient(AbstractClient):
|
|
1823
1800
|
|
1824
1801
|
|
1825
1802
|
def DescribeRabbitMQVirtualHostList(self, request):
|
1826
|
-
"""RabbitMQ
|
1803
|
+
"""消息队列TDMQ RabbitMQ 有一个存量旧接口没下线,目前实际上已经不在产品中使用:DescribeRabbitMQVirtualHostList,这个接口很久前已经被 DescribeRabbitMQVirtualHost 替换掉。已无用户在调用。
|
1804
|
+
|
1805
|
+
RabbitMQ专享版查询虚拟主机列表
|
1827
1806
|
|
1828
1807
|
:param request: Request instance for DescribeRabbitMQVirtualHostList.
|
1829
1808
|
:type request: :class:`tencentcloud.tdmq.v20200217.models.DescribeRabbitMQVirtualHostListRequest`
|
@@ -2582,7 +2561,9 @@ class TdmqClient(AbstractClient):
|
|
2582
2561
|
|
2583
2562
|
|
2584
2563
|
def ModifyAMQPCluster(self, request):
|
2585
|
-
"""
|
2564
|
+
"""历史原因,该接口位于tdmq-manager,目前rabbitmq产品没有使用该接口,当前使用的是ModifyRabbitMQVipInstance。不过从调用链上看,线网还有请求流程,所以走预下线流程。
|
2565
|
+
|
2566
|
+
更新Amqp集群信息
|
2586
2567
|
|
2587
2568
|
:param request: Request instance for ModifyAMQPCluster.
|
2588
2569
|
:type request: :class:`tencentcloud.tdmq.v20200217.models.ModifyAMQPClusterRequest`
|
@@ -65,6 +65,9 @@ FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = 'FailedOperation.CreateLogTopicT
|
|
65
65
|
# 边缘客户端证书已过期,暂不支持下发过期证书。
|
66
66
|
FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = 'FailedOperation.EdgeClientCertificateHasExpired'
|
67
67
|
|
68
|
+
# 调用 DNSPod 失败,请稍后重试,若无法解决,请联系智能客服或提交工单。
|
69
|
+
FAILEDOPERATION_FAILEDTOCALLDNSPOD = 'FailedOperation.FailedToCallDNSPod'
|
70
|
+
|
68
71
|
# 有其他任务正在部署中,请稍后重试。
|
69
72
|
FAILEDOPERATION_FUNCTIONDEPLOYING = 'FailedOperation.FunctionDeploying'
|
70
73
|
|
@@ -110,9 +113,6 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
|
|
110
113
|
# 获取配置失败。
|
111
114
|
INTERNALERROR_DOMAINCONFIG = 'InternalError.DomainConfig'
|
112
115
|
|
113
|
-
# 调用 DNSPod 失败,请稍后重试,若无法解决,请联系智能客服或提交工单。
|
114
|
-
INTERNALERROR_FAILEDTOCALLDNSPOD = 'InternalError.FailedToCallDNSPod'
|
115
|
-
|
116
116
|
# 上传链接生成失败。
|
117
117
|
INTERNALERROR_FAILEDTOGENERATEURL = 'InternalError.FailedToGenerateUrl'
|
118
118
|
|
@@ -7394,7 +7394,8 @@ class McuPassThrough(AbstractModel):
|
|
7394
7394
|
r"""
|
7395
7395
|
:param _PayloadContent: 透传SEI的payload内容。
|
7396
7396
|
:type PayloadContent: str
|
7397
|
-
:param _PayloadType: SEI消息的
|
7397
|
+
:param _PayloadType: SEI消息的PayloadType,取值范围5、100-254(244除外,244为我们内部自定义的时间戳SEI)。
|
7398
|
+
注:部分播放器可能不支持PayloadType为5带PayloadUuid的标准类型,建议优先使用其他PayloadType。
|
7398
7399
|
:type PayloadType: int
|
7399
7400
|
:param _PayloadUuid: PayloadType为5,PayloadUuid必须填写。PayloadType不是5时,不需要填写,填写会被后台忽略。该值必须是32长度的十六进制。
|
7400
7401
|
:type PayloadUuid: str
|
@@ -7422,7 +7423,8 @@ class McuPassThrough(AbstractModel):
|
|
7422
7423
|
|
7423
7424
|
@property
|
7424
7425
|
def PayloadType(self):
|
7425
|
-
"""SEI消息的
|
7426
|
+
"""SEI消息的PayloadType,取值范围5、100-254(244除外,244为我们内部自定义的时间戳SEI)。
|
7427
|
+
注:部分播放器可能不支持PayloadType为5带PayloadUuid的标准类型,建议优先使用其他PayloadType。
|
7426
7428
|
:rtype: int
|
7427
7429
|
"""
|
7428
7430
|
return self._PayloadType
|
@@ -297,10 +297,12 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
297
297
|
:type TaskId: str
|
298
298
|
:param _SessionId: 音频转译结果确认 session。
|
299
299
|
:type SessionId: str
|
300
|
-
:param _Status:
|
300
|
+
:param _Status: 任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
|
301
301
|
:type Status: int
|
302
302
|
:param _Message: 视频转译任务信息。
|
303
303
|
:type Message: str
|
304
|
+
:param _JobStatus: 任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
|
305
|
+
:type JobStatus: int
|
304
306
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
305
307
|
:type RequestId: str
|
306
308
|
"""
|
@@ -309,6 +311,7 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
309
311
|
self._SessionId = None
|
310
312
|
self._Status = None
|
311
313
|
self._Message = None
|
314
|
+
self._JobStatus = None
|
312
315
|
self._RequestId = None
|
313
316
|
|
314
317
|
@property
|
@@ -324,6 +327,8 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
324
327
|
|
325
328
|
@property
|
326
329
|
def TaskId(self):
|
330
|
+
warnings.warn("parameter `TaskId` is deprecated", DeprecationWarning)
|
331
|
+
|
327
332
|
"""音频转译任务 ID。
|
328
333
|
:rtype: str
|
329
334
|
"""
|
@@ -331,10 +336,14 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
331
336
|
|
332
337
|
@TaskId.setter
|
333
338
|
def TaskId(self, TaskId):
|
339
|
+
warnings.warn("parameter `TaskId` is deprecated", DeprecationWarning)
|
340
|
+
|
334
341
|
self._TaskId = TaskId
|
335
342
|
|
336
343
|
@property
|
337
344
|
def SessionId(self):
|
345
|
+
warnings.warn("parameter `SessionId` is deprecated", DeprecationWarning)
|
346
|
+
|
338
347
|
"""音频转译结果确认 session。
|
339
348
|
:rtype: str
|
340
349
|
"""
|
@@ -342,21 +351,29 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
342
351
|
|
343
352
|
@SessionId.setter
|
344
353
|
def SessionId(self, SessionId):
|
354
|
+
warnings.warn("parameter `SessionId` is deprecated", DeprecationWarning)
|
355
|
+
|
345
356
|
self._SessionId = SessionId
|
346
357
|
|
347
358
|
@property
|
348
359
|
def Status(self):
|
349
|
-
"
|
360
|
+
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
361
|
+
|
362
|
+
"""任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
|
350
363
|
:rtype: int
|
351
364
|
"""
|
352
365
|
return self._Status
|
353
366
|
|
354
367
|
@Status.setter
|
355
368
|
def Status(self, Status):
|
369
|
+
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
370
|
+
|
356
371
|
self._Status = Status
|
357
372
|
|
358
373
|
@property
|
359
374
|
def Message(self):
|
375
|
+
warnings.warn("parameter `Message` is deprecated", DeprecationWarning)
|
376
|
+
|
360
377
|
"""视频转译任务信息。
|
361
378
|
:rtype: str
|
362
379
|
"""
|
@@ -364,8 +381,21 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
364
381
|
|
365
382
|
@Message.setter
|
366
383
|
def Message(self, Message):
|
384
|
+
warnings.warn("parameter `Message` is deprecated", DeprecationWarning)
|
385
|
+
|
367
386
|
self._Message = Message
|
368
387
|
|
388
|
+
@property
|
389
|
+
def JobStatus(self):
|
390
|
+
"""任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
|
391
|
+
:rtype: int
|
392
|
+
"""
|
393
|
+
return self._JobStatus
|
394
|
+
|
395
|
+
@JobStatus.setter
|
396
|
+
def JobStatus(self, JobStatus):
|
397
|
+
self._JobStatus = JobStatus
|
398
|
+
|
369
399
|
@property
|
370
400
|
def RequestId(self):
|
371
401
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -384,6 +414,7 @@ class ConfirmVideoTranslateJobResponse(AbstractModel):
|
|
384
414
|
self._SessionId = params.get("SessionId")
|
385
415
|
self._Status = params.get("Status")
|
386
416
|
self._Message = params.get("Message")
|
417
|
+
self._JobStatus = params.get("JobStatus")
|
387
418
|
self._RequestId = params.get("RequestId")
|
388
419
|
|
389
420
|
|
@@ -978,6 +1009,8 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
978
1009
|
|
979
1010
|
@property
|
980
1011
|
def JobConfirm(self):
|
1012
|
+
warnings.warn("parameter `JobConfirm` is deprecated", DeprecationWarning)
|
1013
|
+
|
981
1014
|
"""是否需要确认翻译结果。0:不需要,1:需要。
|
982
1015
|
:rtype: int
|
983
1016
|
"""
|
@@ -985,10 +1018,14 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
985
1018
|
|
986
1019
|
@JobConfirm.setter
|
987
1020
|
def JobConfirm(self, JobConfirm):
|
1021
|
+
warnings.warn("parameter `JobConfirm` is deprecated", DeprecationWarning)
|
1022
|
+
|
988
1023
|
self._JobConfirm = JobConfirm
|
989
1024
|
|
990
1025
|
@property
|
991
1026
|
def JobAudioTaskId(self):
|
1027
|
+
warnings.warn("parameter `JobAudioTaskId` is deprecated", DeprecationWarning)
|
1028
|
+
|
992
1029
|
"""音频任务 ID。
|
993
1030
|
:rtype: str
|
994
1031
|
"""
|
@@ -996,10 +1033,14 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
996
1033
|
|
997
1034
|
@JobAudioTaskId.setter
|
998
1035
|
def JobAudioTaskId(self, JobAudioTaskId):
|
1036
|
+
warnings.warn("parameter `JobAudioTaskId` is deprecated", DeprecationWarning)
|
1037
|
+
|
999
1038
|
self._JobAudioTaskId = JobAudioTaskId
|
1000
1039
|
|
1001
1040
|
@property
|
1002
1041
|
def JobVideoModerationId(self):
|
1042
|
+
warnings.warn("parameter `JobVideoModerationId` is deprecated", DeprecationWarning)
|
1043
|
+
|
1003
1044
|
"""视频审核任务ID。
|
1004
1045
|
:rtype: str
|
1005
1046
|
"""
|
@@ -1007,10 +1048,14 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
1007
1048
|
|
1008
1049
|
@JobVideoModerationId.setter
|
1009
1050
|
def JobVideoModerationId(self, JobVideoModerationId):
|
1051
|
+
warnings.warn("parameter `JobVideoModerationId` is deprecated", DeprecationWarning)
|
1052
|
+
|
1010
1053
|
self._JobVideoModerationId = JobVideoModerationId
|
1011
1054
|
|
1012
1055
|
@property
|
1013
1056
|
def JobAudioModerationId(self):
|
1057
|
+
warnings.warn("parameter `JobAudioModerationId` is deprecated", DeprecationWarning)
|
1058
|
+
|
1014
1059
|
"""音频审核任务 ID。
|
1015
1060
|
:rtype: str
|
1016
1061
|
"""
|
@@ -1018,10 +1063,14 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
1018
1063
|
|
1019
1064
|
@JobAudioModerationId.setter
|
1020
1065
|
def JobAudioModerationId(self, JobAudioModerationId):
|
1066
|
+
warnings.warn("parameter `JobAudioModerationId` is deprecated", DeprecationWarning)
|
1067
|
+
|
1021
1068
|
self._JobAudioModerationId = JobAudioModerationId
|
1022
1069
|
|
1023
1070
|
@property
|
1024
1071
|
def JobVideoId(self):
|
1072
|
+
warnings.warn("parameter `JobVideoId` is deprecated", DeprecationWarning)
|
1073
|
+
|
1025
1074
|
"""口型驱动任务 ID。
|
1026
1075
|
:rtype: str
|
1027
1076
|
"""
|
@@ -1029,10 +1078,14 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
1029
1078
|
|
1030
1079
|
@JobVideoId.setter
|
1031
1080
|
def JobVideoId(self, JobVideoId):
|
1081
|
+
warnings.warn("parameter `JobVideoId` is deprecated", DeprecationWarning)
|
1082
|
+
|
1032
1083
|
self._JobVideoId = JobVideoId
|
1033
1084
|
|
1034
1085
|
@property
|
1035
1086
|
def OriginalVideoUrl(self):
|
1087
|
+
warnings.warn("parameter `OriginalVideoUrl` is deprecated", DeprecationWarning)
|
1088
|
+
|
1036
1089
|
"""视频素材原始 URL。
|
1037
1090
|
:rtype: str
|
1038
1091
|
"""
|
@@ -1040,6 +1093,8 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
1040
1093
|
|
1041
1094
|
@OriginalVideoUrl.setter
|
1042
1095
|
def OriginalVideoUrl(self, OriginalVideoUrl):
|
1096
|
+
warnings.warn("parameter `OriginalVideoUrl` is deprecated", DeprecationWarning)
|
1097
|
+
|
1043
1098
|
self._OriginalVideoUrl = OriginalVideoUrl
|
1044
1099
|
|
1045
1100
|
@property
|
@@ -1055,6 +1110,8 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
1055
1110
|
|
1056
1111
|
@property
|
1057
1112
|
def JobSubmitReqId(self):
|
1113
|
+
warnings.warn("parameter `JobSubmitReqId` is deprecated", DeprecationWarning)
|
1114
|
+
|
1058
1115
|
"""提交视频转译任务时的 requestId。
|
1059
1116
|
:rtype: str
|
1060
1117
|
"""
|
@@ -1062,6 +1119,8 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
1062
1119
|
|
1063
1120
|
@JobSubmitReqId.setter
|
1064
1121
|
def JobSubmitReqId(self, JobSubmitReqId):
|
1122
|
+
warnings.warn("parameter `JobSubmitReqId` is deprecated", DeprecationWarning)
|
1123
|
+
|
1065
1124
|
self._JobSubmitReqId = JobSubmitReqId
|
1066
1125
|
|
1067
1126
|
@property
|
@@ -1816,11 +1875,11 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
|
|
1816
1875
|
def __init__(self):
|
1817
1876
|
r"""
|
1818
1877
|
:param _VideoUrl: 视频地址URL。
|
1819
|
-
格式要求:支持 mp4、mov 。
|
1878
|
+
格式要求:支持 mp4、mov、avi 。
|
1820
1879
|
时长要求:【5-600】秒。
|
1821
1880
|
fps 要求:【15-60】fps
|
1822
1881
|
分辨率要求:单边像素要求在 【360~4096】 之间。
|
1823
|
-
大小要求:不超过
|
1882
|
+
大小要求:不超过500MB
|
1824
1883
|
|
1825
1884
|
:type VideoUrl: str
|
1826
1885
|
:param _SrcLang: 输入视频中音频语种
|
@@ -1829,7 +1888,7 @@ fps 要求:【15-60】fps
|
|
1829
1888
|
:param _AudioUrl: 当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。
|
1830
1889
|
格式要求:支持 mp3、m4a、aac、wav 格式。
|
1831
1890
|
时长要求:【5~600】秒,音频时长要匹配视频时长。
|
1832
|
-
大小要求:不超过
|
1891
|
+
大小要求:不超过 100MB。
|
1833
1892
|
:type AudioUrl: str
|
1834
1893
|
:param _DstLang: 输出视频中翻译语种
|
1835
1894
|
目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)
|
@@ -1864,11 +1923,11 @@ fps 要求:【15-60】fps
|
|
1864
1923
|
@property
|
1865
1924
|
def VideoUrl(self):
|
1866
1925
|
"""视频地址URL。
|
1867
|
-
格式要求:支持 mp4、mov 。
|
1926
|
+
格式要求:支持 mp4、mov、avi 。
|
1868
1927
|
时长要求:【5-600】秒。
|
1869
1928
|
fps 要求:【15-60】fps
|
1870
1929
|
分辨率要求:单边像素要求在 【360~4096】 之间。
|
1871
|
-
大小要求:不超过
|
1930
|
+
大小要求:不超过500MB
|
1872
1931
|
|
1873
1932
|
:rtype: str
|
1874
1933
|
"""
|
@@ -1895,7 +1954,7 @@ fps 要求:【15-60】fps
|
|
1895
1954
|
"""当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。
|
1896
1955
|
格式要求:支持 mp3、m4a、aac、wav 格式。
|
1897
1956
|
时长要求:【5~600】秒,音频时长要匹配视频时长。
|
1898
|
-
大小要求:不超过
|
1957
|
+
大小要求:不超过 100MB。
|
1899
1958
|
:rtype: str
|
1900
1959
|
"""
|
1901
1960
|
return self._AudioUrl
|