tencentcloud-sdk-python 3.0.1233__py2.py3-none-any.whl → 3.0.1246__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 (110) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +34 -21
  3. tencentcloud/aiart/v20221229/models.py +6 -6
  4. tencentcloud/apigateway/v20180808/apigateway_client.py +23 -0
  5. tencentcloud/apigateway/v20180808/models.py +31 -0
  6. tencentcloud/apm/v20210622/errorcodes.py +3 -3
  7. tencentcloud/apm/v20210622/models.py +16 -15
  8. tencentcloud/asr/v20190614/asr_client.py +23 -0
  9. tencentcloud/asr/v20190614/models.py +203 -0
  10. tencentcloud/autoscaling/v20180419/models.py +55 -3
  11. tencentcloud/ca/__init__.py +0 -0
  12. tencentcloud/ca/v20230228/__init__.py +0 -0
  13. tencentcloud/ca/v20230228/ca_client.py +95 -0
  14. tencentcloud/ca/v20230228/errorcodes.py +30 -0
  15. tencentcloud/ca/v20230228/models.py +398 -0
  16. tencentcloud/ccc/v20200210/ccc_client.py +69 -0
  17. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  18. tencentcloud/ccc/v20200210/models.py +610 -0
  19. tencentcloud/cdb/v20170320/models.py +60 -0
  20. tencentcloud/cdn/v20180606/models.py +32 -0
  21. tencentcloud/cdwdoris/v20211228/models.py +105 -1
  22. tencentcloud/cfg/v20210820/models.py +12 -0
  23. tencentcloud/cfw/v20190904/models.py +4 -4
  24. tencentcloud/clb/v20180317/models.py +25 -1
  25. tencentcloud/cls/v20201016/models.py +12 -0
  26. tencentcloud/cme/v20191029/models.py +12 -0
  27. tencentcloud/csip/v20221121/models.py +1 -1
  28. tencentcloud/cvm/v20170312/cvm_client.py +23 -0
  29. tencentcloud/cvm/v20170312/errorcodes.py +4 -1
  30. tencentcloud/cvm/v20170312/models.py +202 -4
  31. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  32. tencentcloud/cwp/v20180228/models.py +241 -14
  33. tencentcloud/cynosdb/v20190107/cynosdb_client.py +48 -73
  34. tencentcloud/cynosdb/v20190107/models.py +7 -134
  35. tencentcloud/dasb/v20191018/models.py +37 -0
  36. tencentcloud/dlc/v20210125/models.py +12 -0
  37. tencentcloud/dsgc/v20190723/models.py +1 -1
  38. tencentcloud/dts/v20211206/models.py +16 -16
  39. tencentcloud/emr/v20190103/emr_client.py +46 -0
  40. tencentcloud/emr/v20190103/models.py +467 -3
  41. tencentcloud/ess/v20201111/ess_client.py +19 -12
  42. tencentcloud/ess/v20201111/models.py +58 -22
  43. tencentcloud/essbasic/v20210526/essbasic_client.py +48 -9
  44. tencentcloud/essbasic/v20210526/models.py +174 -11
  45. tencentcloud/faceid/v20180301/models.py +28 -0
  46. tencentcloud/hunyuan/v20230901/models.py +1 -0
  47. tencentcloud/iecp/v20210914/iecp_client.py +0 -500
  48. tencentcloud/iecp/v20210914/models.py +2130 -5305
  49. tencentcloud/ims/v20201229/ims_client.py +9 -4
  50. tencentcloud/ims/v20201229/models.py +4 -4
  51. tencentcloud/lcic/v20220817/models.py +1 -1
  52. tencentcloud/lighthouse/v20200324/models.py +2 -2
  53. tencentcloud/lke/v20231130/lke_client.py +184 -0
  54. tencentcloud/lke/v20231130/models.py +2129 -881
  55. tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
  56. tencentcloud/mariadb/v20170312/models.py +94 -0
  57. tencentcloud/monitor/v20180724/models.py +0 -132
  58. tencentcloud/monitor/v20180724/monitor_client.py +0 -50
  59. tencentcloud/mps/v20190612/models.py +16 -3
  60. tencentcloud/mqtt/__init__.py +0 -0
  61. tencentcloud/mqtt/v20240516/__init__.py +0 -0
  62. tencentcloud/mqtt/v20240516/errorcodes.py +45 -0
  63. tencentcloud/mqtt/v20240516/models.py +3221 -0
  64. tencentcloud/mqtt/v20240516/mqtt_client.py +472 -0
  65. tencentcloud/mrs/v20200910/errorcodes.py +3 -0
  66. tencentcloud/mrs/v20200910/models.py +158 -27
  67. tencentcloud/ocr/v20181119/models.py +21 -0
  68. tencentcloud/ocr/v20181119/ocr_client.py +1 -1
  69. tencentcloud/omics/v20221128/models.py +245 -29
  70. tencentcloud/organization/v20210331/errorcodes.py +54 -0
  71. tencentcloud/organization/v20210331/models.py +483 -3
  72. tencentcloud/organization/v20210331/organization_client.py +46 -0
  73. tencentcloud/postgres/v20170312/models.py +626 -13
  74. tencentcloud/postgres/v20170312/postgres_client.py +69 -0
  75. tencentcloud/rce/v20201103/models.py +33 -22
  76. tencentcloud/redis/v20180412/errorcodes.py +3 -0
  77. tencentcloud/scf/v20180416/errorcodes.py +9 -12
  78. tencentcloud/ses/v20201002/models.py +65 -0
  79. tencentcloud/sms/v20190711/models.py +3 -3
  80. tencentcloud/sms/v20210111/models.py +9 -8
  81. tencentcloud/sqlserver/v20180328/models.py +1 -1
  82. tencentcloud/ssl/v20191205/models.py +114 -0
  83. tencentcloud/tcb/v20180608/models.py +25 -0
  84. tencentcloud/tcss/v20201101/models.py +269 -0
  85. tencentcloud/tcss/v20201101/tcss_client.py +3 -1
  86. tencentcloud/teo/v20220901/errorcodes.py +33 -0
  87. tencentcloud/teo/v20220901/models.py +4012 -2535
  88. tencentcloud/teo/v20220901/teo_client.py +254 -0
  89. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  90. tencentcloud/tke/v20180525/models.py +748 -5
  91. tencentcloud/tke/v20180525/tke_client.py +92 -0
  92. tencentcloud/tke/v20220501/models.py +1 -1
  93. tencentcloud/tse/v20201207/models.py +26 -0
  94. tencentcloud/tsf/v20180326/models.py +0 -58
  95. tencentcloud/tsf/v20180326/tsf_client.py +0 -25
  96. tencentcloud/tts/v20190823/tts_client.py +4 -1
  97. tencentcloud/vclm/v20240523/models.py +25 -0
  98. tencentcloud/vdb/v20230616/models.py +13 -0
  99. tencentcloud/vod/v20180717/models.py +91 -1
  100. tencentcloud/vod/v20180717/vod_client.py +10 -2
  101. tencentcloud/vpc/v20170312/errorcodes.py +9 -0
  102. tencentcloud/vpc/v20170312/models.py +2587 -539
  103. tencentcloud/vpc/v20170312/vpc_client.py +506 -0
  104. tencentcloud/waf/v20180125/models.py +447 -12
  105. tencentcloud/wedata/v20210820/models.py +18 -0
  106. {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/METADATA +1 -1
  107. {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/RECORD +110 -100
  108. {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/LICENSE +0 -0
  109. {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/WHEEL +0 -0
  110. {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/top_level.txt +0 -0
@@ -627,6 +627,29 @@ class MariadbClient(AbstractClient):
627
627
  raise TencentCloudSDKException(type(e).__name__, str(e))
628
628
 
629
629
 
630
+ def DescribeDBSyncMode(self, request):
631
+ """本接口(DescribeDBSyncMode)用于查询云数据库实例的同步模式。
632
+
633
+ :param request: Request instance for DescribeDBSyncMode.
634
+ :type request: :class:`tencentcloud.mariadb.v20170312.models.DescribeDBSyncModeRequest`
635
+ :rtype: :class:`tencentcloud.mariadb.v20170312.models.DescribeDBSyncModeResponse`
636
+
637
+ """
638
+ try:
639
+ params = request._serialize()
640
+ headers = request.headers
641
+ body = self.call("DescribeDBSyncMode", params, headers=headers)
642
+ response = json.loads(body)
643
+ model = models.DescribeDBSyncModeResponse()
644
+ model._deserialize(response["Response"])
645
+ return model
646
+ except Exception as e:
647
+ if isinstance(e, TencentCloudSDKException):
648
+ raise
649
+ else:
650
+ raise TencentCloudSDKException(type(e).__name__, str(e))
651
+
652
+
630
653
  def DescribeDBTmpInstances(self, request):
631
654
  """本接口(DescribeDBTmpInstances)用于获取实例回档生成的临时实例
632
655
 
@@ -6596,6 +6596,100 @@ class DescribeDBSlowLogsResponse(AbstractModel):
6596
6596
  self._RequestId = params.get("RequestId")
6597
6597
 
6598
6598
 
6599
+ class DescribeDBSyncModeRequest(AbstractModel):
6600
+ """DescribeDBSyncMode请求参数结构体
6601
+
6602
+ """
6603
+
6604
+ def __init__(self):
6605
+ r"""
6606
+ :param _InstanceId: 实例ID,形如:tdsql-ow728lmc
6607
+ :type InstanceId: str
6608
+ """
6609
+ self._InstanceId = None
6610
+
6611
+ @property
6612
+ def InstanceId(self):
6613
+ return self._InstanceId
6614
+
6615
+ @InstanceId.setter
6616
+ def InstanceId(self, InstanceId):
6617
+ self._InstanceId = InstanceId
6618
+
6619
+
6620
+ def _deserialize(self, params):
6621
+ self._InstanceId = params.get("InstanceId")
6622
+ memeber_set = set(params.keys())
6623
+ for name, value in vars(self).items():
6624
+ property_name = name[1:]
6625
+ if property_name in memeber_set:
6626
+ memeber_set.remove(property_name)
6627
+ if len(memeber_set) > 0:
6628
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6629
+
6630
+
6631
+
6632
+ class DescribeDBSyncModeResponse(AbstractModel):
6633
+ """DescribeDBSyncMode返回参数结构体
6634
+
6635
+ """
6636
+
6637
+ def __init__(self):
6638
+ r"""
6639
+ :param _SyncMode: 同步模式:0 异步,1 强同步, 2 强同步可退化
6640
+ :type SyncMode: int
6641
+ :param _IsModifying: 是否有修改流程在执行中:1 是, 0 否。
6642
+ :type IsModifying: int
6643
+ :param _CurrentSyncMode: 当前复制方式,0 异步,1 同步
6644
+ :type CurrentSyncMode: int
6645
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6646
+ :type RequestId: str
6647
+ """
6648
+ self._SyncMode = None
6649
+ self._IsModifying = None
6650
+ self._CurrentSyncMode = None
6651
+ self._RequestId = None
6652
+
6653
+ @property
6654
+ def SyncMode(self):
6655
+ return self._SyncMode
6656
+
6657
+ @SyncMode.setter
6658
+ def SyncMode(self, SyncMode):
6659
+ self._SyncMode = SyncMode
6660
+
6661
+ @property
6662
+ def IsModifying(self):
6663
+ return self._IsModifying
6664
+
6665
+ @IsModifying.setter
6666
+ def IsModifying(self, IsModifying):
6667
+ self._IsModifying = IsModifying
6668
+
6669
+ @property
6670
+ def CurrentSyncMode(self):
6671
+ return self._CurrentSyncMode
6672
+
6673
+ @CurrentSyncMode.setter
6674
+ def CurrentSyncMode(self, CurrentSyncMode):
6675
+ self._CurrentSyncMode = CurrentSyncMode
6676
+
6677
+ @property
6678
+ def RequestId(self):
6679
+ return self._RequestId
6680
+
6681
+ @RequestId.setter
6682
+ def RequestId(self, RequestId):
6683
+ self._RequestId = RequestId
6684
+
6685
+
6686
+ def _deserialize(self, params):
6687
+ self._SyncMode = params.get("SyncMode")
6688
+ self._IsModifying = params.get("IsModifying")
6689
+ self._CurrentSyncMode = params.get("CurrentSyncMode")
6690
+ self._RequestId = params.get("RequestId")
6691
+
6692
+
6599
6693
  class DescribeDBTmpInstancesRequest(AbstractModel):
6600
6694
  """DescribeDBTmpInstances请求参数结构体
6601
6695
 
@@ -2588,37 +2588,6 @@ class CLSNotice(AbstractModel):
2588
2588
 
2589
2589
 
2590
2590
 
2591
- class CheckIsPrometheusNewUserRequest(AbstractModel):
2592
- """CheckIsPrometheusNewUser请求参数结构体
2593
-
2594
- """
2595
-
2596
-
2597
- class CheckIsPrometheusNewUserResponse(AbstractModel):
2598
- """CheckIsPrometheusNewUser返回参数结构体
2599
-
2600
- """
2601
-
2602
- def __init__(self):
2603
- r"""
2604
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2605
- :type RequestId: str
2606
- """
2607
- self._RequestId = None
2608
-
2609
- @property
2610
- def RequestId(self):
2611
- return self._RequestId
2612
-
2613
- @RequestId.setter
2614
- def RequestId(self, RequestId):
2615
- self._RequestId = RequestId
2616
-
2617
-
2618
- def _deserialize(self, params):
2619
- self._RequestId = params.get("RequestId")
2620
-
2621
-
2622
2591
  class CleanGrafanaInstanceRequest(AbstractModel):
2623
2592
  """CleanGrafanaInstance请求参数结构体
2624
2593
 
@@ -17814,107 +17783,6 @@ class DescribePrometheusInstancesResponse(AbstractModel):
17814
17783
  self._RequestId = params.get("RequestId")
17815
17784
 
17816
17785
 
17817
- class DescribePrometheusRecordRuleYamlRequest(AbstractModel):
17818
- """DescribePrometheusRecordRuleYaml请求参数结构体
17819
-
17820
- """
17821
-
17822
- def __init__(self):
17823
- r"""
17824
- :param _InstanceId: 实例id
17825
- :type InstanceId: str
17826
- :param _Offset: 分页
17827
- :type Offset: int
17828
- :param _Limit: 分页
17829
- :type Limit: int
17830
- :param _Filters: 过滤,当前支持
17831
- Name = Name
17832
- Values = 目标名称列表
17833
- :type Filters: list of Filter
17834
- """
17835
- self._InstanceId = None
17836
- self._Offset = None
17837
- self._Limit = None
17838
- self._Filters = None
17839
-
17840
- @property
17841
- def InstanceId(self):
17842
- return self._InstanceId
17843
-
17844
- @InstanceId.setter
17845
- def InstanceId(self, InstanceId):
17846
- self._InstanceId = InstanceId
17847
-
17848
- @property
17849
- def Offset(self):
17850
- return self._Offset
17851
-
17852
- @Offset.setter
17853
- def Offset(self, Offset):
17854
- self._Offset = Offset
17855
-
17856
- @property
17857
- def Limit(self):
17858
- return self._Limit
17859
-
17860
- @Limit.setter
17861
- def Limit(self, Limit):
17862
- self._Limit = Limit
17863
-
17864
- @property
17865
- def Filters(self):
17866
- return self._Filters
17867
-
17868
- @Filters.setter
17869
- def Filters(self, Filters):
17870
- self._Filters = Filters
17871
-
17872
-
17873
- def _deserialize(self, params):
17874
- self._InstanceId = params.get("InstanceId")
17875
- self._Offset = params.get("Offset")
17876
- self._Limit = params.get("Limit")
17877
- if params.get("Filters") is not None:
17878
- self._Filters = []
17879
- for item in params.get("Filters"):
17880
- obj = Filter()
17881
- obj._deserialize(item)
17882
- self._Filters.append(obj)
17883
- memeber_set = set(params.keys())
17884
- for name, value in vars(self).items():
17885
- property_name = name[1:]
17886
- if property_name in memeber_set:
17887
- memeber_set.remove(property_name)
17888
- if len(memeber_set) > 0:
17889
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17890
-
17891
-
17892
-
17893
- class DescribePrometheusRecordRuleYamlResponse(AbstractModel):
17894
- """DescribePrometheusRecordRuleYaml返回参数结构体
17895
-
17896
- """
17897
-
17898
- def __init__(self):
17899
- r"""
17900
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17901
- :type RequestId: str
17902
- """
17903
- self._RequestId = None
17904
-
17905
- @property
17906
- def RequestId(self):
17907
- return self._RequestId
17908
-
17909
- @RequestId.setter
17910
- def RequestId(self, RequestId):
17911
- self._RequestId = RequestId
17912
-
17913
-
17914
- def _deserialize(self, params):
17915
- self._RequestId = params.get("RequestId")
17916
-
17917
-
17918
17786
  class DescribePrometheusRecordRulesRequest(AbstractModel):
17919
17787
  """DescribePrometheusRecordRules请求参数结构体
17920
17788
 
@@ -95,31 +95,6 @@ class MonitorClient(AbstractClient):
95
95
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
96
 
97
97
 
98
- def CheckIsPrometheusNewUser(self, request):
99
- """接口功能是检查是否为prometheus新用户,已有其他功能更加全面的接口替代
100
-
101
- 判断用户是否为云原生监控新用户,即在任何地域下均未创建过监控实例的用户
102
-
103
- :param request: Request instance for CheckIsPrometheusNewUser.
104
- :type request: :class:`tencentcloud.monitor.v20180724.models.CheckIsPrometheusNewUserRequest`
105
- :rtype: :class:`tencentcloud.monitor.v20180724.models.CheckIsPrometheusNewUserResponse`
106
-
107
- """
108
- try:
109
- params = request._serialize()
110
- headers = request.headers
111
- body = self.call("CheckIsPrometheusNewUser", params, headers=headers)
112
- response = json.loads(body)
113
- model = models.CheckIsPrometheusNewUserResponse()
114
- model._deserialize(response["Response"])
115
- return model
116
- except Exception as e:
117
- if isinstance(e, TencentCloudSDKException):
118
- raise
119
- else:
120
- raise TencentCloudSDKException(type(e).__name__, str(e))
121
-
122
-
123
98
  def CleanGrafanaInstance(self, request):
124
99
  """强制销毁 Grafana 实例
125
100
 
@@ -2205,31 +2180,6 @@ class MonitorClient(AbstractClient):
2205
2180
  raise TencentCloudSDKException(type(e).__name__, str(e))
2206
2181
 
2207
2182
 
2208
- def DescribePrometheusRecordRuleYaml(self, request):
2209
- """DescribePrometheusRecordRules 接口可完全代替该接口。近30天仅有3次调用,且都是报错请求
2210
-
2211
- 拉取Prometheus聚合规则yaml列表
2212
-
2213
- :param request: Request instance for DescribePrometheusRecordRuleYaml.
2214
- :type request: :class:`tencentcloud.monitor.v20180724.models.DescribePrometheusRecordRuleYamlRequest`
2215
- :rtype: :class:`tencentcloud.monitor.v20180724.models.DescribePrometheusRecordRuleYamlResponse`
2216
-
2217
- """
2218
- try:
2219
- params = request._serialize()
2220
- headers = request.headers
2221
- body = self.call("DescribePrometheusRecordRuleYaml", params, headers=headers)
2222
- response = json.loads(body)
2223
- model = models.DescribePrometheusRecordRuleYamlResponse()
2224
- model._deserialize(response["Response"])
2225
- return model
2226
- except Exception as e:
2227
- if isinstance(e, TencentCloudSDKException):
2228
- raise
2229
- else:
2230
- raise TencentCloudSDKException(type(e).__name__, str(e))
2231
-
2232
-
2233
2183
  def DescribePrometheusRecordRules(self, request):
2234
2184
  """获取聚合规则列表,包含关联集群内crd资源创建的record rule
2235
2185
 
@@ -19786,7 +19786,7 @@ class DescribeQualityControlTemplatesRequest(AbstractModel):
19786
19786
  <li>默认值:10;</li>
19787
19787
  <li>最大值:100。</li>
19788
19788
  :type Limit: int
19789
- :param _Type: "Preset":预设,Custom":客户魔板
19789
+ :param _Type: "Preset":预设,Custom":自定义模板
19790
19790
  :type Type: str
19791
19791
  :param _Name: 媒体质检模板标识过滤条件,长度限制:64 个字符。
19792
19792
  :type Name: str
@@ -33230,6 +33230,8 @@ class ModifyOutputInfo(AbstractModel):
33230
33230
  :type MaxConcurrent: int
33231
33231
  :param _SecurityGroupIds: 绑定的安全组 ID。 仅支持关联一组安全组。
33232
33232
  :type SecurityGroupIds: list of str
33233
+ :param _Zones: 可用区
33234
+ :type Zones: list of str
33233
33235
  """
33234
33236
  self._OutputId = None
33235
33237
  self._OutputName = None
@@ -33241,6 +33243,7 @@ class ModifyOutputInfo(AbstractModel):
33241
33243
  self._AllowIpList = None
33242
33244
  self._MaxConcurrent = None
33243
33245
  self._SecurityGroupIds = None
33246
+ self._Zones = None
33244
33247
 
33245
33248
  @property
33246
33249
  def OutputId(self):
@@ -33322,6 +33325,14 @@ class ModifyOutputInfo(AbstractModel):
33322
33325
  def SecurityGroupIds(self, SecurityGroupIds):
33323
33326
  self._SecurityGroupIds = SecurityGroupIds
33324
33327
 
33328
+ @property
33329
+ def Zones(self):
33330
+ return self._Zones
33331
+
33332
+ @Zones.setter
33333
+ def Zones(self, Zones):
33334
+ self._Zones = Zones
33335
+
33325
33336
 
33326
33337
  def _deserialize(self, params):
33327
33338
  self._OutputId = params.get("OutputId")
@@ -33340,6 +33351,7 @@ class ModifyOutputInfo(AbstractModel):
33340
33351
  self._AllowIpList = params.get("AllowIpList")
33341
33352
  self._MaxConcurrent = params.get("MaxConcurrent")
33342
33353
  self._SecurityGroupIds = params.get("SecurityGroupIds")
33354
+ self._Zones = params.get("Zones")
33343
33355
  memeber_set = set(params.keys())
33344
33356
  for name, value in vars(self).items():
33345
33357
  property_name = name[1:]
@@ -37108,6 +37120,7 @@ class ProcessMediaRequest(AbstractModel):
37108
37120
  :param _InputInfo: 媒体处理的文件输入信息。
37109
37121
  :type InputInfo: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
37110
37122
  :param _OutputStorage: 媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
37123
+ 注意:当InputInfo.Type为URL时,该参数是必填项
37111
37124
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
37112
37125
  :param _OutputDir: 媒体处理生成的文件输出的目标目录,必选以 / 开头和结尾,如`/movie/201907/`。
37113
37126
  如果不填,表示与 InputInfo 中文件所在的目录一致。
@@ -44089,13 +44102,13 @@ class VideoTemplateInfoForUpdate(AbstractModel):
44089
44102
  注意:此字段可能返回 null,表示取不到有效值。
44090
44103
  :type Gop: int
44091
44104
  :param _FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
44092
- <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
44105
+ <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
44093
44106
  <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
44094
44107
  <li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
44095
44108
  <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>
44096
44109
  注意:此字段可能返回 null,表示取不到有效值。
44097
44110
  :type FillType: str
44098
- :param _Vcrf: 视频恒定码率控制因子。取值范围为[0, 51],填0表示禁用该参数。
44111
+ :param _Vcrf: 视频恒定码率控制因子。取值范围为[0, 51],填0表示禁用该参数。
44099
44112
  如果没有特殊需求,不建议指定该参数。
44100
44113
  注意:此字段可能返回 null,表示取不到有效值。
44101
44114
  :type Vcrf: int
File without changes
File without changes
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # 操作失败。
18
+ FAILEDOPERATION = 'FailedOperation'
19
+
20
+ # FailedOperation.InstanceNotReady
21
+ FAILEDOPERATION_INSTANCENOTREADY = 'FailedOperation.InstanceNotReady'
22
+
23
+ # FailedOperation.PublicKeyVerifyFailed
24
+ FAILEDOPERATION_PUBLICKEYVERIFYFAILED = 'FailedOperation.PublicKeyVerifyFailed'
25
+
26
+ # LimitExceeded.TopicNum
27
+ LIMITEXCEEDED_TOPICNUM = 'LimitExceeded.TopicNum'
28
+
29
+ # 缺少参数错误。
30
+ MISSINGPARAMETER = 'MissingParameter'
31
+
32
+ # 操作被拒绝。
33
+ OPERATIONDENIED = 'OperationDenied'
34
+
35
+ # ResourceNotFound.Instance
36
+ RESOURCENOTFOUND_INSTANCE = 'ResourceNotFound.Instance'
37
+
38
+ # ResourceNotFound.Role
39
+ RESOURCENOTFOUND_ROLE = 'ResourceNotFound.Role'
40
+
41
+ # ResourceNotFound.Topic
42
+ RESOURCENOTFOUND_TOPIC = 'ResourceNotFound.Topic'
43
+
44
+ # UnsupportedOperation.ResourceAlreadyExists
45
+ UNSUPPORTEDOPERATION_RESOURCEALREADYEXISTS = 'UnsupportedOperation.ResourceAlreadyExists'