tencentcloud-sdk-python-live 3.1.184__tar.gz → 3.1.185__tar.gz

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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/setup.py +1 -1
  3. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/live/v20180801/live_client.py +23 -0
  5. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/live/v20180801/live_client_async.py +18 -0
  6. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/live/v20180801/models.py +34 -0
  7. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_live-3.1.185/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_live-3.1.184/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/README.rst +0 -0
  11. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/live/__init__.py +0 -0
  13. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/live/v20180801/__init__.py +0 -0
  14. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud/live/v20180801/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.185}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.184
3
+ Version: 3.1.185
4
4
  Summary: Tencent Cloud Live SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.184
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.185
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-live',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.184,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.185,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Live SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.184'
17
+ __version__ = '3.1.185'
@@ -4291,6 +4291,29 @@ class LiveClient(AbstractClient):
4291
4291
  raise TencentCloudSDKException(type(e).__name__, str(e))
4292
4292
 
4293
4293
 
4294
+ def DescribeOriginWhiteIpList(self, request):
4295
+ r"""获取直播源站的拉流IP白名单列表
4296
+
4297
+ :param request: Request instance for DescribeOriginWhiteIpList.
4298
+ :type request: :class:`tencentcloud.live.v20180801.models.DescribeOriginWhiteIpListRequest`
4299
+ :rtype: :class:`tencentcloud.live.v20180801.models.DescribeOriginWhiteIpListResponse`
4300
+
4301
+ """
4302
+ try:
4303
+ params = request._serialize()
4304
+ headers = request.headers
4305
+ body = self.call("DescribeOriginWhiteIpList", params, headers=headers)
4306
+ response = json.loads(body)
4307
+ model = models.DescribeOriginWhiteIpListResponse()
4308
+ model._deserialize(response["Response"])
4309
+ return model
4310
+ except Exception as e:
4311
+ if isinstance(e, TencentCloudSDKException):
4312
+ raise
4313
+ else:
4314
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4315
+
4316
+
4294
4317
  def DescribePlayErrorCodeDetailInfoList(self, request):
4295
4318
  r"""该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
4296
4319
  查询下行播放错误码信息,某段时间内1分钟粒度的各http错误码出现的次数,包括4xx,5xx。
@@ -3385,6 +3385,24 @@ class LiveClient(AbstractClient):
3385
3385
 
3386
3386
  return await self.call_and_deserialize(**kwargs)
3387
3387
 
3388
+ async def DescribeOriginWhiteIpList(
3389
+ self,
3390
+ request: models.DescribeOriginWhiteIpListRequest,
3391
+ opts: Dict = None,
3392
+ ) -> models.DescribeOriginWhiteIpListResponse:
3393
+ """
3394
+ 获取直播源站的拉流IP白名单列表
3395
+ """
3396
+
3397
+ kwargs = {}
3398
+ kwargs["action"] = "DescribeOriginWhiteIpList"
3399
+ kwargs["params"] = request._serialize()
3400
+ kwargs["resp_cls"] = models.DescribeOriginWhiteIpListResponse
3401
+ kwargs["headers"] = request.headers
3402
+ kwargs["opts"] = opts or {}
3403
+
3404
+ return await self.call_and_deserialize(**kwargs)
3405
+
3388
3406
  async def DescribePlayErrorCodeDetailInfoList(
3389
3407
  self,
3390
3408
  request: models.DescribePlayErrorCodeDetailInfoListRequest,
@@ -29242,6 +29242,40 @@ class DescribeOriginStreamInfoResponse(AbstractModel):
29242
29242
  self._RequestId = params.get("RequestId")
29243
29243
 
29244
29244
 
29245
+ class DescribeOriginWhiteIpListRequest(AbstractModel):
29246
+ r"""DescribeOriginWhiteIpList请求参数结构体
29247
+
29248
+ """
29249
+
29250
+
29251
+ class DescribeOriginWhiteIpListResponse(AbstractModel):
29252
+ r"""DescribeOriginWhiteIpList返回参数结构体
29253
+
29254
+ """
29255
+
29256
+ def __init__(self):
29257
+ r"""
29258
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29259
+ :type RequestId: str
29260
+ """
29261
+ self._RequestId = None
29262
+
29263
+ @property
29264
+ def RequestId(self):
29265
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29266
+ :rtype: str
29267
+ """
29268
+ return self._RequestId
29269
+
29270
+ @RequestId.setter
29271
+ def RequestId(self, RequestId):
29272
+ self._RequestId = RequestId
29273
+
29274
+
29275
+ def _deserialize(self, params):
29276
+ self._RequestId = params.get("RequestId")
29277
+
29278
+
29245
29279
  class DescribePlayErrorCodeDetailInfoListRequest(AbstractModel):
29246
29280
  r"""DescribePlayErrorCodeDetailInfoList请求参数结构体
29247
29281
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.184
3
+ Version: 3.1.185
4
4
  Summary: Tencent Cloud Live SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.184
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.185
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.185
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.184