tencentcloud-sdk-python-iotexplorer 3.1.60__py2.py3-none-any.whl → 3.1.63__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.60'
17
+ __version__ = '3.1.63'
@@ -590,6 +590,9 @@ UNSUPPORTEDOPERATION_LORANOUPLINK = 'UnsupportedOperation.LoRaNoUpLink'
590
590
  # Lora设备没有激活。
591
591
  UNSUPPORTEDOPERATION_LORANOTACTIVATE = 'UnsupportedOperation.LoRaNotActivate'
592
592
 
593
+ # 动态注册不支持修改已发布的产品。
594
+ UNSUPPORTEDOPERATION_NOPERMISSIONTORELEASEDPRODUCT = 'UnsupportedOperation.NoPermissionToReleasedProduct'
595
+
593
596
  # VPN下还存在未删除的设备。
594
597
  UNSUPPORTEDOPERATION_NODESEXISTUNDERVPN = 'UnsupportedOperation.NodesExistUnderVPN'
595
598
 
@@ -2464,6 +2464,29 @@ class IotexplorerClient(AbstractClient):
2464
2464
  raise TencentCloudSDKException(type(e).__name__, str(e))
2465
2465
 
2466
2466
 
2467
+ def DescribeProductDynamicRegister(self, request):
2468
+ r"""获取产品动态注册详情
2469
+
2470
+ :param request: Request instance for DescribeProductDynamicRegister.
2471
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeProductDynamicRegisterRequest`
2472
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeProductDynamicRegisterResponse`
2473
+
2474
+ """
2475
+ try:
2476
+ params = request._serialize()
2477
+ headers = request.headers
2478
+ body = self.call("DescribeProductDynamicRegister", params, headers=headers)
2479
+ response = json.loads(body)
2480
+ model = models.DescribeProductDynamicRegisterResponse()
2481
+ model._deserialize(response["Response"])
2482
+ return model
2483
+ except Exception as e:
2484
+ if isinstance(e, TencentCloudSDKException):
2485
+ raise
2486
+ else:
2487
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2488
+
2489
+
2467
2490
  def DescribeProject(self, request):
2468
2491
  r"""查询项目详情
2469
2492
 
@@ -3890,6 +3913,29 @@ class IotexplorerClient(AbstractClient):
3890
3913
  raise TencentCloudSDKException(type(e).__name__, str(e))
3891
3914
 
3892
3915
 
3916
+ def ModifyProductDynamicRegister(self, request):
3917
+ r"""修改产品动态注册
3918
+
3919
+ :param request: Request instance for ModifyProductDynamicRegister.
3920
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyProductDynamicRegisterRequest`
3921
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyProductDynamicRegisterResponse`
3922
+
3923
+ """
3924
+ try:
3925
+ params = request._serialize()
3926
+ headers = request.headers
3927
+ body = self.call("ModifyProductDynamicRegister", params, headers=headers)
3928
+ response = json.loads(body)
3929
+ model = models.ModifyProductDynamicRegisterResponse()
3930
+ model._deserialize(response["Response"])
3931
+ return model
3932
+ except Exception as e:
3933
+ if isinstance(e, TencentCloudSDKException):
3934
+ raise
3935
+ else:
3936
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3937
+
3938
+
3893
3939
  def ModifyProject(self, request):
3894
3940
  r"""修改项目。
3895
3941
 
@@ -1933,6 +1933,24 @@ class IotexplorerClient(AbstractClient):
1933
1933
 
1934
1934
  return await self.call_and_deserialize(**kwargs)
1935
1935
 
