tencentcloud-sdk-python-live 3.0.917__py2.py3-none-any.whl → 3.0.930__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.917'
17
+ __version__ = '3.0.930'
@@ -542,6 +542,9 @@ RESOURCENOTFOUND_DOMAINNORECORD = 'ResourceNotFound.DomainNoRecord'
542
542
  # 域名不存在或不匹配。
543
543
  RESOURCENOTFOUND_DOMAINNOTEXIST = 'ResourceNotFound.DomainNotExist'
544
544
 
545
+ # 数据为空。
546
+ RESOURCENOTFOUND_EMPTYDATA = 'ResourceNotFound.EmptyData'
547
+
545
548
  # 用户被禁用。
546
549
  RESOURCENOTFOUND_FORBIDSERVICE = 'ResourceNotFound.ForbidService'
547
550
 
@@ -1747,6 +1747,29 @@ class LiveClient(AbstractClient):
1747
1747
  raise TencentCloudSDKException(e.message, e.message)
1748
1748
 
1749
1749
 
1750
+ def DescribeLivePullStreamTaskStatus(self, request):
1751
+ """查询直播拉流任务状态信息。
1752
+
1753
+ :param request: Request instance for DescribeLivePullStreamTaskStatus.
1754
+ :type request: :class:`tencentcloud.live.v20180801.models.DescribeLivePullStreamTaskStatusRequest`
1755
+ :rtype: :class:`tencentcloud.live.v20180801.models.DescribeLivePullStreamTaskStatusResponse`
1756
+
1757
+ """
1758
+ try:
1759
+ params = request._serialize()
1760
+ headers = request.headers
1761
+ body = self.call("DescribeLivePullStreamTaskStatus", params, headers=headers)
1762
+ response = json.loads(body)
1763
+ model = models.DescribeLivePullStreamTaskStatusResponse()
1764
+ model._deserialize(response["Response"])
1765
+ return model
1766
+ except Exception as e:
1767
+ if isinstance(e, TencentCloudSDKException):
1768
+ raise
1769
+ else:
1770
+ raise TencentCloudSDKException(e.message, e.message)
1771
+
1772
+
1750
1773
  def DescribeLivePullStreamTasks(self, request):
1751
1774
  """查询使用 CreateLivePullStreamTask 接口创建的直播拉流任务。
1752
1775
  排序方式:默认按更新时间 倒序排列。