tencentcloud-sdk-python 3.0.1315__py2.py3-none-any.whl → 3.0.1317__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/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +783 -2
- tencentcloud/cbs/v20170312/models.py +21 -4
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +10 -10
- tencentcloud/chdfs/v20201112/models.py +0 -6
- tencentcloud/cls/v20201016/models.py +27 -6
- tencentcloud/common/abstract_client.py +37 -18
- tencentcloud/common/profile/client_profile.py +4 -3
- tencentcloud/common/retry.py +62 -0
- tencentcloud/cvm/v20170312/models.py +17 -2
- tencentcloud/ess/v20201111/models.py +0 -12
- tencentcloud/facefusion/v20220927/models.py +4 -4
- tencentcloud/lcic/v20220817/models.py +0 -8
- tencentcloud/lighthouse/v20200324/models.py +0 -6
- tencentcloud/lkeap/v20240522/models.py +824 -37
- tencentcloud/mna/v20210119/models.py +0 -16
- tencentcloud/mongodb/v20190725/models.py +155 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +136 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
- tencentcloud/mqtt/v20240516/models.py +2003 -195
- tencentcloud/mqtt/v20240516/mqtt_client.py +255 -0
- tencentcloud/ocr/v20181119/models.py +45 -0
- tencentcloud/rum/v20210622/models.py +16 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +791 -21
- tencentcloud/ssl/v20191205/ssl_client.py +46 -0
- tencentcloud/tcr/v20190924/models.py +4 -0
- tencentcloud/teo/v20220901/models.py +2 -4
- tencentcloud/tke/v20180525/models.py +30 -0
- tencentcloud/tmt/v20180321/models.py +4 -0
- tencentcloud/trtc/v20190722/models.py +0 -4
- tencentcloud/vpc/v20170312/models.py +7 -4
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +30 -0
- tencentcloud/wedata/v20210820/models.py +189 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/RECORD +44 -43
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/top_level.txt +0 -0
@@ -2261,13 +2261,10 @@ class DeviceNetInfo(AbstractModel):
|
|
2261
2261
|
5:5G
|
2262
2262
|
:type Rat: int
|
2263
2263
|
:param _NetInfoName: 网卡名
|
2264
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2265
2264
|
:type NetInfoName: str
|
2266
2265
|
:param _DownRate: 下行实时速率(浮点数类型代替上一版本DataRx的整型)
|
2267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2268
2266
|
:type DownRate: float
|
2269
2267
|
:param _UpRate: 上行实时速率(浮点数类型代替上一版本TxRate的整型)
|
2270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2271
2268
|
:type UpRate: float
|
2272
2269
|
"""
|
2273
2270
|
self._Type = None
|
@@ -2423,7 +2420,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2423
2420
|
@property
|
2424
2421
|
def NetInfoName(self):
|
2425
2422
|
"""网卡名
|
2426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2427
2423
|
:rtype: str
|
2428
2424
|
"""
|
2429
2425
|
return self._NetInfoName
|
@@ -2435,7 +2431,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2435
2431
|
@property
|
2436
2432
|
def DownRate(self):
|
2437
2433
|
"""下行实时速率(浮点数类型代替上一版本DataRx的整型)
|
2438
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2439
2434
|
:rtype: float
|
2440
2435
|
"""
|
2441
2436
|
return self._DownRate
|
@@ -2447,7 +2442,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2447
2442
|
@property
|
2448
2443
|
def UpRate(self):
|
2449
2444
|
"""上行实时速率(浮点数类型代替上一版本TxRate的整型)
|
2450
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2451
2445
|
:rtype: float
|
2452
2446
|
"""
|
2453
2447
|
return self._UpRate
|
@@ -2643,19 +2637,14 @@ class FlowDetails(AbstractModel):
|
|
2643
2637
|
def __init__(self):
|
2644
2638
|
r"""
|
2645
2639
|
:param _NetDetails: 流量数据点
|
2646
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2647
2640
|
:type NetDetails: list of NetDetails
|
2648
2641
|
:param _DeviceId: 设备ID
|
2649
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2650
2642
|
:type DeviceId: str
|
2651
2643
|
:param _MaxValue: 流量最大值(单位:bytes)
|
2652
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2653
2644
|
:type MaxValue: float
|
2654
2645
|
:param _AvgValue: 流量平均值(单位:bytes)
|
2655
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2656
2646
|
:type AvgValue: float
|
2657
2647
|
:param _TotalValue: 流量总值(单位:bytes)
|
2658
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2659
2648
|
:type TotalValue: float
|
2660
2649
|
"""
|
2661
2650
|
self._NetDetails = None
|
@@ -2667,7 +2656,6 @@ class FlowDetails(AbstractModel):
|
|
2667
2656
|
@property
|
2668
2657
|
def NetDetails(self):
|
2669
2658
|
"""流量数据点
|
2670
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2671
2659
|
:rtype: list of NetDetails
|
2672
2660
|
"""
|
2673
2661
|
return self._NetDetails
|
@@ -2679,7 +2667,6 @@ class FlowDetails(AbstractModel):
|
|
2679
2667
|
@property
|
2680
2668
|
def DeviceId(self):
|
2681
2669
|
"""设备ID
|
2682
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2683
2670
|
:rtype: str
|
2684
2671
|
"""
|
2685
2672
|
return self._DeviceId
|
@@ -2691,7 +2678,6 @@ class FlowDetails(AbstractModel):
|
|
2691
2678
|
@property
|
2692
2679
|
def MaxValue(self):
|
2693
2680
|
"""流量最大值(单位:bytes)
|
2694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2695
2681
|
:rtype: float
|
2696
2682
|
"""
|
2697
2683
|
return self._MaxValue
|
@@ -2703,7 +2689,6 @@ class FlowDetails(AbstractModel):
|
|
2703
2689
|
@property
|
2704
2690
|
def AvgValue(self):
|
2705
2691
|
"""流量平均值(单位:bytes)
|
2706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2707
2692
|
:rtype: float
|
2708
2693
|
"""
|
2709
2694
|
return self._AvgValue
|
@@ -2715,7 +2700,6 @@ class FlowDetails(AbstractModel):
|
|
2715
2700
|
@property
|
2716
2701
|
def TotalValue(self):
|
2717
2702
|
"""流量总值(单位:bytes)
|
2718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2719
2703
|
:rtype: float
|
2720
2704
|
"""
|
2721
2705
|
return self._TotalValue
|
@@ -2742,6 +2742,77 @@ class DBInstancePrice(AbstractModel):
|
|
2742
2742
|
|
2743
2743
|
|
2744
2744
|
|
2745
|
+
class DbURL(AbstractModel):
|
2746
|
+
"""数据库实例 URI 形式的连接串访问地址示例。
|
2747
|
+
|
2748
|
+
"""
|
2749
|
+
|
2750
|
+
def __init__(self):
|
2751
|
+
r"""
|
2752
|
+
:param _URLType: 指 URI 类别,包括:,
|
2753
|
+
- CLUSTER_ALL:指通过该 URI 连接库实例的主节点,可读写。
|
2754
|
+
- CLUSTER_READ_READONLY:指通过该 URI 连接实例只读节点。
|
2755
|
+
- CLUSTER_READ_SECONDARY:指通过该 URI 连接实例从节点。
|
2756
|
+
- CLUSTER_READ_SECONDARY_AND_READONLY:指通过该 URI 连接实例只读从节点。
|
2757
|
+
- CLUSTER_PRIMARY_AND_SECONDARY:指通过该 URI 连接实例 主节点与从节点。
|
2758
|
+
- MONGOS_ALL:指通过该 URI 连接每个 Mongos 节点,可读写。
|
2759
|
+
- MONGOS_READ_READONLY:指通过该 URI 连接 Mongos 的只读节点。
|
2760
|
+
- MONGOS_READ_SECONDARY:指通过该 URI 连接 Mongos 的从节点。
|
2761
|
+
- MONGOS_READ_PRIMARY_AND_SECONDARY:指通过该URI 连接 Mongos 的主节点与从节点。
|
2762
|
+
- MONGOS_READ_SECONDARY_AND_READONLY:指通过该URI 连接 Mongos 的从节点与只读节点。
|
2763
|
+
:type URLType: str
|
2764
|
+
:param _Address: 实例 URI 形式的连接串访问地址示例。
|
2765
|
+
:type Address: str
|
2766
|
+
"""
|
2767
|
+
self._URLType = None
|
2768
|
+
self._Address = None
|
2769
|
+
|
2770
|
+
@property
|
2771
|
+
def URLType(self):
|
2772
|
+
"""指 URI 类别,包括:,
|
2773
|
+
- CLUSTER_ALL:指通过该 URI 连接库实例的主节点,可读写。
|
2774
|
+
- CLUSTER_READ_READONLY:指通过该 URI 连接实例只读节点。
|
2775
|
+
- CLUSTER_READ_SECONDARY:指通过该 URI 连接实例从节点。
|
2776
|
+
- CLUSTER_READ_SECONDARY_AND_READONLY:指通过该 URI 连接实例只读从节点。
|
2777
|
+
- CLUSTER_PRIMARY_AND_SECONDARY:指通过该 URI 连接实例 主节点与从节点。
|
2778
|
+
- MONGOS_ALL:指通过该 URI 连接每个 Mongos 节点,可读写。
|
2779
|
+
- MONGOS_READ_READONLY:指通过该 URI 连接 Mongos 的只读节点。
|
2780
|
+
- MONGOS_READ_SECONDARY:指通过该 URI 连接 Mongos 的从节点。
|
2781
|
+
- MONGOS_READ_PRIMARY_AND_SECONDARY:指通过该URI 连接 Mongos 的主节点与从节点。
|
2782
|
+
- MONGOS_READ_SECONDARY_AND_READONLY:指通过该URI 连接 Mongos 的从节点与只读节点。
|
2783
|
+
:rtype: str
|
2784
|
+
"""
|
2785
|
+
return self._URLType
|
2786
|
+
|
2787
|
+
@URLType.setter
|
2788
|
+
def URLType(self, URLType):
|
2789
|
+
self._URLType = URLType
|
2790
|
+
|
2791
|
+
@property
|
2792
|
+
def Address(self):
|
2793
|
+
"""实例 URI 形式的连接串访问地址示例。
|
2794
|
+
:rtype: str
|
2795
|
+
"""
|
2796
|
+
return self._Address
|
2797
|
+
|
2798
|
+
@Address.setter
|
2799
|
+
def Address(self, Address):
|
2800
|
+
self._Address = Address
|
2801
|
+
|
2802
|
+
|
2803
|
+
def _deserialize(self, params):
|
2804
|
+
self._URLType = params.get("URLType")
|
2805
|
+
self._Address = params.get("Address")
|
2806
|
+
memeber_set = set(params.keys())
|
2807
|
+
for name, value in vars(self).items():
|
2808
|
+
property_name = name[1:]
|
2809
|
+
if property_name in memeber_set:
|
2810
|
+
memeber_set.remove(property_name)
|
2811
|
+
if len(memeber_set) > 0:
|
2812
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2813
|
+
|
2814
|
+
|
2815
|
+
|
2745
2816
|
class DeleteAccountUserRequest(AbstractModel):
|
2746
2817
|
"""DeleteAccountUser请求参数结构体
|
2747
2818
|
|
@@ -4570,6 +4641,90 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
|
|
4570
4641
|
self._RequestId = params.get("RequestId")
|
4571
4642
|
|
4572
4643
|
|
4644
|
+
class DescribeDBInstanceURLRequest(AbstractModel):
|
4645
|
+
"""DescribeDBInstanceURL请求参数结构体
|
4646
|
+
|
4647
|
+
"""
|
4648
|
+
|
4649
|
+
def __init__(self):
|
4650
|
+
r"""
|
4651
|
+
:param _InstanceId: 实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。
|
4652
|
+
:type InstanceId: str
|
4653
|
+
"""
|
4654
|
+
self._InstanceId = None
|
4655
|
+
|
4656
|
+
@property
|
4657
|
+
def InstanceId(self):
|
4658
|
+
"""实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。
|
4659
|
+
:rtype: str
|
4660
|
+
"""
|
4661
|
+
return self._InstanceId
|
4662
|
+
|
4663
|
+
@InstanceId.setter
|
4664
|
+
def InstanceId(self, InstanceId):
|
4665
|
+
self._InstanceId = InstanceId
|
4666
|
+
|
4667
|
+
|
4668
|
+
def _deserialize(self, params):
|
4669
|
+
self._InstanceId = params.get("InstanceId")
|
4670
|
+
memeber_set = set(params.keys())
|
4671
|
+
for name, value in vars(self).items():
|
4672
|
+
property_name = name[1:]
|
4673
|
+
if property_name in memeber_set:
|
4674
|
+
memeber_set.remove(property_name)
|
4675
|
+
if len(memeber_set) > 0:
|
4676
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4677
|
+
|
4678
|
+
|
4679
|
+
|
4680
|
+
class DescribeDBInstanceURLResponse(AbstractModel):
|
4681
|
+
"""DescribeDBInstanceURL返回参数结构体
|
4682
|
+
|
4683
|
+
"""
|
4684
|
+
|
4685
|
+
def __init__(self):
|
4686
|
+
r"""
|
4687
|
+
:param _Urls: 实例 URI 形式的连接串访问地址示例。包含:URI 类型及连接串地址。
|
4688
|
+
:type Urls: list of DbURL
|
4689
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4690
|
+
:type RequestId: str
|
4691
|
+
"""
|
4692
|
+
self._Urls = None
|
4693
|
+
self._RequestId = None
|
4694
|
+
|
4695
|
+
@property
|
4696
|
+
def Urls(self):
|
4697
|
+
"""实例 URI 形式的连接串访问地址示例。包含:URI 类型及连接串地址。
|
4698
|
+
:rtype: list of DbURL
|
4699
|
+
"""
|
4700
|
+
return self._Urls
|
4701
|
+
|
4702
|
+
@Urls.setter
|
4703
|
+
def Urls(self, Urls):
|
4704
|
+
self._Urls = Urls
|
4705
|
+
|
4706
|
+
@property
|
4707
|
+
def RequestId(self):
|
4708
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4709
|
+
:rtype: str
|
4710
|
+
"""
|
4711
|
+
return self._RequestId
|
4712
|
+
|
4713
|
+
@RequestId.setter
|
4714
|
+
def RequestId(self, RequestId):
|
4715
|
+
self._RequestId = RequestId
|
4716
|
+
|
4717
|
+
|
4718
|
+
def _deserialize(self, params):
|
4719
|
+
if params.get("Urls") is not None:
|
4720
|
+
self._Urls = []
|
4721
|
+
for item in params.get("Urls"):
|
4722
|
+
obj = DbURL()
|
4723
|
+
obj._deserialize(item)
|
4724
|
+
self._Urls.append(obj)
|
4725
|
+
self._RequestId = params.get("RequestId")
|
4726
|
+
|
4727
|
+
|
4573
4728
|
class DescribeDBInstancesRequest(AbstractModel):
|
4574
4729
|
"""DescribeDBInstances请求参数结构体
|
4575
4730
|
|
@@ -466,6 +466,29 @@ class MongodbClient(AbstractClient):
|
|
466
466
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
467
467
|
|
468
468
|
|
469
|
+
def DescribeDBInstanceURL(self, request):
|
470
|
+
"""本接口(DescribeDBInstanceURL)用于获取指定实例的 URI 形式的连接串访问地址示例。
|
471
|
+
|
472
|
+
:param request: Request instance for DescribeDBInstanceURL.
|
473
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceURLRequest`
|
474
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceURLResponse`
|
475
|
+
|
476
|
+
"""
|
477
|
+
try:
|
478
|
+
params = request._serialize()
|
479
|
+
headers = request.headers
|
480
|
+
body = self.call("DescribeDBInstanceURL", params, headers=headers)
|
481
|
+
response = json.loads(body)
|
482
|
+
model = models.DescribeDBInstanceURLResponse()
|
483
|
+
model._deserialize(response["Response"])
|
484
|
+
return model
|
485
|
+
except Exception as e:
|
486
|
+
if isinstance(e, TencentCloudSDKException):
|
487
|
+
raise
|
488
|
+
else:
|
489
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
490
|
+
|
491
|
+
|
469
492
|
def DescribeDBInstances(self, request):
|
470
493
|
"""本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、实例状态等过滤条件来筛选主实例、灾备实例和只读实例信息列表。
|
471
494
|
|
@@ -16844,6 +16844,8 @@ class CreateOutputInfo(AbstractModel):
|
|
16844
16844
|
:type OutputType: str
|
16845
16845
|
:param _RISTSettings: 输出的RIST的配置。
|
16846
16846
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
|
16847
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
16848
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
16847
16849
|
"""
|
16848
16850
|
self._OutputName = None
|
16849
16851
|
self._Description = None
|
@@ -16858,6 +16860,7 @@ class CreateOutputInfo(AbstractModel):
|
|
16858
16860
|
self._Zones = None
|
16859
16861
|
self._OutputType = None
|
16860
16862
|
self._RISTSettings = None
|
16863
|
+
self._PidSelector = None
|
16861
16864
|
|
16862
16865
|
@property
|
16863
16866
|
def OutputName(self):
|
@@ -17003,6 +17006,17 @@ class CreateOutputInfo(AbstractModel):
|
|
17003
17006
|
def RISTSettings(self, RISTSettings):
|
17004
17007
|
self._RISTSettings = RISTSettings
|
17005
17008
|
|
17009
|
+
@property
|
17010
|
+
def PidSelector(self):
|
17011
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
17012
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
17013
|
+
"""
|
17014
|
+
return self._PidSelector
|
17015
|
+
|
17016
|
+
@PidSelector.setter
|
17017
|
+
def PidSelector(self, PidSelector):
|
17018
|
+
self._PidSelector = PidSelector
|
17019
|
+
|
17006
17020
|
|
17007
17021
|
def _deserialize(self, params):
|
17008
17022
|
self._OutputName = params.get("OutputName")
|
@@ -17026,6 +17040,9 @@ class CreateOutputInfo(AbstractModel):
|
|
17026
17040
|
if params.get("RISTSettings") is not None:
|
17027
17041
|
self._RISTSettings = CreateOutputRistSettings()
|
17028
17042
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
17043
|
+
if params.get("PidSelector") is not None:
|
17044
|
+
self._PidSelector = PidSelector()
|
17045
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
17029
17046
|
memeber_set = set(params.keys())
|
17030
17047
|
for name, value in vars(self).items():
|
17031
17048
|
property_name = name[1:]
|
@@ -22265,6 +22282,10 @@ class DescribeFlow(AbstractModel):
|
|
22265
22282
|
:type EventId: str
|
22266
22283
|
:param _Region: 媒体传输输入流所属的区域,取值和InputRegion相同。
|
22267
22284
|
:type Region: str
|
22285
|
+
:param _AllowedInputProtocols: 该Flow允许创建的输入协议
|
22286
|
+
:type AllowedInputProtocols: list of str
|
22287
|
+
:param _AllowedOutputProtocols: 该Flow允许创建的输出协议
|
22288
|
+
:type AllowedOutputProtocols: list of str
|
22268
22289
|
"""
|
22269
22290
|
self._FlowId = None
|
22270
22291
|
self._FlowName = None
|
@@ -22274,6 +22295,8 @@ class DescribeFlow(AbstractModel):
|
|
22274
22295
|
self._OutputGroup = None
|
22275
22296
|
self._EventId = None
|
22276
22297
|
self._Region = None
|
22298
|
+
self._AllowedInputProtocols = None
|
22299
|
+
self._AllowedOutputProtocols = None
|
22277
22300
|
|
22278
22301
|
@property
|
22279
22302
|
def FlowId(self):
|
@@ -22364,6 +22387,28 @@ class DescribeFlow(AbstractModel):
|
|
22364
22387
|
def Region(self, Region):
|
22365
22388
|
self._Region = Region
|
22366
22389
|
|
22390
|
+
@property
|
22391
|
+
def AllowedInputProtocols(self):
|
22392
|
+
"""该Flow允许创建的输入协议
|
22393
|
+
:rtype: list of str
|
22394
|
+
"""
|
22395
|
+
return self._AllowedInputProtocols
|
22396
|
+
|
22397
|
+
@AllowedInputProtocols.setter
|
22398
|
+
def AllowedInputProtocols(self, AllowedInputProtocols):
|
22399
|
+
self._AllowedInputProtocols = AllowedInputProtocols
|
22400
|
+
|
22401
|
+
@property
|
22402
|
+
def AllowedOutputProtocols(self):
|
22403
|
+
"""该Flow允许创建的输出协议
|
22404
|
+
:rtype: list of str
|
22405
|
+
"""
|
22406
|
+
return self._AllowedOutputProtocols
|
22407
|
+
|
22408
|
+
@AllowedOutputProtocols.setter
|
22409
|
+
def AllowedOutputProtocols(self, AllowedOutputProtocols):
|
22410
|
+
self._AllowedOutputProtocols = AllowedOutputProtocols
|
22411
|
+
|
22367
22412
|
|
22368
22413
|
def _deserialize(self, params):
|
22369
22414
|
self._FlowId = params.get("FlowId")
|
@@ -22384,6 +22429,8 @@ class DescribeFlow(AbstractModel):
|
|
22384
22429
|
self._OutputGroup.append(obj)
|
22385
22430
|
self._EventId = params.get("EventId")
|
22386
22431
|
self._Region = params.get("Region")
|
22432
|
+
self._AllowedInputProtocols = params.get("AllowedInputProtocols")
|
22433
|
+
self._AllowedOutputProtocols = params.get("AllowedOutputProtocols")
|
22387
22434
|
memeber_set = set(params.keys())
|
22388
22435
|
for name, value in vars(self).items():
|
22389
22436
|
property_name = name[1:]
|
@@ -23823,6 +23870,8 @@ class DescribeOutput(AbstractModel):
|
|
23823
23870
|
:param _RISTSettings: 输出的RIST配置信息。
|
23824
23871
|
注意:此字段可能返回 null,表示取不到有效值。
|
23825
23872
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
|
23873
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
23874
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
23826
23875
|
"""
|
23827
23876
|
self._OutputId = None
|
23828
23877
|
self._OutputName = None
|
@@ -23842,6 +23891,7 @@ class DescribeOutput(AbstractModel):
|
|
23842
23891
|
self._SecurityGroupIds = None
|
23843
23892
|
self._Zones = None
|
23844
23893
|
self._RISTSettings = None
|
23894
|
+
self._PidSelector = None
|
23845
23895
|
|
23846
23896
|
@property
|
23847
23897
|
def OutputId(self):
|
@@ -24053,6 +24103,17 @@ class DescribeOutput(AbstractModel):
|
|
24053
24103
|
def RISTSettings(self, RISTSettings):
|
24054
24104
|
self._RISTSettings = RISTSettings
|
24055
24105
|
|
24106
|
+
@property
|
24107
|
+
def PidSelector(self):
|
24108
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
24109
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
24110
|
+
"""
|
24111
|
+
return self._PidSelector
|
24112
|
+
|
24113
|
+
@PidSelector.setter
|
24114
|
+
def PidSelector(self, PidSelector):
|
24115
|
+
self._PidSelector = PidSelector
|
24116
|
+
|
24056
24117
|
|
24057
24118
|
def _deserialize(self, params):
|
24058
24119
|
self._OutputId = params.get("OutputId")
|
@@ -24092,6 +24153,9 @@ class DescribeOutput(AbstractModel):
|
|
24092
24153
|
if params.get("RISTSettings") is not None:
|
24093
24154
|
self._RISTSettings = DescribeOutputRISTSettings()
|
24094
24155
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
24156
|
+
if params.get("PidSelector") is not None:
|
24157
|
+
self._PidSelector = PidSelector()
|
24158
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
24095
24159
|
memeber_set = set(params.keys())
|
24096
24160
|
for name, value in vars(self).items():
|
24097
24161
|
property_name = name[1:]
|
@@ -42425,6 +42489,8 @@ class ModifyOutputInfo(AbstractModel):
|
|
42425
42489
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
|
42426
42490
|
:param _OutputType: 输出类型:Internet/TencentCSS/StreamLive
|
42427
42491
|
:type OutputType: str
|
42492
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
42493
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
42428
42494
|
"""
|
42429
42495
|
self._OutputId = None
|
42430
42496
|
self._OutputName = None
|
@@ -42439,6 +42505,7 @@ class ModifyOutputInfo(AbstractModel):
|
|
42439
42505
|
self._Zones = None
|
42440
42506
|
self._RISTSettings = None
|
42441
42507
|
self._OutputType = None
|
42508
|
+
self._PidSelector = None
|
42442
42509
|
|
42443
42510
|
@property
|
42444
42511
|
def OutputId(self):
|
@@ -42584,6 +42651,17 @@ class ModifyOutputInfo(AbstractModel):
|
|
42584
42651
|
def OutputType(self, OutputType):
|
42585
42652
|
self._OutputType = OutputType
|
42586
42653
|
|
42654
|
+
@property
|
42655
|
+
def PidSelector(self):
|
42656
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
42657
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
42658
|
+
"""
|
42659
|
+
return self._PidSelector
|
42660
|
+
|
42661
|
+
@PidSelector.setter
|
42662
|
+
def PidSelector(self, PidSelector):
|
42663
|
+
self._PidSelector = PidSelector
|
42664
|
+
|
42587
42665
|
|
42588
42666
|
def _deserialize(self, params):
|
42589
42667
|
self._OutputId = params.get("OutputId")
|
@@ -42607,6 +42685,9 @@ class ModifyOutputInfo(AbstractModel):
|
|
42607
42685
|
self._RISTSettings = CreateOutputRistSettings()
|
42608
42686
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
42609
42687
|
self._OutputType = params.get("OutputType")
|
42688
|
+
if params.get("PidSelector") is not None:
|
42689
|
+
self._PidSelector = PidSelector()
|
42690
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
42610
42691
|
memeber_set = set(params.keys())
|
42611
42692
|
for name, value in vars(self).items():
|
42612
42693
|
property_name = name[1:]
|
@@ -45846,6 +45927,61 @@ class ParseNotificationResponse(AbstractModel):
|
|
45846
45927
|
self._RequestId = params.get("RequestId")
|
45847
45928
|
|
45848
45929
|
|
45930
|
+
class PidSelector(AbstractModel):
|
45931
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
45932
|
+
|
45933
|
+
"""
|
45934
|
+
|
45935
|
+
def __init__(self):
|
45936
|
+
r"""
|
45937
|
+
:param _AudioPID: 对于含有多音轨的流, 可以通过输入PID来指定需要使用的音轨,PID可以输入1到8191之间的正整数。
|
45938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45939
|
+
:type AudioPID: list of int
|
45940
|
+
:param _VideoPID: 对于含有多个视频轨的流,可以通过输入PID来指定需要使用的视频轨,PID可以输入1到8191之间的正整数。
|
45941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45942
|
+
:type VideoPID: list of int
|
45943
|
+
"""
|
45944
|
+
self._AudioPID = None
|
45945
|
+
self._VideoPID = None
|
45946
|
+
|
45947
|
+
@property
|
45948
|
+
def AudioPID(self):
|
45949
|
+
"""对于含有多音轨的流, 可以通过输入PID来指定需要使用的音轨,PID可以输入1到8191之间的正整数。
|
45950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45951
|
+
:rtype: list of int
|
45952
|
+
"""
|
45953
|
+
return self._AudioPID
|
45954
|
+
|
45955
|
+
@AudioPID.setter
|
45956
|
+
def AudioPID(self, AudioPID):
|
45957
|
+
self._AudioPID = AudioPID
|
45958
|
+
|
45959
|
+
@property
|
45960
|
+
def VideoPID(self):
|
45961
|
+
"""对于含有多个视频轨的流,可以通过输入PID来指定需要使用的视频轨,PID可以输入1到8191之间的正整数。
|
45962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45963
|
+
:rtype: list of int
|
45964
|
+
"""
|
45965
|
+
return self._VideoPID
|
45966
|
+
|
45967
|
+
@VideoPID.setter
|
45968
|
+
def VideoPID(self, VideoPID):
|
45969
|
+
self._VideoPID = VideoPID
|
45970
|
+
|
45971
|
+
|
45972
|
+
def _deserialize(self, params):
|
45973
|
+
self._AudioPID = params.get("AudioPID")
|
45974
|
+
self._VideoPID = params.get("VideoPID")
|
45975
|
+
memeber_set = set(params.keys())
|
45976
|
+
for name, value in vars(self).items():
|
45977
|
+
property_name = name[1:]
|
45978
|
+
if property_name in memeber_set:
|
45979
|
+
memeber_set.remove(property_name)
|
45980
|
+
if len(memeber_set) > 0:
|
45981
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
45982
|
+
|
45983
|
+
|
45984
|
+
|
45849
45985
|
class PoliticalAsrReviewTemplateInfo(AbstractModel):
|
45850
45986
|
"""语音涉敏任务控制参数
|
45851
45987
|
|
@@ -32,6 +32,9 @@ MISSINGPARAMETER = 'MissingParameter'
|
|
32
32
|
# 操作被拒绝。
|
33
33
|
OPERATIONDENIED = 'OperationDenied'
|
34
34
|
|
35
|
+
# 资源被占用。
|
36
|
+
RESOURCEINUSE = 'ResourceInUse'
|
37
|
+
|
35
38
|
# ResourceNotFound.Instance
|
36
39
|
RESOURCENOTFOUND_INSTANCE = 'ResourceNotFound.Instance'
|
37
40
|
|
@@ -41,5 +44,8 @@ RESOURCENOTFOUND_ROLE = 'ResourceNotFound.Role'
|
|
41
44
|
# ResourceNotFound.Topic
|
42
45
|
RESOURCENOTFOUND_TOPIC = 'ResourceNotFound.Topic'
|
43
46
|
|
47
|
+
# 资源不可用。
|
48
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
49
|
+
|
44
50
|
# UnsupportedOperation.ResourceAlreadyExists
|
45
51
|
UNSUPPORTEDOPERATION_RESOURCEALREADYEXISTS = 'UnsupportedOperation.ResourceAlreadyExists'
|