tencentcloud-sdk-python-live 3.1.184__tar.gz → 3.1.186__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.186}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/setup.py +1 -1
  3. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/live/v20180801/live_client.py +23 -0
  5. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/live/v20180801/live_client_async.py +18 -0
  6. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/live/v20180801/models.py +64 -0
  7. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_live-3.1.186/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.186}/README.rst +0 -0
  11. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/live/__init__.py +0 -0
  13. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/live/v20180801/__init__.py +0 -0
  14. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud/live/v20180801/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_live-3.1.184 → tencentcloud_sdk_python_live-3.1.186}/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.186}/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.186
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.186
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.186,<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.186'
@@ -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,70 @@ 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
+ def __init__(self):
29251
+ r"""
29252
+ :param _Domain: <p>播放域名</p>
29253
+ :type Domain: str
29254
+ """
29255
+ self._Domain = None
29256
+
29257
+ @property
29258
+ def Domain(self):
29259
+ r"""<p>播放域名</p>
29260
+ :rtype: str
29261
+ """
29262
+ return self._Domain
29263
+
29264
+ @Domain.setter
29265
+ def Domain(self, Domain):
29266
+ self._Domain = Domain
29267
+
29268
+
29269
+ def _deserialize(self, params):
29270
+ self._Domain = params.get("Domain")
29271
+ memeber_set = set(params.keys())
29272
+ for name, value in vars(self).items():
29273
+ property_name = name[1:]
29274
+ if property_name in memeber_set:
29275
+ memeber_set.remove(property_name)
29276
+ if len(memeber_set) > 0:
29277
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
29278
+
29279
+
29280
+
29281
+ class DescribeOriginWhiteIpListResponse(AbstractModel):
29282
+ r"""DescribeOriginWhiteIpList返回参数结构体
29283
+
29284
+ """
29285
+
29286
+ def __init__(self):
29287
+ r"""
29288
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29289
+ :type RequestId: str
29290
+ """
29291
+ self._RequestId = None
29292
+
29293
+ @property
29294
+ def RequestId(self):
29295
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29296
+ :rtype: str
29297
+ """
29298
+ return self._RequestId
29299
+
29300
+ @RequestId.setter
29301
+ def RequestId(self, RequestId):
29302
+ self._RequestId = RequestId
29303
+
29304
+
29305
+ def _deserialize(self, params):
29306
+ self._RequestId = params.get("RequestId")
29307
+
29308
+
29245
29309
  class DescribePlayErrorCodeDetailInfoListRequest(AbstractModel):
29246
29310
  r"""DescribePlayErrorCodeDetailInfoList请求参数结构体
29247
29311
 
@@ -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.186
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.186
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.186
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.184