tencentcloud-sdk-python 3.0.1314__py2.py3-none-any.whl → 3.0.1316__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 (41) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +4 -4
  3. tencentcloud/batch/v20170312/models.py +4 -4
  4. tencentcloud/bh/v20230418/models.py +783 -2
  5. tencentcloud/cbs/v20170312/models.py +21 -4
  6. tencentcloud/cfw/v20190904/cfw_client.py +0 -25
  7. tencentcloud/cfw/v20190904/models.py +0 -374
  8. tencentcloud/chdfs/v20201112/models.py +0 -6
  9. tencentcloud/ckafka/v20190819/models.py +17 -2
  10. tencentcloud/cls/v20201016/models.py +25 -4
  11. tencentcloud/cvm/v20170312/models.py +4 -4
  12. tencentcloud/cwp/v20180228/cwp_client.py +0 -50
  13. tencentcloud/cwp/v20180228/models.py +83 -747
  14. tencentcloud/dsgc/v20190723/models.py +15 -0
  15. tencentcloud/ess/v20201111/models.py +2 -2
  16. tencentcloud/essbasic/v20210526/models.py +2 -2
  17. tencentcloud/facefusion/v20220927/models.py +4 -4
  18. tencentcloud/lighthouse/v20200324/models.py +180 -6
  19. tencentcloud/live/v20180801/models.py +2 -2
  20. tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
  21. tencentcloud/lkeap/v20240522/models.py +12 -2
  22. tencentcloud/mna/v20210119/models.py +0 -36
  23. tencentcloud/mongodb/v20190725/models.py +26 -14
  24. tencentcloud/monitor/v20180724/models.py +8 -0
  25. tencentcloud/mps/v20190612/models.py +136 -0
  26. tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
  27. tencentcloud/mqtt/v20240516/models.py +2003 -195
  28. tencentcloud/mqtt/v20240516/mqtt_client.py +255 -0
  29. tencentcloud/ocr/v20181119/models.py +45 -0
  30. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  31. tencentcloud/ssl/v20191205/models.py +758 -0
  32. tencentcloud/ssl/v20191205/ssl_client.py +46 -0
  33. tencentcloud/tccatalog/v20241024/models.py +30 -0
  34. tencentcloud/tcr/v20190924/models.py +4 -0
  35. tencentcloud/tmt/v20180321/models.py +4 -0
  36. tencentcloud/trtc/v20190722/models.py +0 -4
  37. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/METADATA +3 -1
  38. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/RECORD +41 -41
  39. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/LICENSE +0 -0
  40. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/WHEEL +0 -0
  41. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/top_level.txt +0 -0
@@ -2230,37 +2230,28 @@ class DeviceNetInfo(AbstractModel):
2230
2230
  2:有线
2231
2231
  :type Type: int
2232
2232
  :param _DataEnable: 启用/禁用
2233
- 注意:此字段可能返回 null,表示取不到有效值。
2234
2233
  :type DataEnable: bool
2235
2234
  :param _UploadLimit: 上行限速
2236
- 注意:此字段可能返回 null,表示取不到有效值。
2237
2235
  :type UploadLimit: str
2238
2236
  :param _DownloadLimit: 下行限速
2239
- 注意:此字段可能返回 null,表示取不到有效值。
2240
2237
  :type DownloadLimit: str
2241
2238
  :param _DataRx: 接收实时速率
2242
- 注意:此字段可能返回 null,表示取不到有效值。
2243
2239
  :type DataRx: int
2244
2240
  :param _DataTx: 发送实时速率
2245
- 注意:此字段可能返回 null,表示取不到有效值。
2246
2241
  :type DataTx: int
2247
2242
  :param _Vendor: 运营商类型:
2248
2243
  1: 中国移动;
2249
2244
  2: 中国电信;
2250
2245
  3: 中国联通
2251
- 注意:此字段可能返回 null,表示取不到有效值。
2252
2246
  :type Vendor: int
2253
2247
  :param _State: 连接状态:
2254
2248
  0:无连接
2255
2249
  1:连接中
2256
2250
  2:已连接
2257
- 注意:此字段可能返回 null,表示取不到有效值。
2258
2251
  :type State: int
2259
2252
  :param _PublicIp: 公网IP
2260
- 注意:此字段可能返回 null,表示取不到有效值。
2261
2253
  :type PublicIp: str
2262
2254
  :param _SignalStrength: 信号强度/单位:dbm
