tencentcloud-sdk-python-intl-en 3.0.1292__py2.py3-none-any.whl → 3.0.1294__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/mdp/v20200527/mdp_client.py +46 -0
- tencentcloud/mdp/v20200527/models.py +158 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +541 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/vpc/v20170312/errorcodes.py +10 -1
- tencentcloud/vpc/v20170312/models.py +1733 -155
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- {tencentcloud_sdk_python_intl_en-3.0.1292.dist-info → tencentcloud_sdk_python_intl_en-3.0.1294.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1292.dist-info → tencentcloud_sdk_python_intl_en-3.0.1294.dist-info}/RECORD +13 -13
- {tencentcloud_sdk_python_intl_en-3.0.1292.dist-info → tencentcloud_sdk_python_intl_en-3.0.1294.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1292.dist-info → tencentcloud_sdk_python_intl_en-3.0.1294.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -72,6 +72,29 @@ class MdpClient(AbstractClient):
|
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def BindSSAICDNDomainWithChannel(self, request):
|
|
76
|
+
r"""BindSSAICDNDomainWithChannel
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for BindSSAICDNDomainWithChannel.
|
|
79
|
+
:type request: :class:`tencentcloud.mdp.v20200527.models.BindSSAICDNDomainWithChannelRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.BindSSAICDNDomainWithChannelResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("BindSSAICDNDomainWithChannel", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.BindSSAICDNDomainWithChannelResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
75
98
|
def CreateStreamPackageChannel(self, request):
|
|
76
99
|
r"""This API is used to create a StreamPackage channel.
|
|
77
100
|
|
|
@@ -1399,6 +1422,29 @@ class MdpClient(AbstractClient):
|
|
|
1399
1422
|
model = models.UnbindLinearAssemblyCDNDomainWithChannelResponse()
|
|
1400
1423
|
model._deserialize(response["Response"])
|
|
1401
1424
|
return model
|
|
1425
|
+
except Exception as e:
|
|
1426
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1427
|
+
raise
|
|
1428
|
+
else:
|
|
1429
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
def UnbindSSAICDNDomainWithChannel(self, request):
|
|
1433
|
+
r"""UnbindSSAICDNDomainWithChannel
|
|
1434
|
+
|
|
1435
|
+
:param request: Request instance for UnbindSSAICDNDomainWithChannel.
|
|
1436
|
+
:type request: :class:`tencentcloud.mdp.v20200527.models.UnbindSSAICDNDomainWithChannelRequest`
|
|
1437
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.UnbindSSAICDNDomainWithChannelResponse`
|
|
1438
|
+
|
|
1439
|
+
"""
|
|
1440
|
+
try:
|
|
1441
|
+
params = request._serialize()
|
|
1442
|
+
headers = request.headers
|
|
1443
|
+
body = self.call("UnbindSSAICDNDomainWithChannel", params, headers=headers)
|
|
1444
|
+
response = json.loads(body)
|
|
1445
|
+
model = models.UnbindSSAICDNDomainWithChannelResponse()
|
|
1446
|
+
model._deserialize(response["Response"])
|
|
1447
|
+
return model
|
|
1402
1448
|
except Exception as e:
|
|
1403
1449
|
if isinstance(e, TencentCloudSDKException):
|
|
1404
1450
|
raise
|
|
@@ -392,6 +392,85 @@ class BindNewLVBDomainWithChannelResponse(AbstractModel):
|
|
|
392
392
|
self._RequestId = params.get("RequestId")
|
|
393
393
|
|
|
394
394
|
|
|
395
|
+
class BindSSAICDNDomainWithChannelRequest(AbstractModel):
|
|
396
|
+
r"""BindSSAICDNDomainWithChannel request structure.
|
|
397
|
+
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
def __init__(self):
|
|
401
|
+
r"""
|
|
402
|
+
:param _ChannelId: Channel Id
|
|
403
|
+
:type ChannelId: str
|
|
404
|
+
:param _CdnDomain: The domain name for CDN playback.
|
|
405
|
+
:type CdnDomain: str
|
|
406
|
+
"""
|
|
407
|
+
self._ChannelId = None
|
|
408
|
+
self._CdnDomain = None
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
def ChannelId(self):
|
|
412
|
+
r"""Channel Id
|
|
413
|
+
:rtype: str
|
|
414
|
+
"""
|
|
415
|
+
return self._ChannelId
|
|
416
|
+
|
|
417
|
+
@ChannelId.setter
|
|
418
|
+
def ChannelId(self, ChannelId):
|
|
419
|
+
self._ChannelId = ChannelId
|
|
420
|
+
|
|
421
|
+
@property
|
|
422
|
+
def CdnDomain(self):
|
|
423
|
+
r"""The domain name for CDN playback.
|
|
424
|
+
:rtype: str
|
|
425
|
+
"""
|
|
426
|
+
return self._CdnDomain
|
|
427
|
+
|
|
428
|
+
@CdnDomain.setter
|
|
429
|
+
def CdnDomain(self, CdnDomain):
|
|
430
|
+
self._CdnDomain = CdnDomain
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
def _deserialize(self, params):
|
|
434
|
+
self._ChannelId = params.get("ChannelId")
|
|
435
|
+
self._CdnDomain = params.get("CdnDomain")
|
|
436
|
+
memeber_set = set(params.keys())
|
|
437
|
+
for name, value in vars(self).items():
|
|
438
|
+
property_name = name[1:]
|
|
439
|
+
if property_name in memeber_set:
|
|
440
|
+
memeber_set.remove(property_name)
|
|
441
|
+
if len(memeber_set) > 0:
|
|
442
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
class BindSSAICDNDomainWithChannelResponse(AbstractModel):
|
|
447
|
+
r"""BindSSAICDNDomainWithChannel response structure.
|
|
448
|
+
|
|
449
|
+
"""
|
|
450
|
+
|
|
451
|
+
def __init__(self):
|
|
452
|
+
r"""
|
|
453
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
454
|
+
:type RequestId: str
|
|
455
|
+
"""
|
|
456
|
+
self._RequestId = None
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
def RequestId(self):
|
|
460
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
461
|
+
:rtype: str
|
|
462
|
+
"""
|
|
463
|
+
return self._RequestId
|
|
464
|
+
|
|
465
|
+
@RequestId.setter
|
|
466
|
+
def RequestId(self, RequestId):
|
|
467
|
+
self._RequestId = RequestId
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
def _deserialize(self, params):
|
|
471
|
+
self._RequestId = params.get("RequestId")
|
|
472
|
+
|
|
473
|
+
|
|
395
474
|
class CacheInfo(AbstractModel):
|
|
396
475
|
r"""Cache configuration
|
|
397
476
|
|
|
@@ -11623,6 +11702,85 @@ class UnbindLinearAssemblyCDNDomainWithChannelResponse(AbstractModel):
|
|
|
11623
11702
|
self._RequestId = params.get("RequestId")
|
|
11624
11703
|
|
|
11625
11704
|
|
|
11705
|
+
class UnbindSSAICDNDomainWithChannelRequest(AbstractModel):
|
|
11706
|
+
r"""UnbindSSAICDNDomainWithChannel request structure.
|
|
11707
|
+
|
|
11708
|
+
"""
|
|
11709
|
+
|
|
11710
|
+
def __init__(self):
|
|
11711
|
+
r"""
|
|
11712
|
+
:param _ChannelId: Channel Id
|
|
11713
|
+
:type ChannelId: str
|
|
11714
|
+
:param _CdnDomain: The domain name for CDN playback.
|
|
11715
|
+
:type CdnDomain: str
|
|
11716
|
+
"""
|
|
11717
|
+
self._ChannelId = None
|
|
11718
|
+
self._CdnDomain = None
|
|
11719
|
+
|
|
11720
|
+
@property
|
|
11721
|
+
def ChannelId(self):
|
|
11722
|
+
r"""Channel Id
|
|
11723
|
+
:rtype: str
|
|
11724
|
+
"""
|
|
11725
|
+
return self._ChannelId
|
|
11726
|
+
|
|
11727
|
+
@ChannelId.setter
|
|
11728
|
+
def ChannelId(self, ChannelId):
|
|
11729
|
+
self._ChannelId = ChannelId
|
|
11730
|
+
|
|
11731
|
+
@property
|
|
11732
|
+
def CdnDomain(self):
|
|
11733
|
+
r"""The domain name for CDN playback.
|
|
11734
|
+
:rtype: str
|
|
11735
|
+
"""
|
|
11736
|
+
return self._CdnDomain
|
|
11737
|
+
|
|
11738
|
+
@CdnDomain.setter
|
|
11739
|
+
def CdnDomain(self, CdnDomain):
|
|
11740
|
+
self._CdnDomain = CdnDomain
|
|
11741
|
+
|
|
11742
|
+
|
|
11743
|
+
def _deserialize(self, params):
|
|
11744
|
+
self._ChannelId = params.get("ChannelId")
|
|
11745
|
+
self._CdnDomain = params.get("CdnDomain")
|
|
11746
|
+
memeber_set = set(params.keys())
|
|
11747
|
+
for name, value in vars(self).items():
|
|
11748
|
+
property_name = name[1:]
|
|
11749
|
+
if property_name in memeber_set:
|
|
11750
|
+
memeber_set.remove(property_name)
|
|
11751
|
+
if len(memeber_set) > 0:
|
|
11752
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11753
|
+
|
|
11754
|
+
|
|
11755
|
+
|
|
11756
|
+
class UnbindSSAICDNDomainWithChannelResponse(AbstractModel):
|
|
11757
|
+
r"""UnbindSSAICDNDomainWithChannel response structure.
|
|
11758
|
+
|
|
11759
|
+
"""
|
|
11760
|
+
|
|
11761
|
+
def __init__(self):
|
|
11762
|
+
r"""
|
|
11763
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11764
|
+
:type RequestId: str
|
|
11765
|
+
"""
|
|
11766
|
+
self._RequestId = None
|
|
11767
|
+
|
|
11768
|
+
@property
|
|
11769
|
+
def RequestId(self):
|
|
11770
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11771
|
+
:rtype: str
|
|
11772
|
+
"""
|
|
11773
|
+
return self._RequestId
|
|
11774
|
+
|
|
11775
|
+
@RequestId.setter
|
|
11776
|
+
def RequestId(self, RequestId):
|
|
11777
|
+
self._RequestId = RequestId
|
|
11778
|
+
|
|
11779
|
+
|
|
11780
|
+
def _deserialize(self, params):
|
|
11781
|
+
self._RequestId = params.get("RequestId")
|
|
11782
|
+
|
|
11783
|
+
|
|
11626
11784
|
class UsageDetail(AbstractModel):
|
|
11627
11785
|
r"""Ad insertion configuration and SSAI usage detail by advertisement type dimension.
|
|
11628
11786
|
|
|
@@ -20,6 +20,9 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# Termination protection is enabled for the instance. destruction is not allowed.
|
|
21
21
|
FAILEDOPERATION_DELETIONPROTECTIONENABLED = 'FailedOperation.DeletionProtectionEnabled'
|
|
22
22
|
|
|
23
|
+
# Kernel response timed out.
|
|
24
|
+
FAILEDOPERATION_KERNELRESPONSETIMEOUT = 'FailedOperation.KernelResponseTimeout'
|
|
25
|
+
|
|
23
26
|
# Public network access has been enabled for the current instance.
|
|
24
27
|
FAILEDOPERATION_NOTALLOWMODIFYADDRAFTEROPENWANSERVICE = 'FailedOperation.NotAllowModifyAddrAfterOpenWanService'
|
|
25
28
|
|