tencentcloud-sdk-python-iotexplorer 3.0.1198__tar.gz → 3.0.1204__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.
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud/iotexplorer/v20190423/errorcodes.py +18 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +47 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud/iotexplorer/v20190423/models.py +326 -29
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1204/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1198/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1198 → tencentcloud-sdk-python-iotexplorer-3.0.1204}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1204"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -26,9 +26,15 @@ FAILEDOPERATION_ACTIONUNREACHABLE = 'FailedOperation.ActionUnreachable'
|
|
|
26
26
|
# 广播任务正在执行。
|
|
27
27
|
FAILEDOPERATION_BROADCASTTASKISRUNNING = 'FailedOperation.BroadcastTaskIsRunning'
|
|
28
28
|
|
|
29
|
+
# 云存 AI 套餐生效时长不能超过当前云存套餐生效时长
|
|
30
|
+
FAILEDOPERATION_CLOUDSTORAGEAIPACKAGEEXPIRETIMEEXCEEDED = 'FailedOperation.CloudStorageAIPackageExpireTimeExceeded'
|
|
31
|
+
|
|
29
32
|
# 产品未开通视频AI分析服务
|
|
30
33
|
FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = 'FailedOperation.CloudStorageAIServiceNotEnabled'
|
|
31
34
|
|
|
35
|
+
# 需先开通云存套餐
|
|
36
|
+
FAILEDOPERATION_CLOUDSTORAGEPACKAGEREQUIRED = 'FailedOperation.CloudStoragePackageRequired'
|
|
37
|
+
|
|
32
38
|
# 设备已经被禁用。
|
|
33
39
|
FAILEDOPERATION_DEVICEALREADYDISABLED = 'FailedOperation.DeviceAlreadyDisabled'
|
|
34
40
|
|
|
@@ -47,6 +53,9 @@ FAILEDOPERATION_DEVICEOFFLINE = 'FailedOperation.DeviceOffline'
|
|
|
47
53
|
# 存在其他升级任务。
|
|
48
54
|
FAILEDOPERATION_OTHERUPDATETASKEXIST = 'FailedOperation.OtherUpdateTaskExist'
|
|
49
55
|
|
|
56
|
+
# 产品未开通 IoT Video 服务
|
|
57
|
+
FAILEDOPERATION_PRODUCTIOTVIDEOSERVICENOTENABLED = 'FailedOperation.ProductIotVideoServiceNotEnabled'
|
|
58
|
+
|
|
50
59
|
# 产品尚未发布。
|
|
51
60
|
FAILEDOPERATION_PRODUCTNOTRELEASED = 'FailedOperation.ProductNotReleased'
|
|
52
61
|
|
|
@@ -137,6 +146,9 @@ INVALIDPARAMETERVALUE_APPNOTEXISTS = 'InvalidParameterValue.AppNotExists'
|
|
|
137
146
|
# 检查第三方URL超时或失败。
|
|
138
147
|
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = 'InvalidParameterValue.CheckForwardURLFail'
|
|
139
148
|
|
|
149
|
+
# 指定的云存 AI 套餐不存在
|
|
150
|
+
INVALIDPARAMETERVALUE_CLOUDSTORAGEAIPACKAGEIDNOTEXIST = 'InvalidParameterValue.CloudStorageAIPackageIdNotExist'
|
|
151
|
+
|
|
140
152
|
# 创建的设备名已存在。
|
|
141
153
|
INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = 'InvalidParameterValue.DeviceAlreadyExist'
|
|
142
154
|
|
|
@@ -491,6 +503,12 @@ UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = 'UnsupportedOperation.BindsExistUnde
|
|
|
491
503
|
# 存在重复的绑定关系。
|
|
492
504
|
UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = 'UnsupportedOperation.CannotReBindFamily'
|
|
493
505
|
|
|
506
|
+
# 云存套餐与云存 AI 套餐时长不匹配
|
|
507
|
+
UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETIMEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTimeMismatch'
|
|
508
|
+
|
|
509
|
+
# 云存套餐与云存 AI 套餐类型不匹配
|
|
510
|
+
UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETYPEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTypeMismatch'
|
|
511
|
+
|
|
494
512
|
# 创建的设备已经存在。
|
|
495
513
|
UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = 'UnsupportedOperation.DeviceDupKeyExist'
|
|
496
514
|
|
|
@@ -279,6 +279,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
279
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
def CreateCloudStorageAIService(self, request):
|
|
283
|
+
"""开通设备云存AI分析服务
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for CreateCloudStorageAIService.
|
|
286
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("CreateCloudStorageAIService", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.CreateCloudStorageAIServiceResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
282
305
|
def CreateDevice(self, request):
|
|
283
306
|
"""创建设备
|
|
284
307
|
|
|
@@ -2534,7 +2557,7 @@ class IotexplorerClient(AbstractClient):
|
|
|
2534
2557
|
|
|
2535
2558
|
|
|
2536
2559
|
def ModifyCloudStorageAIService(self, request):
|
|
2537
|
-
"""修改指定设备的云存 AI
|
|
2560
|
+
"""修改指定设备的云存 AI 服务参数配置
|
|
2538
2561
|
|
|
2539
2562
|
:param request: Request instance for ModifyCloudStorageAIService.
|
|
2540
2563
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyCloudStorageAIServiceRequest`
|
|
@@ -3016,6 +3039,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
3016
3039
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3017
3040
|
|
|
3018
3041
|
|
|
3042
|
+
def ResetCloudStorageAIService(self, request):
|
|
3043
|
+
"""重置指定设备的云存 AI 服务
|
|
3044
|
+
|
|
3045
|
+
:param request: Request instance for ResetCloudStorageAIService.
|
|
3046
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceRequest`
|
|
3047
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceResponse`
|
|
3048
|
+
|
|
3049
|
+
"""
|
|
3050
|
+
try:
|
|
3051
|
+
params = request._serialize()
|
|
3052
|
+
headers = request.headers
|
|
3053
|
+
body = self.call("ResetCloudStorageAIService", params, headers=headers)
|
|
3054
|
+
response = json.loads(body)
|
|
3055
|
+
model = models.ResetCloudStorageAIServiceResponse()
|
|
3056
|
+
model._deserialize(response["Response"])
|
|
3057
|
+
return model
|
|
3058
|
+
except Exception as e:
|
|
3059
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3060
|
+
raise
|
|
3061
|
+
else:
|
|
3062
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3063
|
+
|
|
3064
|
+
|
|
3019
3065
|
def ResetCloudStorageEvent(self, request):
|
|
3020
3066
|
"""重置云存事件
|
|
3021
3067
|
|
|
@@ -2106,6 +2106,137 @@ class CreateBatchProductionResponse(AbstractModel):
|
|
|
2106
2106
|
self._RequestId = params.get("RequestId")
|
|
2107
2107
|
|
|
2108
2108
|
|
|
2109
|
+
class CreateCloudStorageAIServiceRequest(AbstractModel):
|
|
2110
|
+
"""CreateCloudStorageAIService请求参数结构体
|
|
2111
|
+
|
|
2112
|
+
"""
|
|
2113
|
+
|
|
2114
|
+
def __init__(self):
|
|
2115
|
+
r"""
|
|
2116
|
+
:param _ProductId: 产品 ID
|
|
2117
|
+
:type ProductId: str
|
|
2118
|
+
:param _DeviceName: 设备名称
|
|
2119
|
+
:type DeviceName: str
|
|
2120
|
+
:param _PackageId: 云存 AI 套餐 ID。可选值:
|
|
2121
|
+
|
|
2122
|
+
- `1m_low_od`:低功耗目标检测月套餐
|
|
2123
|
+
- `1y_low_od`:低功耗目标检测年套餐
|
|
2124
|
+
- `1m_ev_od`:事件目标检测月套餐
|
|
2125
|
+
- `1y_ev_od`:事件目标检测年套餐
|
|
2126
|
+
- `1m_ft_od`:全时目标检测月套餐
|
|
2127
|
+
- `1y_ft_od`:全时目标检测年套餐
|
|
2128
|
+
- `1m_low_hl`:低功耗视频浓缩月套餐
|
|
2129
|
+
- `1y_low_hl`:低功耗视频浓缩年套餐
|
|
2130
|
+
- `1m_ev_hl`:事件视频浓缩月套餐
|
|
2131
|
+
- `1y_ev_hl`:事件视频浓缩年套餐
|
|
2132
|
+
- `1m_ft_hl`:全时视频浓缩月套餐
|
|
2133
|
+
- `1y_ft_hl`:全时视频浓缩年套餐
|
|
2134
|
+
:type PackageId: str
|
|
2135
|
+
:param _ChannelId: 通道 ID
|
|
2136
|
+
:type ChannelId: int
|
|
2137
|
+
:param _OrderId: 订单 ID
|
|
2138
|
+
:type OrderId: str
|
|
2139
|
+
"""
|
|
2140
|
+
self._ProductId = None
|
|
2141
|
+
self._DeviceName = None
|
|
2142
|
+
self._PackageId = None
|
|
2143
|
+
self._ChannelId = None
|
|
2144
|
+
self._OrderId = None
|
|
2145
|
+
|
|
2146
|
+
@property
|
|
2147
|
+
def ProductId(self):
|
|
2148
|
+
return self._ProductId
|
|
2149
|
+
|
|
2150
|
+
@ProductId.setter
|
|
2151
|
+
def ProductId(self, ProductId):
|
|
2152
|
+
self._ProductId = ProductId
|
|
2153
|
+
|
|
2154
|
+
@property
|
|
2155
|
+
def DeviceName(self):
|
|
2156
|
+
return self._DeviceName
|
|
2157
|
+
|
|
2158
|
+
@DeviceName.setter
|
|
2159
|
+
def DeviceName(self, DeviceName):
|
|
2160
|
+
self._DeviceName = DeviceName
|
|
2161
|
+
|
|
2162
|
+
@property
|
|
2163
|
+
def PackageId(self):
|
|
2164
|
+
return self._PackageId
|
|
2165
|
+
|
|
2166
|
+
@PackageId.setter
|
|
2167
|
+
def PackageId(self, PackageId):
|
|
2168
|
+
self._PackageId = PackageId
|
|
2169
|
+
|
|
2170
|
+
@property
|
|
2171
|
+
def ChannelId(self):
|
|
2172
|
+
return self._ChannelId
|
|
2173
|
+
|
|
2174
|
+
@ChannelId.setter
|
|
2175
|
+
def ChannelId(self, ChannelId):
|
|
2176
|
+
self._ChannelId = ChannelId
|
|
2177
|
+
|
|
2178
|
+
@property
|
|
2179
|
+
def OrderId(self):
|
|
2180
|
+
return self._OrderId
|
|
2181
|
+
|
|
2182
|
+
@OrderId.setter
|
|
2183
|
+
def OrderId(self, OrderId):
|
|
2184
|
+
self._OrderId = OrderId
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
def _deserialize(self, params):
|
|
2188
|
+
self._ProductId = params.get("ProductId")
|
|
2189
|
+
self._DeviceName = params.get("DeviceName")
|
|
2190
|
+
self._PackageId = params.get("PackageId")
|
|
2191
|
+
self._ChannelId = params.get("ChannelId")
|
|
2192
|
+
self._OrderId = params.get("OrderId")
|
|
2193
|
+
memeber_set = set(params.keys())
|
|
2194
|
+
for name, value in vars(self).items():
|
|
2195
|
+
property_name = name[1:]
|
|
2196
|
+
if property_name in memeber_set:
|
|
2197
|
+
memeber_set.remove(property_name)
|
|
2198
|
+
if len(memeber_set) > 0:
|
|
2199
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
|
|
2203
|
+
class CreateCloudStorageAIServiceResponse(AbstractModel):
|
|
2204
|
+
"""CreateCloudStorageAIService返回参数结构体
|
|
2205
|
+
|
|
2206
|
+
"""
|
|
2207
|
+
|
|
2208
|
+
def __init__(self):
|
|
2209
|
+
r"""
|
|
2210
|
+
:param _OrderId: 订单 ID
|
|
2211
|
+
:type OrderId: str
|
|
2212
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2213
|
+
:type RequestId: str
|
|
2214
|
+
"""
|
|
2215
|
+
self._OrderId = None
|
|
2216
|
+
self._RequestId = None
|
|
2217
|
+
|
|
2218
|
+
@property
|
|
2219
|
+
def OrderId(self):
|
|
2220
|
+
return self._OrderId
|
|
2221
|
+
|
|
2222
|
+
@OrderId.setter
|
|
2223
|
+
def OrderId(self, OrderId):
|
|
2224
|
+
self._OrderId = OrderId
|
|
2225
|
+
|
|
2226
|
+
@property
|
|
2227
|
+
def RequestId(self):
|
|
2228
|
+
return self._RequestId
|
|
2229
|
+
|
|
2230
|
+
@RequestId.setter
|
|
2231
|
+
def RequestId(self, RequestId):
|
|
2232
|
+
self._RequestId = RequestId
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
def _deserialize(self, params):
|
|
2236
|
+
self._OrderId = params.get("OrderId")
|
|
2237
|
+
self._RequestId = params.get("RequestId")
|
|
2238
|
+
|
|
2239
|
+
|
|
2109
2240
|
class CreateDeviceRequest(AbstractModel):
|
|
2110
2241
|
"""CreateDevice请求参数结构体
|
|
2111
2242
|
|
|
@@ -4718,7 +4849,7 @@ class DescribeCloudStorageAIServiceCallbackRequest(AbstractModel):
|
|
|
4718
4849
|
|
|
4719
4850
|
def __init__(self):
|
|
4720
4851
|
r"""
|
|
4721
|
-
:param _ProductId: 产品ID
|
|
4852
|
+
:param _ProductId: 产品 ID
|
|
4722
4853
|
:type ProductId: str
|
|
4723
4854
|
"""
|
|
4724
4855
|
self._ProductId = None
|
|
@@ -4814,13 +4945,12 @@ class DescribeCloudStorageAIServiceRequest(AbstractModel):
|
|
|
4814
4945
|
|
|
4815
4946
|
def __init__(self):
|
|
4816
4947
|
r"""
|
|
4817
|
-
:param _ProductId: 产品ID
|
|
4948
|
+
:param _ProductId: 产品 ID
|
|
4818
4949
|
:type ProductId: str
|
|
4819
4950
|
:param _DeviceName: 设备名称
|
|
4820
4951
|
:type DeviceName: str
|
|
4821
4952
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
4822
|
-
|
|
4823
|
-
- `PackageDetect`:包裹检测
|
|
4953
|
+
- `RealtimeObjectDetect`:目标检测
|
|
4824
4954
|
- `Highlight`:视频浓缩
|
|
4825
4955
|
:type ServiceType: str
|
|
4826
4956
|
"""
|
|
@@ -4874,20 +5004,75 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4874
5004
|
|
|
4875
5005
|
def __init__(self):
|
|
4876
5006
|
r"""
|
|
4877
|
-
:param
|
|
5007
|
+
:param _Type: 云存 AI 套餐类型。可能取值:
|
|
5008
|
+
|
|
5009
|
+
- `1`:全时套餐
|
|
5010
|
+
- `2`:事件套餐
|
|
5011
|
+
- `3`:低功耗套餐
|
|
5012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5013
|
+
:type Type: int
|
|
5014
|
+
:param _Status: 云存 AI 套餐生效状态。可能取值:
|
|
5015
|
+
|
|
5016
|
+
- `0`:未开通或已过期
|
|
5017
|
+
- `1`:生效中
|
|
5018
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5019
|
+
:type Status: int
|
|
5020
|
+
:param _ExpireTime: 云存 AI 套餐过期时间 UNIX 时间戳
|
|
5021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5022
|
+
:type ExpireTime: int
|
|
5023
|
+
:param _UserId: 用户 ID
|
|
5024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5025
|
+
:type UserId: str
|
|
5026
|
+
:param _Enabled: 视频分析启用状态
|
|
4878
5027
|
:type Enabled: bool
|
|
4879
|
-
:param
|
|
4880
|
-
:type ROI: str
|
|
4881
|
-
:param _Config: 云存 AI 服务的配置参数
|
|
5028
|
+
:param _Config: 视频分析配置参数
|
|
4882
5029
|
:type Config: str
|
|
5030
|
+
:param _ROI: 视频分析识别区域
|
|
5031
|
+
:type ROI: str
|
|
4883
5032
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4884
5033
|
:type RequestId: str
|
|
4885
5034
|
"""
|
|
5035
|
+
self._Type = None
|
|
5036
|
+
self._Status = None
|
|
5037
|
+
self._ExpireTime = None
|
|
5038
|
+
self._UserId = None
|
|
4886
5039
|
self._Enabled = None
|
|
4887
|
-
self._ROI = None
|
|
4888
5040
|
self._Config = None
|
|
5041
|
+
self._ROI = None
|
|
4889
5042
|
self._RequestId = None
|
|
4890
5043
|
|
|
5044
|
+
@property
|
|
5045
|
+
def Type(self):
|
|
5046
|
+
return self._Type
|
|
5047
|
+
|
|
5048
|
+
@Type.setter
|
|
5049
|
+
def Type(self, Type):
|
|
5050
|
+
self._Type = Type
|
|
5051
|
+
|
|
5052
|
+
@property
|
|
5053
|
+
def Status(self):
|
|
5054
|
+
return self._Status
|
|
5055
|
+
|
|
5056
|
+
@Status.setter
|
|
5057
|
+
def Status(self, Status):
|
|
5058
|
+
self._Status = Status
|
|
5059
|
+
|
|
5060
|
+
@property
|
|
5061
|
+
def ExpireTime(self):
|
|
5062
|
+
return self._ExpireTime
|
|
5063
|
+
|
|
5064
|
+
@ExpireTime.setter
|
|
5065
|
+
def ExpireTime(self, ExpireTime):
|
|
5066
|
+
self._ExpireTime = ExpireTime
|
|
5067
|
+
|
|
5068
|
+
@property
|
|
5069
|
+
def UserId(self):
|
|
5070
|
+
return self._UserId
|
|
5071
|
+
|
|
5072
|
+
@UserId.setter
|
|
5073
|
+
def UserId(self, UserId):
|
|
5074
|
+
self._UserId = UserId
|
|
5075
|
+
|
|
4891
5076
|
@property
|
|
4892
5077
|
def Enabled(self):
|
|
4893
5078
|
return self._Enabled
|
|
@@ -4896,14 +5081,6 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4896
5081
|
def Enabled(self, Enabled):
|
|
4897
5082
|
self._Enabled = Enabled
|
|
4898
5083
|
|
|
4899
|
-
@property
|
|
4900
|
-
def ROI(self):
|
|
4901
|
-
return self._ROI
|
|
4902
|
-
|
|
4903
|
-
@ROI.setter
|
|
4904
|
-
def ROI(self, ROI):
|
|
4905
|
-
self._ROI = ROI
|
|
4906
|
-
|
|
4907
5084
|
@property
|
|
4908
5085
|
def Config(self):
|
|
4909
5086
|
return self._Config
|
|
@@ -4912,6 +5089,14 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4912
5089
|
def Config(self, Config):
|
|
4913
5090
|
self._Config = Config
|
|
4914
5091
|
|
|
5092
|
+
@property
|
|
5093
|
+
def ROI(self):
|
|
5094
|
+
return self._ROI
|
|
5095
|
+
|
|
5096
|
+
@ROI.setter
|
|
5097
|
+
def ROI(self, ROI):
|
|
5098
|
+
self._ROI = ROI
|
|
5099
|
+
|
|
4915
5100
|
@property
|
|
4916
5101
|
def RequestId(self):
|
|
4917
5102
|
return self._RequestId
|
|
@@ -4922,9 +5107,13 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4922
5107
|
|
|
4923
5108
|
|
|
4924
5109
|
def _deserialize(self, params):
|
|
5110
|
+
self._Type = params.get("Type")
|
|
5111
|
+
self._Status = params.get("Status")
|
|
5112
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
5113
|
+
self._UserId = params.get("UserId")
|
|
4925
5114
|
self._Enabled = params.get("Enabled")
|
|
4926
|
-
self._ROI = params.get("ROI")
|
|
4927
5115
|
self._Config = params.get("Config")
|
|
5116
|
+
self._ROI = params.get("ROI")
|
|
4928
5117
|
self._RequestId = params.get("RequestId")
|
|
4929
5118
|
|
|
4930
5119
|
|
|
@@ -5012,7 +5201,7 @@ class DescribeCloudStorageAIServiceTasksRequest(AbstractModel):
|
|
|
5012
5201
|
:param _DeviceName: 设备名称
|
|
5013
5202
|
:type DeviceName: str
|
|
5014
5203
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
5015
|
-
- `
|
|
5204
|
+
- `RealtimeObjectDetect`:目标检测
|
|
5016
5205
|
- `Highlight`:视频浓缩
|
|
5017
5206
|
:type ServiceType: str
|
|
5018
5207
|
:param _Limit: 分页拉取数量
|
|
@@ -5026,9 +5215,9 @@ class DescribeCloudStorageAIServiceTasksRequest(AbstractModel):
|
|
|
5026
5215
|
- `3`:成功且结果非空
|
|
5027
5216
|
- `4`:执行中
|
|
5028
5217
|
:type Status: int
|
|
5029
|
-
:param _UserId: 用户ID
|
|
5218
|
+
:param _UserId: 用户 ID
|
|
5030
5219
|
:type UserId: str
|
|
5031
|
-
:param _ChannelId: 通道ID
|
|
5220
|
+
:param _ChannelId: 通道 ID
|
|
5032
5221
|
:type ChannelId: int
|
|
5033
5222
|
"""
|
|
5034
5223
|
self._ProductId = None
|
|
@@ -9466,7 +9655,7 @@ class DescribeProductCloudStorageAIServiceRequest(AbstractModel):
|
|
|
9466
9655
|
|
|
9467
9656
|
def __init__(self):
|
|
9468
9657
|
r"""
|
|
9469
|
-
:param _ProductId: 产品ID
|
|
9658
|
+
:param _ProductId: 产品 ID
|
|
9470
9659
|
:type ProductId: str
|
|
9471
9660
|
"""
|
|
9472
9661
|
self._ProductId = None
|
|
@@ -15224,7 +15413,7 @@ class ModifyCloudStorageAIServiceCallbackRequest(AbstractModel):
|
|
|
15224
15413
|
|
|
15225
15414
|
def __init__(self):
|
|
15226
15415
|
r"""
|
|
15227
|
-
:param _ProductId: 产品ID
|
|
15416
|
+
:param _ProductId: 产品 ID
|
|
15228
15417
|
:type ProductId: str
|
|
15229
15418
|
:param _Type: 推送类型。可选值:
|
|
15230
15419
|
- `http`:HTTP 回调
|
|
@@ -15319,19 +15508,19 @@ class ModifyCloudStorageAIServiceRequest(AbstractModel):
|
|
|
15319
15508
|
|
|
15320
15509
|
def __init__(self):
|
|
15321
15510
|
r"""
|
|
15322
|
-
:param _ProductId: 产品ID
|
|
15511
|
+
:param _ProductId: 产品 ID
|
|
15323
15512
|
:type ProductId: str
|
|
15324
15513
|
:param _DeviceName: 设备名称
|
|
15325
15514
|
:type DeviceName: str
|
|
15326
15515
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
15327
|
-
- `
|
|
15516
|
+
- `RealtimeObjectDetect`:目标检测
|
|
15328
15517
|
- `Highlight`:视频浓缩
|
|
15329
15518
|
:type ServiceType: str
|
|
15330
|
-
:param _Enabled:
|
|
15519
|
+
:param _Enabled: 视频分析启用状态
|
|
15331
15520
|
:type Enabled: bool
|
|
15332
|
-
:param _ROI:
|
|
15521
|
+
:param _ROI: 视频分析识别区域
|
|
15333
15522
|
:type ROI: str
|
|
15334
|
-
:param _Config:
|
|
15523
|
+
:param _Config: 视频分析配置参数
|
|
15335
15524
|
:type Config: str
|
|
15336
15525
|
"""
|
|
15337
15526
|
self._ProductId = None
|
|
@@ -16059,7 +16248,7 @@ class ModifyProductCloudStorageAIServiceRequest(AbstractModel):
|
|
|
16059
16248
|
|
|
16060
16249
|
def __init__(self):
|
|
16061
16250
|
r"""
|
|
16062
|
-
:param _ProductId: 产品ID
|
|
16251
|
+
:param _ProductId: 产品 ID
|
|
16063
16252
|
:type ProductId: str
|
|
16064
16253
|
:param _Enabled: 开通状态
|
|
16065
16254
|
:type Enabled: bool
|
|
@@ -18491,6 +18680,114 @@ class RemoveUserByRoomIdFromTRTCResponse(AbstractModel):
|
|
|
18491
18680
|
self._RequestId = params.get("RequestId")
|
|
18492
18681
|
|
|
18493
18682
|
|
|
18683
|
+
class ResetCloudStorageAIServiceRequest(AbstractModel):
|
|
18684
|
+
"""ResetCloudStorageAIService请求参数结构体
|
|
18685
|
+
|
|
18686
|
+
"""
|
|
18687
|
+
|
|
18688
|
+
def __init__(self):
|
|
18689
|
+
r"""
|
|
18690
|
+
:param _ProductId: 产品 ID
|
|
18691
|
+
:type ProductId: str
|
|
18692
|
+
:param _DeviceName: 设备名称
|
|
18693
|
+
:type DeviceName: str
|
|
18694
|
+
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
18695
|
+
- `RealtimeObjectDetect`:目标检测
|
|
18696
|
+
- `Highlight`:视频浓缩
|
|
18697
|
+
:type ServiceType: str
|
|
18698
|
+
:param _ChannelId: 通道 ID
|
|
18699
|
+
:type ChannelId: int
|
|
18700
|
+
:param _UserId: 用户 ID
|
|
18701
|
+
:type UserId: str
|
|
18702
|
+
"""
|
|
18703
|
+
self._ProductId = None
|
|
18704
|
+
self._DeviceName = None
|
|
18705
|
+
self._ServiceType = None
|
|
18706
|
+
self._ChannelId = None
|
|
18707
|
+
self._UserId = None
|
|
18708
|
+
|
|
18709
|
+
@property
|
|
18710
|
+
def ProductId(self):
|
|
18711
|
+
return self._ProductId
|
|
18712
|
+
|
|
18713
|
+
@ProductId.setter
|
|
18714
|
+
def ProductId(self, ProductId):
|
|
18715
|
+
self._ProductId = ProductId
|
|
18716
|
+
|
|
18717
|
+
@property
|
|
18718
|
+
def DeviceName(self):
|
|
18719
|
+
return self._DeviceName
|
|
18720
|
+
|
|
18721
|
+
@DeviceName.setter
|
|
18722
|
+
def DeviceName(self, DeviceName):
|
|
18723
|
+
self._DeviceName = DeviceName
|
|
18724
|
+
|
|
18725
|
+
@property
|
|
18726
|
+
def ServiceType(self):
|
|
18727
|
+
return self._ServiceType
|
|
18728
|
+
|
|
18729
|
+
@ServiceType.setter
|
|
18730
|
+
def ServiceType(self, ServiceType):
|
|
18731
|
+
self._ServiceType = ServiceType
|
|
18732
|
+
|
|
18733
|
+
@property
|
|
18734
|
+
def ChannelId(self):
|
|
18735
|
+
return self._ChannelId
|
|
18736
|
+
|
|
18737
|
+
@ChannelId.setter
|
|
18738
|
+
def ChannelId(self, ChannelId):
|
|
18739
|
+
self._ChannelId = ChannelId
|
|
18740
|
+
|
|
18741
|
+
@property
|
|
18742
|
+
def UserId(self):
|
|
18743
|
+
return self._UserId
|
|
18744
|
+
|
|
18745
|
+
@UserId.setter
|
|
18746
|
+
def UserId(self, UserId):
|
|
18747
|
+
self._UserId = UserId
|
|
18748
|
+
|
|
18749
|
+
|
|
18750
|
+
def _deserialize(self, params):
|
|
18751
|
+
self._ProductId = params.get("ProductId")
|
|
18752
|
+
self._DeviceName = params.get("DeviceName")
|
|
18753
|
+
self._ServiceType = params.get("ServiceType")
|
|
18754
|
+
self._ChannelId = params.get("ChannelId")
|
|
18755
|
+
self._UserId = params.get("UserId")
|
|
18756
|
+
memeber_set = set(params.keys())
|
|
18757
|
+
for name, value in vars(self).items():
|
|
18758
|
+
property_name = name[1:]
|
|
18759
|
+
if property_name in memeber_set:
|
|
18760
|
+
memeber_set.remove(property_name)
|
|
18761
|
+
if len(memeber_set) > 0:
|
|
18762
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18763
|
+
|
|
18764
|
+
|
|
18765
|
+
|
|
18766
|
+
class ResetCloudStorageAIServiceResponse(AbstractModel):
|
|
18767
|
+
"""ResetCloudStorageAIService返回参数结构体
|
|
18768
|
+
|
|
18769
|
+
"""
|
|
18770
|
+
|
|
18771
|
+
def __init__(self):
|
|
18772
|
+
r"""
|
|
18773
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18774
|
+
:type RequestId: str
|
|
18775
|
+
"""
|
|
18776
|
+
self._RequestId = None
|
|
18777
|
+
|
|
18778
|
+
@property
|
|
18779
|
+
def RequestId(self):
|
|
18780
|
+
return self._RequestId
|
|
18781
|
+
|
|
18782
|
+
@RequestId.setter
|
|
18783
|
+
def RequestId(self, RequestId):
|
|
18784
|
+
self._RequestId = RequestId
|
|
18785
|
+
|
|
18786
|
+
|
|
18787
|
+
def _deserialize(self, params):
|
|
18788
|
+
self._RequestId = params.get("RequestId")
|
|
18789
|
+
|
|
18790
|
+
|
|
18494
18791
|
class ResetCloudStorageEventRequest(AbstractModel):
|
|
18495
18792
|
"""ResetCloudStorageEvent请求参数结构体
|
|
18496
18793
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1204
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1198
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|