2263
- 注意:此字段可能返回 null,表示取不到有效值。
2264
2255
  :type SignalStrength: int
2265
2256
  :param _Rat: 数据网络类型:
2266
2257
  -1 :无效值
@@ -2268,16 +2259,12 @@ class DeviceNetInfo(AbstractModel):
2268
2259
  3:3G
2269
2260
  4:4G
2270
2261
  5:5G
2271
- 注意:此字段可能返回 null,表示取不到有效值。
2272
2262
  :type Rat: int
2273
2263
  :param _NetInfoName: 网卡名
2274
- 注意:此字段可能返回 null,表示取不到有效值。
2275
2264
  :type NetInfoName: str
2276
2265
  :param _DownRate: 下行实时速率(浮点数类型代替上一版本DataRx的整型)
2277
- 注意:此字段可能返回 null,表示取不到有效值。
2278
2266
  :type DownRate: float
2279
2267
  :param _UpRate: 上行实时速率(浮点数类型代替上一版本TxRate的整型)
2280
- 注意:此字段可能返回 null,表示取不到有效值。
2281
2268
  :type UpRate: float
2282
2269
  """
2283
2270
  self._Type = None
@@ -2312,7 +2299,6 @@ class DeviceNetInfo(AbstractModel):
2312
2299
  @property
2313
2300
  def DataEnable(self):
2314
2301
  """启用/禁用
2315
- 注意:此字段可能返回 null,表示取不到有效值。
2316
2302
  :rtype: bool
2317
2303
  """
2318
2304
  return self._DataEnable
@@ -2324,7 +2310,6 @@ class DeviceNetInfo(AbstractModel):
2324
2310
  @property
2325
2311
  def UploadLimit(self):
2326
2312
  """上行限速
2327
- 注意:此字段可能返回 null,表示取不到有效值。
2328
2313
  :rtype: str
2329
2314
  """
2330
2315
  return self._UploadLimit
@@ -2336,7 +2321,6 @@ class DeviceNetInfo(AbstractModel):
2336
2321
  @property
2337
2322
  def DownloadLimit(self):
2338
2323
  """下行限速
2339
- 注意:此字段可能返回 null,表示取不到有效值。
2340
2324
  :rtype: str
2341
2325
  """
2342
2326
  return self._DownloadLimit
@@ -2348,7 +2332,6 @@ class DeviceNetInfo(AbstractModel):
2348
2332
  @property
2349
2333
  def DataRx(self):
2350
2334
  """接收实时速率
2351
- 注意:此字段可能返回 null,表示取不到有效值。
2352
2335
  :rtype: int
2353
2336
  """
2354
2337
  return self._DataRx
@@ -2360,7 +2343,6 @@ class DeviceNetInfo(AbstractModel):
2360
2343
  @property
2361
2344
  def DataTx(self):
2362
2345
  """发送实时速率
2363
- 注意:此字段可能返回 null,表示取不到有效值。
2364
2346
  :rtype: int
2365
2347
  """
2366
2348
  return self._DataTx
@@ -2375,7 +2357,6 @@ class DeviceNetInfo(AbstractModel):
2375
2357
  1: 中国移动;
2376
2358
  2: 中国电信;
2377
2359
  3: 中国联通
2378
- 注意:此字段可能返回 null,表示取不到有效值。
2379
2360
  :rtype: int
2380
2361
  """
2381
2362
  return self._Vendor
@@ -2390,7 +2371,6 @@ class DeviceNetInfo(AbstractModel):
2390
2371
  0:无连接
2391
2372
  1:连接中
2392
2373
  2:已连接
2393
- 注意:此字段可能返回 null,表示取不到有效值。
2394
2374
  :rtype: int
2395
2375
  """
2396
2376
  return self._State
@@ -2402,7 +2382,6 @@ class DeviceNetInfo(AbstractModel):
2402
2382
  @property
2403
2383
  def PublicIp(self):
2404
2384
  """公网IP
2405
- 注意:此字段可能返回 null,表示取不到有效值。
2406
2385
  :rtype: str
2407
2386
  """
2408
2387
  return self._PublicIp
@@ -2414,7 +2393,6 @@ class DeviceNetInfo(AbstractModel):
2414
2393
  @property
2415
2394
  def SignalStrength(self):
2416
2395
  """信号强度/单位:dbm
2417
- 注意:此字段可能返回 null,表示取不到有效值。
2418
2396
  :rtype: int
