tencentcloud-sdk-python 3.0.1266__py2.py3-none-any.whl → 3.0.1268__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/asr/v20190614/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +49 -0
- tencentcloud/bh/__init__.py +0 -0
- tencentcloud/bh/v20230418/__init__.py +0 -0
- tencentcloud/bh/v20230418/bh_client.py +1452 -0
- tencentcloud/bh/v20230418/errorcodes.py +93 -0
- tencentcloud/bh/v20230418/models.py +14079 -0
- tencentcloud/billing/v20180709/billing_client.py +9 -3
- tencentcloud/ccc/v20200210/models.py +110 -0
- tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- tencentcloud/cdb/v20170320/models.py +17 -2
- tencentcloud/ckafka/v20190819/models.py +46 -16
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +54 -20
- tencentcloud/dasb/v20191018/models.py +92 -2
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/ess/v20201111/ess_client.py +5 -6
- tencentcloud/ess/v20201111/models.py +60 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -9
- tencentcloud/essbasic/v20210526/models.py +43 -8
- tencentcloud/facefusion/v20220927/models.py +0 -12
- tencentcloud/hunyuan/v20230901/models.py +32 -2
- tencentcloud/iotexplorer/v20190423/errorcodes.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +8 -8
- tencentcloud/iotvideo/v20191126/models.py +4 -4
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +69 -0
- tencentcloud/live/v20180801/models.py +453 -0
- tencentcloud/monitor/v20180724/models.py +17 -0
- tencentcloud/mrs/v20200910/models.py +4 -8
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +1 -2
- tencentcloud/omics/v20221128/models.py +100 -172
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/partners/v20180321/models.py +0 -12
- tencentcloud/rce/v20201103/models.py +261 -0
- tencentcloud/rce/v20201103/rce_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +34 -30
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/rum/v20210622/models.py +15 -0
- tencentcloud/tdmq/v20200217/models.py +40 -10
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/tke/v20180525/models.py +2 -2
- tencentcloud/tke/v20220501/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +279 -0
- tencentcloud/tke/v20220501/tke_client.py +80 -0
- tencentcloud/tmt/v20180321/models.py +60 -5
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/vod/v20180717/vod_client.py +1 -1
- tencentcloud/vod/v20240718/models.py +15 -15
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +134 -18
- tencentcloud/vpc/v20170312/vpc_client.py +7 -2
- tencentcloud/waf/v20180125/models.py +603 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- tencentcloud/wedata/v20210820/models.py +35 -20
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/RECORD +62 -57
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/top_level.txt +0 -0
@@ -269,7 +269,7 @@ class FileTranslateResponse(AbstractModel):
|
|
269
269
|
|
270
270
|
|
271
271
|
class GetFileTranslateData(AbstractModel):
|
272
|
-
"""
|
272
|
+
"""文件翻译任务结果
|
273
273
|
|
274
274
|
"""
|
275
275
|
|
@@ -277,7 +277,12 @@ class GetFileTranslateData(AbstractModel):
|
|
277
277
|
r"""
|
278
278
|
:param _TaskId: 任务ID
|
279
279
|
:type TaskId: str
|
280
|
-
:param _Status:
|
280
|
+
:param _Status: 任务状态
|
281
|
+
|
282
|
+
- init:任务已初始化
|
283
|
+
- wait:任务等待执行
|
284
|
+
- success:任务执行成功
|
285
|
+
- fail:任务执行失败
|
281
286
|
:type Status: str
|
282
287
|
:param _FileData: 文件数据,目标文件必须小于50M,否则请通过回调方式请求文件翻译接口
|
283
288
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -285,14 +290,17 @@ class GetFileTranslateData(AbstractModel):
|
|
285
290
|
:param _Message: 错误提示
|
286
291
|
注意:此字段可能返回 null,表示取不到有效值。
|
287
292
|
:type Message: str
|
288
|
-
:param _Progress:
|
293
|
+
:param _Progress: 任务进度
|
289
294
|
:type Progress: int
|
295
|
+
:param _UsedAmount: 本次翻译消耗的字符数
|
296
|
+
:type UsedAmount: int
|
290
297
|
"""
|
291
298
|
self._TaskId = None
|
292
299
|
self._Status = None
|
293
300
|
self._FileData = None
|
294
301
|
self._Message = None
|
295
302
|
self._Progress = None
|
303
|
+
self._UsedAmount = None
|
296
304
|
|
297
305
|
@property
|
298
306
|
def TaskId(self):
|
@@ -307,7 +315,12 @@ class GetFileTranslateData(AbstractModel):
|
|
307
315
|
|
308
316
|
@property
|
309
317
|
def Status(self):
|
310
|
-
"""
|
318
|
+
"""任务状态
|
319
|
+
|
320
|
+
- init:任务已初始化
|
321
|
+
- wait:任务等待执行
|
322
|
+
- success:任务执行成功
|
323
|
+
- fail:任务执行失败
|
311
324
|
:rtype: str
|
312
325
|
"""
|
313
326
|
return self._Status
|
@@ -342,7 +355,7 @@ class GetFileTranslateData(AbstractModel):
|
|
342
355
|
|
343
356
|
@property
|
344
357
|
def Progress(self):
|
345
|
-
"""
|
358
|
+
"""任务进度
|
346
359
|
:rtype: int
|
347
360
|
"""
|
348
361
|
return self._Progress
|
@@ -351,6 +364,17 @@ class GetFileTranslateData(AbstractModel):
|
|
351
364
|
def Progress(self, Progress):
|
352
365
|
self._Progress = Progress
|
353
366
|
|
367
|
+
@property
|
368
|
+
def UsedAmount(self):
|
369
|
+
"""本次翻译消耗的字符数
|
370
|
+
:rtype: int
|
371
|
+
"""
|
372
|
+
return self._UsedAmount
|
373
|
+
|
374
|
+
@UsedAmount.setter
|
375
|
+
def UsedAmount(self, UsedAmount):
|
376
|
+
self._UsedAmount = UsedAmount
|
377
|
+
|
354
378
|
|
355
379
|
def _deserialize(self, params):
|
356
380
|
self._TaskId = params.get("TaskId")
|
@@ -358,6 +382,7 @@ class GetFileTranslateData(AbstractModel):
|
|
358
382
|
self._FileData = params.get("FileData")
|
359
383
|
self._Message = params.get("Message")
|
360
384
|
self._Progress = params.get("Progress")
|
385
|
+
self._UsedAmount = params.get("UsedAmount")
|
361
386
|
memeber_set = set(params.keys())
|
362
387
|
for name, value in vars(self).items():
|
363
388
|
property_name = name[1:]
|
@@ -1489,12 +1514,15 @@ class TextTranslateBatchResponse(AbstractModel):
|
|
1489
1514
|
:type Target: str
|
1490
1515
|
:param _TargetTextList: 翻译后的文本列表
|
1491
1516
|
:type TargetTextList: list of str
|
1517
|
+
:param _UsedAmount: 本次翻译消耗的字符数
|
1518
|
+
:type UsedAmount: int
|
1492
1519
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1493
1520
|
:type RequestId: str
|
1494
1521
|
"""
|
1495
1522
|
self._Source = None
|
1496
1523
|
self._Target = None
|
1497
1524
|
self._TargetTextList = None
|
1525
|
+
self._UsedAmount = None
|
1498
1526
|
self._RequestId = None
|
1499
1527
|
|
1500
1528
|
@property
|
@@ -1530,6 +1558,17 @@ class TextTranslateBatchResponse(AbstractModel):
|
|
1530
1558
|
def TargetTextList(self, TargetTextList):
|
1531
1559
|
self._TargetTextList = TargetTextList
|
1532
1560
|
|
1561
|
+
@property
|
1562
|
+
def UsedAmount(self):
|
1563
|
+
"""本次翻译消耗的字符数
|
1564
|
+
:rtype: int
|
1565
|
+
"""
|
1566
|
+
return self._UsedAmount
|
1567
|
+
|
1568
|
+
@UsedAmount.setter
|
1569
|
+
def UsedAmount(self, UsedAmount):
|
1570
|
+
self._UsedAmount = UsedAmount
|
1571
|
+
|
1533
1572
|
@property
|
1534
1573
|
def RequestId(self):
|
1535
1574
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1546,6 +1585,7 @@ class TextTranslateBatchResponse(AbstractModel):
|
|
1546
1585
|
self._Source = params.get("Source")
|
1547
1586
|
self._Target = params.get("Target")
|
1548
1587
|
self._TargetTextList = params.get("TargetTextList")
|
1588
|
+
self._UsedAmount = params.get("UsedAmount")
|
1549
1589
|
self._RequestId = params.get("RequestId")
|
1550
1590
|
|
1551
1591
|
|
@@ -1764,12 +1804,15 @@ class TextTranslateResponse(AbstractModel):
|
|
1764
1804
|
:type Source: str
|
1765
1805
|
:param _Target: 目标语言,详见入参Target
|
1766
1806
|
:type Target: str
|
1807
|
+
:param _UsedAmount: 本次翻译消耗的字符数
|
1808
|
+
:type UsedAmount: int
|
1767
1809
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1768
1810
|
:type RequestId: str
|
1769
1811
|
"""
|
1770
1812
|
self._TargetText = None
|
1771
1813
|
self._Source = None
|
1772
1814
|
self._Target = None
|
1815
|
+
self._UsedAmount = None
|
1773
1816
|
self._RequestId = None
|
1774
1817
|
|
1775
1818
|
@property
|
@@ -1805,6 +1848,17 @@ class TextTranslateResponse(AbstractModel):
|
|
1805
1848
|
def Target(self, Target):
|
1806
1849
|
self._Target = Target
|
1807
1850
|
|
1851
|
+
@property
|
1852
|
+
def UsedAmount(self):
|
1853
|
+
"""本次翻译消耗的字符数
|
1854
|
+
:rtype: int
|
1855
|
+
"""
|
1856
|
+
return self._UsedAmount
|
1857
|
+
|
1858
|
+
@UsedAmount.setter
|
1859
|
+
def UsedAmount(self, UsedAmount):
|
1860
|
+
self._UsedAmount = UsedAmount
|
1861
|
+
|
1808
1862
|
@property
|
1809
1863
|
def RequestId(self):
|
1810
1864
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1821,4 +1875,5 @@ class TextTranslateResponse(AbstractModel):
|
|
1821
1875
|
self._TargetText = params.get("TargetText")
|
1822
1876
|
self._Source = params.get("Source")
|
1823
1877
|
self._Target = params.get("Target")
|
1878
|
+
self._UsedAmount = params.get("UsedAmount")
|
1824
1879
|
self._RequestId = params.get("RequestId")
|
@@ -14275,14 +14275,14 @@ class ComplexAdaptiveDynamicStreamingTaskStreamPara(AbstractModel):
|
|
14275
14275
|
|
14276
14276
|
def __init__(self):
|
14277
14277
|
r"""
|
14278
|
-
:param _Definition:
|
14278
|
+
:param _Definition: 自适应码流模板 ID。
|
14279
14279
|
:type Definition: int
|
14280
14280
|
"""
|
14281
14281
|
self._Definition = None
|
14282
14282
|
|
14283
14283
|
@property
|
14284
14284
|
def Definition(self):
|
14285
|
-
"""
|
14285
|
+
"""自适应码流模板 ID。
|
14286
14286
|
:rtype: int
|
14287
14287
|
"""
|
14288
14288
|
return self._Definition
|
@@ -322,7 +322,7 @@ class VodClient(AbstractClient):
|
|
322
322
|
|
323
323
|
def CreateComplexAdaptiveDynamicStreamingTask(self, request):
|
324
324
|
"""发起复杂自适应码流处理任务,功能包括:
|
325
|
-
1.
|
325
|
+
1. 按指定的自适应码流模板输出 HLS、DASH 自适应码流;
|
326
326
|
2. 自适应码流的内容保护方案可选择无加密、Widevine 或 FairPlay;
|
327
327
|
3. 支持添加片头片尾;
|
328
328
|
4. 输出的自适应码流可包含多语言音频流,每种语言分别来自不同的媒体文件;
|
@@ -25,13 +25,13 @@ class CreateStorageCredentialsRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _SubAppId: <b
|
28
|
+
:param _SubAppId: <b>点播专业版[应用](/document/product/266/14574) ID。</b>
|
29
29
|
:type SubAppId: int
|
30
|
-
:param _Policy: 按照下方语法组装好策略后,先序列化为字符串,再做
|
30
|
+
:param _Policy: 按照下方语法组装好策略后,先序列化为字符串,再做 URL Encode,结果作为 Policy 字段入参。服务端会对该字段做 URL Decode,并按解析后的策略授予临时访问凭证权限,请按规范传入参数。
|
31
31
|
注意:
|
32
32
|
1.策略语法参照[访问管理策略](/document/product/598/10603)。
|
33
33
|
2.策略中不能包含 principal 元素。
|
34
|
-
3.策略的 action 元素仅支持:<li>name/vod:PutObject;</li><li>name/vod:ListParts;</li><li>name/vod:PostObject;</li><li>name/vod:InitiateMultipartUpload;</li><li>name/vod:UploadPart;</li><li>name/vod:CompleteMultipartUpload;</li><li>name/vod:AbortMultipartUpload;</li><li>name/vod:ListMultipartUploads;</li>4.策略的 resource
|
34
|
+
3.策略的 action 元素仅支持:<li>name/vod:PutObject;</li><li>name/vod:ListParts;</li><li>name/vod:PostObject;</li><li>name/vod:InitiateMultipartUpload;</li><li>name/vod:UploadPart;</li><li>name/vod:CompleteMultipartUpload;</li><li>name/vod:AbortMultipartUpload;</li><li>name/vod:ListMultipartUploads;</li>4.策略的 resource 元素填写格式为:`qcs::vod:[存储地域]:uid/[账号AppID]:prefix//[点播应用ID]/[存储桶ID]/[存储路径]`,其中存储地域、账号 AppID、点播应用 ID、存储桶 ID 和存储路径要按需填写,其他内容不允许改动,例:`qcs:ap-chongqing:vod::uid/1231456789:prefix//1234567890/2ceds3ew323w3mu/file_path`。
|
35
35
|
|
36
36
|
:type Policy: str
|
37
37
|
:param _DurationSeconds: 指定临时证书的有效期,单位:秒。
|
@@ -44,7 +44,7 @@ class CreateStorageCredentialsRequest(AbstractModel):
|
|
44
44
|
|
45
45
|
@property
|
46
46
|
def SubAppId(self):
|
47
|
-
"""<b
|
47
|
+
"""<b>点播专业版[应用](/document/product/266/14574) ID。</b>
|
48
48
|
:rtype: int
|
49
49
|
"""
|
50
50
|
return self._SubAppId
|
@@ -55,11 +55,11 @@ class CreateStorageCredentialsRequest(AbstractModel):
|
|
55
55
|
|
56
56
|
@property
|
57
57
|
def Policy(self):
|
58
|
-
"""按照下方语法组装好策略后,先序列化为字符串,再做
|
58
|
+
"""按照下方语法组装好策略后,先序列化为字符串,再做 URL Encode,结果作为 Policy 字段入参。服务端会对该字段做 URL Decode,并按解析后的策略授予临时访问凭证权限,请按规范传入参数。
|
59
59
|
注意:
|
60
60
|
1.策略语法参照[访问管理策略](/document/product/598/10603)。
|
61
61
|
2.策略中不能包含 principal 元素。
|
62
|
-
3.策略的 action 元素仅支持:<li>name/vod:PutObject;</li><li>name/vod:ListParts;</li><li>name/vod:PostObject;</li><li>name/vod:InitiateMultipartUpload;</li><li>name/vod:UploadPart;</li><li>name/vod:CompleteMultipartUpload;</li><li>name/vod:AbortMultipartUpload;</li><li>name/vod:ListMultipartUploads;</li>4.策略的 resource
|
62
|
+
3.策略的 action 元素仅支持:<li>name/vod:PutObject;</li><li>name/vod:ListParts;</li><li>name/vod:PostObject;</li><li>name/vod:InitiateMultipartUpload;</li><li>name/vod:UploadPart;</li><li>name/vod:CompleteMultipartUpload;</li><li>name/vod:AbortMultipartUpload;</li><li>name/vod:ListMultipartUploads;</li>4.策略的 resource 元素填写格式为:`qcs::vod:[存储地域]:uid/[账号AppID]:prefix//[点播应用ID]/[存储桶ID]/[存储路径]`,其中存储地域、账号 AppID、点播应用 ID、存储桶 ID 和存储路径要按需填写,其他内容不允许改动,例:`qcs:ap-chongqing:vod::uid/1231456789:prefix//1234567890/2ceds3ew323w3mu/file_path`。
|
63
63
|
|
64
64
|
:rtype: str
|
65
65
|
"""
|
@@ -142,19 +142,19 @@ class CreateStorageCredentialsResponse(AbstractModel):
|
|
142
142
|
|
143
143
|
|
144
144
|
class Credentials(AbstractModel):
|
145
|
-
"""
|
145
|
+
"""临时访问凭证。
|
146
146
|
|
147
147
|
"""
|
148
148
|
|
149
149
|
def __init__(self):
|
150
150
|
r"""
|
151
|
-
:param _AccessKeyId:
|
151
|
+
:param _AccessKeyId: 访问凭证 ID。
|
152
152
|
:type AccessKeyId: str
|
153
|
-
:param _SecretAccessKey:
|
153
|
+
:param _SecretAccessKey: 访问凭证 Key。
|
154
154
|
:type SecretAccessKey: str
|
155
|
-
:param _SessionToken:
|
155
|
+
:param _SessionToken: 访问凭证 Token,长度和绑定的策略有关,最长不超过 4096 字节。
|
156
156
|
:type SessionToken: str
|
157
|
-
:param _Expiration:
|
157
|
+
:param _Expiration: 访问凭证的过期时间。
|
158
158
|
:type Expiration: str
|
159
159
|
"""
|
160
160
|
self._AccessKeyId = None
|
@@ -164,7 +164,7 @@ class Credentials(AbstractModel):
|
|
164
164
|
|
165
165
|
@property
|
166
166
|
def AccessKeyId(self):
|
167
|
-
"""
|
167
|
+
"""访问凭证 ID。
|
168
168
|
:rtype: str
|
169
169
|
"""
|
170
170
|
return self._AccessKeyId
|
@@ -175,7 +175,7 @@ class Credentials(AbstractModel):
|
|
175
175
|
|
176
176
|
@property
|
177
177
|
def SecretAccessKey(self):
|
178
|
-
"""
|
178
|
+
"""访问凭证 Key。
|
179
179
|
:rtype: str
|
180
180
|
"""
|
181
181
|
return self._SecretAccessKey
|
@@ -186,7 +186,7 @@ class Credentials(AbstractModel):
|
|
186
186
|
|
187
187
|
@property
|
188
188
|
def SessionToken(self):
|
189
|
-
"""
|
189
|
+
"""访问凭证 Token,长度和绑定的策略有关,最长不超过 4096 字节。
|
190
190
|
:rtype: str
|
191
191
|
"""
|
192
192
|
return self._SessionToken
|
@@ -197,7 +197,7 @@ class Credentials(AbstractModel):
|
|
197
197
|
|
198
198
|
@property
|
199
199
|
def Expiration(self):
|
200
|
-
"""
|
200
|
+
"""访问凭证的过期时间。
|
201
201
|
:rtype: str
|
202
202
|
"""
|
203
203
|
return self._Expiration
|
@@ -461,6 +461,9 @@ INVALIDPARAMETERVALUE_TRAFFICPACKAGENOTFOUND = 'InvalidParameterValue.TrafficPac
|
|
461
461
|
# 指定的流量包不支持此操作
|
462
462
|
INVALIDPARAMETERVALUE_TRAFFICPACKAGENOTSUPPORTED = 'InvalidParameterValue.TrafficPackageNotSupported'
|
463
463
|
|
464
|
+
# 指定的流量包资源ID不合法
|
465
|
+
INVALIDPARAMETERVALUE_TRAFFICPACKAGERESOURCEIDMALFORMED = 'InvalidParameterValue.TrafficPackageResourceIdMalformed'
|
466
|
+
|
464
467
|
# 该可用区不可用。
|
465
468
|
INVALIDPARAMETERVALUE_UNAVAILABLEZONE = 'InvalidParameterValue.UnavailableZone'
|
466
469
|
|