1936
+ async def DescribeProductDynamicRegister(
1937
+ self,
1938
+ request: models.DescribeProductDynamicRegisterRequest,
1939
+ opts: Dict = None,
1940
+ ) -> models.DescribeProductDynamicRegisterResponse:
1941
+ """
1942
+ 获取产品动态注册详情
1943
+ """
1944
+
1945
+ kwargs = {}
1946
+ kwargs["action"] = "DescribeProductDynamicRegister"
1947
+ kwargs["params"] = request._serialize()
1948
+ kwargs["resp_cls"] = models.DescribeProductDynamicRegisterResponse
1949
+ kwargs["headers"] = request.headers
1950
+ kwargs["opts"] = opts or {}
1951
+
1952
+ return await self.call_and_deserialize(**kwargs)
1953
+
1936
1954
  async def DescribeProject(
1937
1955
  self,
1938
1956
  request: models.DescribeProjectRequest,
@@ -3049,6 +3067,24 @@ class IotexplorerClient(AbstractClient):
3049
3067
 
3050
3068
  return await self.call_and_deserialize(**kwargs)
3051
3069
 
3070
+ async def ModifyProductDynamicRegister(
3071
+ self,
3072
+ request: models.ModifyProductDynamicRegisterRequest,
3073
+ opts: Dict = None,
3074
+ ) -> models.ModifyProductDynamicRegisterResponse:
3075
+ """
3076
+ 修改产品动态注册
3077
+ """
3078
+
3079
+ kwargs = {}
3080
+ kwargs["action"] = "ModifyProductDynamicRegister"
3081
+ kwargs["params"] = request._serialize()
3082
+ kwargs["resp_cls"] = models.ModifyProductDynamicRegisterResponse
3083
+ kwargs["headers"] = request.headers
3084
+ kwargs["opts"] = opts or {}
3085
+
3086
+ return await self.call_and_deserialize(**kwargs)
3087
+
3052
3088
  async def ModifyProject(
3053
3089
  self,
3054
3090
  request: models.ModifyProjectRequest,
@@ -17132,6 +17132,115 @@ class DescribeProductCloudStorageAIServiceResponse(AbstractModel):
17132
17132
  self._RequestId = params.get("RequestId")
17133
17133
 
17134
17134
 
17135
+ class DescribeProductDynamicRegisterRequest(AbstractModel):
17136
+ r"""DescribeProductDynamicRegister请求参数结构体
17137
+
17138
+ """
17139
+
17140
+ def __init__(self):
17141
+ r"""
17142
+ :param _ProductId: 产品Id
17143
+ :type ProductId: str
17144
+ """
17145
+ self._ProductId = None
17146
+
17147
+ @property
17148
+ def ProductId(self):
17149
+ r"""产品Id
17150
+ :rtype: str
17151
+ """
17152
+ return self._ProductId
17153
+
17154
+ @ProductId.setter
17155
+ def ProductId(self, ProductId):
17156
+ self._ProductId = ProductId
17157
+
17158
+
17159
+ def _deserialize(self, params):
17160
+ self._ProductId = params.get("ProductId")
17161
+ memeber_set = set(params.keys())
17162
+ for name, value in vars(self).items():
17163
+ property_name = name[1:]
17164
+ if property_name in memeber_set:
17165
+ memeber_set.remove(property_name)
17166
+ if len(memeber_set) > 0:
17167
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17168
+
17169
+
17170
+
17171
+ class DescribeProductDynamicRegisterResponse(AbstractModel):
17172
+ r"""DescribeProductDynamicRegister返回参数结构体
17173
+
17174
+ """
17175
+
17176
+ def __init__(self):
17177
+ r"""
17178
+ :param _RegisterType: 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
17179
+ :type RegisterType: int
17180
+ :param _ProductSecret: 动态注册产品密钥
17181
+ :type ProductSecret: str
17182
+ :param _RegisterLimit: 动态注册设备上限
17183
+ :type RegisterLimit: int
17184
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17185
+ :type RequestId: str
17186
+ """
17187
+ self._RegisterType = None
17188
+ self._ProductSecret = None
17189
+ self._RegisterLimit = None
17190
+ self._RequestId = None
17191
+
17192
+ @property
17193
+ def RegisterType(self):
17194
+ r"""动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
17195
+ :rtype: int
17196
+ """
17197
+ return self._RegisterType
17198
+
17199
+ @RegisterType.setter
17200
+ def RegisterType(self, RegisterType):
17201
+ self._RegisterType = RegisterType
17202
+
17203
+ @property
17204
+ def ProductSecret(self):
17205
+ r"""动态注册产品密钥
17206
+ :rtype: str
17207
+ """
17208
+ return self._ProductSecret
17209
+
17210
+ @ProductSecret.setter
17211
+ def ProductSecret(self, ProductSecret):
17212
+ self._ProductSecret = ProductSecret
17213
+
17214
+ @property
17215
+ def RegisterLimit(self):
17216
+ r"""动态注册设备上限
17217
+ :rtype: int
17218
+ """
17219
+ return self._RegisterLimit
17220
+
17221
+ @RegisterLimit.setter
17222
+ def RegisterLimit(self, RegisterLimit):
17223
+ self._RegisterLimit = RegisterLimit
17224
+
17225
+ @property
17226
+ def RequestId(self):
17227
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17228
+ :rtype: str
17229
+ """
17230
+ return self._RequestId
17231
+
17232
+ @RequestId.setter
17233
+ def RequestId(self, RequestId):
17234
+ self._RequestId = RequestId
17235
+
17236
+
17237
+ def _deserialize(self, params):
17238
+ self._RegisterType = params.get("RegisterType")
17239
+ self._ProductSecret = params.get("ProductSecret")
17240
+ self._RegisterLimit = params.get("RegisterLimit")
17241
+ self._RequestId = params.get("RequestId")
17242
+
17243
+
17135
17244
  class DescribeProjectRequest(AbstractModel):
17136
17245
  r"""DescribeProject请求参数结构体
17137
17246
 
@@ -29719,6 +29828,145 @@ class ModifyProductCloudStorageAIServiceResponse(AbstractModel):
29719
29828
  self._RequestId = params.get("RequestId")
29720
29829
 
29721
29830
 
29831
+ class ModifyProductDynamicRegisterRequest(AbstractModel):
29832
+ r"""ModifyProductDynamicRegister请求参数结构体
29833
+
29834
+ """
29835
+
29836
+ def __init__(self):
29837
+ r"""
29838
+ :param _ProductId: 产品Id
29839
+ :type ProductId: str
29840
+ :param _RegisterType: 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
29841
+ :type RegisterType: int
29842
+ :param _RegisterLimit: 动态注册设备上限
29843
+ :type RegisterLimit: int
29844
+ """
29845
+ self._ProductId = None
29846
+ self._RegisterType = None
29847
+ self._RegisterLimit = None
29848
+
29849
+ @property
29850
+ def ProductId(self):
29851
+ r"""产品Id
29852
+ :rtype: str
29853
+ """
29854
+ return self._ProductId
29855
+
29856
+ @ProductId.setter
29857
+ def ProductId(self, ProductId):
29858
+ self._ProductId = ProductId
29859
+
29860
+ @property
29861
+ def RegisterType(self):
29862
+ r"""动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
29863
+ :rtype: int
29864
+ """
29865
+ return self._RegisterType
29866
+
29867
+ @RegisterType.setter
29868
+ def RegisterType(self, RegisterType):
29869
+ self._RegisterType = RegisterType
29870
+
29871
+ @property
29872
+ def RegisterLimit(self):
29873
+ r"""动态注册设备上限
29874
+ :rtype: int
29875
+ """
29876
+ return self._RegisterLimit
29877
+
29878
+ @RegisterLimit.setter
29879
+ def RegisterLimit(self, RegisterLimit):
29880
+ self._RegisterLimit = RegisterLimit
29881
+
29882
+
29883
+ def _deserialize(self, params):
29884
+ self._ProductId = params.get("ProductId")
29885
+ self._RegisterType = params.get("RegisterType")
29886
+ self._RegisterLimit = params.get("RegisterLimit")
29887
+ memeber_set = set(params.keys())
29888
+ for name, value in vars(self).items():
29889
+ property_name = name[1:]
29890
+ if property_name in memeber_set:
29891
+ memeber_set.remove(property_name)
29892
+ if len(memeber_set) > 0:
29893
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
29894
+
29895
+
29896
+
29897
+ class ModifyProductDynamicRegisterResponse(AbstractModel):
29898
+ r"""ModifyProductDynamicRegister返回参数结构体
29899
+
29900
+ """
29901
+
29902
+ def __init__(self):
29903
+ r"""
29904
+ :param _RegisterType: 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
29905
+ :type RegisterType: int
29906
+ :param _ProductSecret: 动态注册产品密钥
29907
+ :type ProductSecret: str
29908
+ :param _RegisterLimit: 动态注册设备上限
29909
+ :type RegisterLimit: int
29910
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29911
+ :type RequestId: str
29912
+ """
29913
+ self._RegisterType = None
29914
+ self._ProductSecret = None
29915
+ self._RegisterLimit = None
29916
+ self._RequestId = None
29917
+
29918
+ @property
29919
+ def RegisterType(self):
29920
+ r"""动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
29921
+ :rtype: int
29922
+ """
29923
+ return self._RegisterType
29924
+
29925
+ @RegisterType.setter
29926
+ def RegisterType(self, RegisterType):
29927
+ self._RegisterType = RegisterType
29928
+
29929
+ @property
29930
+ def ProductSecret(self):
29931
+ r"""动态注册产品密钥
29932
+ :rtype: str
29933
+ """
29934
+ return self._ProductSecret
29935
+
29936
+ @ProductSecret.setter
29937
+ def ProductSecret(self, ProductSecret):
29938
+ self._ProductSecret = ProductSecret
29939
+
29940
+ @property
29941
+ def RegisterLimit(self):
29942
+ r"""动态注册设备上限
29943
+ :rtype: int
29944
+ """
29945
+ return self._RegisterLimit
29946
+
29947
+ @RegisterLimit.setter
29948
+ def RegisterLimit(self, RegisterLimit):
29949
+ self._RegisterLimit = RegisterLimit
29950
+
29951
+ @property
29952
+ def RequestId(self):
29953
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29954
+ :rtype: str
29955
+ """
29956
+ return self._RequestId
29957
+
29958
+ @RequestId.setter
29959
+ def RequestId(self, RequestId):
29960
+ self._RequestId = RequestId
29961
+
29962
+
29963
+ def _deserialize(self, params):
29964
+ self._RegisterType = params.get("RegisterType")
29965
+ self._ProductSecret = params.get("ProductSecret")
29966
+ self._RegisterLimit = params.get("RegisterLimit")
29967
+ self._RequestId = params.get("RequestId")
29968
+
29969
+
29722
29970
  class ModifyProjectRequest(AbstractModel):
29723
29971
  r"""ModifyProject请求参数结构体
29724
29972
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.1.60
3
+ Version: 3.1.63
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.60
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.63
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=ksDT-mgQf68aath5ZNpe6wz7WmhDdGwc3IvAk5lHQK4,629
2
+ tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=lVc5P2NlcE0qdHA-yHFmyl-T5pBdtQHPhHfBiMsYl5o,24996
5
+ tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=4YXOv59di0A-pAEgA-E7GFog6IGOON3-8Z-VnxFp-ek,193254
6
+ tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py,sha256=60qC4dDcX8xxFoEpHGLLLwI_TaCRb5NoVLf0bAEF7yI,127533
7
+ tencentcloud/iotexplorer/v20190423/models.py,sha256=tsPR9KaSZ3uHRQHXBedE02pGO9V2dvaD7-Srx17BNtk,1160928
8
+ tencentcloud_sdk_python_iotexplorer-3.1.63.dist-info/METADATA,sha256=CwutNhj-7FDiVSayQW8-FKovwJ0J2i6FhLq0IxCr-cs,1535
9
+ tencentcloud_sdk_python_iotexplorer-3.1.63.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_iotexplorer-3.1.63.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_iotexplorer-3.1.63.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=h8Tll_32rBqRWfDumBS3Fjmg5m5610VP3r_G07lcFns,629
2
- tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=PiZSbZvPZk5zmTztttgWZrHJv9ZAdu54MxzPf2t-OlM,24838
5
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=RGxPWMABLbUdnVb40PLdN6otlT9mTZkijsWgt0NsPK4,191320
6
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py,sha256=F2tJMptNGqRm5TndPmE4ur6hwjYGdQZg5JbeoY-dVEg,126253
7
- tencentcloud/iotexplorer/v20190423/models.py,sha256=pLqtLLAnhyW4jJnioeSx0LdXA1O7Ja-Xqi94uaVlhu8,1153318
8
- tencentcloud_sdk_python_iotexplorer-3.1.60.dist-info/METADATA,sha256=bs_9oItW4NO_esSMgOSNTCyLHJ_Z8Nu2n1ngWTqYieE,1535
9
- tencentcloud_sdk_python_iotexplorer-3.1.60.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_iotexplorer-3.1.60.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_iotexplorer-3.1.60.dist-info/RECORD,,