tencentcloud-sdk-python-vod 3.0.1097__tar.gz → 3.0.1098__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.
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/setup.py +1 -1
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud/vod/v20180717/errorcodes.py +9 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud/vod/v20180717/models.py +231 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud/vod/v20180717/vod_client.py +50 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vod-3.0.1098/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vod-3.0.1097/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/README.rst +0 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud/vod/__init__.py +0 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud/vod/v20180717/__init__.py +0 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vod-3.0.1097 → tencentcloud-sdk-python-vod-3.0.1098}/tencentcloud_sdk_python_vod.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-vod',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1098"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vod SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -458,6 +458,12 @@ INVALIDPARAMETERVALUE_SAMPLERATE = 'InvalidParameterValue.SampleRate'
|
|
|
458
458
|
# 参数值错误:SampleType。
|
|
459
459
|
INVALIDPARAMETERVALUE_SAMPLETYPE = 'InvalidParameterValue.SampleType'
|
|
460
460
|
|
|
461
|
+
# 参数错误:Scheme 无效。
|
|
462
|
+
INVALIDPARAMETERVALUE_SCHEME = 'InvalidParameterValue.Scheme'
|
|
463
|
+
|
|
464
|
+
# 域名没有开启 https。
|
|
465
|
+
INVALIDPARAMETERVALUE_SCHEMECONFLICT = 'InvalidParameterValue.SchemeConflict'
|
|
466
|
+
|
|
461
467
|
# 参数值错误:ScreenshotInterval 参数取值非法。
|
|
462
468
|
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = 'InvalidParameterValue.ScreenshotInterval'
|
|
463
469
|
|
|
@@ -572,6 +578,9 @@ INVALIDPARAMETERVALUE_TYPES = 'InvalidParameterValue.Types'
|
|
|
572
578
|
# 去重识别码一天内重复,请求被去重。
|
|
573
579
|
INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = 'InvalidParameterValue.UniqueIdentifier'
|
|
574
580
|
|
|
581
|
+
# 域名不能被设置。
|
|
582
|
+
INVALIDPARAMETERVALUE_UNSUPPORTDOMAIN = 'InvalidParameterValue.UnsupportDomain'
|
|
583
|
+
|
|
575
584
|
# 参数值错误:文件不支持该解冻方式。
|
|
576
585
|
INVALIDPARAMETERVALUE_UNSUPPORTEDRESTORETIER = 'InvalidParameterValue.UnsupportedRestoreTier'
|
|
577
586
|
|
|
@@ -13269,6 +13269,33 @@ class CreateDomainVerifyRecordRequest(AbstractModel):
|
|
|
13269
13269
|
|
|
13270
13270
|
"""
|
|
13271
13271
|
|
|
13272
|
+
def __init__(self):
|
|
13273
|
+
r"""
|
|
13274
|
+
:param _Domain: 需要接入点播的加速域名。
|
|
13275
|
+
:type Domain: str
|
|
13276
|
+
"""
|
|
13277
|
+
self._Domain = None
|
|
13278
|
+
|
|
13279
|
+
@property
|
|
13280
|
+
def Domain(self):
|
|
13281
|
+
return self._Domain
|
|
13282
|
+
|
|
13283
|
+
@Domain.setter
|
|
13284
|
+
def Domain(self, Domain):
|
|
13285
|
+
self._Domain = Domain
|
|
13286
|
+
|
|
13287
|
+
|
|
13288
|
+
def _deserialize(self, params):
|
|
13289
|
+
self._Domain = params.get("Domain")
|
|
13290
|
+
memeber_set = set(params.keys())
|
|
13291
|
+
for name, value in vars(self).items():
|
|
13292
|
+
property_name = name[1:]
|
|
13293
|
+
if property_name in memeber_set:
|
|
13294
|
+
memeber_set.remove(property_name)
|
|
13295
|
+
if len(memeber_set) > 0:
|
|
13296
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13297
|
+
|
|
13298
|
+
|
|
13272
13299
|
|
|
13273
13300
|
class CreateDomainVerifyRecordResponse(AbstractModel):
|
|
13274
13301
|
"""CreateDomainVerifyRecord返回参数结构体
|
|
@@ -20557,6 +20584,116 @@ class DescribeDailyPlayStatFileListResponse(AbstractModel):
|
|
|
20557
20584
|
self._RequestId = params.get("RequestId")
|
|
20558
20585
|
|
|
20559
20586
|
|
|
20587
|
+
class DescribeDefaultDistributionConfigRequest(AbstractModel):
|
|
20588
|
+
"""DescribeDefaultDistributionConfig请求参数结构体
|
|
20589
|
+
|
|
20590
|
+
"""
|
|
20591
|
+
|
|
20592
|
+
def __init__(self):
|
|
20593
|
+
r"""
|
|
20594
|
+
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
20595
|
+
:type SubAppId: int
|
|
20596
|
+
"""
|
|
20597
|
+
self._SubAppId = None
|
|
20598
|
+
|
|
20599
|
+
@property
|
|
20600
|
+
def SubAppId(self):
|
|
20601
|
+
return self._SubAppId
|
|
20602
|
+
|
|
20603
|
+
@SubAppId.setter
|
|
20604
|
+
def SubAppId(self, SubAppId):
|
|
20605
|
+
self._SubAppId = SubAppId
|
|
20606
|
+
|
|
20607
|
+
|
|
20608
|
+
def _deserialize(self, params):
|
|
20609
|
+
self._SubAppId = params.get("SubAppId")
|
|
20610
|
+
memeber_set = set(params.keys())
|
|
20611
|
+
for name, value in vars(self).items():
|
|
20612
|
+
property_name = name[1:]
|
|
20613
|
+
if property_name in memeber_set:
|
|
20614
|
+
memeber_set.remove(property_name)
|
|
20615
|
+
if len(memeber_set) > 0:
|
|
20616
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20617
|
+
|
|
20618
|
+
|
|
20619
|
+
|
|
20620
|
+
class DescribeDefaultDistributionConfigResponse(AbstractModel):
|
|
20621
|
+
"""DescribeDefaultDistributionConfig返回参数结构体
|
|
20622
|
+
|
|
20623
|
+
"""
|
|
20624
|
+
|
|
20625
|
+
def __init__(self):
|
|
20626
|
+
r"""
|
|
20627
|
+
:param _DomainName: 分发配置的域名(已废弃)。
|
|
20628
|
+
:type DomainName: str
|
|
20629
|
+
:param _Domain: 分发配置的域名。
|
|
20630
|
+
:type Domain: str
|
|
20631
|
+
:param _Scheme: 分发配置的协议,为 HTTP 或 HTTPS。
|
|
20632
|
+
:type Scheme: str
|
|
20633
|
+
:param _PlayKey: 播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。
|
|
20634
|
+
:type PlayKey: str
|
|
20635
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
20636
|
+
:type RequestId: str
|
|
20637
|
+
"""
|
|
20638
|
+
self._DomainName = None
|
|
20639
|
+
self._Domain = None
|
|
20640
|
+
self._Scheme = None
|
|
20641
|
+
self._PlayKey = None
|
|
20642
|
+
self._RequestId = None
|
|
20643
|
+
|
|
20644
|
+
@property
|
|
20645
|
+
def DomainName(self):
|
|
20646
|
+
warnings.warn("parameter `DomainName` is deprecated", DeprecationWarning)
|
|
20647
|
+
|
|
20648
|
+
return self._DomainName
|
|
20649
|
+
|
|
20650
|
+
@DomainName.setter
|
|
20651
|
+
def DomainName(self, DomainName):
|
|
20652
|
+
warnings.warn("parameter `DomainName` is deprecated", DeprecationWarning)
|
|
20653
|
+
|
|
20654
|
+
self._DomainName = DomainName
|
|
20655
|
+
|
|
20656
|
+
@property
|
|
20657
|
+
def Domain(self):
|
|
20658
|
+
return self._Domain
|
|
20659
|
+
|
|
20660
|
+
@Domain.setter
|
|
20661
|
+
def Domain(self, Domain):
|
|
20662
|
+
self._Domain = Domain
|
|
20663
|
+
|
|
20664
|
+
@property
|
|
20665
|
+
def Scheme(self):
|
|
20666
|
+
return self._Scheme
|
|
20667
|
+
|
|
20668
|
+
@Scheme.setter
|
|
20669
|
+
def Scheme(self, Scheme):
|
|
20670
|
+
self._Scheme = Scheme
|
|
20671
|
+
|
|
20672
|
+
@property
|
|
20673
|
+
def PlayKey(self):
|
|
20674
|
+
return self._PlayKey
|
|
20675
|
+
|
|
20676
|
+
@PlayKey.setter
|
|
20677
|
+
def PlayKey(self, PlayKey):
|
|
20678
|
+
self._PlayKey = PlayKey
|
|
20679
|
+
|
|
20680
|
+
@property
|
|
20681
|
+
def RequestId(self):
|
|
20682
|
+
return self._RequestId
|
|
20683
|
+
|
|
20684
|
+
@RequestId.setter
|
|
20685
|
+
def RequestId(self, RequestId):
|
|
20686
|
+
self._RequestId = RequestId
|
|
20687
|
+
|
|
20688
|
+
|
|
20689
|
+
def _deserialize(self, params):
|
|
20690
|
+
self._DomainName = params.get("DomainName")
|
|
20691
|
+
self._Domain = params.get("Domain")
|
|
20692
|
+
self._Scheme = params.get("Scheme")
|
|
20693
|
+
self._PlayKey = params.get("PlayKey")
|
|
20694
|
+
self._RequestId = params.get("RequestId")
|
|
20695
|
+
|
|
20696
|
+
|
|
20560
20697
|
class DescribeDrmDataKeyRequest(AbstractModel):
|
|
20561
20698
|
"""DescribeDrmDataKey请求参数结构体
|
|
20562
20699
|
|
|
@@ -37692,6 +37829,100 @@ class ModifyContentReviewTemplateResponse(AbstractModel):
|
|
|
37692
37829
|
self._RequestId = params.get("RequestId")
|
|
37693
37830
|
|
|
37694
37831
|
|
|
37832
|
+
class ModifyDefaultDistributionConfigRequest(AbstractModel):
|
|
37833
|
+
"""ModifyDefaultDistributionConfig请求参数结构体
|
|
37834
|
+
|
|
37835
|
+
"""
|
|
37836
|
+
|
|
37837
|
+
def __init__(self):
|
|
37838
|
+
r"""
|
|
37839
|
+
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
37840
|
+
:type SubAppId: int
|
|
37841
|
+
:param _Domain: 分发域名,取值为点播域名列表里的域名。不填或者填空,表示不修改域名。
|
|
37842
|
+
:type Domain: str
|
|
37843
|
+
:param _Scheme: 分发协议,取值为 HTTP 或者 HTTPS。
|
|
37844
|
+
:type Scheme: str
|
|
37845
|
+
:param _PlayKey: 播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。
|
|
37846
|
+
:type PlayKey: str
|
|
37847
|
+
"""
|
|
37848
|
+
self._SubAppId = None
|
|
37849
|
+
self._Domain = None
|
|
37850
|
+
self._Scheme = None
|
|
37851
|
+
self._PlayKey = None
|
|
37852
|
+
|
|
37853
|
+
@property
|
|
37854
|
+
def SubAppId(self):
|
|
37855
|
+
return self._SubAppId
|
|
37856
|
+
|
|
37857
|
+
@SubAppId.setter
|
|
37858
|
+
def SubAppId(self, SubAppId):
|
|
37859
|
+
self._SubAppId = SubAppId
|
|
37860
|
+
|
|
37861
|
+
@property
|
|
37862
|
+
def Domain(self):
|
|
37863
|
+
return self._Domain
|
|
37864
|
+
|
|
37865
|
+
@Domain.setter
|
|
37866
|
+
def Domain(self, Domain):
|
|
37867
|
+
self._Domain = Domain
|
|
37868
|
+
|
|
37869
|
+
@property
|
|
37870
|
+
def Scheme(self):
|
|
37871
|
+
return self._Scheme
|
|
37872
|
+
|
|
37873
|
+
@Scheme.setter
|
|
37874
|
+
def Scheme(self, Scheme):
|
|
37875
|
+
self._Scheme = Scheme
|
|
37876
|
+
|
|
37877
|
+
@property
|
|
37878
|
+
def PlayKey(self):
|
|
37879
|
+
return self._PlayKey
|
|
37880
|
+
|
|
37881
|
+
@PlayKey.setter
|
|
37882
|
+
def PlayKey(self, PlayKey):
|
|
37883
|
+
self._PlayKey = PlayKey
|
|
37884
|
+
|
|
37885
|
+
|
|
37886
|
+
def _deserialize(self, params):
|
|
37887
|
+
self._SubAppId = params.get("SubAppId")
|
|
37888
|
+
self._Domain = params.get("Domain")
|
|
37889
|
+
self._Scheme = params.get("Scheme")
|
|
37890
|
+
self._PlayKey = params.get("PlayKey")
|
|
37891
|
+
memeber_set = set(params.keys())
|
|
37892
|
+
for name, value in vars(self).items():
|
|
37893
|
+
property_name = name[1:]
|
|
37894
|
+
if property_name in memeber_set:
|
|
37895
|
+
memeber_set.remove(property_name)
|
|
37896
|
+
if len(memeber_set) > 0:
|
|
37897
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
37898
|
+
|
|
37899
|
+
|
|
37900
|
+
|
|
37901
|
+
class ModifyDefaultDistributionConfigResponse(AbstractModel):
|
|
37902
|
+
"""ModifyDefaultDistributionConfig返回参数结构体
|
|
37903
|
+
|
|
37904
|
+
"""
|
|
37905
|
+
|
|
37906
|
+
def __init__(self):
|
|
37907
|
+
r"""
|
|
37908
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
37909
|
+
:type RequestId: str
|
|
37910
|
+
"""
|
|
37911
|
+
self._RequestId = None
|
|
37912
|
+
|
|
37913
|
+
@property
|
|
37914
|
+
def RequestId(self):
|
|
37915
|
+
return self._RequestId
|
|
37916
|
+
|
|
37917
|
+
@RequestId.setter
|
|
37918
|
+
def RequestId(self, RequestId):
|
|
37919
|
+
self._RequestId = RequestId
|
|
37920
|
+
|
|
37921
|
+
|
|
37922
|
+
def _deserialize(self, params):
|
|
37923
|
+
self._RequestId = params.get("RequestId")
|
|
37924
|
+
|
|
37925
|
+
|
|
37695
37926
|
class ModifyDefaultStorageRegionRequest(AbstractModel):
|
|
37696
37927
|
"""ModifyDefaultStorageRegion请求参数结构体
|
|
37697
37928
|
|
|
@@ -1843,6 +1843,31 @@ class VodClient(AbstractClient):
|
|
|
1843
1843
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1844
1844
|
|
|
1845
1845
|
|
|
1846
|
+
def DescribeDefaultDistributionConfig(self, request):
|
|
1847
|
+
"""该接口用于查询默认分发配置。
|
|
1848
|
+
* 分发域名和分发协议,即媒体文件分发 URL 中的域名和协议。媒体文件按默认分发配置进行分发。
|
|
1849
|
+
* 播放密钥,用于计算播放器签名。
|
|
1850
|
+
|
|
1851
|
+
:param request: Request instance for DescribeDefaultDistributionConfig.
|
|
1852
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.DescribeDefaultDistributionConfigRequest`
|
|
1853
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.DescribeDefaultDistributionConfigResponse`
|
|
1854
|
+
|
|
1855
|
+
"""
|
|
1856
|
+
try:
|
|
1857
|
+
params = request._serialize()
|
|
1858
|
+
headers = request.headers
|
|
1859
|
+
body = self.call("DescribeDefaultDistributionConfig", params, headers=headers)
|
|
1860
|
+
response = json.loads(body)
|
|
1861
|
+
model = models.DescribeDefaultDistributionConfigResponse()
|
|
1862
|
+
model._deserialize(response["Response"])
|
|
1863
|
+
return model
|
|
1864
|
+
except Exception as e:
|
|
1865
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1866
|
+
raise
|
|
1867
|
+
else:
|
|
1868
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1869
|
+
|
|
1870
|
+
|
|
1846
1871
|
def DescribeDrmDataKey(self, request):
|
|
1847
1872
|
"""本 API 是 [旧版本加密](https://cloud.tencent.com/document/product/266/9638) 中 [DescribeDrmDataKey 的 API 2017 接口](https://cloud.tencent.com/document/product/266/9643) 的升级版本。
|
|
1848
1873
|
|
|
@@ -3130,6 +3155,31 @@ class VodClient(AbstractClient):
|
|
|
3130
3155
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3131
3156
|
|
|
3132
3157
|
|
|
3158
|
+
def ModifyDefaultDistributionConfig(self, request):
|
|
3159
|
+
"""该接口用于修改默认分发配置。
|
|
3160
|
+
* 分发域名和分发协议,即媒体文件分发 URL 中的域名和协议。媒体文件按默认分发配置进行分发。
|
|
3161
|
+
* 播放密钥,用于计算播放器签名。
|
|
3162
|
+
|
|
3163
|
+
:param request: Request instance for ModifyDefaultDistributionConfig.
|
|
3164
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.ModifyDefaultDistributionConfigRequest`
|
|
3165
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ModifyDefaultDistributionConfigResponse`
|
|
3166
|
+
|
|
3167
|
+
"""
|
|
3168
|
+
try:
|
|
3169
|
+
params = request._serialize()
|
|
3170
|
+
headers = request.headers
|
|
3171
|
+
body = self.call("ModifyDefaultDistributionConfig", params, headers=headers)
|
|
3172
|
+
response = json.loads(body)
|
|
3173
|
+
model = models.ModifyDefaultDistributionConfigResponse()
|
|
3174
|
+
model._deserialize(response["Response"])
|
|
3175
|
+
return model
|
|
3176
|
+
except Exception as e:
|
|
3177
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3178
|
+
raise
|
|
3179
|
+
else:
|
|
3180
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3181
|
+
|
|
3182
|
+
|
|
3133
3183
|
def ModifyDefaultStorageRegion(self, request):
|
|
3134
3184
|
"""该接口用于设置默认的存储地域。上传文件时如果没有指定地域,将上传到默认地域。
|
|
3135
3185
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1098
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1097
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|