tencentcloud-sdk-python 3.0.1266__py2.py3-none-any.whl → 3.0.1267__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.
Files changed (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/models.py +2 -2
  3. tencentcloud/autoscaling/v20180419/models.py +49 -0
  4. tencentcloud/ccc/v20200210/models.py +110 -0
  5. tencentcloud/cdb/v20170320/errorcodes.py +1 -1
  6. tencentcloud/ckafka/v20190819/models.py +46 -16
  7. tencentcloud/clb/v20180317/clb_client.py +1 -1
  8. tencentcloud/clb/v20180317/models.py +54 -20
  9. tencentcloud/dasb/v20191018/models.py +92 -2
  10. tencentcloud/ess/v20201111/models.py +17 -0
  11. tencentcloud/essbasic/v20210526/essbasic_client.py +25 -5
  12. tencentcloud/essbasic/v20210526/models.py +15 -0
  13. tencentcloud/hunyuan/v20230901/models.py +30 -0
  14. tencentcloud/iotexplorer/v20190423/errorcodes.py +1 -1
  15. tencentcloud/iotexplorer/v20190423/models.py +8 -8
  16. tencentcloud/iotvideo/v20191126/models.py +4 -4
  17. tencentcloud/monitor/v20180724/models.py +17 -0
  18. tencentcloud/mrs/v20200910/models.py +4 -8
  19. tencentcloud/ocr/v20181119/models.py +4 -4
  20. tencentcloud/ocr/v20181119/ocr_client.py +1 -2
  21. tencentcloud/omics/v20221128/models.py +100 -172
  22. tencentcloud/partners/v20180321/models.py +0 -12
  23. tencentcloud/rce/v20201103/errorcodes.py +132 -0
  24. tencentcloud/rce/v20201103/models.py +261 -0
  25. tencentcloud/rce/v20201103/rce_client.py +23 -0
  26. tencentcloud/redis/v20180412/models.py +2 -6
  27. tencentcloud/rum/v20210622/models.py +15 -0
  28. tencentcloud/tdmq/v20200217/models.py +40 -10
  29. tencentcloud/tke/v20180525/models.py +2 -2
  30. tencentcloud/tmt/v20180321/models.py +60 -5
  31. tencentcloud/vod/v20180717/models.py +2 -2
  32. tencentcloud/vod/v20180717/vod_client.py +1 -1
  33. tencentcloud/vod/v20240718/models.py +15 -15
  34. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  35. tencentcloud/vpc/v20170312/models.py +103 -4
  36. tencentcloud/vpc/v20170312/vpc_client.py +7 -2
  37. tencentcloud/waf/v20180125/models.py +603 -0
  38. tencentcloud/waf/v20180125/waf_client.py +69 -0
  39. tencentcloud/wedata/v20210820/models.py +18 -18
  40. {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/top_level.txt +0 -0
@@ -4580,7 +4580,7 @@ class CreateRabbitMQBindingRequest(AbstractModel):
4580
4580
  r"""
4581
4581
  :param _InstanceId: 实例Id
4582
4582
  :type InstanceId: str
4583
- :param _VirtualHost: Vhost参数
4583
+ :param _VirtualHost: Vhost名称
4584
4584
  :type VirtualHost: str
4585
4585
  :param _Source: 源exchange
4586
4586
  :type Source: str
@@ -4588,7 +4588,7 @@ class CreateRabbitMQBindingRequest(AbstractModel):
4588
4588
  :type DestinationType: str
4589
4589
  :param _Destination: 目标
4590
4590
  :type Destination: str
4591
- :param _RoutingKey: 绑定key
4591
+ :param _RoutingKey: 路由键
4592
4592
  :type RoutingKey: str
4593
4593
  """
4594
4594
  self._InstanceId = None
@@ -4611,7 +4611,7 @@ class CreateRabbitMQBindingRequest(AbstractModel):
4611
4611
 
4612
4612
  @property
4613
4613
  def VirtualHost(self):
4614
- """Vhost参数
4614
+ """Vhost名称
4615
4615
  :rtype: str
4616
4616
  """
4617
4617
  return self._VirtualHost
@@ -4655,7 +4655,7 @@ class CreateRabbitMQBindingRequest(AbstractModel):
4655
4655
 
4656
4656
  @property
4657
4657
  def RoutingKey(self):
4658
- """绑定key
4658
+ """路由键
4659
4659
  :rtype: str
4660
4660
  """
4661
4661
  return self._RoutingKey
@@ -4692,7 +4692,7 @@ class CreateRabbitMQBindingResponse(AbstractModel):
4692
4692
  :param _InstanceId: 实例名称
4693
4693
  注意:此字段可能返回 null,表示取不到有效值。
4694
4694
  :type InstanceId: str
4695
- :param _VirtualHost: vhost参数
4695
+ :param _VirtualHost: vhost名称
4696
4696
  注意:此字段可能返回 null,表示取不到有效值。
4697
4697
  :type VirtualHost: str
4698
4698
  :param _BindingId: 路由关系Id
@@ -4720,7 +4720,7 @@ class CreateRabbitMQBindingResponse(AbstractModel):
4720
4720
 
4721
4721
  @property
4722
4722
  def VirtualHost(self):
4723
- """vhost参数
4723
+ """vhost名称
4724
4724
  注意:此字段可能返回 null,表示取不到有效值。
4725
4725
  :rtype: str
4726
4726
  """
@@ -7678,7 +7678,7 @@ class DeleteRabbitMQBindingResponse(AbstractModel):
7678
7678
 
7679
7679
  def __init__(self):
7680
7680
  r"""
7681
- :param _InstanceId: 队列名称
7681
+ :param _InstanceId: 实例名称
7682
7682
  注意:此字段可能返回 null,表示取不到有效值。
7683
7683
  :type InstanceId: str
7684
7684
  :param _VirtualHost: vhost参数
@@ -7697,7 +7697,7 @@ class DeleteRabbitMQBindingResponse(AbstractModel):
7697
7697
 
7698
7698
  @property
7699
7699
  def InstanceId(self):
7700
- """队列名称
7700
+ """实例名称
7701
7701
  注意:此字段可能返回 null,表示取不到有效值。
7702
7702
  :rtype: str
7703
7703
  """
@@ -12726,7 +12726,7 @@ class DescribeRabbitMQBindingsRequest(AbstractModel):
12726
12726
  r"""
12727
12727
  :param _InstanceId: 实例Id
12728
12728
  :type InstanceId: str
12729
- :param _VirtualHost: Vhost参数
12729
+ :param _VirtualHost: Vhost名称
12730
12730
  :type VirtualHost: str
12731
12731
  :param _Offset: 分页offset
12732
12732
  :type Offset: int
@@ -12763,7 +12763,7 @@ class DescribeRabbitMQBindingsRequest(AbstractModel):
12763
12763
 
12764
12764
  @property
12765
12765
  def VirtualHost(self):
12766
- """Vhost参数
12766
+ """Vhost名称
12767
12767
  :rtype: str
12768
12768
  """
12769
12769
  return self._VirtualHost
@@ -27298,6 +27298,8 @@ class RabbitMQClusterInfo(AbstractModel):
27298
27298
  :param _PayMode: 计费模式,0-后付费,1-预付费
27299
27299
  注意:此字段可能返回 null,表示取不到有效值。
27300
27300
  :type PayMode: int
27301
+ :param _InstanceType: 实例类型,0 专享版、1 Serverless 版
27302
+ :type InstanceType: int
27301
27303
  """
27302
27304
  self._ClusterId = None
27303
27305
  self._ClusterName = None
@@ -27322,6 +27324,7 @@ class RabbitMQClusterInfo(AbstractModel):
27322
27324
  self._MessageConsumeRate = None
27323
27325
  self._ClusterVersion = None
27324
27326
  self._PayMode = None
27327
+ self._InstanceType = None
27325
27328
 
27326
27329
  @property
27327
27330
  def ClusterId(self):
@@ -27584,6 +27587,17 @@ class RabbitMQClusterInfo(AbstractModel):
27584
27587
  def PayMode(self, PayMode):
27585
27588
  self._PayMode = PayMode
27586
27589
 
27590
+ @property
27591
+ def InstanceType(self):
27592
+ """实例类型,0 专享版、1 Serverless 版
27593
+ :rtype: int
27594
+ """
27595
+ return self._InstanceType
27596
+
27597
+ @InstanceType.setter
27598
+ def InstanceType(self, InstanceType):
27599
+ self._InstanceType = InstanceType
27600
+
27587
27601
 
27588
27602
  def _deserialize(self, params):
27589
27603
  self._ClusterId = params.get("ClusterId")
@@ -27614,6 +27628,7 @@ class RabbitMQClusterInfo(AbstractModel):
27614
27628
  self._MessageConsumeRate = params.get("MessageConsumeRate")
27615
27629
  self._ClusterVersion = params.get("ClusterVersion")
27616
27630
  self._PayMode = params.get("PayMode")
27631
+ self._InstanceType = params.get("InstanceType")
27617
27632
  memeber_set = set(params.keys())
27618
27633
  for name, value in vars(self).items():
27619
27634
  property_name = name[1:]
@@ -28887,6 +28902,8 @@ class RabbitMQVipInstance(AbstractModel):
28887
28902
  :param _CreateTime: 创建时间,毫秒为单位
28888
28903
  注意:此字段可能返回 null,表示取不到有效值。
28889
28904
  :type CreateTime: int
28905
+ :param _InstanceType: 实例类型,0 专享版、1 Serverless 版
28906
+ :type InstanceType: int
28890
28907
  """
28891
28908
  self._InstanceId = None
28892
28909
  self._InstanceName = None
@@ -28907,6 +28924,7 @@ class RabbitMQVipInstance(AbstractModel):
28907
28924
  self._PublicAccessEndpoint = None
28908
28925
  self._Vpcs = None
28909
28926
  self._CreateTime = None
28927
+ self._InstanceType = None
28910
28928
 
28911
28929
  @property
28912
28930
  def InstanceId(self):
@@ -29124,6 +29142,17 @@ class RabbitMQVipInstance(AbstractModel):
29124
29142
  def CreateTime(self, CreateTime):
29125
29143
  self._CreateTime = CreateTime
29126
29144
 
29145
+ @property
29146
+ def InstanceType(self):
29147
+ """实例类型,0 专享版、1 Serverless 版
29148
+ :rtype: int
29149
+ """
29150
+ return self._InstanceType
29151
+
29152
+ @InstanceType.setter
29153
+ def InstanceType(self, InstanceType):
29154
+ self._InstanceType = InstanceType
29155
+
29127
29156
 
29128
29157
  def _deserialize(self, params):
29129
29158
  self._InstanceId = params.get("InstanceId")
@@ -29150,6 +29179,7 @@ class RabbitMQVipInstance(AbstractModel):
29150
29179
  obj._deserialize(item)
29151
29180
  self._Vpcs.append(obj)
29152
29181
  self._CreateTime = params.get("CreateTime")
29182
+ self._InstanceType = params.get("InstanceType")
29153
29183
  memeber_set = set(params.keys())
29154
29184
  for name, value in vars(self).items():
29155
29185
  property_name = name[1:]
@@ -5455,7 +5455,7 @@ class CreateClusterEndpointRequest(AbstractModel):
5455
5455
  :type IsExtranet: bool
5456
5456
  :param _Domain: 设置域名
5457
5457
  :type Domain: str
5458
- :param _SecurityGroup: 使用的安全组,只有外网访问需要传递(开启外网访问时必传)
5458
+ :param _SecurityGroup: 使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)
5459
5459
  :type SecurityGroup: str
5460
5460
  :param _ExtensiveParameters: 创建lb参数,只有外网访问需要设置,是一个json格式化后的字符串:{"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}。
5461
5461
  各个参数意义:
@@ -5518,7 +5518,7 @@ BandwidthPackageId含义:带宽包ID,指定此参数时,网络计费方式
5518
5518
 
5519
5519
  @property
5520
5520
  def SecurityGroup(self):
5521
- """使用的安全组,只有外网访问需要传递(开启外网访问时必传)
5521
+ """使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)
5522
5522
  :rtype: str
5523
5523
  """
5524
5524
  return self._SecurityGroup
@@ -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: 自适应码流模版 ID。
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
- """自适应码流模版 ID。
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. 按指定的自适应码流模版输出 HLS、DASH 自适应码流;
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>点播[应用](/document/product/266/14574) ID。</b>
28
+ :param _SubAppId: <b>点播专业版[应用](/document/product/266/14574) ID。</b>
29
29
  :type SubAppId: int
30
- :param _Policy: 按照下方语法组装好策略后,先序列化为字符串,再做 urlencode,结果作为 Policy 字段入参。服务端会对该字段做 urldecode,并按解析后的策略授予临时访问凭证权限,请按规范传入参数。
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 元素填写格式为:qcs::vod::uid/[账号AppID]:prefix//[子应用ID]/[存储桶ID]/[存储路径],其中账号AppID、子应用ID、存储桶ID和存储路径要按需填写,其他内容不允许改动,例:qcs::vod::uid/1:prefix//1/1/path。
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>点播[应用](/document/product/266/14574) ID。</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
- """按照下方语法组装好策略后,先序列化为字符串,再做 urlencode,结果作为 Policy 字段入参。服务端会对该字段做 urldecode,并按解析后的策略授予临时访问凭证权限,请按规范传入参数。
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 元素填写格式为:qcs::vod::uid/[账号AppID]:prefix//[子应用ID]/[存储桶ID]/[存储路径],其中账号AppID、子应用ID、存储桶ID和存储路径要按需填写,其他内容不允许改动,例:qcs::vod::uid/1:prefix//1/1/path。
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: 秘钥 ID。
151
+ :param _AccessKeyId: 访问凭证 ID。
152
152
  :type AccessKeyId: str
153
- :param _SecretAccessKey: 秘钥 Key。
153
+ :param _SecretAccessKey: 访问凭证 Key。
154
154
  :type SecretAccessKey: str
155
- :param _SessionToken: token。token长度和绑定的策略有关,最长不超过4096字节。
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
- """秘钥 ID。
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
- """秘钥 Key。
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
- """token。token长度和绑定的策略有关,最长不超过4096字节。
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