tencentcloud-sdk-python-intl-en 3.0.1149__py2.py3-none-any.whl → 3.0.1151__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-intl-en might be problematic. Click here for more details.

@@ -26,6 +26,29 @@ class MdpClient(AbstractClient):
26
26
  _service = 'mdp'
27
27
 
28
28
 
29
+ def BindLinearAssemblyCDNDomainWithChannel(self, request):
30
+ """Linear Assembly channel is bound to CDN playback domain name.
31
+
32
+ :param request: Request instance for BindLinearAssemblyCDNDomainWithChannel.
33
+ :type request: :class:`tencentcloud.mdp.v20200527.models.BindLinearAssemblyCDNDomainWithChannelRequest`
34
+ :rtype: :class:`tencentcloud.mdp.v20200527.models.BindLinearAssemblyCDNDomainWithChannelResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("BindLinearAssemblyCDNDomainWithChannel", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.BindLinearAssemblyCDNDomainWithChannelResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def BindNewLVBDomainWithChannel(self, request):
30
53
  """This API is used to bind an LVB domain name to a channel.
31
54
 
@@ -486,6 +509,52 @@ class MdpClient(AbstractClient):
486
509
  raise TencentCloudSDKException(type(e).__name__, str(e))
487
510
 
488
511
 
512
+ def DescribeLinearAssemblyCDNDomainWithChannel(self, request):
513
+ """Query the CDN domain name associated with the LinearAssembly channel.
514
+
515
+ :param request: Request instance for DescribeLinearAssemblyCDNDomainWithChannel.
516
+ :type request: :class:`tencentcloud.mdp.v20200527.models.DescribeLinearAssemblyCDNDomainWithChannelRequest`
517
+ :rtype: :class:`tencentcloud.mdp.v20200527.models.DescribeLinearAssemblyCDNDomainWithChannelResponse`
518
+
519
+ """
520
+ try:
521
+ params = request._serialize()
522
+ headers = request.headers
523
+ body = self.call("DescribeLinearAssemblyCDNDomainWithChannel", params, headers=headers)
524
+ response = json.loads(body)
525
+ model = models.DescribeLinearAssemblyCDNDomainWithChannelResponse()
526
+ model._deserialize(response["Response"])
527
+ return model
528
+ except Exception as e:
529
+ if isinstance(e, TencentCloudSDKException):
530
+ raise
531
+ else:
532
+ raise TencentCloudSDKException(type(e).__name__, str(e))
533
+
534
+
535
+ def DescribeLinearAssemblyCDNDomainWithChannels(self, request):
536
+ """Query the CDN domain names associated with all LinearAssembly channels.
537
+
538
+ :param request: Request instance for DescribeLinearAssemblyCDNDomainWithChannels.
539
+ :type request: :class:`tencentcloud.mdp.v20200527.models.DescribeLinearAssemblyCDNDomainWithChannelsRequest`
540
+ :rtype: :class:`tencentcloud.mdp.v20200527.models.DescribeLinearAssemblyCDNDomainWithChannelsResponse`
541
+
542
+ """
543
+ try:
544
+ params = request._serialize()
545
+ headers = request.headers
546
+ body = self.call("DescribeLinearAssemblyCDNDomainWithChannels", params, headers=headers)
547
+ response = json.loads(body)
548
+ model = models.DescribeLinearAssemblyCDNDomainWithChannelsResponse()
549
+ model._deserialize(response["Response"])
550
+ return model
551
+ except Exception as e:
552
+ if isinstance(e, TencentCloudSDKException):
553
+ raise
554
+ else:
555
+ raise TencentCloudSDKException(type(e).__name__, str(e))
556
+
557
+
489
558
  def DescribeStreamPackageChannel(self, request):
490
559
  """This API is used to query the information of a StreamPackage channel.
491
560
 
@@ -1146,6 +1215,29 @@ class MdpClient(AbstractClient):
1146
1215
  model = models.UnbindCdnDomainWithChannelResponse()
1147
1216
  model._deserialize(response["Response"])
1148
1217
  return model
1218
+ except Exception as e:
1219
+ if isinstance(e, TencentCloudSDKException):
1220
+ raise
1221
+ else:
1222
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1223
+
1224
+
1225
+ def UnbindLinearAssemblyCDNDomainWithChannel(self, request):
1226
+ """Unbind LinearAssembly channel with CDN domain name.
1227
+
1228
+ :param request: Request instance for UnbindLinearAssemblyCDNDomainWithChannel.
1229
+ :type request: :class:`tencentcloud.mdp.v20200527.models.UnbindLinearAssemblyCDNDomainWithChannelRequest`
1230
+ :rtype: :class:`tencentcloud.mdp.v20200527.models.UnbindLinearAssemblyCDNDomainWithChannelResponse`
1231
+
1232
+ """
1233
+ try:
1234
+ params = request._serialize()
1235
+ headers = request.headers
1236
+ body = self.call("UnbindLinearAssemblyCDNDomainWithChannel", params, headers=headers)
1237
+ response = json.loads(body)
1238
+ model = models.UnbindLinearAssemblyCDNDomainWithChannelResponse()
1239
+ model._deserialize(response["Response"])
1240
+ return model
1149
1241
  except Exception as e:
1150
1242
  if isinstance(e, TencentCloudSDKException):
1151
1243
  raise