2419
2397
  """
2420
2398
  return self._SignalStrength
@@ -2431,7 +2409,6 @@ class DeviceNetInfo(AbstractModel):
2431
2409
  3:3G
2432
2410
  4:4G
2433
2411
  5:5G
2434
- 注意:此字段可能返回 null,表示取不到有效值。
2435
2412
  :rtype: int
2436
2413
  """
2437
2414
  return self._Rat
@@ -2443,7 +2420,6 @@ class DeviceNetInfo(AbstractModel):
2443
2420
  @property
2444
2421
  def NetInfoName(self):
2445
2422
  """网卡名
2446
- 注意:此字段可能返回 null,表示取不到有效值。
2447
2423
  :rtype: str
2448
2424
  """
2449
2425
  return self._NetInfoName
@@ -2455,7 +2431,6 @@ class DeviceNetInfo(AbstractModel):
2455
2431
  @property
2456
2432
  def DownRate(self):
2457
2433
  """下行实时速率(浮点数类型代替上一版本DataRx的整型)
2458
- 注意:此字段可能返回 null,表示取不到有效值。
2459
2434
  :rtype: float
2460
2435
  """
2461
2436
  return self._DownRate
@@ -2467,7 +2442,6 @@ class DeviceNetInfo(AbstractModel):
2467
2442
  @property
2468
2443
  def UpRate(self):
2469
2444
  """上行实时速率(浮点数类型代替上一版本TxRate的整型)
2470
- 注意:此字段可能返回 null,表示取不到有效值。
2471
2445
  :rtype: float
2472
2446
  """
2473
2447
  return self._UpRate
@@ -2663,19 +2637,14 @@ class FlowDetails(AbstractModel):
2663
2637
  def __init__(self):
2664
2638
  r"""
2665
2639
  :param _NetDetails: 流量数据点
2666
- 注意:此字段可能返回 null,表示取不到有效值。
2667
2640
  :type NetDetails: list of NetDetails
2668
2641
  :param _DeviceId: 设备ID
2669
- 注意:此字段可能返回 null,表示取不到有效值。
2670
2642
  :type DeviceId: str
2671
2643
  :param _MaxValue: 流量最大值(单位:bytes)
2672
- 注意:此字段可能返回 null,表示取不到有效值。
2673
2644
  :type MaxValue: float
2674
2645
  :param _AvgValue: 流量平均值(单位:bytes)
2675
- 注意:此字段可能返回 null,表示取不到有效值。
2676
2646
  :type AvgValue: float
2677
2647
  :param _TotalValue: 流量总值(单位:bytes)
2678
- 注意:此字段可能返回 null,表示取不到有效值。
2679
2648
  :type TotalValue: float
2680
2649
  """
2681
2650
  self._NetDetails = None
@@ -2687,7 +2656,6 @@ class FlowDetails(AbstractModel):
2687
2656
  @property
2688
2657
  def NetDetails(self):
2689
2658
  """流量数据点
2690
- 注意:此字段可能返回 null,表示取不到有效值。
2691
2659
  :rtype: list of NetDetails
2692
2660
  """
2693
2661
  return self._NetDetails
@@ -2699,7 +2667,6 @@ class FlowDetails(AbstractModel):
2699
2667
  @property
2700
2668
  def DeviceId(self):
2701
2669
  """设备ID
2702
- 注意:此字段可能返回 null,表示取不到有效值。
2703
2670
  :rtype: str
2704
2671
  """
2705
2672
  return self._DeviceId
@@ -2711,7 +2678,6 @@ class FlowDetails(AbstractModel):
2711
2678
  @property
2712
2679
  def MaxValue(self):
2713
2680
  """流量最大值(单位:bytes)
2714
- 注意:此字段可能返回 null,表示取不到有效值。
2715
2681
  :rtype: float
2716
2682
  """
2717
2683
  return self._MaxValue
@@ -2723,7 +2689,6 @@ class FlowDetails(AbstractModel):
2723
2689
  @property
2724
2690
  def AvgValue(self):
2725
2691
  """流量平均值(单位:bytes)
2726
- 注意:此字段可能返回 null,表示取不到有效值。
2727
2692
  :rtype: float
2728
2693
  """
2729
2694
  return self._AvgValue
@@ -2735,7 +2700,6 @@ class FlowDetails(AbstractModel):
2735
2700
  @property
2736
2701
  def TotalValue(self):
2737
2702
  """流量总值(单位:bytes)
2738
- 注意:此字段可能返回 null,表示取不到有效值。
2739
2703
  :rtype: float
2740
2704
  """
