tencentcloud-sdk-python-iotexplorer 3.0.1420__tar.gz → 3.0.1438__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/setup.py +1 -1
  3. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  5. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
  6. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud/iotexplorer/v20190423/models.py +204 -4
  7. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-iotexplorer-3.0.1438/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-iotexplorer-3.0.1420/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/README.rst +0 -0
  11. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud/iotexplorer/__init__.py +0 -0
  13. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
  14. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-iotexplorer-3.0.1420 → tencentcloud-sdk-python-iotexplorer-3.0.1438}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.1420
3
+ Version: 3.0.1438
4
4
  Summary: Tencent Cloud Iotexplorer SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-iotexplorer',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1420,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1438,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Iotexplorer SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1420'
17
+ __version__ = '3.0.1438'
@@ -77,9 +77,15 @@ FAILEDOPERATION_RULEALREADYENABLED = 'FailedOperation.RuleAlreadyEnabled'
77
77
  # 部分产品已经被绑定。
78
78
  FAILEDOPERATION_SOMEPRODUCTISALREADYBINDED = 'FailedOperation.SomeProductIsAlreadyBinded'
79
79
 
80
+ # 目标设备存在启用状态的 TWeSee 配置
81
+ FAILEDOPERATION_TARGETDEVICEHASENABLEDWESEECONFIG = 'FailedOperation.TargetDeviceHasEnabledWeSeeConfig'
82
+
80
83
  # 超过时间。
81
84
  FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout'
82
85
 
86
+ # 未开通 TWeSee 后付费服务
87
+ FAILEDOPERATION_WESEESERVICENOTENABLED = 'FailedOperation.WeSeeServiceNotEnabled'
88
+
83
89
  # 内部错误。
84
90
  INTERNALERROR = 'InternalError'
85
91
 
@@ -458,12 +464,18 @@ RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = 'ResourceNotFound.TopicPolicyNotExist'
458
464
  # 规则不存在。
459
465
  RESOURCENOTFOUND_TOPICRULENOTEXIST = 'ResourceNotFound.TopicRuleNotExist'
460
466
 
467
+ # TWeSee 后付费资源已隔离
468
+ RESOURCEUNAVAILABLE_WESEESERVICEISOLATED = 'ResourceUnavailable.WeSeeServiceIsolated'
469
+
461
470
  # 未授权操作。
462
471
  UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
463
472
 
464
473
  # APP对产品没有权限。
465
474
  UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = 'UnauthorizedOperation.APPNoPermissionToStudioProduct'
466
475
 
476
+ # 该账号未在白名单内,不能通过 API 创建 AI 任务
477
+ UNAUTHORIZEDOPERATION_APICREATEAITASKNOTINWHITELIST = 'UnauthorizedOperation.ApiCreateAITaskNotInWhitelist'
478
+
467
479
  # App无权限。
468
480
  UNAUTHORIZEDOPERATION_APPNOPERMISSION = 'UnauthorizedOperation.AppNoPermission'
469
481
 
@@ -165,7 +165,9 @@ class IotexplorerClient(AbstractClient):
165
165
 
166
166
 
167
167
  def CancelAssignTWeCallLicense(self, request):
168
- """取消分配
168
+ """业务已下线
169
+
170
+ 取消分配
169
171
 
170
172
  :param request: Request instance for CancelAssignTWeCallLicense.
