tencentcloud-sdk-python 3.0.1247__py2.py3-none-any.whl → 3.0.1249__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 (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cbs/v20170312/models.py +3 -3
  3. tencentcloud/cdn/v20180606/models.py +1 -1
  4. tencentcloud/cdwch/v20200915/models.py +26 -0
  5. tencentcloud/clb/v20180317/models.py +10 -5
  6. tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
  7. tencentcloud/cynosdb/v20190107/models.py +146 -0
  8. tencentcloud/dsgc/v20190723/models.py +190 -26
  9. tencentcloud/ess/v20201111/ess_client.py +8 -15
  10. tencentcloud/ess/v20201111/models.py +98 -10
  11. tencentcloud/essbasic/v20210526/essbasic_client.py +35 -15
  12. tencentcloud/essbasic/v20210526/models.py +144 -4
  13. tencentcloud/iotexplorer/v20190423/errorcodes.py +6 -0
  14. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
  15. tencentcloud/iotexplorer/v20190423/models.py +293 -0
  16. tencentcloud/iss/v20230517/errorcodes.py +3 -0
  17. tencentcloud/iss/v20230517/models.py +25 -0
  18. tencentcloud/lke/v20231130/models.py +1 -2
  19. tencentcloud/mongodb/v20190725/models.py +3 -4
  20. tencentcloud/mps/v20190612/errorcodes.py +3 -0
  21. tencentcloud/mps/v20190612/models.py +981 -17
  22. tencentcloud/mps/v20190612/mps_client.py +93 -0
  23. tencentcloud/oceanus/v20190422/models.py +146 -0
  24. tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
  25. tencentcloud/redis/v20180412/models.py +98 -1
  26. tencentcloud/redis/v20180412/redis_client.py +24 -1
  27. tencentcloud/tcss/v20201101/tcss_client.py +15 -5
  28. tencentcloud/tms/v20201229/errorcodes.py +3 -0
  29. tencentcloud/tms/v20201229/models.py +1 -1
  30. tencentcloud/trtc/v20190722/models.py +24 -5
  31. tencentcloud/waf/v20180125/models.py +1456 -515
  32. tencentcloud/waf/v20180125/waf_client.py +46 -0
  33. {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/RECORD +37 -37
  35. {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/top_level.txt +0 -0
@@ -2441,6 +2441,139 @@ class CreateDeviceResponse(AbstractModel):
2441
2441
  self._RequestId = params.get("RequestId")
2442
2442
 
2443
2443
 
2444
+ class CreateExternalSourceAIServiceTaskRequest(AbstractModel):
2445
+ """CreateExternalSourceAIServiceTask请求参数结构体
2446
+
2447
+ """
2448
+
2449
+ def __init__(self):
2450
+ r"""
2451
+ :param _ProductId: 产品 ID
2452
+ :type ProductId: str
2453
+ :param _ServiceType: 云存 AI 服务类型。可选值:
2454
+ - `RealtimeObjectDetect`:目标检测
2455
+ - `Highlight`:视频浓缩
2456
+ - `VideoToText`:视频语义理解
2457
+ :type ServiceType: str
2458
+ :param _VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
2459
+ :type VideoURLs: list of str
2460
+ :param _CustomId: 自定义任务 ID
2461
+ :type CustomId: str
2462
+ :param _Config: 视频分析配置参数
2463
+ :type Config: str
2464
+ :param _ROI: 视频分析识别区域
2465
+ :type ROI: str
2466
+ """
2467
+ self._ProductId = None
2468
+ self._ServiceType = None
2469
+ self._VideoURLs = None
2470
+ self._CustomId = None
2471
+ self._Config = None
2472
+ self._ROI = None
2473
+
2474
+ @property
2475
+ def ProductId(self):
2476
+ return self._ProductId
2477
+
2478
+ @ProductId.setter
2479
+ def ProductId(self, ProductId):
2480
+ self._ProductId = ProductId
2481
+
2482
+ @property
2483
+ def ServiceType(self):
2484
+ return self._ServiceType
2485
+
2486
+ @ServiceType.setter
2487
+ def ServiceType(self, ServiceType):
2488
+ self._ServiceType = ServiceType
2489
+
2490
+ @property
2491
+ def VideoURLs(self):
2492
+ return self._VideoURLs
2493
+
2494
+ @VideoURLs.setter
2495
+ def VideoURLs(self, VideoURLs):
2496
+ self._VideoURLs = VideoURLs
2497
+
2498
+ @property
2499
+ def CustomId(self):
2500
+ return self._CustomId
2501
+
2502
+ @CustomId.setter
2503
+ def CustomId(self, CustomId):
2504
+ self._CustomId = CustomId
2505
+
2506
+ @property
2507
+ def Config(self):
2508
+ return self._Config
2509
+
2510
+ @Config.setter
2511
+ def Config(self, Config):
2512
+ self._Config = Config
2513
+
2514
+ @property
2515
+ def ROI(self):
2516
+ return self._ROI
2517
+
2518
+ @ROI.setter
2519
+ def ROI(self, ROI):
2520
+ self._ROI = ROI
2521
+
2522
+
2523
+ def _deserialize(self, params):
2524
+ self._ProductId = params.get("ProductId")
2525
+ self._ServiceType = params.get("ServiceType")
2526
+ self._VideoURLs = params.get("VideoURLs")
2527
+ self._CustomId = params.get("CustomId")
2528
+ self._Config = params.get("Config")
2529
+ self._ROI = params.get("ROI")
2530
+ memeber_set = set(params.keys())
2531
+ for name, value in vars(self).items():
2532
+ property_name = name[1:]
2533
+ if property_name in memeber_set:
2534
+ memeber_set.remove(property_name)
2535
+ if len(memeber_set) > 0:
2536
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2537
+
2538
+
2539
+
2540
+ class CreateExternalSourceAIServiceTaskResponse(AbstractModel):
2541
+ """CreateExternalSourceAIServiceTask返回参数结构体
2542
+
2543
+ """
2544
+
2545
+ def __init__(self):
2546
+ r"""
2547
+ :param _TaskId: 任务 ID
2548
+ :type TaskId: str
2549
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2550
+ :type RequestId: str
2551
+ """
2552
+ self._TaskId = None
2553
+ self._RequestId = None
2554
+
2555
+ @property
2556
+ def TaskId(self):
2557
+ return self._TaskId
2558
+
2559
+ @TaskId.setter
2560
+ def TaskId(self, TaskId):
2561
+ self._TaskId = TaskId
2562
+
2563
+ @property
2564
+ def RequestId(self):
2565
+ return self._RequestId
2566
+
2567
+ @RequestId.setter
2568
+ def RequestId(self, RequestId):
2569
+ self._RequestId = RequestId
2570
+
2571
+
2572
+ def _deserialize(self, params):
2573
+ self._TaskId = params.get("TaskId")
2574
+ self._RequestId = params.get("RequestId")
2575
+
2576
+
2444
2577
  class CreateFenceBindRequest(AbstractModel):
2445
2578
  """CreateFenceBind请求参数结构体
2446
2579
 
@@ -14696,6 +14829,166 @@ class InstanceDetail(AbstractModel):
14696
14829
 
14697
14830
 
14698
14831
 
14832
+ class InvokeExternalSourceAIServiceTaskRequest(AbstractModel):
14833
+ """InvokeExternalSourceAIServiceTask请求参数结构体
14834
+
14835
+ """
14836
+
14837
+ def __init__(self):
14838
+ r"""
14839
+ :param _ProductId: 产品 ID
14840
+ :type ProductId: str
14841
+ :param _ServiceType: 云存 AI 服务类型。可选值:
14842
+ - `RealtimeObjectDetect`:目标检测
14843
+ - `Highlight`:视频浓缩
14844
+ - `VideoToText`:视频语义理解
14845
+ :type ServiceType: str
14846
+ :param _VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
14847
+ :type VideoURLs: list of str
14848
+ :param _CustomId: 自定义任务 ID
14849
+ :type CustomId: str
14850
+ :param _Config: 视频分析配置参数
14851
+ :type Config: str
14852
+ :param _ROI: 视频分析识别区域
14853
+ :type ROI: str
14854
+ """
14855
+ self._ProductId = None
14856
+ self._ServiceType = None
14857
+ self._VideoURLs = None
14858
+ self._CustomId = None
14859
+ self._Config = None
14860
+ self._ROI = None
14861
+
14862
+ @property
14863
+ def ProductId(self):
14864
+ return self._ProductId
14865
+
14866
+ @ProductId.setter
14867
+ def ProductId(self, ProductId):
14868
+ self._ProductId = ProductId
14869
+
14870
+ @property
14871
+ def ServiceType(self):
14872
+ return self._ServiceType
14873
+
14874
+ @ServiceType.setter
14875
+ def ServiceType(self, ServiceType):
14876
+ self._ServiceType = ServiceType
14877
+
14878
+ @property
14879
+ def VideoURLs(self):
14880
+ return self._VideoURLs
14881
+
14882
+ @VideoURLs.setter
14883
+ def VideoURLs(self, VideoURLs):
14884
+ self._VideoURLs = VideoURLs
14885
+
14886
+ @property
14887
+ def CustomId(self):
14888
+ return self._CustomId
14889
+
14890
+ @CustomId.setter
14891
+ def CustomId(self, CustomId):
14892
+ self._CustomId = CustomId
14893
+
14894
+ @property
14895
+ def Config(self):
14896
+ return self._Config
14897
+
14898
+ @Config.setter
14899
+ def Config(self, Config):
14900
+ self._Config = Config
14901
+
14902
+ @property
14903
+ def ROI(self):
14904
+ return self._ROI
14905
+
14906
+ @ROI.setter
14907
+ def ROI(self, ROI):
14908
+ self._ROI = ROI
14909
+
14910
+
14911
+ def _deserialize(self, params):
14912
+ self._ProductId = params.get("ProductId")
14913
+ self._ServiceType = params.get("ServiceType")
14914
+ self._VideoURLs = params.get("VideoURLs")
14915
+ self._CustomId = params.get("CustomId")
14916
+ self._Config = params.get("Config")
14917
+ self._ROI = params.get("ROI")
14918
+ memeber_set = set(params.keys())
14919
+ for name, value in vars(self).items():
14920
+ property_name = name[1:]
14921
+ if property_name in memeber_set:
14922
+ memeber_set.remove(property_name)
14923
+ if len(memeber_set) > 0:
14924
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14925
+
14926
+
14927
+
14928
+ class InvokeExternalSourceAIServiceTaskResponse(AbstractModel):
14929
+ """InvokeExternalSourceAIServiceTask返回参数结构体
14930
+
14931
+ """
14932
+
14933
+ def __init__(self):
14934
+ r"""
14935
+ :param _Completed: 任务是否执行完成
14936
+ :type Completed: bool
14937
+ :param _TaskId: 任务 ID
14938
+ :type TaskId: str
14939
+ :param _TaskInfo: 任务信息
14940
+ 注意:此字段可能返回 null,表示取不到有效值。
14941
+ :type TaskInfo: :class:`tencentcloud.iotexplorer.v20190423.models.CloudStorageAIServiceTask`
14942
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14943
+ :type RequestId: str
14944
+ """
14945
+ self._Completed = None
14946
+ self._TaskId = None
14947
+ self._TaskInfo = None
14948
+ self._RequestId = None
14949
+
14950
+ @property
14951
+ def Completed(self):
14952
+ return self._Completed
14953
+
14954
+ @Completed.setter
14955
+ def Completed(self, Completed):
14956
+ self._Completed = Completed
14957
+
14958
+ @property
14959
+ def TaskId(self):
14960
+ return self._TaskId
14961
+
14962
+ @TaskId.setter
14963
+ def TaskId(self, TaskId):
14964
+ self._TaskId = TaskId
14965
+
14966
+ @property
14967
+ def TaskInfo(self):
14968
+ return self._TaskInfo
14969
+
14970
+ @TaskInfo.setter
14971
+ def TaskInfo(self, TaskInfo):
14972
+ self._TaskInfo = TaskInfo
14973
+
14974
+ @property
14975
+ def RequestId(self):
14976
+ return self._RequestId
14977
+
14978
+ @RequestId.setter
14979
+ def RequestId(self, RequestId):
14980
+ self._RequestId = RequestId
14981
+
14982
+
14983
+ def _deserialize(self, params):
14984
+ self._Completed = params.get("Completed")
14985
+ self._TaskId = params.get("TaskId")
14986
+ if params.get("TaskInfo") is not None:
14987
+ self._TaskInfo = CloudStorageAIServiceTask()
14988
+ self._TaskInfo._deserialize(params.get("TaskInfo"))
14989
+ self._RequestId = params.get("RequestId")
14990
+
14991
+
14699
14992
  class ListEventHistoryRequest(AbstractModel):
14700
14993
  """ListEventHistory请求参数结构体
14701
14994
 
@@ -68,6 +68,9 @@ INVALIDPARAMETER_INVALIDLIFERULEPARAM = 'InvalidParameter.InvalidLifeRuleParam'
68
68
  # 无效的组织参数
69
69
  INVALIDPARAMETER_INVALIDORGANIZATIONPARAM = 'InvalidParameter.InvalidOrganizationParam'
70
70
 
71
+ # 无效的输入参数
72
+ INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
73
+
71
74
  # 参数格式不对或缺少参数
72
75
  INVALIDPARAMETER_INVALIDPARAMETERFORMAT = 'InvalidParameter.InvalidParameterFormat'
73
76
 
@@ -7487,11 +7487,14 @@ class DescribeRecordFileRequest(AbstractModel):
7487
7487
  :type StartTime: int
7488
7488
  :param _EndTime: 检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天
7489
7489
  :type EndTime: int
7490
+ :param _WithUrl: 是否携带每个时间段的播放url
7491
+ :type WithUrl: bool
7490
7492
  """
7491
7493
  self._DeviceId = None
7492
7494
  self._ChannelId = None
7493
7495
  self._StartTime = None
7494
7496
  self._EndTime = None
7497
+ self._WithUrl = None
7495
7498
 
7496
7499
  @property
7497
7500
  def DeviceId(self):
@@ -7525,12 +7528,21 @@ class DescribeRecordFileRequest(AbstractModel):
7525
7528
  def EndTime(self, EndTime):
7526
7529
  self._EndTime = EndTime
7527
7530
 
7531
+ @property
7532
+ def WithUrl(self):
7533
+ return self._WithUrl
7534
+
7535
+ @WithUrl.setter
7536
+ def WithUrl(self, WithUrl):
7537
+ self._WithUrl = WithUrl
7538
+
7528
7539
 
7529
7540
  def _deserialize(self, params):
7530
7541
  self._DeviceId = params.get("DeviceId")
7531
7542
  self._ChannelId = params.get("ChannelId")
7532
7543
  self._StartTime = params.get("StartTime")
7533
7544
  self._EndTime = params.get("EndTime")
7545
+ self._WithUrl = params.get("WithUrl")
7534
7546
  memeber_set = set(params.keys())
7535
7547
  for name, value in vars(self).items():
7536
7548
  property_name = name[1:]
@@ -13278,9 +13290,13 @@ class RecordTimeLine(AbstractModel):
13278
13290
  :type Begin: int
13279
13291
  :param _End: 时间片段结束时间,UTC秒数,例如:1662114146
13280
13292
  :type End: int
13293
+ :param _HlsUrl: 对应时间片段的播放url
13294
+ 注意:此字段可能返回 null,表示取不到有效值。
13295
+ :type HlsUrl: str
13281
13296
  """
13282
13297
  self._Begin = None
13283
13298
  self._End = None
13299
+ self._HlsUrl = None
13284
13300
 
13285
13301
  @property
13286
13302
  def Begin(self):
@@ -13298,10 +13314,19 @@ class RecordTimeLine(AbstractModel):
13298
13314
  def End(self, End):
13299
13315
  self._End = End
13300
13316
 
13317
+ @property
13318
+ def HlsUrl(self):
13319
+ return self._HlsUrl
13320
+
13321
+ @HlsUrl.setter
13322
+ def HlsUrl(self, HlsUrl):
13323
+ self._HlsUrl = HlsUrl
13324
+
13301
13325
 
13302
13326
  def _deserialize(self, params):
13303
13327
  self._Begin = params.get("Begin")
13304
13328
  self._End = params.get("End")
13329
+ self._HlsUrl = params.get("HlsUrl")
13305
13330
  memeber_set = set(params.keys())
13306
13331
  for name, value in vars(self).items():
13307
13332
  property_name = name[1:]
@@ -3979,8 +3979,7 @@ class DescribeDocResponse(AbstractModel):
3979
3979
  :type CosUrl: str
3980
3980
  :param _UpdateTime: 更新时间
3981
3981
  :type UpdateTime: str
3982
- :param _Status: 文档状态(5审核通过 7审核中 8审核不通过 9审核通过 10待发布 11发布中 12发布成功 13学习中 14学习失败)
3983
-
3982
+ :param _Status: 文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复
3984
3983
  :type Status: int
3985
3984
  :param _StatusDesc: 文档状态描述
3986
3985
  :type StatusDesc: str
@@ -1583,11 +1583,10 @@ class CreateDBInstanceRequest(AbstractModel):
1583
1583
  :type RestoreTime: str
1584
1584
  :param _InstanceName: 实例名称。仅支持长度为60个字符的中文、英文、数字、下划线_、分隔符- 。
1585
1585
  :type InstanceName: str
1586
- :param _AvailabilityZoneList: 多可用区部署的节点列表。具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)获取。
1586
+ :param _AvailabilityZoneList: 若多可用区部署云数据库实例,指定多可用区列表。
1587
+ - 多可用区部署实例,参数 **Zone** 指定实例主可用区信息;**AvailabilityZoneList** 指定所有可用区信息,包含主可用区。输入格式如:[ap-guangzhou-2,ap-guangzhou-3,ap-guangzhou-4]。
1588
+ - 通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 可获取云数据库不同地域规划的可用区信息,以便指定有效的可用区。
1587
1589
  - 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。
1588
- - 不支持4.2及以上版本。
1589
- - 不支持只读灾备实例。
1590
- - 不能选择基础网络。
1591
1590
  :type AvailabilityZoneList: list of str
1592
1591
  :param _MongosCpu: Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。
1593
1592
  :type MongosCpu: int
@@ -38,6 +38,9 @@ FAILEDOPERATION_INVALIDUSER = 'FailedOperation.InvalidUser'
38
38
  # 操作失败:设置源通知错误。
39
39
  FAILEDOPERATION_SETSOURCENOTIFY = 'FailedOperation.SetSourceNotify'
40
40
 
41
+ # 查询的任务不存在
42
+ FAILEDOPERATION_TASKNOTFOUND = 'FailedOperation.TaskNotFound'
43
+
41
44
  # 内部错误。
42
45
  INTERNALERROR = 'InternalError'
43
46