2741
2705
  return self._TotalValue
@@ -86,7 +86,7 @@ class AssignProjectRequest(AbstractModel):
86
86
 
87
87
  def __init__(self):
88
88
  r"""
89
- :param _InstanceIds: 实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同
89
+ :param _InstanceIds: 实例 ID 列表,请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID
90
90
  :type InstanceIds: list of str
91
91
  :param _ProjectId: 项目ID,用户已创建项目的唯一ID,非自定义
92
92
  :type ProjectId: int
@@ -96,7 +96,7 @@ class AssignProjectRequest(AbstractModel):
96
96
 
97
97
  @property
98
98
  def InstanceIds(self):
99
- """实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同
99
+ """实例 ID 列表,请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID
100
100
  :rtype: list of str
101
101
  """
102
102
  return self._InstanceIds
@@ -1183,7 +1183,11 @@ class CreateDBInstanceHourRequest(AbstractModel):
1183
1183
  :type VpcId: str
1184
1184
  :param _SubnetId: 私有网络VPC的子网。请登录 [私有网络控制台](https://console.cloud.tencent.com/vpc) 查询子网列表确认正确的 ID。 示例值:subnet-7jbabche
1185
1185
  :type SubnetId: str
1186
- :param _Password: 实例密码。自定义密码长度为8-32个字符,至少包含字母、数字和字符(!@#%^*()_)中的两种。
1186
+ :param _Password: 实例密码。设置要求如下:
1187
+ - 字符个数为[8,32]。
1188
+ - 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
1189
+ - 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“_”。
1190
+ - 不能设置单一的字母或者数字。
1187
1191
  :type Password: str
1188
1192
  :param _ProjectId: 项目ID。
1189
1193
  - 若不设置该参数,则为默认项目。
@@ -1396,7 +1400,11 @@ class CreateDBInstanceHourRequest(AbstractModel):
1396
1400
 
1397
1401
  @property
1398
1402
  def Password(self):
1399
- """实例密码。自定义密码长度为8-32个字符,至少包含字母、数字和字符(!@#%^*()_)中的两种。
1403
+ """实例密码。设置要求如下:
1404
+ - 字符个数为[8,32]。
1405
+ - 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
1406
+ - 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“_”。
1407
+ - 不能设置单一的字母或者数字。
1400
1408
  :rtype: str
1401
1409
  """
1402
1410
  return self._Password
@@ -1901,7 +1909,7 @@ class CreateDBInstanceRequest(AbstractModel):
1901
1909
  :param _Password: 实例密码。设置要求如下:
1902
1910
  - 字符个数为[8,32]。
1903
1911
  - 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
1904
- - 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#“、百分号”%”、插入号“^”、星号“*”、括号“()”、下划线“_”。
1912
+ - 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“\_”。
1905
1913
  - 不能设置单一的字母或者数字。
1906
1914
  :type Password: str
1907
1915
  :param _Tags: 实例标签信息。
@@ -2144,7 +2152,7 @@ class CreateDBInstanceRequest(AbstractModel):
2144
2152
  """实例密码。设置要求如下:
2145
2153
  - 字符个数为[8,32]。
2146
2154
  - 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
2147
- - 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#“、百分号”%”、插入号“^”、星号“*”、括号“()”、下划线“_”。
2155
+ - 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“\_”。
2148
2156
  - 不能设置单一的字母或者数字。
2149
2157
  :rtype: str
2150
2158
  """
@@ -6744,7 +6752,7 @@ class InquirePriceRenewDBInstancesRequest(AbstractModel):
6744
6752
 
6745
6753
  def __init__(self):
6746
6754
  r"""
6747
- :param _InstanceIds: 实例ID,格式如:cmgo-p8vn****。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。
6755
+ :param _InstanceIds: 实例ID。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。
6748
6756
  :type InstanceIds: list of str
6749
6757
  :param _InstanceChargePrepaid: 预付费模式(即包年包月)相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
6750
6758
  :type InstanceChargePrepaid: :class:`tencentcloud.mongodb.v20190725.models.InstanceChargePrepaid`
@@ -6754,7 +6762,7 @@ class InquirePriceRenewDBInstancesRequest(AbstractModel):
6754
6762
 
6755
6763
  @property
6756
6764
  def InstanceIds(self):
6757
- """实例ID,格式如:cmgo-p8vn****。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。
6765
+ """实例ID。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。
6758
6766
  :rtype: list of str
6759
6767
  """
6760
6768
  return self._InstanceIds
@@ -10053,9 +10061,9 @@ class RenameInstanceRequest(AbstractModel):
10053
10061
 
10054
10062
  def __init__(self):
10055
10063
  r"""
10056
- :param _InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
10064
+ :param _InstanceId: 实例ID,格式如:cmgo-p8vnipr5。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID
10057
10065
  :type InstanceId: str
10058
- :param _NewName: 自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 -
10066
+ :param _NewName: 自定义实例名称,要求为1~128 长度的任意字符。
10059
10067
  :type NewName: str
10060
10068
  """
10061
10069
  self._InstanceId = None
@@ -10063,7 +10071,7 @@ class RenameInstanceRequest(AbstractModel):
10063
10071
 
10064
10072
  @property
10065
10073
  def InstanceId(self):
10066
- """实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
10074
+ """实例ID,格式如:cmgo-p8vnipr5。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID
10067
10075
  :rtype: str
10068
10076
  """
10069
10077
  return self._InstanceId
@@ -10074,7 +10082,7 @@ class RenameInstanceRequest(AbstractModel):
10074
10082
 
10075
10083
  @property
10076
10084
  def NewName(self):
10077
- """自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 -
10085
+ """自定义实例名称,要求为1~128 长度的任意字符。
10078
10086
  :rtype: str
10079
10087
  """
10080
10088
  return self._NewName
@@ -10132,7 +10140,9 @@ class RenewDBInstancesRequest(AbstractModel):
10132
10140
 
10133
10141
  def __init__(self):
10134
10142
  r"""
10135
- :param _InstanceIds: 一个或多个待操作的实例ID。可通过DescribeInstances接口返回值中的InstanceId获取。每次请求批量实例的上限为100
10143
+ :param _InstanceIds: 指定续费的一个或多个待操作的实例ID。
10144
+ - 可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/240/38568)接口返回值中的**InstanceIds**获取。
10145
+ - 每次续费请求的实例数量上限为100。
10136
10146
  :type InstanceIds: list of str
10137
10147
  :param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。包年包月实例该参数为必传参数。
10138
10148
  :type InstanceChargePrepaid: :class:`tencentcloud.mongodb.v20190725.models.InstanceChargePrepaid`
@@ -10142,7 +10152,9 @@ class RenewDBInstancesRequest(AbstractModel):
10142
10152
 
10143
10153
  @property
10144
10154
  def InstanceIds(self):
10145
- """一个或多个待操作的实例ID。可通过DescribeInstances接口返回值中的InstanceId获取。每次请求批量实例的上限为100
10155
+ """指定续费的一个或多个待操作的实例ID。
10156
+ - 可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/240/38568)接口返回值中的**InstanceIds**获取。
10157
+ - 每次续费请求的实例数量上限为100。
10146
10158
  :rtype: list of str