171
173
  :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CancelAssignTWeCallLicenseRequest`
@@ -5869,6 +5869,8 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
5869
5869
  - `minutely`:分钟级(默认值)
5870
5870
  - `immediate`:立即
5871
5871
  :type SummaryQOS: str
5872
+ :param _SummaryConfig: 摘要输出配置
5873
+ :type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
5872
5874
  """
5873
5875
  self._ProductId = None
5874
5876
  self._DeviceName = None
@@ -5881,6 +5883,7 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
5881
5883
  self._IsCustomDevice = None
5882
5884
  self._InputType = None
5883
5885
  self._SummaryQOS = None
5886
+ self._SummaryConfig = None
5884
5887
 
5885
5888
  @property
5886
5889
  def ProductId(self):
@@ -6009,6 +6012,17 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
6009
6012
  def SummaryQOS(self, SummaryQOS):
6010
6013
  self._SummaryQOS = SummaryQOS
6011
6014
 
6015
+ @property
6016
+ def SummaryConfig(self):
6017
+ """摘要输出配置
6018
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
6019
+ """
6020
+ return self._SummaryConfig
6021
+
6022
+ @SummaryConfig.setter
6023
+ def SummaryConfig(self, SummaryConfig):
6024
+ self._SummaryConfig = SummaryConfig
6025
+
6012
6026
 
6013
6027
  def _deserialize(self, params):
6014
6028
  self._ProductId = params.get("ProductId")
@@ -6022,6 +6036,9 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
6022
6036
  self._IsCustomDevice = params.get("IsCustomDevice")
6023
6037
  self._InputType = params.get("InputType")
6024
6038
  self._SummaryQOS = params.get("SummaryQOS")
6039
+ if params.get("SummaryConfig") is not None:
6040
+ self._SummaryConfig = VisionSummaryConfig()
6041
+ self._SummaryConfig._deserialize(params.get("SummaryConfig"))
6025
6042
  memeber_set = set(params.keys())
6026
6043
  for name, value in vars(self).items():
6027
6044
  property_name = name[1:]
@@ -21158,6 +21175,8 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
21158
21175
  - `minutely`:分钟级(默认值)
21159
21176
  - `immediate`:立即
21160
21177
  :type SummaryQOS: str
21178
+ :param _SummaryConfig: 摘要输出配置
21179
+ :type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
21161
21180
  """
21162
21181
  self._ProductId = None
21163
21182
  self._DeviceName = None
@@ -21170,6 +21189,7 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
21170
21189
  self._IsCustomDevice = None
21171
21190
  self._InputType = None
21172
21191
  self._SummaryQOS = None
21192
+ self._SummaryConfig = None
21173
21193
 
21174
21194
  @property
21175
21195
  def ProductId(self):
@@ -21298,6 +21318,17 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
21298
21318
  def SummaryQOS(self, SummaryQOS):
21299
21319
  self._SummaryQOS = SummaryQOS
21300
21320
 
21321
+ @property
21322
+ def SummaryConfig(self):
21323
+ """摘要输出配置
21324
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
21325
+ """
21326
+ return self._SummaryConfig
21327
+
21328
+ @SummaryConfig.setter
21329
+ def SummaryConfig(self, SummaryConfig):
21330
+ self._SummaryConfig = SummaryConfig
21331
+
21301
21332
 
21302
21333
  def _deserialize(self, params):
21303
21334
  self._ProductId = params.get("ProductId")
@@ -21311,6 +21342,9 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
21311
21342
  self._IsCustomDevice = params.get("IsCustomDevice")
21312
21343
  self._InputType = params.get("InputType")
21313
21344
  self._SummaryQOS = params.get("SummaryQOS")
21345
+ if params.get("SummaryConfig") is not None:
21346
+ self._SummaryConfig = VisionSummaryConfig()
21347
+ self._SummaryConfig._deserialize(params.get("SummaryConfig"))
21314
21348
  memeber_set = set(params.keys())
21315
21349
  for name, value in vars(self).items():
21316
21350
  property_name = name[1:]
@@ -24750,6 +24784,8 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
24750
24784
  :type EnableSearch: bool
24751
24785
  :param _Config: 配置参数,不传则不修改
24752
24786
  :type Config: str
24787
+ :param _SummaryConfig: 视频摘要配置参数,不传则不修改
24788
+ :type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
24753
24789
  """
24754
24790
  self._ProductId = None
24755
24791
  self._DeviceName = None
@@ -24758,6 +24794,7 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
24758
24794
  self._EnableSummary = None
24759
24795
  self._EnableSearch = None
24760
24796
  self._Config = None
24797
+ self._SummaryConfig = None
24761
24798
 
24762
24799
  @property
24763
24800
  def ProductId(self):
@@ -24836,6 +24873,17 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
24836
24873
  def Config(self, Config):
24837
24874
  self._Config = Config
24838
24875
 
24876
+ @property
24877
+ def SummaryConfig(self):
24878
+ """视频摘要配置参数,不传则不修改
24879
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
24880
+ """
24881
+ return self._SummaryConfig
24882
+
24883
+ @SummaryConfig.setter
24884
+ def SummaryConfig(self, SummaryConfig):
24885
+ self._SummaryConfig = SummaryConfig
24886
+
24839
24887
 
24840
24888
  def _deserialize(self, params):
24841
24889
  self._ProductId = params.get("ProductId")
@@ -24845,6 +24893,9 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
24845
24893
  self._EnableSummary = params.get("EnableSummary")
24846
24894
  self._EnableSearch = params.get("EnableSearch")
24847
24895
  self._Config = params.get("Config")
24896
+ if params.get("SummaryConfig") is not None:
24897
+ self._SummaryConfig = VisionSummaryConfig()
24898
+ self._SummaryConfig._deserialize(params.get("SummaryConfig"))
24848
24899
  memeber_set = set(params.keys())
24849
24900
  for name, value in vars(self).items():
24850
24901
  property_name = name[1:]
@@ -30421,7 +30472,7 @@ class VisionRecognitionResult(AbstractModel):
30421
30472
 
30422
30473
  def __init__(self):
30423
30474
  r"""
30424
- :param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功)
30475
+ :param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
30425
30476
  :type Status: int
30426
30477
  :param _DetectedClassifications: 识别到的目标类型。可能取值:
30427
30478
 
@@ -30433,21 +30484,26 @@ class VisionRecognitionResult(AbstractModel):
30433
30484
  - `smoke`:烟雾
30434
30485
  - `package`:快递包裹
30435
30486
  - `license_plate`:车牌
30436
-
30437
30487
  :type DetectedClassifications: list of str
30438
30488
  :param _Summary: 摘要文本
30439
30489
  :type Summary: str
30440
30490
  :param _AlternativeSummary: 摘要文本(次选语言)
30441
30491
  :type AlternativeSummary: str
30492
+ :param _ErrorCode: 错误码,可能取值:
30493
+
30494
+ - `DownloadFailed`:下载视频/图片文件失败
30495
+ - `ReadFailed`:读取视频/图片文件失败
30496
+ :type ErrorCode: str
30442
30497
  """
30443
30498
  self._Status = None
30444
30499
  self._DetectedClassifications = None
30445
30500
  self._Summary = None
30446
30501
  self._AlternativeSummary = None
30502
+ self._ErrorCode = None
30447
30503
 
30448
30504
  @property
30449
30505
  def Status(self):
30450
- """任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功)
30506
+ """任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
30451
30507
  :rtype: int
30452
30508
  """
30453
30509
  return self._Status
@@ -30468,7 +30524,6 @@ class VisionRecognitionResult(AbstractModel):
30468
30524
  - `smoke`:烟雾
30469
30525
  - `package`:快递包裹
30470
30526
  - `license_plate`:车牌
30471
-
30472
30527
  :rtype: list of str
30473
30528
  """
30474
30529
  return self._DetectedClassifications
@@ -30499,12 +30554,157 @@ class VisionRecognitionResult(AbstractModel):
30499
30554
  def AlternativeSummary(self, AlternativeSummary):
30500
30555
  self._AlternativeSummary = AlternativeSummary
30501
30556
 
30557
+ @property
30558
+ def ErrorCode(self):
30559
+ """错误码,可能取值:
30560
+
30561
+ - `DownloadFailed`:下载视频/图片文件失败
30562
+ - `ReadFailed`:读取视频/图片文件失败
30563
+ :rtype: str
30564
+ """
30565
+ return self._ErrorCode
30566
+
30567
+ @ErrorCode.setter
30568
+ def ErrorCode(self, ErrorCode):
30569
+ self._ErrorCode = ErrorCode
30570
+
30502
30571
 
30503
30572
  def _deserialize(self, params):
30504
30573
  self._Status = params.get("Status")
30505
30574
  self._DetectedClassifications = params.get("DetectedClassifications")
30506
30575
  self._Summary = params.get("Summary")
30507
30576
  self._AlternativeSummary = params.get("AlternativeSummary")
30577
+ self._ErrorCode = params.get("ErrorCode")
30578
+ memeber_set = set(params.keys())
30579
+ for name, value in vars(self).items():
30580
+ property_name = name[1:]
30581
+ if property_name in memeber_set:
30582
+ memeber_set.remove(property_name)
30583
+ if len(memeber_set) > 0:
30584
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
30585
+
30586
+
30587
+
30588
+ class VisionSummaryConfig(AbstractModel):
30589
+ """视频摘要配置
30590
+
30591
+ """
30592
+
30593
+ def __init__(self):
30594
+ r"""
30595
+ :param _OutputLang: 主输出语言
30596
+
30597
+ 支持列表如下:
30598
+ zh 中文
30599
+ en 英语
30600
+ ja 日语
30601
+ ko 韩文
30602
+ pt-BR 葡萄牙语(巴西)
30603
+ th 泰语
30604
+
30605
+ :type OutputLang: str
30606
+ :param _AlternativeOutputLang: 可选输出语言
30607
+
30608
+ 支持列表如下:
30609
+ zh 中文
30610
+ en 英语
30611
+ ja 日语
30612
+ ko 韩文
30613
+ pt-BR 葡萄牙语(巴西)
30614
+ th 泰语
30615
+
30616
+ :type AlternativeOutputLang: str
30617
+ :param _MultiCameraLayout: 多摄像头布局定义。可能取值:
30618
+
30619
+ - 单摄(默认值):`Single`
30620
+
30621
+ - 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
30622
+ - 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
30623
+ - 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
30624
+
30625
+ - 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
30626
+ - 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
30627
+ - 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
30628
+ - 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
30629
+ - 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
30630
+ - 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
30631
+ - 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
30632
+ :type MultiCameraLayout: str
30633
+ """
30634
+ self._OutputLang = None
30635
+ self._AlternativeOutputLang = None
30636
+ self._MultiCameraLayout = None
30637
+
30638
+ @property
30639
+ def OutputLang(self):
30640
+ """主输出语言
30641
+
30642
+ 支持列表如下:
30643
+ zh 中文
30644
+ en 英语
30645
+ ja 日语
30646
+ ko 韩文
30647
+ pt-BR 葡萄牙语(巴西)
30648
+ th 泰语
30649
+
30650
+ :rtype: str
30651
+ """
30652
+ return self._OutputLang
30653
+
30654
+ @OutputLang.setter
30655
+ def OutputLang(self, OutputLang):
30656
+ self._OutputLang = OutputLang
30657
+
30658
+ @property
30659
+ def AlternativeOutputLang(self):
30660
+ """可选输出语言
30661
+
30662
+ 支持列表如下:
30663
+ zh 中文
30664
+ en 英语
30665
+ ja 日语
30666
+ ko 韩文
30667
+ pt-BR 葡萄牙语(巴西)
30668
+ th 泰语
30669
+
30670
+ :rtype: str
30671
+ """
30672
+ return self._AlternativeOutputLang
30673
+
30674
+ @AlternativeOutputLang.setter
30675
+ def AlternativeOutputLang(self, AlternativeOutputLang):
30676
+ self._AlternativeOutputLang = AlternativeOutputLang
30677
+
30678
+ @property
30679
+ def MultiCameraLayout(self):
30680
+ """多摄像头布局定义。可能取值:
30681
+
30682
+ - 单摄(默认值):`Single`
30683
+
30684
+ - 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
30685
+ - 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
30686
+ - 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
30687
+
30688
+ - 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
30689
+ - 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
30690
+ - 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
30691
+ - 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
30692
+ - 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
30693
+ - 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
30694
+ - 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
30695
+ :rtype: str
30696
+ """
30697
+ return self._MultiCameraLayout
30698
+
30699
+ @MultiCameraLayout.setter
30700
+ def MultiCameraLayout(self, MultiCameraLayout):
30701
+ self._MultiCameraLayout = MultiCameraLayout
30702
+
30703
+
30704
+ def _deserialize(self, params):
30705
+ self._OutputLang = params.get("OutputLang")
30706
+ self._AlternativeOutputLang = params.get("AlternativeOutputLang")
30707
+ self._MultiCameraLayout = params.get("MultiCameraLayout")
30508
30708
  memeber_set = set(params.keys())
30509
30709
  for name, value in vars(self).items():
30510
30710
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.1420
3
+ Version: 3.0.1438
4
4
  Summary: Tencent Cloud Iotexplorer SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1438
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1420