tencentcloud-sdk-python-iotexplorer 3.1.178__tar.gz → 3.1.187__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.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/iotexplorer/v20190423/models.py +912 -293
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.187/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.178/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.187
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.187
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.187}/setup.py
RENAMED
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.187,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -113,6 +113,9 @@ FAILEDOPERATION_SEEPOSTPAIDSERVICEISOLATEDBYACCOUNT = 'FailedOperation.SeePostPa
|
|
|
113
113
|
# 未开通 TWeSee 算法的后付费服务
|
|
114
114
|
FAILEDOPERATION_SEEPOSTPAIDSERVICENOTEXISTS = 'FailedOperation.SeePostPaidServiceNotExists'
|
|
115
115
|
|
|
116
|
+
# TWeSee 预付费额度已用尽
|
|
117
|
+
FAILEDOPERATION_SEEPREPAIDQUOTAEXHAUSTED = 'FailedOperation.SeePrePaidQuotaExhausted'
|
|
118
|
+
|
|
116
119
|
# 该设备已开通指定的 TWeSee 算法预付费订阅,不能重复开通
|
|
117
120
|
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONALREADYEXISTS = 'FailedOperation.SeePrePaidSubscriptionAlreadyExists'
|
|
118
121
|
|
|
@@ -416,6 +419,9 @@ LIMITEXCEEDED_DEVICEEXCEEDLIMIT = 'LimitExceeded.DeviceExceedLimit'
|
|
|
416
419
|
# 设备激活码数量超限
|
|
417
420
|
LIMITEXCEEDED_DEVICELICENSELIMITEXCEEDED = 'LimitExceeded.DeviceLicenseLimitExceeded'
|
|
418
421
|
|
|
422
|
+
# 设备数量超出限制
|
|
423
|
+
LIMITEXCEEDED_DEVICELIMITEXCEEDED = 'LimitExceeded.DeviceLimitExceeded'
|
|
424
|
+
|
|
419
425
|
# 固件数量超出限制。
|
|
420
426
|
LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = 'LimitExceeded.FirmwareExceedLimit'
|
|
421
427
|
|
|
@@ -587,6 +593,9 @@ UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
|
587
593
|
# APP对产品没有权限。
|
|
588
594
|
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = 'UnauthorizedOperation.APPNoPermissionToStudioProduct'
|
|
589
595
|
|
|
596
|
+
# 账号被限制调用该接口
|
|
597
|
+
UNAUTHORIZEDOPERATION_ACCOUNTRESTRICTED = 'UnauthorizedOperation.AccountRestricted'
|
|
598
|
+
|
|
590
599
|
# 该账号未在白名单内,不能通过 API 创建 AI 任务
|
|
591
600
|
UNAUTHORIZEDOPERATION_APICREATEAITASKNOTINWHITELIST = 'UnauthorizedOperation.ApiCreateAITaskNotInWhitelist'
|
|
592
601
|
|
|
@@ -641,6 +650,9 @@ UNAUTHORIZEDOPERATION_NOTCERTIFICATION = 'UnauthorizedOperation.NotCertification
|
|
|
641
650
|
# 没有权限。
|
|
642
651
|
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
|
|
643
652
|
|
|
653
|
+
# 无该产品操作权限。
|
|
654
|
+
UNAUTHORIZEDOPERATION_PRODUCTACLDENIED = 'UnauthorizedOperation.ProductACLDenied'
|
|
655
|
+
|
|
644
656
|
# 产品不支持密钥认证。
|
|
645
657
|
UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = 'UnauthorizedOperation.ProductNotSupportPSK'
|
|
646
658
|
|
|
@@ -164,6 +164,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def BatchPublishMessage(self, request):
|
|
168
|
+
r"""批量设备透传指令控制
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for BatchPublishMessage.
|
|
171
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.BatchPublishMessageRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.BatchPublishMessageResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("BatchPublishMessage", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.BatchPublishMessageResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def BatchRenewTWeSeeSubscription(self, request):
|
|
168
191
|
r"""批量续费 TWeSee 预付费订阅
|
|
169
192
|
|
|
@@ -133,6 +133,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def BatchPublishMessage(
|
|
137
|
+
self,
|
|
138
|
+
request: models.BatchPublishMessageRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.BatchPublishMessageResponse:
|
|
141
|
+
"""
|
|
142
|
+
批量设备透传指令控制
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "BatchPublishMessage"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.BatchPublishMessageResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def BatchRenewTWeSeeSubscription(
|
|
137
155
|
self,
|
|
138
156
|
request: models.BatchRenewTWeSeeSubscriptionRequest,
|