10147
10159
  """
10148
10160
  return self._InstanceIds
@@ -35288,6 +35288,8 @@ class RemoteWrite(AbstractModel):
35288
35288
 
35289
35289
  @property
35290
35290
  def MaxBlockSize(self):
35291
+ warnings.warn("parameter `MaxBlockSize` is deprecated", DeprecationWarning)
35292
+
35291
35293
  """最大block
35292
35294
  注意:此字段可能返回 null,表示取不到有效值。
35293
35295
  :rtype: str
@@ -35296,10 +35298,14 @@ class RemoteWrite(AbstractModel):
35296
35298
 
35297
35299
  @MaxBlockSize.setter
35298
35300
  def MaxBlockSize(self, MaxBlockSize):
35301
+ warnings.warn("parameter `MaxBlockSize` is deprecated", DeprecationWarning)
35302
+
35299
35303
  self._MaxBlockSize = MaxBlockSize
35300
35304
 
35301
35305
  @property
35302
35306
  def Label(self):
35307
+ warnings.warn("parameter `Label` is deprecated", DeprecationWarning)
35308
+
35303
35309
  """Label
35304
35310
  注意:此字段可能返回 null,表示取不到有效值。
35305
35311
  :rtype: str
@@ -35308,6 +35314,8 @@ class RemoteWrite(AbstractModel):
35308
35314
 
35309
35315
  @Label.setter
35310
35316
  def Label(self, Label):
35317
+ warnings.warn("parameter `Label` is deprecated", DeprecationWarning)
35318
+
35311
35319
  self._Label = Label
35312
35320
 
35313
35321
  @property
@@ -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'