tencentcloud-sdk-python-iotexplorer 3.1.178__tar.gz → 3.1.181__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.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/iotexplorer/v20190423/errorcodes.py +9 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/iotexplorer/v20190423/models.py +632 -85
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.181/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.181}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/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.181
|
|
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.181
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.178 → tencentcloud_sdk_python_iotexplorer-3.1.181}/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.181,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -416,6 +416,9 @@ LIMITEXCEEDED_DEVICEEXCEEDLIMIT = 'LimitExceeded.DeviceExceedLimit'
|
|
|
416
416
|
# 设备激活码数量超限
|
|
417
417
|
LIMITEXCEEDED_DEVICELICENSELIMITEXCEEDED = 'LimitExceeded.DeviceLicenseLimitExceeded'
|
|
418
418
|
|
|
419
|
+
# 设备数量超出限制
|
|
420
|
+
LIMITEXCEEDED_DEVICELIMITEXCEEDED = 'LimitExceeded.DeviceLimitExceeded'
|
|
421
|
+
|
|
419
422
|
# 固件数量超出限制。
|
|
420
423
|
LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = 'LimitExceeded.FirmwareExceedLimit'
|
|
421
424
|
|
|
@@ -587,6 +590,9 @@ UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
|
587
590
|
# APP对产品没有权限。
|
|
588
591
|
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = 'UnauthorizedOperation.APPNoPermissionToStudioProduct'
|
|
589
592
|
|
|
593
|
+
# 账号被限制调用该接口
|
|
594
|
+
UNAUTHORIZEDOPERATION_ACCOUNTRESTRICTED = 'UnauthorizedOperation.AccountRestricted'
|
|
595
|
+
|
|
590
596
|
# 该账号未在白名单内,不能通过 API 创建 AI 任务
|
|
591
597
|
UNAUTHORIZEDOPERATION_APICREATEAITASKNOTINWHITELIST = 'UnauthorizedOperation.ApiCreateAITaskNotInWhitelist'
|
|
592
598
|
|
|
@@ -641,6 +647,9 @@ UNAUTHORIZEDOPERATION_NOTCERTIFICATION = 'UnauthorizedOperation.NotCertification
|
|
|
641
647
|
# 没有权限。
|
|
642
648
|
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
|
|
643
649
|
|
|
650
|
+
# 无该产品操作权限。
|
|
651
|
+
UNAUTHORIZEDOPERATION_PRODUCTACLDENIED = 'UnauthorizedOperation.ProductACLDenied'
|
|
652
|
+
|
|
644
653
|
# 产品不支持密钥认证。
|
|
645
654
|
UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = 'UnauthorizedOperation.ProductNotSupportPSK'
|
|
646
655
|
|
|
@@ -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,
|