tencentcloud-sdk-python-iotexplorer 3.0.1196__tar.gz → 3.0.1207__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.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud/iotexplorer/v20190423/errorcodes.py +18 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +47 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud/iotexplorer/v20190423/models.py +375 -29
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1207/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1196/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1196 → tencentcloud-sdk-python-iotexplorer-3.0.1207}/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.1207"],
|
|
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
|
|
|
@@ -90,10 +90,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
90
90
|
:param _DeviceList: 设备激活返回数据
|
|
91
91
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
92
92
|
:type DeviceList: list of DeviceActiveResult
|
|
93
|
+
:param _FailureList: 设备激活失败返回数据
|
|
94
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
95
|
+
:type FailureList: list of DeviceActiveResult
|
|
96
|
+
:param _SuccessList: 设备激活成功返回数据
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
:type SuccessList: list of DeviceActiveResult
|
|
93
99
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
94
100
|
:type RequestId: str
|
|
95
101
|
"""
|
|
96
102
|
self._DeviceList = None
|
|
103
|
+
self._FailureList = None
|
|
104
|
+
self._SuccessList = None
|
|
97
105
|
self._RequestId = None
|
|
98
106
|
|
|
99
107
|
@property
|
|
@@ -104,6 +112,22 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
104
112
|
def DeviceList(self, DeviceList):
|
|
105
113
|
self._DeviceList = DeviceList
|
|
106
114
|
|
|
115
|
+
@property
|
|
116
|
+
def FailureList(self):
|
|
117
|
+
return self._FailureList
|
|
118
|
+
|
|
119
|
+
@FailureList.setter
|
|
120
|
+
def FailureList(self, FailureList):
|
|
121
|
+
self._FailureList = FailureList
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def SuccessList(self):
|
|
125
|
+
return self._SuccessList
|
|
126
|
+
|
|
127
|
+
@SuccessList.setter
|
|
128
|
+
def SuccessList(self, SuccessList):
|
|
129
|
+
self._SuccessList = SuccessList
|
|
130
|
+
|
|
107
131
|
@property
|
|
108
132
|
def RequestId(self):
|
|
109
133
|
return self._RequestId
|
|
@@ -120,6 +144,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
120
144
|
obj = DeviceActiveResult()
|
|
121
145
|
obj._deserialize(item)
|
|
122
146
|
self._DeviceList.append(obj)
|
|
147
|
+
if params.get("FailureList") is not None:
|
|
148
|
+
self._FailureList = []
|
|
149
|
+
for item in params.get("FailureList"):
|
|
150
|
+
obj = DeviceActiveResult()
|
|
151
|
+
obj._deserialize(item)
|
|
152
|
+
self._FailureList.append(obj)
|
|
153
|
+
if params.get("SuccessList") is not None:
|
|
154
|
+
self._SuccessList = []
|
|
155
|
+
for item in params.get("SuccessList"):
|
|
156
|
+
obj = DeviceActiveResult()
|
|
157
|
+
obj._deserialize(item)
|
|
158
|
+
self._SuccessList.append(obj)
|
|
123
159
|
self._RequestId = params.get("RequestId")
|
|
124
160
|
|
|
125
161
|
|
|
@@ -2106,6 +2142,137 @@ class CreateBatchProductionResponse(AbstractModel):
|
|
|
2106
2142
|
self._RequestId = params.get("RequestId")
|
|
2107
2143
|
|
|
2108
2144
|
|
|
2145
|
+
class CreateCloudStorageAIServiceRequest(AbstractModel):
|
|
2146
|
+
"""CreateCloudStorageAIService请求参数结构体
|
|
2147
|
+
|
|
2148
|
+
"""
|
|
2149
|
+
|
|
2150
|
+
def __init__(self):
|
|
2151
|
+
r"""
|
|
2152
|
+
:param _ProductId: 产品 ID
|
|
2153
|
+
:type ProductId: str
|
|
2154
|
+
:param _DeviceName: 设备名称
|
|
2155
|
+
:type DeviceName: str
|
|
2156
|
+
:param _PackageId: 云存 AI 套餐 ID。可选值:
|
|
2157
|
+
|
|
2158
|
+
- `1m_low_od`:低功耗目标检测月套餐
|
|
2159
|
+
- `1y_low_od`:低功耗目标检测年套餐
|
|
2160
|
+
- `1m_ev_od`:事件目标检测月套餐
|
|
2161
|
+
- `1y_ev_od`:事件目标检测年套餐
|
|
2162
|
+
- `1m_ft_od`:全时目标检测月套餐
|
|
2163
|
+
- `1y_ft_od`:全时目标检测年套餐
|
|
2164
|
+
- `1m_low_hl`:低功耗视频浓缩月套餐
|
|
2165
|
+
- `1y_low_hl`:低功耗视频浓缩年套餐
|
|
2166
|
+
- `1m_ev_hl`:事件视频浓缩月套餐
|
|
2167
|
+
- `1y_ev_hl`:事件视频浓缩年套餐
|
|
2168
|
+
- `1m_ft_hl`:全时视频浓缩月套餐
|
|
2169
|
+
- `1y_ft_hl`:全时视频浓缩年套餐
|
|
2170
|
+
:type PackageId: str
|
|
2171
|
+
:param _ChannelId: 通道 ID
|
|
2172
|
+
:type ChannelId: int
|
|
2173
|
+
:param _OrderId: 订单 ID
|
|
2174
|
+
:type OrderId: str
|
|
2175
|
+
"""
|
|
2176
|
+
self._ProductId = None
|
|
2177
|
+
self._DeviceName = None
|
|
2178
|
+
self._PackageId = None
|
|
2179
|
+
self._ChannelId = None
|
|
2180
|
+
self._OrderId = None
|
|
2181
|
+
|
|
2182
|
+
@property
|
|
2183
|
+
def ProductId(self):
|
|
2184
|
+
return self._ProductId
|
|
2185
|
+
|
|
2186
|
+
@ProductId.setter
|
|
2187
|
+
def ProductId(self, ProductId):
|
|
2188
|
+
self._ProductId = ProductId
|
|
2189
|
+
|
|
2190
|
+
@property
|
|
2191
|
+
def DeviceName(self):
|
|
2192
|
+
return self._DeviceName
|
|
2193
|
+
|
|
2194
|
+
@DeviceName.setter
|
|
2195
|
+
def DeviceName(self, DeviceName):
|
|
2196
|
+
self._DeviceName = DeviceName
|
|
2197
|
+
|
|
2198
|
+
@property
|
|
2199
|
+
def PackageId(self):
|
|
2200
|
+
return self._PackageId
|
|
2201
|
+
|
|
2202
|
+
@PackageId.setter
|
|
2203
|
+
def PackageId(self, PackageId):
|
|
2204
|
+
self._PackageId = PackageId
|
|
2205
|
+
|
|
2206
|
+
@property
|
|
2207
|
+
def ChannelId(self):
|
|
2208
|
+
return self._ChannelId
|
|
2209
|
+
|
|
2210
|
+
@ChannelId.setter
|
|
2211
|
+
def ChannelId(self, ChannelId):
|
|
2212
|
+
self._ChannelId = ChannelId
|
|
2213
|
+
|
|
2214
|
+
@property
|
|
2215
|
+
def OrderId(self):
|
|
2216
|
+
return self._OrderId
|
|
2217
|
+
|
|
2218
|
+
@OrderId.setter
|
|
2219
|
+
def OrderId(self, OrderId):
|
|
2220
|
+
self._OrderId = OrderId
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
def _deserialize(self, params):
|
|
2224
|
+
self._ProductId = params.get("ProductId")
|
|
2225
|
+
self._DeviceName = params.get("DeviceName")
|
|
2226
|
+
self._PackageId = params.get("PackageId")
|
|
2227
|
+
self._ChannelId = params.get("ChannelId")
|
|
2228
|
+
self._OrderId = params.get("OrderId")
|
|
2229
|
+
memeber_set = set(params.keys())
|
|
2230
|
+
for name, value in vars(self).items():
|
|
2231
|
+
property_name = name[1:]
|
|
2232
|
+
if property_name in memeber_set:
|
|
2233
|
+
memeber_set.remove(property_name)
|
|
2234
|
+
if len(memeber_set) > 0:
|
|
2235
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
class CreateCloudStorageAIServiceResponse(AbstractModel):
|
|
2240
|
+
"""CreateCloudStorageAIService返回参数结构体
|
|
2241
|
+
|
|
2242
|
+
"""
|
|
2243
|
+
|
|
2244
|
+
def __init__(self):
|
|
2245
|
+
r"""
|
|
2246
|
+
:param _OrderId: 订单 ID
|
|
2247
|
+
:type OrderId: str
|
|
2248
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2249
|
+
:type RequestId: str
|
|
2250
|
+
"""
|
|
2251
|
+
self._OrderId = None
|
|
2252
|
+
self._RequestId = None
|
|
2253
|
+
|
|
2254
|
+
@property
|
|
2255
|
+
def OrderId(self):
|
|
2256
|
+
return self._OrderId
|
|
2257
|
+
|
|
2258
|
+
@OrderId.setter
|
|
2259
|
+
def OrderId(self, OrderId):
|
|
2260
|
+
self._OrderId = OrderId
|
|
2261
|
+
|
|
2262
|
+
@property
|
|
2263
|
+
def RequestId(self):
|
|
2264
|
+
return self._RequestId
|
|
2265
|
+
|
|
2266
|
+
@RequestId.setter
|
|
2267
|
+
def RequestId(self, RequestId):
|
|
2268
|
+
self._RequestId = RequestId
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
def _deserialize(self, params):
|
|
2272
|
+
self._OrderId = params.get("OrderId")
|
|
2273
|
+
self._RequestId = params.get("RequestId")
|
|
2274
|
+
|
|
2275
|
+
|
|
2109
2276
|
class CreateDeviceRequest(AbstractModel):
|
|
2110
2277
|
"""CreateDevice请求参数结构体
|
|
2111
2278
|
|
|
@@ -4718,7 +4885,7 @@ class DescribeCloudStorageAIServiceCallbackRequest(AbstractModel):
|
|
|
4718
4885
|
|
|
4719
4886
|
def __init__(self):
|
|
4720
4887
|
r"""
|
|
4721
|
-
:param _ProductId: 产品ID
|
|
4888
|
+
:param _ProductId: 产品 ID
|
|
4722
4889
|
:type ProductId: str
|
|
4723
4890
|
"""
|
|
4724
4891
|
self._ProductId = None
|
|
@@ -4814,13 +4981,12 @@ class DescribeCloudStorageAIServiceRequest(AbstractModel):
|
|
|
4814
4981
|
|
|
4815
4982
|
def __init__(self):
|
|
4816
4983
|
r"""
|
|
4817
|
-
:param _ProductId: 产品ID
|
|
4984
|
+
:param _ProductId: 产品 ID
|
|
4818
4985
|
:type ProductId: str
|
|
4819
4986
|
:param _DeviceName: 设备名称
|
|
4820
4987
|
:type DeviceName: str
|
|
4821
4988
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
4822
|
-
|
|
4823
|
-
- `PackageDetect`:包裹检测
|
|
4989
|
+
- `RealtimeObjectDetect`:目标检测
|
|
4824
4990
|
- `Highlight`:视频浓缩
|
|
4825
4991
|
:type ServiceType: str
|
|
4826
4992
|
"""
|
|
@@ -4874,20 +5040,75 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4874
5040
|
|
|
4875
5041
|
def __init__(self):
|
|
4876
5042
|
r"""
|
|
4877
|
-
:param
|
|
5043
|
+
:param _Type: 云存 AI 套餐类型。可能取值:
|
|
5044
|
+
|
|
5045
|
+
- `1`:全时套餐
|
|
5046
|
+
- `2`:事件套餐
|
|
5047
|
+
- `3`:低功耗套餐
|
|
5048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5049
|
+
:type Type: int
|
|
5050
|
+
:param _Status: 云存 AI 套餐生效状态。可能取值:
|
|
5051
|
+
|
|
5052
|
+
- `0`:未开通或已过期
|
|
5053
|
+
- `1`:生效中
|
|
5054
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5055
|
+
:type Status: int
|
|
5056
|
+
:param _ExpireTime: 云存 AI 套餐过期时间 UNIX 时间戳
|
|
5057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5058
|
+
:type ExpireTime: int
|
|
5059
|
+
:param _UserId: 用户 ID
|
|
5060
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5061
|
+
:type UserId: str
|
|
5062
|
+
:param _Enabled: 视频分析启用状态
|
|
4878
5063
|
:type Enabled: bool
|
|
4879
|
-
:param
|
|
4880
|
-
:type ROI: str
|
|
4881
|
-
:param _Config: 云存 AI 服务的配置参数
|
|
5064
|
+
:param _Config: 视频分析配置参数
|
|
4882
5065
|
:type Config: str
|
|
5066
|
+
:param _ROI: 视频分析识别区域
|
|
5067
|
+
:type ROI: str
|
|
4883
5068
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4884
5069
|
:type RequestId: str
|
|
4885
5070
|
"""
|
|
5071
|
+
self._Type = None
|
|
5072
|
+
self._Status = None
|
|
5073
|
+
self._ExpireTime = None
|
|
5074
|
+
self._UserId = None
|
|
4886
5075
|
self._Enabled = None
|
|
4887
|
-
self._ROI = None
|
|
4888
5076
|
self._Config = None
|
|
5077
|
+
self._ROI = None
|
|
4889
5078
|
self._RequestId = None
|
|
4890
5079
|
|
|
5080
|
+
@property
|
|
5081
|
+
def Type(self):
|
|
5082
|
+
return self._Type
|
|
5083
|
+
|
|
5084
|
+
@Type.setter
|
|
5085
|
+
def Type(self, Type):
|
|
5086
|
+
self._Type = Type
|
|
5087
|
+
|
|
5088
|
+
@property
|
|
5089
|
+
def Status(self):
|
|
5090
|
+
return self._Status
|
|
5091
|
+
|
|
5092
|
+
@Status.setter
|
|
5093
|
+
def Status(self, Status):
|
|
5094
|
+
self._Status = Status
|
|
5095
|
+
|
|
5096
|
+
@property
|
|
5097
|
+
def ExpireTime(self):
|
|
5098
|
+
return self._ExpireTime
|
|
5099
|
+
|
|
5100
|
+
@ExpireTime.setter
|
|
5101
|
+
def ExpireTime(self, ExpireTime):
|
|
5102
|
+
self._ExpireTime = ExpireTime
|
|
5103
|
+
|
|
5104
|
+
@property
|
|
5105
|
+
def UserId(self):
|
|
5106
|
+
return self._UserId
|
|
5107
|
+
|
|
5108
|
+
@UserId.setter
|
|
5109
|
+
def UserId(self, UserId):
|
|
5110
|
+
self._UserId = UserId
|
|
5111
|
+
|
|
4891
5112
|
@property
|
|
4892
5113
|
def Enabled(self):
|
|
4893
5114
|
return self._Enabled
|
|
@@ -4896,14 +5117,6 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4896
5117
|
def Enabled(self, Enabled):
|
|
4897
5118
|
self._Enabled = Enabled
|
|
4898
5119
|
|
|
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
5120
|
@property
|
|
4908
5121
|
def Config(self):
|
|
4909
5122
|
return self._Config
|
|
@@ -4912,6 +5125,14 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4912
5125
|
def Config(self, Config):
|
|
4913
5126
|
self._Config = Config
|
|
4914
5127
|
|
|
5128
|
+
@property
|
|
5129
|
+
def ROI(self):
|
|
5130
|
+
return self._ROI
|
|
5131
|
+
|
|
5132
|
+
@ROI.setter
|
|
5133
|
+
def ROI(self, ROI):
|
|
5134
|
+
self._ROI = ROI
|
|
5135
|
+
|
|
4915
5136
|
@property
|
|
4916
5137
|
def RequestId(self):
|
|
4917
5138
|
return self._RequestId
|
|
@@ -4922,9 +5143,13 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4922
5143
|
|
|
4923
5144
|
|
|
4924
5145
|
def _deserialize(self, params):
|
|
5146
|
+
self._Type = params.get("Type")
|
|
5147
|
+
self._Status = params.get("Status")
|
|
5148
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
5149
|
+
self._UserId = params.get("UserId")
|
|
4925
5150
|
self._Enabled = params.get("Enabled")
|
|
4926
|
-
self._ROI = params.get("ROI")
|
|
4927
5151
|
self._Config = params.get("Config")
|
|
5152
|
+
self._ROI = params.get("ROI")
|
|
4928
5153
|
self._RequestId = params.get("RequestId")
|
|
4929
5154
|
|
|
4930
5155
|
|
|
@@ -5012,7 +5237,7 @@ class DescribeCloudStorageAIServiceTasksRequest(AbstractModel):
|
|
|
5012
5237
|
:param _DeviceName: 设备名称
|
|
5013
5238
|
:type DeviceName: str
|
|
5014
5239
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
5015
|
-
- `
|
|
5240
|
+
- `RealtimeObjectDetect`:目标检测
|
|
5016
5241
|
- `Highlight`:视频浓缩
|
|
5017
5242
|
:type ServiceType: str
|
|
5018
5243
|
:param _Limit: 分页拉取数量
|
|
@@ -5026,9 +5251,9 @@ class DescribeCloudStorageAIServiceTasksRequest(AbstractModel):
|
|
|
5026
5251
|
- `3`:成功且结果非空
|
|
5027
5252
|
- `4`:执行中
|
|
5028
5253
|
:type Status: int
|
|
5029
|
-
:param _UserId: 用户ID
|
|
5254
|
+
:param _UserId: 用户 ID
|
|
5030
5255
|
:type UserId: str
|
|
5031
|
-
:param _ChannelId: 通道ID
|
|
5256
|
+
:param _ChannelId: 通道 ID
|
|
5032
5257
|
:type ChannelId: int
|
|
5033
5258
|
"""
|
|
5034
5259
|
self._ProductId = None
|
|
@@ -9466,7 +9691,7 @@ class DescribeProductCloudStorageAIServiceRequest(AbstractModel):
|
|
|
9466
9691
|
|
|
9467
9692
|
def __init__(self):
|
|
9468
9693
|
r"""
|
|
9469
|
-
:param _ProductId: 产品ID
|
|
9694
|
+
:param _ProductId: 产品 ID
|
|
9470
9695
|
:type ProductId: str
|
|
9471
9696
|
"""
|
|
9472
9697
|
self._ProductId = None
|
|
@@ -10034,10 +10259,14 @@ class DeviceActiveResult(AbstractModel):
|
|
|
10034
10259
|
:param _ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
|
|
10035
10260
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10036
10261
|
:type ErrCode: int
|
|
10262
|
+
:param _ExpireTime: 过期时间
|
|
10263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10264
|
+
:type ExpireTime: int
|
|
10037
10265
|
"""
|
|
10038
10266
|
self._ModelId = None
|
|
10039
10267
|
self._Sn = None
|
|
10040
10268
|
self._ErrCode = None
|
|
10269
|
+
self._ExpireTime = None
|
|
10041
10270
|
|
|
10042
10271
|
@property
|
|
10043
10272
|
def ModelId(self):
|
|
@@ -10063,11 +10292,20 @@ class DeviceActiveResult(AbstractModel):
|
|
|
10063
10292
|
def ErrCode(self, ErrCode):
|
|
10064
10293
|
self._ErrCode = ErrCode
|
|
10065
10294
|
|
|
10295
|
+
@property
|
|
10296
|
+
def ExpireTime(self):
|
|
10297
|
+
return self._ExpireTime
|
|
10298
|
+
|
|
10299
|
+
@ExpireTime.setter
|
|
10300
|
+
def ExpireTime(self, ExpireTime):
|
|
10301
|
+
self._ExpireTime = ExpireTime
|
|
10302
|
+
|
|
10066
10303
|
|
|
10067
10304
|
def _deserialize(self, params):
|
|
10068
10305
|
self._ModelId = params.get("ModelId")
|
|
10069
10306
|
self._Sn = params.get("Sn")
|
|
10070
10307
|
self._ErrCode = params.get("ErrCode")
|
|
10308
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
10071
10309
|
memeber_set = set(params.keys())
|
|
10072
10310
|
for name, value in vars(self).items():
|
|
10073
10311
|
property_name = name[1:]
|
|
@@ -15224,7 +15462,7 @@ class ModifyCloudStorageAIServiceCallbackRequest(AbstractModel):
|
|
|
15224
15462
|
|
|
15225
15463
|
def __init__(self):
|
|
15226
15464
|
r"""
|
|
15227
|
-
:param _ProductId: 产品ID
|
|
15465
|
+
:param _ProductId: 产品 ID
|
|
15228
15466
|
:type ProductId: str
|
|
15229
15467
|
:param _Type: 推送类型。可选值:
|
|
15230
15468
|
- `http`:HTTP 回调
|
|
@@ -15319,19 +15557,19 @@ class ModifyCloudStorageAIServiceRequest(AbstractModel):
|
|
|
15319
15557
|
|
|
15320
15558
|
def __init__(self):
|
|
15321
15559
|
r"""
|
|
15322
|
-
:param _ProductId: 产品ID
|
|
15560
|
+
:param _ProductId: 产品 ID
|
|
15323
15561
|
:type ProductId: str
|
|
15324
15562
|
:param _DeviceName: 设备名称
|
|
15325
15563
|
:type DeviceName: str
|
|
15326
15564
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
15327
|
-
- `
|
|
15565
|
+
- `RealtimeObjectDetect`:目标检测
|
|
15328
15566
|
- `Highlight`:视频浓缩
|
|
15329
15567
|
:type ServiceType: str
|
|
15330
|
-
:param _Enabled:
|
|
15568
|
+
:param _Enabled: 视频分析启用状态
|
|
15331
15569
|
:type Enabled: bool
|
|
15332
|
-
:param _ROI:
|
|
15570
|
+
:param _ROI: 视频分析识别区域
|
|
15333
15571
|
:type ROI: str
|
|
15334
|
-
:param _Config:
|
|
15572
|
+
:param _Config: 视频分析配置参数
|
|
15335
15573
|
:type Config: str
|
|
15336
15574
|
"""
|
|
15337
15575
|
self._ProductId = None
|
|
@@ -16059,7 +16297,7 @@ class ModifyProductCloudStorageAIServiceRequest(AbstractModel):
|
|
|
16059
16297
|
|
|
16060
16298
|
def __init__(self):
|
|
16061
16299
|
r"""
|
|
16062
|
-
:param _ProductId: 产品ID
|
|
16300
|
+
:param _ProductId: 产品 ID
|
|
16063
16301
|
:type ProductId: str
|
|
16064
16302
|
:param _Enabled: 开通状态
|
|
16065
16303
|
:type Enabled: bool
|
|
@@ -18491,6 +18729,114 @@ class RemoveUserByRoomIdFromTRTCResponse(AbstractModel):
|
|
|
18491
18729
|
self._RequestId = params.get("RequestId")
|
|
18492
18730
|
|
|
18493
18731
|
|
|
18732
|
+
class ResetCloudStorageAIServiceRequest(AbstractModel):
|
|
18733
|
+
"""ResetCloudStorageAIService请求参数结构体
|
|
18734
|
+
|
|
18735
|
+
"""
|
|
18736
|
+
|
|
18737
|
+
def __init__(self):
|
|
18738
|
+
r"""
|
|
18739
|
+
:param _ProductId: 产品 ID
|
|
18740
|
+
:type ProductId: str
|
|
18741
|
+
:param _DeviceName: 设备名称
|
|
18742
|
+
:type DeviceName: str
|
|
18743
|
+
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
18744
|
+
- `RealtimeObjectDetect`:目标检测
|
|
18745
|
+
- `Highlight`:视频浓缩
|
|
18746
|
+
:type ServiceType: str
|
|
18747
|
+
:param _ChannelId: 通道 ID
|
|
18748
|
+
:type ChannelId: int
|
|
18749
|
+
:param _UserId: 用户 ID
|
|
18750
|
+
:type UserId: str
|
|
18751
|
+
"""
|
|
18752
|
+
self._ProductId = None
|
|
18753
|
+
self._DeviceName = None
|
|
18754
|
+
self._ServiceType = None
|
|
18755
|
+
self._ChannelId = None
|
|
18756
|
+
self._UserId = None
|
|
18757
|
+
|
|
18758
|
+
@property
|
|
18759
|
+
def ProductId(self):
|
|
18760
|
+
return self._ProductId
|
|
18761
|
+
|
|
18762
|
+
@ProductId.setter
|
|
18763
|
+
def ProductId(self, ProductId):
|
|
18764
|
+
self._ProductId = ProductId
|
|
18765
|
+
|
|
18766
|
+
@property
|
|
18767
|
+
def DeviceName(self):
|
|
18768
|
+
return self._DeviceName
|
|
18769
|
+
|
|
18770
|
+
@DeviceName.setter
|
|
18771
|
+
def DeviceName(self, DeviceName):
|
|
18772
|
+
self._DeviceName = DeviceName
|
|
18773
|
+
|
|
18774
|
+
@property
|
|
18775
|
+
def ServiceType(self):
|
|
18776
|
+
return self._ServiceType
|
|
18777
|
+
|
|
18778
|
+
@ServiceType.setter
|
|
18779
|
+
def ServiceType(self, ServiceType):
|
|
18780
|
+
self._ServiceType = ServiceType
|
|
18781
|
+
|
|
18782
|
+
@property
|
|
18783
|
+
def ChannelId(self):
|
|
18784
|
+
return self._ChannelId
|
|
18785
|
+
|
|
18786
|
+
@ChannelId.setter
|
|
18787
|
+
def ChannelId(self, ChannelId):
|
|
18788
|
+
self._ChannelId = ChannelId
|
|
18789
|
+
|
|
18790
|
+
@property
|
|
18791
|
+
def UserId(self):
|
|
18792
|
+
return self._UserId
|
|
18793
|
+
|
|
18794
|
+
@UserId.setter
|
|
18795
|
+
def UserId(self, UserId):
|
|
18796
|
+
self._UserId = UserId
|
|
18797
|
+
|
|
18798
|
+
|
|
18799
|
+
def _deserialize(self, params):
|
|
18800
|
+
self._ProductId = params.get("ProductId")
|
|
18801
|
+
self._DeviceName = params.get("DeviceName")
|
|
18802
|
+
self._ServiceType = params.get("ServiceType")
|
|
18803
|
+
self._ChannelId = params.get("ChannelId")
|
|
18804
|
+
self._UserId = params.get("UserId")
|
|
18805
|
+
memeber_set = set(params.keys())
|
|
18806
|
+
for name, value in vars(self).items():
|
|
18807
|
+
property_name = name[1:]
|
|
18808
|
+
if property_name in memeber_set:
|
|
18809
|
+
memeber_set.remove(property_name)
|
|
18810
|
+
if len(memeber_set) > 0:
|
|
18811
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18812
|
+
|
|
18813
|
+
|
|
18814
|
+
|
|
18815
|
+
class ResetCloudStorageAIServiceResponse(AbstractModel):
|
|
18816
|
+
"""ResetCloudStorageAIService返回参数结构体
|
|
18817
|
+
|
|
18818
|
+
"""
|
|
18819
|
+
|
|
18820
|
+
def __init__(self):
|
|
18821
|
+
r"""
|
|
18822
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18823
|
+
:type RequestId: str
|
|
18824
|
+
"""
|
|
18825
|
+
self._RequestId = None
|
|
18826
|
+
|
|
18827
|
+
@property
|
|
18828
|
+
def RequestId(self):
|
|
18829
|
+
return self._RequestId
|
|
18830
|
+
|
|
18831
|
+
@RequestId.setter
|
|
18832
|
+
def RequestId(self, RequestId):
|
|
18833
|
+
self._RequestId = RequestId
|
|
18834
|
+
|
|
18835
|
+
|
|
18836
|
+
def _deserialize(self, params):
|
|
18837
|
+
self._RequestId = params.get("RequestId")
|
|
18838
|
+
|
|
18839
|
+
|
|
18494
18840
|
class ResetCloudStorageEventRequest(AbstractModel):
|
|
18495
18841
|
"""ResetCloudStorageEvent请求参数结构体
|
|
18496
18842
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1207
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1196
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|