tencentcloud-sdk-python-intl-en 3.0.1248__py2.py3-none-any.whl → 3.0.1250__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 +1 -1
- tencentcloud/cvm/v20170312/models.py +26 -42
- tencentcloud/iai/v20200303/iai_client.py +1 -2
- tencentcloud/iai/v20200303/models.py +2 -2
- tencentcloud/mdl/v20200326/models.py +17 -2
- tencentcloud/mdp/v20200527/errorcodes.py +12 -0
- tencentcloud/mdp/v20200527/mdp_client.py +23 -0
- tencentcloud/mdp/v20200527/models.py +596 -1
- tencentcloud/mps/v20190612/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +513 -2
- tencentcloud/vod/v20180717/vod_client.py +29 -0
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1250.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1250.dist-info}/RECORD +15 -15
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1250.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1248.dist-info → tencentcloud_sdk_python_intl_en-3.0.1250.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -11258,7 +11258,10 @@ class InternetAccessible(AbstractModel):
|
|
11258
11258
|
|
11259
11259
|
def __init__(self):
|
11260
11260
|
r"""
|
11261
|
-
:param _InternetChargeType: Network connection billing plan. Valid value:
|
11261
|
+
:param _InternetChargeType: Network connection billing plan. Valid value:
|
11262
|
+
|
11263
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR: pay after use. You are billed for your traffic, by the hour. </li>
|
11264
|
+
<li>BANDWIDTH_PACKAGE: Bandwidth package user. </li>
|
11262
11265
|
:type InternetChargeType: str
|
11263
11266
|
:param _InternetMaxBandwidthOut: The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps. The upper limit of bandwidth varies for different models. For more information, see [Purchase Network Bandwidth](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1).
|
11264
11267
|
:type InternetMaxBandwidthOut: int
|
@@ -11266,38 +11269,27 @@ class InternetAccessible(AbstractModel):
|
|
11266
11269
|
:type PublicIpAssigned: bool
|
11267
11270
|
:param _BandwidthPackageId: Bandwidth package ID. it can be obtained through the `BandwidthPackageId` in the return value from the DescribeBandwidthPackages api. this parameter is used as an input parameter only in the RunInstances api.
|
11268
11271
|
:type BandwidthPackageId: str
|
11269
|
-
:param _InternetServiceProvider:
|
11272
|
+
:param _InternetServiceProvider: Describes the line type. for details, refer to [EIP IP address types](https://www.tencentcloud.com/zh/document/product/213/5733). default value: `BGP`.
|
11270
11273
|
<li>BGP Default: BGP</li>
|
11271
|
-
|
11272
11274
|
For a user who has activated the static single-line IP allowlist, possible values are:
|
11273
|
-
|
11274
|
-
<li>CMCC: China Mobile</li>
|
11275
|
-
<li>CTCC: China Telecom</li>
|
11276
|
-
<li>CUCC: China Unicom</li>
|
11277
|
-
|
11275
|
+
<li>CMCC: China Mobile</li> <li>CTCC: China Telecom</li> <li>CUCC: China Unicom</li>
|
11278
11276
|
Note: Only certain regions support static single-line IP addresses.
|
11279
11277
|
:type InternetServiceProvider: str
|
11280
|
-
:param _IPv4AddressType:
|
11278
|
+
:param _IPv4AddressType: Type of public IP address.
|
11281
11279
|
|
11282
|
-
|
11283
|
-
|
11284
|
-
|
11285
|
-
|
11286
|
-
For beta users of Anti-DDoS IP, the value can be:
|
11287
|
-
<li>AntiDDoSEIP: Anti-DDoS EIP</li>
|
11288
|
-
Note that Anti-DDoS IPs are only available in partial regions.
|
11289
|
-
|
11290
|
-
This feature is currently in gradually released phase. To access it, please contact us.
|
11280
|
+
<li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://www.tencentcloud.com/zh/document/product/213/5733). </li>
|
11281
|
+
Specify the type of public IPv4 address to assign a public IPv4 address to the resource. HighQualityEIP and AntiDDoSEIP features are gradually released in select regions.
|
11282
|
+
This feature is currently in gradually released phase. To access it, please [contact us](https://console.tencentcloud.com/workorder).
|
11291
11283
|
:type IPv4AddressType: str
|
11292
11284
|
:param _IPv6AddressType: Indicates the type of EIPv6. Valid values:
|
11293
11285
|
|
11294
11286
|
<li>EIPv6: common IPv6</li>
|
11295
|
-
<li>HighQualityEIPv6:
|
11287
|
+
<li>HighQualityEIPv6: High Quality EIPv6</li>
|
11296
11288
|
Note: Contact the product team to enable the dedicated IPv6 allowlist. The dedicated IPv6 is only supported in some regions.
|
11297
11289
|
|
11298
11290
|
Default: `EIPv6`
|
11299
11291
|
|
11300
|
-
This feature is currently in gradually released phase. To access it, please contact us.
|
11292
|
+
This feature is currently in gradually released phase. To access it, please [contact us](https://console.tencentcloud.com/workorder).
|
11301
11293
|
:type IPv6AddressType: str
|
11302
11294
|
:param _AntiDDoSPackageId: Anti-DDoS service package ID. This is required when you want to request an Anti-DDoS IP.
|
11303
11295
|
:type AntiDDoSPackageId: str
|
@@ -11313,7 +11305,10 @@ This feature is currently in gradually released phase. To access it, please cont
|
|
11313
11305
|
|
11314
11306
|
@property
|
11315
11307
|
def InternetChargeType(self):
|
11316
|
-
"""Network connection billing plan. Valid value:
|
11308
|
+
"""Network connection billing plan. Valid value:
|
11309
|
+
|
11310
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR: pay after use. You are billed for your traffic, by the hour. </li>
|
11311
|
+
<li>BANDWIDTH_PACKAGE: Bandwidth package user. </li>
|
11317
11312
|
:rtype: str
|
11318
11313
|
"""
|
11319
11314
|
return self._InternetChargeType
|
@@ -11357,15 +11352,10 @@ This feature is currently in gradually released phase. To access it, please cont
|
|
11357
11352
|
|
11358
11353
|
@property
|
11359
11354
|
def InternetServiceProvider(self):
|
11360
|
-
"""
|
11355
|
+
"""Describes the line type. for details, refer to [EIP IP address types](https://www.tencentcloud.com/zh/document/product/213/5733). default value: `BGP`.
|
11361
11356
|
<li>BGP Default: BGP</li>
|
11362
|
-
|
11363
11357
|
For a user who has activated the static single-line IP allowlist, possible values are:
|
11364
|
-
|
11365
|
-
<li>CMCC: China Mobile</li>
|
11366
|
-
<li>CTCC: China Telecom</li>
|
11367
|
-
<li>CUCC: China Unicom</li>
|
11368
|
-
|
11358
|
+
<li>CMCC: China Mobile</li> <li>CTCC: China Telecom</li> <li>CUCC: China Unicom</li>
|
11369
11359
|
Note: Only certain regions support static single-line IP addresses.
|
11370
11360
|
:rtype: str
|
11371
11361
|
"""
|
@@ -11377,17 +11367,11 @@ Note: Only certain regions support static single-line IP addresses.
|
|
11377
11367
|
|
11378
11368
|
@property
|
11379
11369
|
def IPv4AddressType(self):
|
11380
|
-
"""
|
11370
|
+
"""Type of public IP address.
|
11381
11371
|
|
11382
|
-
|
11383
|
-
|
11384
|
-
|
11385
|
-
|
11386
|
-
For beta users of Anti-DDoS IP, the value can be:
|
11387
|
-
<li>AntiDDoSEIP: Anti-DDoS EIP</li>
|
11388
|
-
Note that Anti-DDoS IPs are only available in partial regions.
|
11389
|
-
|
11390
|
-
This feature is currently in gradually released phase. To access it, please contact us.
|
11372
|
+
<li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://www.tencentcloud.com/zh/document/product/213/5733). </li>
|
11373
|
+
Specify the type of public IPv4 address to assign a public IPv4 address to the resource. HighQualityEIP and AntiDDoSEIP features are gradually released in select regions.
|
11374
|
+
This feature is currently in gradually released phase. To access it, please [contact us](https://console.tencentcloud.com/workorder).
|
11391
11375
|
:rtype: str
|
11392
11376
|
"""
|
11393
11377
|
return self._IPv4AddressType
|
@@ -11401,12 +11385,12 @@ This feature is currently in gradually released phase. To access it, please cont
|
|
11401
11385
|
"""Indicates the type of EIPv6. Valid values:
|
11402
11386
|
|
11403
11387
|
<li>EIPv6: common IPv6</li>
|
11404
|
-
<li>HighQualityEIPv6:
|
11388
|
+
<li>HighQualityEIPv6: High Quality EIPv6</li>
|
11405
11389
|
Note: Contact the product team to enable the dedicated IPv6 allowlist. The dedicated IPv6 is only supported in some regions.
|
11406
11390
|
|
11407
11391
|
Default: `EIPv6`
|
11408
11392
|
|
11409
|
-
This feature is currently in gradually released phase. To access it, please contact us.
|
11393
|
+
This feature is currently in gradually released phase. To access it, please [contact us](https://console.tencentcloud.com/workorder).
|
11410
11394
|
:rtype: str
|
11411
11395
|
"""
|
11412
11396
|
return self._IPv6AddressType
|
@@ -16718,7 +16702,7 @@ class RunInstancesRequest(AbstractModel):
|
|
16718
16702
|
|
16719
16703
|
def __init__(self):
|
16720
16704
|
r"""
|
16721
|
-
:param _InstanceChargeType: Instance [billing type](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). <br><li>`POSTPAID_BY_HOUR`: Hourly-based pay-as-you-go <br><li>`CDHPAID`: Dedicated CVM (associated with a dedicated host. Resource usage of the dedicated host is free of charge.) <br><li>`SPOTPAID`: [Spot instance](https://intl.cloud.tencent.com/document/product/213/17817)<br>Default value: `POSTPAID_BY_HOUR`.
|
16705
|
+
:param _InstanceChargeType: Instance [billing type](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). <br><li>`PREPAID`: Monthly Subscription, used for at least one month <br><li>`POSTPAID_BY_HOUR`: Hourly-based pay-as-you-go <br><li>`CDHPAID`: [Dedicated CVM](https://www.tencentcloud.com/document/product/416/5068?lang=en&pg=) (associated with a dedicated host. Resource usage of the dedicated host is free of charge.) <br><li>`SPOTPAID`: [Spot instance](https://intl.cloud.tencent.com/document/product/213/17817)<br>Default value: `POSTPAID_BY_HOUR`.
|
16722
16706
|
:type InstanceChargeType: str
|
16723
16707
|
:param _InstanceChargePrepaid: Details of the monthly subscription, including the purchase period, auto-renewal. It is required if the `InstanceChargeType` is `PREPAID`.
|
16724
16708
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
@@ -16822,7 +16806,7 @@ If the dry run succeeds, the RequestId will be returned.
|
|
16822
16806
|
|
16823
16807
|
@property
|
16824
16808
|
def InstanceChargeType(self):
|
16825
|
-
"""Instance [billing type](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). <br><li>`POSTPAID_BY_HOUR`: Hourly-based pay-as-you-go <br><li>`CDHPAID`: Dedicated CVM (associated with a dedicated host. Resource usage of the dedicated host is free of charge.) <br><li>`SPOTPAID`: [Spot instance](https://intl.cloud.tencent.com/document/product/213/17817)<br>Default value: `POSTPAID_BY_HOUR`.
|
16809
|
+
"""Instance [billing type](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). <br><li>`PREPAID`: Monthly Subscription, used for at least one month <br><li>`POSTPAID_BY_HOUR`: Hourly-based pay-as-you-go <br><li>`CDHPAID`: [Dedicated CVM](https://www.tencentcloud.com/document/product/416/5068?lang=en&pg=) (associated with a dedicated host. Resource usage of the dedicated host is free of charge.) <br><li>`SPOTPAID`: [Spot instance](https://intl.cloud.tencent.com/document/product/213/17817)<br>Default value: `POSTPAID_BY_HOUR`.
|
16826
16810
|
:rtype: str
|
16827
16811
|
"""
|
16828
16812
|
return self._InstanceChargeType
|
@@ -82,8 +82,7 @@ class IaiClient(AbstractClient):
|
|
82
82
|
|
83
83
|
def CopyPerson(self, request):
|
84
84
|
"""This API is used to copy a person in a group to another group (without copying the description). One person can exist in up to 100 groups at the same time.
|
85
|
-
|
86
|
-
- Note: in the case that the version of the algorithm model was 2.0 when the person was created, the copy operation will fail if the target group is not of algorithm model 2.0.
|
85
|
+
>- Note: in the case that the version of the algorithm model was 2.0 when the person was created, the copy operation will fail if the target group is not of algorithm model 2.0.
|
87
86
|
|
88
87
|
:param request: Request instance for CopyPerson.
|
89
88
|
:type request: :class:`tencentcloud.iai.v20200303.models.CopyPersonRequest`
|
@@ -742,7 +742,7 @@ class CopyPersonResponse(AbstractModel):
|
|
742
742
|
:type SucGroupNum: int
|
743
743
|
:param _SucGroupIds: List of groups successfully added to.
|
744
744
|
:type SucGroupIds: list of str
|
745
|
-
:param _RequestId: The unique request ID,
|
745
|
+
: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.
|
746
746
|
:type RequestId: str
|
747
747
|
"""
|
748
748
|
self._SucGroupNum = None
|
@@ -773,7 +773,7 @@ class CopyPersonResponse(AbstractModel):
|
|
773
773
|
|
774
774
|
@property
|
775
775
|
def RequestId(self):
|
776
|
-
"""The unique request ID,
|
776
|
+
"""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.
|
777
777
|
:rtype: str
|
778
778
|
"""
|
779
779
|
return self._RequestId
|
@@ -1224,7 +1224,7 @@ class AudioTemplateInfo(AbstractModel):
|
|
1224
1224
|
:param _AudioBitrate: Audio bitrate. If this parameter is left empty, the original value will be used.
|
1225
1225
|
Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000
|
1226
1226
|
:type AudioBitrate: int
|
1227
|
-
:param _LanguageCode: Audio language code,
|
1227
|
+
:param _LanguageCode: Audio language code, which length is between 2 and 20.
|
1228
1228
|
:type LanguageCode: str
|
1229
1229
|
:param _AudioNormalization: Audio transcoding special configuration information.
|
1230
1230
|
:type AudioNormalization: :class:`tencentcloud.mdl.v20200326.models.AudioNormalizationSettings`
|
@@ -1232,6 +1232,8 @@ Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000,
|
|
1232
1232
|
:type AudioSampleRate: int
|
1233
1233
|
:param _AudioCodecDetails: Audio encoding parameters.
|
1234
1234
|
:type AudioCodecDetails: :class:`tencentcloud.mdl.v20200326.models.AudioCodecDetail`
|
1235
|
+
:param _LanguageDescription: Audio language description, which maximum length is 100.
|
1236
|
+
:type LanguageDescription: str
|
1235
1237
|
"""
|
1236
1238
|
self._AudioSelectorName = None
|
1237
1239
|
self._Name = None
|
@@ -1241,6 +1243,7 @@ Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000,
|
|
1241
1243
|
self._AudioNormalization = None
|
1242
1244
|
self._AudioSampleRate = None
|
1243
1245
|
self._AudioCodecDetails = None
|
1246
|
+
self._LanguageDescription = None
|
1244
1247
|
|
1245
1248
|
@property
|
1246
1249
|
def AudioSelectorName(self):
|
@@ -1289,7 +1292,7 @@ Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000,
|
|
1289
1292
|
|
1290
1293
|
@property
|
1291
1294
|
def LanguageCode(self):
|
1292
|
-
"""Audio language code,
|
1295
|
+
"""Audio language code, which length is between 2 and 20.
|
1293
1296
|
:rtype: str
|
1294
1297
|
"""
|
1295
1298
|
return self._LanguageCode
|
@@ -1331,6 +1334,17 @@ Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000,
|
|
1331
1334
|
def AudioCodecDetails(self, AudioCodecDetails):
|
1332
1335
|
self._AudioCodecDetails = AudioCodecDetails
|
1333
1336
|
|
1337
|
+
@property
|
1338
|
+
def LanguageDescription(self):
|
1339
|
+
"""Audio language description, which maximum length is 100.
|
1340
|
+
:rtype: str
|
1341
|
+
"""
|
1342
|
+
return self._LanguageDescription
|
1343
|
+
|
1344
|
+
@LanguageDescription.setter
|
1345
|
+
def LanguageDescription(self, LanguageDescription):
|
1346
|
+
self._LanguageDescription = LanguageDescription
|
1347
|
+
|
1334
1348
|
|
1335
1349
|
def _deserialize(self, params):
|
1336
1350
|
self._AudioSelectorName = params.get("AudioSelectorName")
|
@@ -1345,6 +1359,7 @@ Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000,
|
|
1345
1359
|
if params.get("AudioCodecDetails") is not None:
|
1346
1360
|
self._AudioCodecDetails = AudioCodecDetail()
|
1347
1361
|
self._AudioCodecDetails._deserialize(params.get("AudioCodecDetails"))
|
1362
|
+
self._LanguageDescription = params.get("LanguageDescription")
|
1348
1363
|
memeber_set = set(params.keys())
|
1349
1364
|
for name, value in vars(self).items():
|
1350
1365
|
property_name = name[1:]
|
@@ -17,6 +17,12 @@
|
|
17
17
|
# Internal error.
|
18
18
|
INTERNALERROR = 'InternalError'
|
19
19
|
|
20
|
+
# Failed to obtain SSAI ad configuration.
|
21
|
+
INTERNALERROR_GETSSAICHANNELSFAILED = 'InternalError.GetSSAIChannelsFailed'
|
22
|
+
|
23
|
+
# Failed to obtain SSAI ad configuration usage.
|
24
|
+
INTERNALERROR_GETSSAIUSAGEPARTIALFAILED = 'InternalError.GetSSAIUsagePartialFailed'
|
25
|
+
|
20
26
|
# Invalid `ActionType`.
|
21
27
|
INVALIDPARAMETER_ACTIONTYPE = 'InvalidParameter.ActionType'
|
22
28
|
|
@@ -38,6 +44,9 @@ INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = 'InvalidParameter.ExceededQuantityLimit
|
|
38
44
|
# Invalid `Id`.
|
39
45
|
INVALIDPARAMETER_ID = 'InvalidParameter.Id'
|
40
46
|
|
47
|
+
# SSAI channel id is invalid.
|
48
|
+
INVALIDPARAMETER_INVALIDPARAMETERCHANNELID = 'InvalidParameter.InvalidParameterChannelId'
|
49
|
+
|
41
50
|
# Invalid `LvbDomain`.
|
42
51
|
INVALIDPARAMETER_LVBDOMAIN = 'InvalidParameter.LvbDomain'
|
43
52
|
|
@@ -65,5 +74,8 @@ INVALIDPARAMETER_PROTOCOL = 'InvalidParameter.Protocol'
|
|
65
74
|
# Invalid ad insertion configuration parameters.
|
66
75
|
INVALIDPARAMETER_SSAIINFO = 'InvalidParameter.SSAIInfo'
|
67
76
|
|
77
|
+
# SSAI ad type error.
|
78
|
+
INVALIDPARAMETER_TYPE = 'InvalidParameter.Type'
|
79
|
+
|
68
80
|
# Invalid `Url`.
|
69
81
|
INVALIDPARAMETER_URL = 'InvalidParameter.Url'
|
@@ -831,6 +831,29 @@ class MdpClient(AbstractClient):
|
|
831
831
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
832
832
|
|
833
833
|
|
834
|
+
def DescribeStreamPackageSSAIUsage(self, request):
|
835
|
+
"""This API is used to query SSAI ad replacement usage.
|
836
|
+
|
837
|
+
:param request: Request instance for DescribeStreamPackageSSAIUsage.
|
838
|
+
:type request: :class:`tencentcloud.mdp.v20200527.models.DescribeStreamPackageSSAIUsageRequest`
|
839
|
+
:rtype: :class:`tencentcloud.mdp.v20200527.models.DescribeStreamPackageSSAIUsageResponse`
|
840
|
+
|
841
|
+
"""
|
842
|
+
try:
|
843
|
+
params = request._serialize()
|
844
|
+
headers = request.headers
|
845
|
+
body = self.call("DescribeStreamPackageSSAIUsage", params, headers=headers)
|
846
|
+
response = json.loads(body)
|
847
|
+
model = models.DescribeStreamPackageSSAIUsageResponse()
|
848
|
+
model._deserialize(response["Response"])
|
849
|
+
return model
|
850
|
+
except Exception as e:
|
851
|
+
if isinstance(e, TencentCloudSDKException):
|
852
|
+
raise
|
853
|
+
else:
|
854
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
855
|
+
|
856
|
+
|
834
857
|
def DescribeStreamPackageSource(self, request):
|
835
858
|
"""Query channel linear assembly Source information.
|
836
859
|
|