tencentcloud-sdk-python 3.0.1273__py2.py3-none-any.whl → 3.0.1274__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/billing/v20180709/models.py +0 -80
- tencentcloud/cls/v20201016/models.py +6 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
- tencentcloud/dnspod/v20210323/models.py +188 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/ess/v20201111/models.py +18 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +10 -6
- tencentcloud/goosefs/v20220519/models.py +15 -0
- tencentcloud/hunyuan/v20230901/models.py +17 -0
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +24 -4
- tencentcloud/live/v20180801/errorcodes.py +12 -0
- tencentcloud/live/v20180801/live_client.py +142 -0
- tencentcloud/live/v20180801/models.py +619 -0
- tencentcloud/lke/v20231130/models.py +35 -1
- tencentcloud/mps/v20190612/models.py +17 -0
- tencentcloud/oceanus/v20190422/models.py +15 -0
- tencentcloud/ocr/v20181119/models.py +45 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +0 -42
- tencentcloud/privatedns/v20201028/models.py +712 -2358
- tencentcloud/privatedns/v20201028/privatedns_client.py +0 -230
- tencentcloud/tke/v20220501/models.py +6 -2
- tencentcloud/vod/v20180717/models.py +30 -0
- tencentcloud/vpc/v20170312/models.py +30 -0
- {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/top_level.txt +0 -0
@@ -281,6 +281,76 @@ class LiveClient(AbstractClient):
|
|
281
281
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
282
282
|
|
283
283
|
|
284
|
+
def CreateCasterPgm(self, request):
|
285
|
+
"""该接口用来启动主监任务,并将获取主监画面的播放地址。
|
286
|
+
|
287
|
+
:param request: Request instance for CreateCasterPgm.
|
288
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateCasterPgmRequest`
|
289
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateCasterPgmResponse`
|
290
|
+
|
291
|
+
"""
|
292
|
+
try:
|
293
|
+
params = request._serialize()
|
294
|
+
headers = request.headers
|
295
|
+
body = self.call("CreateCasterPgm", params, headers=headers)
|
296
|
+
response = json.loads(body)
|
297
|
+
model = models.CreateCasterPgmResponse()
|
298
|
+
model._deserialize(response["Response"])
|
299
|
+
return model
|
300
|
+
except Exception as e:
|
301
|
+
if isinstance(e, TencentCloudSDKException):
|
302
|
+
raise
|
303
|
+
else:
|
304
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
305
|
+
|
306
|
+
|
307
|
+
def CreateCasterPgmFromPvw(self, request):
|
308
|
+
"""该接口用来将预监画面的布局、水印、字幕等配置,复制到主监画面中。
|
309
|
+
该接口使用时,预监任务需处于运行状态。
|
310
|
+
|
311
|
+
:param request: Request instance for CreateCasterPgmFromPvw.
|
312
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateCasterPgmFromPvwRequest`
|
313
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateCasterPgmFromPvwResponse`
|
314
|
+
|
315
|
+
"""
|
316
|
+
try:
|
317
|
+
params = request._serialize()
|
318
|
+
headers = request.headers
|
319
|
+
body = self.call("CreateCasterPgmFromPvw", params, headers=headers)
|
320
|
+
response = json.loads(body)
|
321
|
+
model = models.CreateCasterPgmFromPvwResponse()
|
322
|
+
model._deserialize(response["Response"])
|
323
|
+
return model
|
324
|
+
except Exception as e:
|
325
|
+
if isinstance(e, TencentCloudSDKException):
|
326
|
+
raise
|
327
|
+
else:
|
328
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
329
|
+
|
330
|
+
|
331
|
+
def CreateCasterPvw(self, request):
|
332
|
+
"""该接口用来启动预监任务,并将获取预监画面的播放地址。
|
333
|
+
|
334
|
+
:param request: Request instance for CreateCasterPvw.
|
335
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateCasterPvwRequest`
|
336
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateCasterPvwResponse`
|
337
|
+
|
338
|
+
"""
|
339
|
+
try:
|
340
|
+
params = request._serialize()
|
341
|
+
headers = request.headers
|
342
|
+
body = self.call("CreateCasterPvw", params, headers=headers)
|
343
|
+
response = json.loads(body)
|
344
|
+
model = models.CreateCasterPvwResponse()
|
345
|
+
model._deserialize(response["Response"])
|
346
|
+
return model
|
347
|
+
except Exception as e:
|
348
|
+
if isinstance(e, TencentCloudSDKException):
|
349
|
+
raise
|
350
|
+
else:
|
351
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
352
|
+
|
353
|
+
|
284
354
|
def CreateCommonMixStream(self, request):
|
285
355
|
"""该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。
|
286
356
|
注意:当前最多支持16路混流。
|
@@ -4016,6 +4086,31 @@ class LiveClient(AbstractClient):
|
|
4016
4086
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4017
4087
|
|
4018
4088
|
|
4089
|
+
def ReleaseCaster(self, request):
|
4090
|
+
"""调用该接口,释放导播台实例,但保留所有的配置。
|
4091
|
+
执行该接口,预监与主监画面停止,第三方推流停止。
|
4092
|
+
点播文件与直播地址将停止展示,客户自行推到导播台的流需要手动停止。
|
4093
|
+
|
4094
|
+
:param request: Request instance for ReleaseCaster.
|
4095
|
+
:type request: :class:`tencentcloud.live.v20180801.models.ReleaseCasterRequest`
|
4096
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.ReleaseCasterResponse`
|
4097
|
+
|
4098
|
+
"""
|
4099
|
+
try:
|
4100
|
+
params = request._serialize()
|
4101
|
+
headers = request.headers
|
4102
|
+
body = self.call("ReleaseCaster", params, headers=headers)
|
4103
|
+
response = json.loads(body)
|
4104
|
+
model = models.ReleaseCasterResponse()
|
4105
|
+
model._deserialize(response["Response"])
|
4106
|
+
return model
|
4107
|
+
except Exception as e:
|
4108
|
+
if isinstance(e, TencentCloudSDKException):
|
4109
|
+
raise
|
4110
|
+
else:
|
4111
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4112
|
+
|
4113
|
+
|
4019
4114
|
def RestartLivePullStreamTask(self, request):
|
4020
4115
|
"""将正在运行的拉流转推任务进行重启。
|
4021
4116
|
注意:
|
@@ -4111,6 +4206,53 @@ class LiveClient(AbstractClient):
|
|
4111
4206
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4112
4207
|
|
4113
4208
|
|
4209
|
+
def StopCasterPgm(self, request):
|
4210
|
+
"""该接口用来停止导播台的主监输出。
|
4211
|
+
停止主监后,对应的推流到腾讯云直播源站和推流到其他第三方平台均将会停止。
|
4212
|
+
|
4213
|
+
:param request: Request instance for StopCasterPgm.
|
4214
|
+
:type request: :class:`tencentcloud.live.v20180801.models.StopCasterPgmRequest`
|
4215
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.StopCasterPgmResponse`
|
4216
|
+
|
4217
|
+
"""
|
4218
|
+
try:
|
4219
|
+
params = request._serialize()
|
4220
|
+
headers = request.headers
|
4221
|
+
body = self.call("StopCasterPgm", params, headers=headers)
|
4222
|
+
response = json.loads(body)
|
4223
|
+
model = models.StopCasterPgmResponse()
|
4224
|
+
model._deserialize(response["Response"])
|
4225
|
+
return model
|
4226
|
+
except Exception as e:
|
4227
|
+
if isinstance(e, TencentCloudSDKException):
|
4228
|
+
raise
|
4229
|
+
else:
|
4230
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4231
|
+
|
4232
|
+
|
4233
|
+
def StopCasterPvw(self, request):
|
4234
|
+
"""该接口用来停止导播台的预监任务。
|
4235
|
+
|
4236
|
+
:param request: Request instance for StopCasterPvw.
|
4237
|
+
:type request: :class:`tencentcloud.live.v20180801.models.StopCasterPvwRequest`
|
4238
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.StopCasterPvwResponse`
|
4239
|
+
|
4240
|
+
"""
|
4241
|
+
try:
|
4242
|
+
params = request._serialize()
|
4243
|
+
headers = request.headers
|
4244
|
+
body = self.call("StopCasterPvw", params, headers=headers)
|
4245
|
+
response = json.loads(body)
|
4246
|
+
model = models.StopCasterPvwResponse()
|
4247
|
+
model._deserialize(response["Response"])
|
4248
|
+
return model
|
4249
|
+
except Exception as e:
|
4250
|
+
if isinstance(e, TencentCloudSDKException):
|
4251
|
+
raise
|
4252
|
+
else:
|
4253
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4254
|
+
|
4255
|
+
|
4114
4256
|
def StopLivePadProcessor(self, request):
|
4115
4257
|
"""使用该接口停止垫片流。
|
4116
4258
|
|