tencentcloud-sdk-python 3.0.1424__py2.py3-none-any.whl → 3.0.1426__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/aiart/v20221229/aiart_client.py +0 -27
- tencentcloud/aiart/v20221229/models.py +2 -205
- tencentcloud/batch/v20170312/errorcodes.py +3 -0
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +98 -12
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cfs/v20190719/models.py +90 -0
- tencentcloud/csip/v20221121/models.py +32 -2
- tencentcloud/dbbrain/v20210527/models.py +60 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +64 -0
- tencentcloud/eb/v20210416/models.py +8 -8
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/gs/v20191118/models.py +49 -8
- tencentcloud/iai/v20180301/iai_client.py +0 -1
- tencentcloud/iai/v20180301/models.py +168 -126
- tencentcloud/igtm/v20231024/models.py +12 -238
- tencentcloud/ims/v20201229/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +15 -0
- tencentcloud/lke/v20231130/models.py +4 -4
- tencentcloud/lkeap/v20240522/models.py +6 -58
- tencentcloud/scf/v20180416/errorcodes.py +93 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/tke/v20180525/models.py +95 -0
- tencentcloud/trtc/v20190722/models.py +2583 -725
- tencentcloud/trtc/v20190722/trtc_client.py +194 -0
- tencentcloud/tsf/v20180326/errorcodes.py +2 -2
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +19 -4
- tencentcloud/wedata/v20210820/errorcodes.py +12 -0
- tencentcloud/wedata/v20210820/models.py +865 -2
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1426.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1426.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1426.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1426.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1426.dist-info}/top_level.txt +0 -0
|
@@ -73,6 +73,34 @@ class TrtcClient(AbstractClient):
|
|
|
73
73
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
def CreateCloudModeration(self, request):
|
|
77
|
+
"""接口说明:
|
|
78
|
+
启动云端审核功能,完成房间内的音视频切片,视频截帧,或者录制音频流,送审到指定的审核商,完成审核。
|
|
79
|
+
|
|
80
|
+
您可以通过此接口实现如下目标:
|
|
81
|
+
* 指定审核参数(ModerationParams)来指定审核需要的详细参数。
|
|
82
|
+
* 指定存储参数(ModerationStorageParams)将命中的审核文件指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)和第三方AWS
|
|
83
|
+
|
|
84
|
+
:param request: Request instance for CreateCloudModeration.
|
|
85
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.CreateCloudModerationRequest`
|
|
86
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.CreateCloudModerationResponse`
|
|
87
|
+
|
|
88
|
+
"""
|
|
89
|
+
try:
|
|
90
|
+
params = request._serialize()
|
|
91
|
+
headers = request.headers
|
|
92
|
+
body = self.call("CreateCloudModeration", params, headers=headers)
|
|
93
|
+
response = json.loads(body)
|
|
94
|
+
model = models.CreateCloudModerationResponse()
|
|
95
|
+
model._deserialize(response["Response"])
|
|
96
|
+
return model
|
|
97
|
+
except Exception as e:
|
|
98
|
+
if isinstance(e, TencentCloudSDKException):
|
|
99
|
+
raise
|
|
100
|
+
else:
|
|
101
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
102
|
+
|
|
103
|
+
|
|
76
104
|
def CreateCloudRecording(self, request):
|
|
77
105
|
"""接口说明:
|
|
78
106
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
|
|
@@ -107,6 +135,34 @@ class TrtcClient(AbstractClient):
|
|
|
107
135
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
108
136
|
|
|
109
137
|
|
|
138
|
+
def CreateCloudSliceTask(self, request):
|
|
139
|
+
"""接口说明:
|
|
140
|
+
启动云端切片功能,完成房间内的音视频切片,并上传到指定的云存储。
|
|
141
|
+
|
|
142
|
+
您可以通过此接口实现如下目标:
|
|
143
|
+
* 指定切片参数(SliceParams)来指定需要切片的主播的黑名单或者白名单。
|
|
144
|
+
* 指定存储参数(SliceStorageParams)来指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)和第三方AWS
|
|
145
|
+
|
|
146
|
+
:param request: Request instance for CreateCloudSliceTask.
|
|
147
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.CreateCloudSliceTaskRequest`
|
|
148
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.CreateCloudSliceTaskResponse`
|
|
149
|
+
|
|
150
|
+
"""
|
|
151
|
+
try:
|
|
152
|
+
params = request._serialize()
|
|
153
|
+
headers = request.headers
|
|
154
|
+
body = self.call("CreateCloudSliceTask", params, headers=headers)
|
|
155
|
+
response = json.loads(body)
|
|
156
|
+
model = models.CreateCloudSliceTaskResponse()
|
|
157
|
+
model._deserialize(response["Response"])
|
|
158
|
+
return model
|
|
159
|
+
except Exception as e:
|
|
160
|
+
if isinstance(e, TencentCloudSDKException):
|
|
161
|
+
raise
|
|
162
|
+
else:
|
|
163
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
164
|
+
|
|
165
|
+
|
|
110
166
|
def CreatePicture(self, request):
|
|
111
167
|
"""如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁新增自定义背景图或水印,可通过此接口上传新的图片素材。无需频繁新增图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
112
168
|
|
|
@@ -153,6 +209,29 @@ class TrtcClient(AbstractClient):
|
|
|
153
209
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
154
210
|
|
|
155
211
|
|
|
212
|
+
def DeleteCloudModeration(self, request):
|
|
213
|
+
"""成功开启云端审核任务后,可以使用此接口来停止送审。
|
|
214
|
+
|
|
215
|
+
:param request: Request instance for DeleteCloudModeration.
|
|
216
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudModerationRequest`
|
|
217
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudModerationResponse`
|
|
218
|
+
|
|
219
|
+
"""
|
|
220
|
+
try:
|
|
221
|
+
params = request._serialize()
|
|
222
|
+
headers = request.headers
|
|
223
|
+
body = self.call("DeleteCloudModeration", params, headers=headers)
|
|
224
|
+
response = json.loads(body)
|
|
225
|
+
model = models.DeleteCloudModerationResponse()
|
|
226
|
+
model._deserialize(response["Response"])
|
|
227
|
+
return model
|
|
228
|
+
except Exception as e:
|
|
229
|
+
if isinstance(e, TencentCloudSDKException):
|
|
230
|
+
raise
|
|
231
|
+
else:
|
|
232
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
233
|
+
|
|
234
|
+
|
|
156
235
|
def DeleteCloudRecording(self, request):
|
|
157
236
|
"""成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
|
158
237
|
|
|
@@ -176,6 +255,29 @@ class TrtcClient(AbstractClient):
|
|
|
176
255
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
177
256
|
|
|
178
257
|
|
|
258
|
+
def DeleteCloudSliceTask(self, request):
|
|
259
|
+
"""成功开启切片任务后,可以使用此接口来停止任务。停止切片成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
|
260
|
+
|
|
261
|
+
:param request: Request instance for DeleteCloudSliceTask.
|
|
262
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudSliceTaskRequest`
|
|
263
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudSliceTaskResponse`
|
|
264
|
+
|
|
265
|
+
"""
|
|
266
|
+
try:
|
|
267
|
+
params = request._serialize()
|
|
268
|
+
headers = request.headers
|
|
269
|
+
body = self.call("DeleteCloudSliceTask", params, headers=headers)
|
|
270
|
+
response = json.loads(body)
|
|
271
|
+
model = models.DeleteCloudSliceTaskResponse()
|
|
272
|
+
model._deserialize(response["Response"])
|
|
273
|
+
return model
|
|
274
|
+
except Exception as e:
|
|
275
|
+
if isinstance(e, TencentCloudSDKException):
|
|
276
|
+
raise
|
|
277
|
+
else:
|
|
278
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
279
|
+
|
|
280
|
+
|
|
179
281
|
def DeletePicture(self, request):
|
|
180
282
|
"""如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
181
283
|
|
|
@@ -296,6 +398,29 @@ class TrtcClient(AbstractClient):
|
|
|
296
398
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
297
399
|
|
|
298
400
|
|
|
401
|
+
def DescribeCloudModeration(self, request):
|
|
402
|
+
"""成功开启审核任务后,可以使用此接口来查询审核任务状态和订阅的黑白名单信息。仅在任务进行时有效,任务退出后查询将会返回错误。
|
|
403
|
+
|
|
404
|
+
:param request: Request instance for DescribeCloudModeration.
|
|
405
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudModerationRequest`
|
|
406
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudModerationResponse`
|
|
407
|
+
|
|
408
|
+
"""
|
|
409
|
+
try:
|
|
410
|
+
params = request._serialize()
|
|
411
|
+
headers = request.headers
|
|
412
|
+
body = self.call("DescribeCloudModeration", params, headers=headers)
|
|
413
|
+
response = json.loads(body)
|
|
414
|
+
model = models.DescribeCloudModerationResponse()
|
|
415
|
+
model._deserialize(response["Response"])
|
|
416
|
+
return model
|
|
417
|
+
except Exception as e:
|
|
418
|
+
if isinstance(e, TencentCloudSDKException):
|
|
419
|
+
raise
|
|
420
|
+
else:
|
|
421
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
422
|
+
|
|
423
|
+
|
|
299
424
|
def DescribeCloudRecording(self, request):
|
|
300
425
|
"""成功开启录制后,可以使用此接口来查询录制状态。仅在录制任务进行时有效,录制退出后查询将会返回错误。
|
|
301
426
|
录制文件上传到云点播VOD时,StorageFileList中不会返回录制文件信息,请订阅相关录制文件回调事件,获取录制文件信息。
|
|
@@ -320,6 +445,29 @@ class TrtcClient(AbstractClient):
|
|
|
320
445
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
321
446
|
|
|
322
447
|
|
|
448
|
+
def DescribeCloudSliceTask(self, request):
|
|
449
|
+
"""成功开启切片后,可以使用此接口来查询切片任务状态。仅在任务进行时有效,任务退出后查询将会返回错误。
|
|
450
|
+
|
|
451
|
+
:param request: Request instance for DescribeCloudSliceTask.
|
|
452
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudSliceTaskRequest`
|
|
453
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudSliceTaskResponse`
|
|
454
|
+
|
|
455
|
+
"""
|
|
456
|
+
try:
|
|
457
|
+
params = request._serialize()
|
|
458
|
+
headers = request.headers
|
|
459
|
+
body = self.call("DescribeCloudSliceTask", params, headers=headers)
|
|
460
|
+
response = json.loads(body)
|
|
461
|
+
model = models.DescribeCloudSliceTaskResponse()
|
|
462
|
+
model._deserialize(response["Response"])
|
|
463
|
+
return model
|
|
464
|
+
except Exception as e:
|
|
465
|
+
if isinstance(e, TencentCloudSDKException):
|
|
466
|
+
raise
|
|
467
|
+
else:
|
|
468
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
469
|
+
|
|
470
|
+
|
|
323
471
|
def DescribeMixTranscodingUsage(self, request):
|
|
324
472
|
"""获取TRTC混流转码的用量明细。
|
|
325
473
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -1014,6 +1162,29 @@ class TrtcClient(AbstractClient):
|
|
|
1014
1162
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1015
1163
|
|
|
1016
1164
|
|
|
1165
|
+
def ModifyCloudModeration(self, request):
|
|
1166
|
+
"""成功开启云端审核任务后,可以使用此接口来更新订阅黑白名单。
|
|
1167
|
+
|
|
1168
|
+
:param request: Request instance for ModifyCloudModeration.
|
|
1169
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudModerationRequest`
|
|
1170
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudModerationResponse`
|
|
1171
|
+
|
|
1172
|
+
"""
|
|
1173
|
+
try:
|
|
1174
|
+
params = request._serialize()
|
|
1175
|
+
headers = request.headers
|
|
1176
|
+
body = self.call("ModifyCloudModeration", params, headers=headers)
|
|
1177
|
+
response = json.loads(body)
|
|
1178
|
+
model = models.ModifyCloudModerationResponse()
|
|
1179
|
+
model._deserialize(response["Response"])
|
|
1180
|
+
return model
|
|
1181
|
+
except Exception as e:
|
|
1182
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1183
|
+
raise
|
|
1184
|
+
else:
|
|
1185
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1186
|
+
|
|
1187
|
+
|
|
1017
1188
|
def ModifyCloudRecording(self, request):
|
|
1018
1189
|
"""成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
1019
1190
|
|
|
@@ -1037,6 +1208,29 @@ class TrtcClient(AbstractClient):
|
|
|
1037
1208
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1038
1209
|
|
|
1039
1210
|
|
|
1211
|
+
def ModifyCloudSliceTask(self, request):
|
|
1212
|
+
"""成功开启切片任务后,可以使用此接口来更新任务。用于更新指定订阅流白名单或者黑名单。
|
|
1213
|
+
|
|
1214
|
+
:param request: Request instance for ModifyCloudSliceTask.
|
|
1215
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudSliceTaskRequest`
|
|
1216
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudSliceTaskResponse`
|
|
1217
|
+
|
|
1218
|
+
"""
|
|
1219
|
+
try:
|
|
1220
|
+
params = request._serialize()
|
|
1221
|
+
headers = request.headers
|
|
1222
|
+
body = self.call("ModifyCloudSliceTask", params, headers=headers)
|
|
1223
|
+
response = json.loads(body)
|
|
1224
|
+
model = models.ModifyCloudSliceTaskResponse()
|
|
1225
|
+
model._deserialize(response["Response"])
|
|
1226
|
+
return model
|
|
1227
|
+
except Exception as e:
|
|
1228
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1229
|
+
raise
|
|
1230
|
+
else:
|
|
1231
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1232
|
+
|
|
1233
|
+
|
|
1040
1234
|
def ModifyPicture(self, request):
|
|
1041
1235
|
"""如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
1042
1236
|
|
|
@@ -92,7 +92,7 @@ FAILEDOPERATION_CONTAINERGROUPGROUPHASSTOP = 'FailedOperation.ContainergroupGrou
|
|
|
92
92
|
# 调用 kube-api-server 失败。
|
|
93
93
|
FAILEDOPERATION_CONTAINERGROUPKUBERNETEAPIINVOKEERROR = 'FailedOperation.ContainergroupKuberneteApiInvokeError'
|
|
94
94
|
|
|
95
|
-
# 连接 kube-api-
|
|
95
|
+
# 连接 kube-api-server 失败。
|
|
96
96
|
FAILEDOPERATION_CONTAINERGROUPKUBERNETECONNECTERROR = 'FailedOperation.ContainergroupKuberneteConnectError'
|
|
97
97
|
|
|
98
98
|
# 调用 kube-api-server 失败。
|
|
@@ -1142,7 +1142,7 @@ RESOURCEINUSE_GROUPEXISTS = 'ResourceInUse.GroupExists'
|
|
|
1142
1142
|
# 部署组在更新中 请稍后再执行该操作。
|
|
1143
1143
|
RESOURCEINUSE_GROUPINOPERATION = 'ResourceInUse.GroupInOperation'
|
|
1144
1144
|
|
|
1145
|
-
#
|
|
1145
|
+
# 集群内有云主机,不允许删除集群。
|
|
1146
1146
|
RESOURCEINUSE_INSTANCEEXISTS = 'ResourceInUse.InstanceExists'
|
|
1147
1147
|
|
|
1148
1148
|
# 机器实例已经被使用。
|
|
@@ -98,7 +98,7 @@ class TtsClient(AbstractClient):
|
|
|
98
98
|
基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
|
|
99
99
|
默认接口请求频率限制:
|
|
100
100
|
精品音色和标准音色:默认20并发
|
|
101
|
-
大模型音色:默认
|
|
101
|
+
大模型音色:默认20并发
|
|
102
102
|
超自然大模型音色:暂不支持
|
|
103
103
|
|
|
104
104
|
:param request: Request instance for TextToVoice.
|
|
@@ -143,6 +143,9 @@ INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = 'InvalidParameterValue.AiC
|
|
|
143
143
|
# 参数值错误:AI 识别 Definition。
|
|
144
144
|
INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = 'InvalidParameterValue.AiRecognitionTaskDefinition'
|
|
145
145
|
|
|
146
|
+
# 没有开通点播业务。
|
|
147
|
+
INVALIDPARAMETERVALUE_APPID = 'InvalidParameterValue.AppId'
|
|
148
|
+
|
|
146
149
|
# Area 参数错误。
|
|
147
150
|
INVALIDPARAMETERVALUE_AREA = 'InvalidParameterValue.Area'
|
|
148
151
|
|
|
@@ -37851,10 +37851,12 @@ class HandleCurrentPlaylistRequest(AbstractModel):
|
|
|
37851
37851
|
:type SubAppId: int
|
|
37852
37852
|
:param _RoundPlayId: 轮播播单唯一标识。
|
|
37853
37853
|
:type RoundPlayId: str
|
|
37854
|
-
:param _Operation: 操作类型,取值有:<li>Insert
|
|
37854
|
+
:param _Operation: 操作类型,取值有:<li>Insert:向当前播放列表插入节目。插入的节目在后续轮播过程仍然有效。</li> <li>InsertTemporary:向当前播放列表临时插入节目。临时插入的节目只在本次轮播过程生效。</li><li>Delete:删除播放列表中的节目。不能删除正在播放的节目。</li>
|
|
37855
37855
|
:type Operation: str
|
|
37856
|
-
:param _ItemId: 播单节目 ID
|
|
37856
|
+
:param _ItemId: 播单节目 ID。 <li>当 Operation 为 Insert 时,该字段必填,表示插入的节目列表位于该节目之后。</li> <li>当 Operation 为 InsertTemporary 时,该字段选填,不填时表示插入节目到最近的一个插入点上。当该字段填写时,如果同时填写 SegmentIndex,表示节目被插入到 ItemId 对应节目的第 SegmentIndex 分片后面,否则插入到该节目之后。</li> <li>当 Operation 为 Delete 时,该字段必填,表示删除该节目。不能删除正在播放的节目。</li>
|
|
37857
37857
|
:type ItemId: str
|
|
37858
|
+
:param _SegmentIndex: M3U8 文件分片的索引号。M3U8 文件第一个分片的 SegmentIndex 为0。当 Operation 为 InsertTemporary 且 ItemId 有值时该参数有效。
|
|
37859
|
+
:type SegmentIndex: int
|
|
37858
37860
|
:param _RoundPlaylist: 节目列表。当 Operation 为 Insert、InsertTemporary、Delete 时必填,表示要操作的节目列表。列表长度最大为10。
|
|
37859
37861
|
:type RoundPlaylist: list of RoundPlayListItemInfo
|
|
37860
37862
|
"""
|
|
@@ -37862,6 +37864,7 @@ class HandleCurrentPlaylistRequest(AbstractModel):
|
|
|
37862
37864
|
self._RoundPlayId = None
|
|
37863
37865
|
self._Operation = None
|
|
37864
37866
|
self._ItemId = None
|
|
37867
|
+
self._SegmentIndex = None
|
|
37865
37868
|
self._RoundPlaylist = None
|
|
37866
37869
|
|
|
37867
37870
|
@property
|
|
@@ -37888,7 +37891,7 @@ class HandleCurrentPlaylistRequest(AbstractModel):
|
|
|
37888
37891
|
|
|
37889
37892
|
@property
|
|
37890
37893
|
def Operation(self):
|
|
37891
|
-
"""操作类型,取值有:<li>Insert
|
|
37894
|
+
"""操作类型,取值有:<li>Insert:向当前播放列表插入节目。插入的节目在后续轮播过程仍然有效。</li> <li>InsertTemporary:向当前播放列表临时插入节目。临时插入的节目只在本次轮播过程生效。</li><li>Delete:删除播放列表中的节目。不能删除正在播放的节目。</li>
|
|
37892
37895
|
:rtype: str
|
|
37893
37896
|
"""
|
|
37894
37897
|
return self._Operation
|
|
@@ -37899,7 +37902,7 @@ class HandleCurrentPlaylistRequest(AbstractModel):
|
|
|
37899
37902
|
|
|
37900
37903
|
@property
|
|
37901
37904
|
def ItemId(self):
|
|
37902
|
-
"""播单节目 ID
|
|
37905
|
+
"""播单节目 ID。 <li>当 Operation 为 Insert 时,该字段必填,表示插入的节目列表位于该节目之后。</li> <li>当 Operation 为 InsertTemporary 时,该字段选填,不填时表示插入节目到最近的一个插入点上。当该字段填写时,如果同时填写 SegmentIndex,表示节目被插入到 ItemId 对应节目的第 SegmentIndex 分片后面,否则插入到该节目之后。</li> <li>当 Operation 为 Delete 时,该字段必填,表示删除该节目。不能删除正在播放的节目。</li>
|
|
37903
37906
|
:rtype: str
|
|
37904
37907
|
"""
|
|
37905
37908
|
return self._ItemId
|
|
@@ -37908,6 +37911,17 @@ class HandleCurrentPlaylistRequest(AbstractModel):
|
|
|
37908
37911
|
def ItemId(self, ItemId):
|
|
37909
37912
|
self._ItemId = ItemId
|
|
37910
37913
|
|
|
37914
|
+
@property
|
|
37915
|
+
def SegmentIndex(self):
|
|
37916
|
+
"""M3U8 文件分片的索引号。M3U8 文件第一个分片的 SegmentIndex 为0。当 Operation 为 InsertTemporary 且 ItemId 有值时该参数有效。
|
|
37917
|
+
:rtype: int
|
|
37918
|
+
"""
|
|
37919
|
+
return self._SegmentIndex
|
|
37920
|
+
|
|
37921
|
+
@SegmentIndex.setter
|
|
37922
|
+
def SegmentIndex(self, SegmentIndex):
|
|
37923
|
+
self._SegmentIndex = SegmentIndex
|
|
37924
|
+
|
|
37911
37925
|
@property
|
|
37912
37926
|
def RoundPlaylist(self):
|
|
37913
37927
|
"""节目列表。当 Operation 为 Insert、InsertTemporary、Delete 时必填,表示要操作的节目列表。列表长度最大为10。
|
|
@@ -37925,6 +37939,7 @@ class HandleCurrentPlaylistRequest(AbstractModel):
|
|
|
37925
37939
|
self._RoundPlayId = params.get("RoundPlayId")
|
|
37926
37940
|
self._Operation = params.get("Operation")
|
|
37927
37941
|
self._ItemId = params.get("ItemId")
|
|
37942
|
+
self._SegmentIndex = params.get("SegmentIndex")
|
|
37928
37943
|
if params.get("RoundPlaylist") is not None:
|
|
37929
37944
|
self._RoundPlaylist = []
|
|
37930
37945
|
for item in params.get("RoundPlaylist"):
|
|
@@ -32,6 +32,12 @@ FAILEDOPERATION = 'FailedOperation'
|
|
|
32
32
|
# 连接超时
|
|
33
33
|
FAILEDOPERATION_CONNECTIONTIMEOUTERROR = 'FailedOperation.ConnectionTimeOutError'
|
|
34
34
|
|
|
35
|
+
# 当前操作的资源状态不合法。
|
|
36
|
+
FAILEDOPERATION_EXECUTORCLUSTERSTATUSERROR = 'FailedOperation.ExecutorClusterStatusError'
|
|
37
|
+
|
|
38
|
+
# 操作失败
|
|
39
|
+
FAILEDOPERATION_FAILEDOPERATIONWITHREASON = 'FailedOperation.FailedOperationWithReason'
|
|
40
|
+
|
|
35
41
|
# 查询数据开发资源锁状态-当前用户不持有锁
|
|
36
42
|
FAILEDOPERATION_NOLOCK = 'FailedOperation.NoLock'
|
|
37
43
|
|
|
@@ -68,6 +74,9 @@ INVALIDPARAMETER_INVALIDFILTERPARAMETER = 'InvalidParameter.InvalidFilterParamet
|
|
|
68
74
|
# 超出最大限额
|
|
69
75
|
INVALIDPARAMETER_MAXLIMITEXCEEDED = 'InvalidParameter.MaxLimitExceeded'
|
|
70
76
|
|
|
77
|
+
# 已超过系统安全配额。
|
|
78
|
+
INVALIDPARAMETER_QUOTAEXCEEDERROR = 'InvalidParameter.QuotaExceedError'
|
|
79
|
+
|
|
71
80
|
# 规则不存在。
|
|
72
81
|
INVALIDPARAMETER_RULENOTEXIST = 'InvalidParameter.RuleNotExist'
|
|
73
82
|
|
|
@@ -80,6 +89,9 @@ INVALIDPARAMETER_SERVICEISBUSY = 'InvalidParameter.ServiceIsBusy'
|
|
|
80
89
|
# WeData_QCSRole不存在,请进行服务授权。
|
|
81
90
|
INVALIDPARAMETER_WEDATAROLENOTEXISTS = 'InvalidParameter.WeDataRoleNotExists'
|
|
82
91
|
|
|
92
|
+
# 项目名重复。
|
|
93
|
+
INVALIDPARAMETER_WORKSPACENAMEDUPLICATION = 'InvalidParameter.WorkspaceNameDuplication'
|
|
94
|
+
|
|
83
95
|
# 工作空间不存在。
|
|
84
96
|
INVALIDPARAMETER_WORKSPACENOTEXIST = 'InvalidParameter.WorkspaceNotExist'
|
|
85
97
|
|