tencentcloud-sdk-python-iotexplorer 3.1.191__tar.gz → 3.1.194__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.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/iotexplorer/v20190423/errorcodes.py +45 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +207 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +162 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/iotexplorer/v20190423/models.py +1493 -233
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.194/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.191/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/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.194
|
|
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.194
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.191 → tencentcloud_sdk_python_iotexplorer-3.1.194}/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.194,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -32,6 +32,15 @@ FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'
|
|
|
32
32
|
# 广播任务正在执行。
|
|
33
33
|
FAILEDOPERATION_BROADCASTTASKISRUNNING = 'FailedOperation.BroadcastTaskIsRunning'
|
|
34
34
|
|
|
35
|
+
# 创建 CKafka 接入点失败
|
|
36
|
+
FAILEDOPERATION_CKAFKACREATEROUTEFAILED = 'FailedOperation.CKafkaCreateRouteFailed'
|
|
37
|
+
|
|
38
|
+
# 创建 CKafka 接入点超时,请稍后重试
|
|
39
|
+
FAILEDOPERATION_CKAFKACREATEROUTETIMEOUT = 'FailedOperation.CKafkaCreateRouteTimeout'
|
|
40
|
+
|
|
41
|
+
# 尚未授权 CKafka 投递
|
|
42
|
+
FAILEDOPERATION_CKAFKADELIVERYNOTAUTHORIZED = 'FailedOperation.CKafkaDeliveryNotAuthorized'
|
|
43
|
+
|
|
35
44
|
# 云存 AI 套餐生效时长不能超过当前云存套餐生效时长
|
|
36
45
|
FAILEDOPERATION_CLOUDSTORAGEAIPACKAGEEXPIRETIMEEXCEEDED = 'FailedOperation.CloudStorageAIPackageExpireTimeExceeded'
|
|
37
46
|
|
|
@@ -98,6 +107,9 @@ FAILEDOPERATION_RULEALREADYDISABLED = 'FailedOperation.RuleAlreadyDisabled'
|
|
|
98
107
|
# 该规则已被启用。
|
|
99
108
|
FAILEDOPERATION_RULEALREADYENABLED = 'FailedOperation.RuleAlreadyEnabled'
|
|
100
109
|
|
|
110
|
+
# 指定产品的回调配置已存在,不能重复创建
|
|
111
|
+
FAILEDOPERATION_SEECALLBACKALREADYEXISTS = 'FailedOperation.SeeCallbackAlreadyExists'
|
|
112
|
+
|
|
101
113
|
# 该人员仍有关联人脸,无法删除
|
|
102
114
|
FAILEDOPERATION_SEEPERSONHASFACES = 'FailedOperation.SeePersonHasFaces'
|
|
103
115
|
|
|
@@ -215,6 +227,12 @@ INVALIDPARAMETERVALUE_APPNOPERMISSION = 'InvalidParameterValue.AppNoPermission'
|
|
|
215
227
|
# App不存在。
|
|
216
228
|
INVALIDPARAMETERVALUE_APPNOTEXISTS = 'InvalidParameterValue.AppNotExists'
|
|
217
229
|
|
|
230
|
+
# CA证书内容错误。
|
|
231
|
+
INVALIDPARAMETERVALUE_CACERTINVALID = 'InvalidParameterValue.CACertInvalid'
|
|
232
|
+
|
|
233
|
+
# CA验证证书不匹配。
|
|
234
|
+
INVALIDPARAMETERVALUE_CACERTNOTMATCH = 'InvalidParameterValue.CACertNotMatch'
|
|
235
|
+
|
|
218
236
|
# 检查第三方URL超时或失败。
|
|
219
237
|
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = 'InvalidParameterValue.CheckForwardURLFail'
|
|
220
238
|
|
|
@@ -413,6 +431,24 @@ LIMITEXCEEDED_BATCHPRODUCTIONNULL = 'LimitExceeded.BatchProductionNull'
|
|
|
413
431
|
# 绑定的产品数量超过限制。
|
|
414
432
|
LIMITEXCEEDED_BINDPRODUCTSEXCEEDLIMIT = 'LimitExceeded.BindProductsExceedLimit'
|
|
415
433
|
|
|
434
|
+
# CA证书已经绑定了产品,无法操作。
|
|
435
|
+
LIMITEXCEEDED_CAALREADYBINDPRODUCT = 'LimitExceeded.CAAlreadyBindProduct'
|
|
436
|
+
|
|
437
|
+
# CA证书已存在。
|
|
438
|
+
LIMITEXCEEDED_CACERTALREADYEXIST = 'LimitExceeded.CACertAlreadyExist'
|
|
439
|
+
|
|
440
|
+
# CA证书达到上限。
|
|
441
|
+
LIMITEXCEEDED_CACERTLIMIT = 'LimitExceeded.CACertLimit'
|
|
442
|
+
|
|
443
|
+
# CA证书名称重复。
|
|
444
|
+
LIMITEXCEEDED_CACERTNAMEREPEAT = 'LimitExceeded.CACertNameRepeat'
|
|
445
|
+
|
|
446
|
+
# 不支持私有证书操作。
|
|
447
|
+
LIMITEXCEEDED_CACERTNOTSUPPORT = 'LimitExceeded.CACertNotSupport'
|
|
448
|
+
|
|
449
|
+
# CA证书重复。
|
|
450
|
+
LIMITEXCEEDED_CAREPEAT = 'LimitExceeded.CARepeat'
|
|
451
|
+
|
|
416
452
|
# 设备数量超过限制。
|
|
417
453
|
LIMITEXCEEDED_DEVICEEXCEEDLIMIT = 'LimitExceeded.DeviceExceedLimit'
|
|
418
454
|
|
|
@@ -482,6 +518,15 @@ RESOURCENOTFOUND_APPNOTEXISTS = 'ResourceNotFound.AppNotExists'
|
|
|
482
518
|
# 量产不存在。
|
|
483
519
|
RESOURCENOTFOUND_BATCHPRODUCTIONNOTEXIST = 'ResourceNotFound.BatchProductionNotExist'
|
|
484
520
|
|
|
521
|
+
# CA证书不存在。
|
|
522
|
+
RESOURCENOTFOUND_CACERTNOTEXIST = 'ResourceNotFound.CACertNotExist'
|
|
523
|
+
|
|
524
|
+
# CKafka 实例不存在
|
|
525
|
+
RESOURCENOTFOUND_CKAFKAINSTANCENOTEXIST = 'ResourceNotFound.CKafkaInstanceNotExist'
|
|
526
|
+
|
|
527
|
+
# CKafka Topic 不存在
|
|
528
|
+
RESOURCENOTFOUND_CKAFKATOPICNOTEXIST = 'ResourceNotFound.CKafkaTopicNotExist'
|
|
529
|
+
|
|
485
530
|
# 上传URL无法获取。
|
|
486
531
|
RESOURCENOTFOUND_CANNOTGETFROMURL = 'ResourceNotFound.CannotGetFromUrl'
|
|
487
532
|
|
|
@@ -915,6 +915,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
915
915
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
916
916
|
|
|
917
917
|
|
|
918
|
+
def CreatePrivateCA(self, request):
|
|
919
|
+
r"""创建私有CA证书
|
|
920
|
+
|
|
921
|
+
:param request: Request instance for CreatePrivateCA.
|
|
922
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreatePrivateCARequest`
|
|
923
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreatePrivateCAResponse`
|
|
924
|
+
|
|
925
|
+
"""
|
|
926
|
+
try:
|
|
927
|
+
params = request._serialize()
|
|
928
|
+
headers = request.headers
|
|
929
|
+
body = self.call("CreatePrivateCA", params, headers=headers)
|
|
930
|
+
response = json.loads(body)
|
|
931
|
+
model = models.CreatePrivateCAResponse()
|
|
932
|
+
model._deserialize(response["Response"])
|
|
933
|
+
return model
|
|
934
|
+
except Exception as e:
|
|
935
|
+
if isinstance(e, TencentCloudSDKException):
|
|
936
|
+
raise
|
|
937
|
+
else:
|
|
938
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
939
|
+
|
|
940
|
+
|
|
918
941
|
def CreateProject(self, request):
|
|
919
942
|
r"""为用户提供新建项目的能力,用于集中管理产品和应用。
|
|
920
943
|
|
|
@@ -1513,6 +1536,52 @@ class IotexplorerClient(AbstractClient):
|
|
|
1513
1536
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1514
1537
|
|
|
1515
1538
|
|
|
1539
|
+
def DeletePrivateCA(self, request):
|
|
1540
|
+
r"""删除私有CA证书
|
|
1541
|
+
|
|
1542
|
+
:param request: Request instance for DeletePrivateCA.
|
|
1543
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeletePrivateCARequest`
|
|
1544
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DeletePrivateCAResponse`
|
|
1545
|
+
|
|
1546
|
+
"""
|
|
1547
|
+
try:
|
|
1548
|
+
params = request._serialize()
|
|
1549
|
+
headers = request.headers
|
|
1550
|
+
body = self.call("DeletePrivateCA", params, headers=headers)
|
|
1551
|
+
response = json.loads(body)
|
|
1552
|
+
model = models.DeletePrivateCAResponse()
|
|
1553
|
+
model._deserialize(response["Response"])
|
|
1554
|
+
return model
|
|
1555
|
+
except Exception as e:
|
|
1556
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1557
|
+
raise
|
|
1558
|
+
else:
|
|
1559
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
def DeleteProductPrivateCA(self, request):
|
|
1563
|
+
r"""删除产品绑定的CA证书
|
|
1564
|
+
|
|
1565
|
+
:param request: Request instance for DeleteProductPrivateCA.
|
|
1566
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteProductPrivateCARequest`
|
|
1567
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteProductPrivateCAResponse`
|
|
1568
|
+
|
|
1569
|
+
"""
|
|
1570
|
+
try:
|
|
1571
|
+
params = request._serialize()
|
|
1572
|
+
headers = request.headers
|
|
1573
|
+
body = self.call("DeleteProductPrivateCA", params, headers=headers)
|
|
1574
|
+
response = json.loads(body)
|
|
1575
|
+
model = models.DeleteProductPrivateCAResponse()
|
|
1576
|
+
model._deserialize(response["Response"])
|
|
1577
|
+
return model
|
|
1578
|
+
except Exception as e:
|
|
1579
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1580
|
+
raise
|
|
1581
|
+
else:
|
|
1582
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1583
|
+
|
|
1584
|
+
|
|
1516
1585
|
def DeleteProject(self, request):
|
|
1517
1586
|
r"""提供删除某个项目的能力。
|
|
1518
1587
|
|
|
@@ -2916,6 +2985,98 @@ class IotexplorerClient(AbstractClient):
|
|
|
2916
2985
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2917
2986
|
|
|
2918
2987
|
|
|
2988
|
+
def DescribePrivateCA(self, request):
|
|
2989
|
+
r"""查询私有化CA信息
|
|
2990
|
+
|
|
2991
|
+
:param request: Request instance for DescribePrivateCA.
|
|
2992
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribePrivateCARequest`
|
|
2993
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribePrivateCAResponse`
|
|
2994
|
+
|
|
2995
|
+
"""
|
|
2996
|
+
try:
|
|
2997
|
+
params = request._serialize()
|
|
2998
|
+
headers = request.headers
|
|
2999
|
+
body = self.call("DescribePrivateCA", params, headers=headers)
|
|
3000
|
+
response = json.loads(body)
|
|
3001
|
+
model = models.DescribePrivateCAResponse()
|
|
3002
|
+
model._deserialize(response["Response"])
|
|
3003
|
+
return model
|
|
3004
|
+
except Exception as e:
|
|
3005
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3006
|
+
raise
|
|
3007
|
+
else:
|
|
3008
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
def DescribePrivateCABindedProducts(self, request):
|
|
3012
|
+
r"""查询私有CA绑定的产品列表
|
|
3013
|
+
|
|
3014
|
+
:param request: Request instance for DescribePrivateCABindedProducts.
|
|
3015
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribePrivateCABindedProductsRequest`
|
|
3016
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribePrivateCABindedProductsResponse`
|
|
3017
|
+
|
|
3018
|
+
"""
|
|
3019
|
+
try:
|
|
3020
|
+
params = request._serialize()
|
|
3021
|
+
headers = request.headers
|
|
3022
|
+
body = self.call("DescribePrivateCABindedProducts", params, headers=headers)
|
|
3023
|
+
response = json.loads(body)
|
|
3024
|
+
model = models.DescribePrivateCABindedProductsResponse()
|
|
3025
|
+
model._deserialize(response["Response"])
|
|
3026
|
+
return model
|
|
3027
|
+
except Exception as e:
|
|
3028
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3029
|
+
raise
|
|
3030
|
+
else:
|
|
3031
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
def DescribePrivateCAs(self, request):
|
|
3035
|
+
r"""查询私有CA证书列表
|
|
3036
|
+
|
|
3037
|
+
:param request: Request instance for DescribePrivateCAs.
|
|
3038
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribePrivateCAsRequest`
|
|
3039
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribePrivateCAsResponse`
|
|
3040
|
+
|
|
3041
|
+
"""
|
|
3042
|
+
try:
|
|
3043
|
+
params = request._serialize()
|
|
3044
|
+
headers = request.headers
|
|
3045
|
+
body = self.call("DescribePrivateCAs", params, headers=headers)
|
|
3046
|
+
response = json.loads(body)
|
|
3047
|
+
model = models.DescribePrivateCAsResponse()
|
|
3048
|
+
model._deserialize(response["Response"])
|
|
3049
|
+
return model
|
|
3050
|
+
except Exception as e:
|
|
3051
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3052
|
+
raise
|
|
3053
|
+
else:
|
|
3054
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
def DescribeProductCA(self, request):
|
|
3058
|
+
r"""查询产品绑定的CA证书
|
|
3059
|
+
|
|
3060
|
+
:param request: Request instance for DescribeProductCA.
|
|
3061
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeProductCARequest`
|
|
3062
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeProductCAResponse`
|
|
3063
|
+
|
|
3064
|
+
"""
|
|
3065
|
+
try:
|
|
3066
|
+
params = request._serialize()
|
|
3067
|
+
headers = request.headers
|
|
3068
|
+
body = self.call("DescribeProductCA", params, headers=headers)
|
|
3069
|
+
response = json.loads(body)
|
|
3070
|
+
model = models.DescribeProductCAResponse()
|
|
3071
|
+
model._deserialize(response["Response"])
|
|
3072
|
+
return model
|
|
3073
|
+
except Exception as e:
|
|
3074
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3075
|
+
raise
|
|
3076
|
+
else:
|
|
3077
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3078
|
+
|
|
3079
|
+
|
|
2919
3080
|
def DescribeProductCloudStorageAIService(self, request):
|
|
2920
3081
|
r"""查询指定产品的云存 AI 服务开通状态
|
|
2921
3082
|
|
|
@@ -6014,6 +6175,52 @@ class IotexplorerClient(AbstractClient):
|
|
|
6014
6175
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6015
6176
|
|
|
6016
6177
|
|
|
6178
|
+
def UpdatePrivateCA(self, request):
|
|
6179
|
+
r"""更新私有CA证书
|
|
6180
|
+
|
|
6181
|
+
:param request: Request instance for UpdatePrivateCA.
|
|
6182
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdatePrivateCARequest`
|
|
6183
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdatePrivateCAResponse`
|
|
6184
|
+
|
|
6185
|
+
"""
|
|
6186
|
+
try:
|
|
6187
|
+
params = request._serialize()
|
|
6188
|
+
headers = request.headers
|
|
6189
|
+
body = self.call("UpdatePrivateCA", params, headers=headers)
|
|
6190
|
+
response = json.loads(body)
|
|
6191
|
+
model = models.UpdatePrivateCAResponse()
|
|
6192
|
+
model._deserialize(response["Response"])
|
|
6193
|
+
return model
|
|
6194
|
+
except Exception as e:
|
|
6195
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6196
|
+
raise
|
|
6197
|
+
else:
|
|
6198
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6199
|
+
|
|
6200
|
+
|
|
6201
|
+
def UpdateProductPrivateCA(self, request):
|
|
6202
|
+
r"""更新产品的私有CA
|
|
6203
|
+
|
|
6204
|
+
:param request: Request instance for UpdateProductPrivateCA.
|
|
6205
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateProductPrivateCARequest`
|
|
6206
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateProductPrivateCAResponse`
|
|
6207
|
+
|
|
6208
|
+
"""
|
|
6209
|
+
try:
|
|
6210
|
+
params = request._serialize()
|
|
6211
|
+
headers = request.headers
|
|
6212
|
+
body = self.call("UpdateProductPrivateCA", params, headers=headers)
|
|
6213
|
+
response = json.loads(body)
|
|
6214
|
+
model = models.UpdateProductPrivateCAResponse()
|
|
6215
|
+
model._deserialize(response["Response"])
|
|
6216
|
+
return model
|
|
6217
|
+
except Exception as e:
|
|
6218
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6219
|
+
raise
|
|
6220
|
+
else:
|
|
6221
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6222
|
+
|
|
6223
|
+
|
|
6017
6224
|
def UploadFirmware(self, request):
|
|
6018
6225
|
r"""本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
6019
6226
|
|
|
@@ -729,6 +729,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
729
729
|
|
|
730
730
|
return await self.call_and_deserialize(**kwargs)
|
|
731
731
|
|
|
732
|
+
async def CreatePrivateCA(
|
|
733
|
+
self,
|
|
734
|
+
request: models.CreatePrivateCARequest,
|
|
735
|
+
opts: Dict = None,
|
|
736
|
+
) -> models.CreatePrivateCAResponse:
|
|
737
|
+
"""
|
|
738
|
+
创建私有CA证书
|
|
739
|
+
"""
|
|
740
|
+
|
|
741
|
+
kwargs = {}
|
|
742
|
+
kwargs["action"] = "CreatePrivateCA"
|
|
743
|
+
kwargs["params"] = request._serialize()
|
|
744
|
+
kwargs["resp_cls"] = models.CreatePrivateCAResponse
|
|
745
|
+
kwargs["headers"] = request.headers
|
|
746
|
+
kwargs["opts"] = opts or {}
|
|
747
|
+
|
|
748
|
+
return await self.call_and_deserialize(**kwargs)
|
|
749
|
+
|
|
732
750
|
async def CreateProject(
|
|
733
751
|
self,
|
|
734
752
|
request: models.CreateProjectRequest,
|
|
@@ -1197,6 +1215,42 @@ class IotexplorerClient(AbstractClient):
|
|
|
1197
1215
|
|
|
1198
1216
|
return await self.call_and_deserialize(**kwargs)
|
|
1199
1217
|
|
|
1218
|
+
async def DeletePrivateCA(
|
|
1219
|
+
self,
|
|
1220
|
+
request: models.DeletePrivateCARequest,
|
|
1221
|
+
opts: Dict = None,
|
|
1222
|
+
) -> models.DeletePrivateCAResponse:
|
|
1223
|
+
"""
|
|
1224
|
+
删除私有CA证书
|
|
1225
|
+
"""
|
|
1226
|
+
|
|
1227
|
+
kwargs = {}
|
|
1228
|
+
kwargs["action"] = "DeletePrivateCA"
|
|
1229
|
+
kwargs["params"] = request._serialize()
|
|
1230
|
+
kwargs["resp_cls"] = models.DeletePrivateCAResponse
|
|
1231
|
+
kwargs["headers"] = request.headers
|
|
1232
|
+
kwargs["opts"] = opts or {}
|
|
1233
|
+
|
|
1234
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1235
|
+
|
|
1236
|
+
async def DeleteProductPrivateCA(
|
|
1237
|
+
self,
|
|
1238
|
+
request: models.DeleteProductPrivateCARequest,
|
|
1239
|
+
opts: Dict = None,
|
|
1240
|
+
) -> models.DeleteProductPrivateCAResponse:
|
|
1241
|
+
"""
|
|
1242
|
+
删除产品绑定的CA证书
|
|
1243
|
+
"""
|
|
1244
|
+
|
|
1245
|
+
kwargs = {}
|
|
1246
|
+
kwargs["action"] = "DeleteProductPrivateCA"
|
|
1247
|
+
kwargs["params"] = request._serialize()
|
|
1248
|
+
kwargs["resp_cls"] = models.DeleteProductPrivateCAResponse
|
|
1249
|
+
kwargs["headers"] = request.headers
|
|
1250
|
+
kwargs["opts"] = opts or {}
|
|
1251
|
+
|
|
1252
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1253
|
+
|
|
1200
1254
|
async def DeleteProject(
|
|
1201
1255
|
self,
|
|
1202
1256
|
request: models.DeleteProjectRequest,
|
|
@@ -2295,6 +2349,78 @@ class IotexplorerClient(AbstractClient):
|
|
|
2295
2349
|
|
|
2296
2350
|
return await self.call_and_deserialize(**kwargs)
|
|
2297
2351
|
|
|
2352
|
+
async def DescribePrivateCA(
|
|
2353
|
+
self,
|
|
2354
|
+
request: models.DescribePrivateCARequest,
|
|
2355
|
+
opts: Dict = None,
|
|
2356
|
+
) -> models.DescribePrivateCAResponse:
|
|
2357
|
+
"""
|
|
2358
|
+
查询私有化CA信息
|
|
2359
|
+
"""
|
|
2360
|
+
|
|
2361
|
+
kwargs = {}
|
|
2362
|
+
kwargs["action"] = "DescribePrivateCA"
|
|
2363
|
+
kwargs["params"] = request._serialize()
|
|
2364
|
+
kwargs["resp_cls"] = models.DescribePrivateCAResponse
|
|
2365
|
+
kwargs["headers"] = request.headers
|
|
2366
|
+
kwargs["opts"] = opts or {}
|
|
2367
|
+
|
|
2368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2369
|
+
|
|
2370
|
+
async def DescribePrivateCABindedProducts(
|
|
2371
|
+
self,
|
|
2372
|
+
request: models.DescribePrivateCABindedProductsRequest,
|
|
2373
|
+
opts: Dict = None,
|
|
2374
|
+
) -> models.DescribePrivateCABindedProductsResponse:
|
|
2375
|
+
"""
|
|
2376
|
+
查询私有CA绑定的产品列表
|
|
2377
|
+
"""
|
|
2378
|
+
|
|
2379
|
+
kwargs = {}
|
|
2380
|
+
kwargs["action"] = "DescribePrivateCABindedProducts"
|
|
2381
|
+
kwargs["params"] = request._serialize()
|
|
2382
|
+
kwargs["resp_cls"] = models.DescribePrivateCABindedProductsResponse
|
|
2383
|
+
kwargs["headers"] = request.headers
|
|
2384
|
+
kwargs["opts"] = opts or {}
|
|
2385
|
+
|
|
2386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2387
|
+
|
|
2388
|
+
async def DescribePrivateCAs(
|
|
2389
|
+
self,
|
|
2390
|
+
request: models.DescribePrivateCAsRequest,
|
|
2391
|
+
opts: Dict = None,
|
|
2392
|
+
) -> models.DescribePrivateCAsResponse:
|
|
2393
|
+
"""
|
|
2394
|
+
查询私有CA证书列表
|
|
2395
|
+
"""
|
|
2396
|
+
|
|
2397
|
+
kwargs = {}
|
|
2398
|
+
kwargs["action"] = "DescribePrivateCAs"
|
|
2399
|
+
kwargs["params"] = request._serialize()
|
|
2400
|
+
kwargs["resp_cls"] = models.DescribePrivateCAsResponse
|
|
2401
|
+
kwargs["headers"] = request.headers
|
|
2402
|
+
kwargs["opts"] = opts or {}
|
|
2403
|
+
|
|
2404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2405
|
+
|
|
2406
|
+
async def DescribeProductCA(
|
|
2407
|
+
self,
|
|
2408
|
+
request: models.DescribeProductCARequest,
|
|
2409
|
+
opts: Dict = None,
|
|
2410
|
+
) -> models.DescribeProductCAResponse:
|
|
2411
|
+
"""
|
|
2412
|
+
查询产品绑定的CA证书
|
|
2413
|
+
"""
|
|
2414
|
+
|
|
2415
|
+
kwargs = {}
|
|
2416
|
+
kwargs["action"] = "DescribeProductCA"
|
|
2417
|
+
kwargs["params"] = request._serialize()
|
|
2418
|
+
kwargs["resp_cls"] = models.DescribeProductCAResponse
|
|
2419
|
+
kwargs["headers"] = request.headers
|
|
2420
|
+
kwargs["opts"] = opts or {}
|
|
2421
|
+
|
|
2422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2423
|
+
|
|
2298
2424
|
async def DescribeProductCloudStorageAIService(
|
|
2299
2425
|
self,
|
|
2300
2426
|
request: models.DescribeProductCloudStorageAIServiceRequest,
|
|
@@ -4723,6 +4849,42 @@ class IotexplorerClient(AbstractClient):
|
|
|
4723
4849
|
|
|
4724
4850
|
return await self.call_and_deserialize(**kwargs)
|
|
4725
4851
|
|
|
4852
|
+
async def UpdatePrivateCA(
|
|
4853
|
+
self,
|
|
4854
|
+
request: models.UpdatePrivateCARequest,
|
|
4855
|
+
opts: Dict = None,
|
|
4856
|
+
) -> models.UpdatePrivateCAResponse:
|
|
4857
|
+
"""
|
|
4858
|
+
更新私有CA证书
|
|
4859
|
+
"""
|
|
4860
|
+
|
|
4861
|
+
kwargs = {}
|
|
4862
|
+
kwargs["action"] = "UpdatePrivateCA"
|
|
4863
|
+
kwargs["params"] = request._serialize()
|
|
4864
|
+
kwargs["resp_cls"] = models.UpdatePrivateCAResponse
|
|
4865
|
+
kwargs["headers"] = request.headers
|
|
4866
|
+
kwargs["opts"] = opts or {}
|
|
4867
|
+
|
|
4868
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4869
|
+
|
|
4870
|
+
async def UpdateProductPrivateCA(
|
|
4871
|
+
self,
|
|
4872
|
+
request: models.UpdateProductPrivateCARequest,
|
|
4873
|
+
opts: Dict = None,
|
|
4874
|
+
) -> models.UpdateProductPrivateCAResponse:
|
|
4875
|
+
"""
|
|
4876
|
+
更新产品的私有CA
|
|
4877
|
+
"""
|
|
4878
|
+
|
|
4879
|
+
kwargs = {}
|
|
4880
|
+
kwargs["action"] = "UpdateProductPrivateCA"
|
|
4881
|
+
kwargs["params"] = request._serialize()
|
|
4882
|
+
kwargs["resp_cls"] = models.UpdateProductPrivateCAResponse
|
|
4883
|
+
kwargs["headers"] = request.headers
|
|
4884
|
+
kwargs["opts"] = opts or {}
|
|
4885
|
+
|
|
4886
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4887
|
+
|
|
4726
4888
|
async def UploadFirmware(
|
|
4727
4889
|
self,
|
|
4728
4890
|
request: models.UploadFirmwareRequest,
|