tencentcloud-sdk-python 3.0.1174__py2.py3-none-any.whl → 3.0.1176__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 +1 -1
- tencentcloud/asr/v20190614/asr_client.py +23 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +317 -0
- tencentcloud/cls/v20201016/models.py +157 -0
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -70
- tencentcloud/cynosdb/v20190107/models.py +13 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +226 -1
- tencentcloud/dts/v20211206/models.py +3 -3
- tencentcloud/ess/v20201111/models.py +4 -0
- tencentcloud/essbasic/v20210526/models.py +13 -3
- tencentcloud/faceid/v20180301/models.py +1 -16
- tencentcloud/ioa/v20220601/ioa_client.py +69 -0
- tencentcloud/ioa/v20220601/models.py +1239 -63
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +496 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +15 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +11 -8
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +69 -0
- tencentcloud/lke/v20231130/models.py +605 -5
- tencentcloud/ocr/v20181119/ocr_client.py +4 -2
- tencentcloud/partners/v20180321/models.py +13 -0
- tencentcloud/tcr/v20190924/models.py +13 -0
- tencentcloud/tcss/v20201101/models.py +150 -27
- tencentcloud/tdmq/v20200217/models.py +427 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/trocket/v20230308/models.py +290 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +25 -5
- tencentcloud/tsi/__init__.py +0 -0
- tencentcloud/tsi/v20210325/__init__.py +0 -0
- tencentcloud/tsi/v20210325/errorcodes.py +33 -0
- tencentcloud/tsi/v20210325/models.py +547 -0
- tencentcloud/tsi/v20210325/tsi_client.py +95 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +26 -2
- tencentcloud/vpc/v20170312/vpc_client.py +4 -4
- tencentcloud/waf/v20180125/models.py +108 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +539 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/RECORD +54 -49
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/top_level.txt +0 -0
@@ -2303,7 +2303,7 @@ class LighthouseClient(AbstractClient):
|
|
2303
2303
|
|
2304
2304
|
|
2305
2305
|
def RerunDockerContainer(self, request):
|
2306
|
-
"""重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。
|
2306
|
+
"""重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重建情况。
|
2307
2307
|
|
2308
2308
|
:param request: Request instance for RerunDockerContainer.
|
2309
2309
|
:type request: :class:`tencentcloud.lighthouse.v20200324.models.RerunDockerContainerRequest`
|
@@ -3468,7 +3468,7 @@ class DescribeBundleDiscountRequest(AbstractModel):
|
|
3468
3468
|
|
3469
3469
|
def __init__(self):
|
3470
3470
|
r"""
|
3471
|
-
:param _BundleId: 套餐 ID
|
3471
|
+
:param _BundleId: 套餐 ID。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。
|
3472
3472
|
:type BundleId: str
|
3473
3473
|
"""
|
3474
3474
|
self._BundleId = None
|
@@ -3555,7 +3555,7 @@ class DescribeBundlesRequest(AbstractModel):
|
|
3555
3555
|
|
3556
3556
|
def __init__(self):
|
3557
3557
|
r"""
|
3558
|
-
:param _BundleIds: 套餐 ID
|
3558
|
+
:param _BundleIds: 套餐 ID 列表。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。
|
3559
3559
|
:type BundleIds: list of str
|
3560
3560
|
:param _Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
3561
3561
|
:type Offset: int
|
@@ -6773,7 +6773,7 @@ class DescribeResetInstanceBlueprintsRequest(AbstractModel):
|
|
6773
6773
|
|
6774
6774
|
def __init__(self):
|
6775
6775
|
r"""
|
6776
|
-
:param _InstanceId: 实例ID
|
6776
|
+
:param _InstanceId: 实例ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
6777
6777
|
:type InstanceId: str
|
6778
6778
|
:param _Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
|
6779
6779
|
:type Offset: int
|
@@ -6783,6 +6783,7 @@ class DescribeResetInstanceBlueprintsRequest(AbstractModel):
|
|
6783
6783
|
<li>blueprint-id</li>按照【镜像 ID】进行过滤。
|
6784
6784
|
类型:String
|
6785
6785
|
必选:否
|
6786
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47689">DescribeBlueprints</a> 接口返回值中的 BlueprintId 获取。
|
6786
6787
|
<li>blueprint-type</li>按照【镜像类型】进行过滤。
|
6787
6788
|
取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。
|
6788
6789
|
类型:String
|
@@ -6794,9 +6795,11 @@ class DescribeResetInstanceBlueprintsRequest(AbstractModel):
|
|
6794
6795
|
<li>blueprint-name</li>按照【镜像名称】进行过滤。
|
6795
6796
|
类型:String
|
6796
6797
|
必选:否
|
6798
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47689">DescribeBlueprints</a> 接口返回值中的 BlueprintName 获取。
|
6797
6799
|
<li>blueprint-state</li>按照【镜像状态】进行过滤。
|
6798
6800
|
类型:String
|
6799
6801
|
必选:否
|
6802
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47689">DescribeBlueprints</a> 接口返回值中的 BlueprintState 获取。
|
6800
6803
|
|
6801
6804
|
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。
|
6802
6805
|
:type Filters: list of Filter
|
@@ -11971,9 +11974,9 @@ class ModifyDockerContainerRequest(AbstractModel):
|
|
11971
11974
|
|
11972
11975
|
def __init__(self):
|
11973
11976
|
r"""
|
11974
|
-
:param _InstanceId: 实例ID
|
11977
|
+
:param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
11975
11978
|
:type InstanceId: str
|
11976
|
-
:param _ContainerId: 容器ID
|
11979
|
+
:param _ContainerId: 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
|
11977
11980
|
:type ContainerId: str
|
11978
11981
|
:param _Envs: 环境变量列表
|
11979
11982
|
:type Envs: list of ContainerEnv
|
@@ -13507,11 +13510,11 @@ class RerunDockerContainerRequest(AbstractModel):
|
|
13507
13510
|
|
13508
13511
|
def __init__(self):
|
13509
13512
|
r"""
|
13510
|
-
:param _InstanceId: 实例ID
|
13513
|
+
:param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
13511
13514
|
:type InstanceId: str
|
13512
13515
|
:param _ContainerConfiguration: 重新创建的容器配置。
|
13513
13516
|
:type ContainerConfiguration: :class:`tencentcloud.lighthouse.v20200324.models.DockerContainerConfiguration`
|
13514
|
-
:param _ContainerId: 容器ID
|
13517
|
+
:param _ContainerId: 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。
|
13515
13518
|
:type ContainerId: str
|
13516
13519
|
"""
|
13517
13520
|
self._InstanceId = None
|
@@ -14142,7 +14145,7 @@ class RunDockerContainersRequest(AbstractModel):
|
|
14142
14145
|
|
14143
14146
|
def __init__(self):
|
14144
14147
|
r"""
|
14145
|
-
:param _InstanceId: 实例ID
|
14148
|
+
:param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
14146
14149
|
:type InstanceId: str
|
14147
14150
|
:param _Containers: 要创建的容器列表。
|
14148
14151
|
:type Containers: list of DockerContainerConfiguration
|
@@ -1737,10 +1737,14 @@ class CommonMixControlParams(AbstractModel):
|
|
1737
1737
|
:param _PassInputSei: 取值范围[0,1]
|
1738
1738
|
填1时,透传原始流的sei
|
1739
1739
|
:type PassInputSei: int
|
1740
|
+
:param _UsePictureTransparent: 取值范围[0,1]
|
1741
|
+
填1时,图片输入中的透明通道生效。
|
1742
|
+
:type UsePictureTransparent: int
|
1740
1743
|
"""
|
1741
1744
|
self._UseMixCropCenter = None
|
1742
1745
|
self._AllowCopy = None
|
1743
1746
|
self._PassInputSei = None
|
1747
|
+
self._UsePictureTransparent = None
|
1744
1748
|
|
1745
1749
|
@property
|
1746
1750
|
def UseMixCropCenter(self):
|
@@ -1766,11 +1770,20 @@ class CommonMixControlParams(AbstractModel):
|
|
1766
1770
|
def PassInputSei(self, PassInputSei):
|
1767
1771
|
self._PassInputSei = PassInputSei
|
1768
1772
|
|
1773
|
+
@property
|
1774
|
+
def UsePictureTransparent(self):
|
1775
|
+
return self._UsePictureTransparent
|
1776
|
+
|
1777
|
+
@UsePictureTransparent.setter
|
1778
|
+
def UsePictureTransparent(self, UsePictureTransparent):
|
1779
|
+
self._UsePictureTransparent = UsePictureTransparent
|
1780
|
+
|
1769
1781
|
|
1770
1782
|
def _deserialize(self, params):
|
1771
1783
|
self._UseMixCropCenter = params.get("UseMixCropCenter")
|
1772
1784
|
self._AllowCopy = params.get("AllowCopy")
|
1773
1785
|
self._PassInputSei = params.get("PassInputSei")
|
1786
|
+
self._UsePictureTransparent = params.get("UsePictureTransparent")
|
1774
1787
|
memeber_set = set(params.keys())
|
1775
1788
|
for name, value in vars(self).items():
|
1776
1789
|
property_name = name[1:]
|
@@ -26,6 +26,9 @@ FAILEDOPERATION_FILEDECODEFAILED = 'FailedOperation.FileDecodeFailed'
|
|
26
26
|
# 图片解码失败。
|
27
27
|
FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
28
28
|
|
29
|
+
# 图片尺寸过大,请参考输入参数中关于图片大小限制的说明。
|
30
|
+
FAILEDOPERATION_IMAGESIZETOOLARGE = 'FailedOperation.ImageSizeTooLarge'
|
31
|
+
|
29
32
|
# OCR识别失败。
|
30
33
|
FAILEDOPERATION_OCRFAILED = 'FailedOperation.OcrFailed'
|
31
34
|
|
@@ -72,6 +72,29 @@ class LkeClient(AbstractClient):
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
73
|
|
74
74
|
|
75
|
+
def ConvertDocument(self, request):
|
76
|
+
"""接口支持图片和PDF转可编辑word格式文件,将文件中的图片、文本、表格等元素识别,并根据位置进行还原。
|
77
|
+
|
78
|
+
:param request: Request instance for ConvertDocument.
|
79
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.ConvertDocumentRequest`
|
80
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.ConvertDocumentResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("ConvertDocument", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.ConvertDocumentResponse()
|
89
|
+
model._deserialize(response["Response"])
|
90
|
+
return model
|
91
|
+
except Exception as e:
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
93
|
+
raise
|
94
|
+
else:
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
|
+
|
97
|
+
|
75
98
|
def CreateApp(self, request):
|
76
99
|
"""创建知识引擎应用。
|
77
100
|
|
@@ -742,6 +765,29 @@ class LkeClient(AbstractClient):
|
|
742
765
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
743
766
|
|
744
767
|
|
768
|
+
def GetAnswerTypeDataCount(self, request):
|
769
|
+
"""回答类型数据统计
|
770
|
+
|
771
|
+
:param request: Request instance for GetAnswerTypeDataCount.
|
772
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.GetAnswerTypeDataCountRequest`
|
773
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.GetAnswerTypeDataCountResponse`
|
774
|
+
|
775
|
+
"""
|
776
|
+
try:
|
777
|
+
params = request._serialize()
|
778
|
+
headers = request.headers
|
779
|
+
body = self.call("GetAnswerTypeDataCount", params, headers=headers)
|
780
|
+
response = json.loads(body)
|
781
|
+
model = models.GetAnswerTypeDataCountResponse()
|
782
|
+
model._deserialize(response["Response"])
|
783
|
+
return model
|
784
|
+
except Exception as e:
|
785
|
+
if isinstance(e, TencentCloudSDKException):
|
786
|
+
raise
|
787
|
+
else:
|
788
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
789
|
+
|
790
|
+
|
745
791
|
def GetAppKnowledgeCount(self, request):
|
746
792
|
"""获取模型列表
|
747
793
|
|
@@ -835,6 +881,29 @@ class LkeClient(AbstractClient):
|
|
835
881
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
836
882
|
|
837
883
|
|
884
|
+
def GetLikeDataCount(self, request):
|
885
|
+
"""点赞点踩数据统计
|
886
|
+
|
887
|
+
:param request: Request instance for GetLikeDataCount.
|
888
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.GetLikeDataCountRequest`
|
889
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.GetLikeDataCountResponse`
|
890
|
+
|
891
|
+
"""
|
892
|
+
try:
|
893
|
+
params = request._serialize()
|
894
|
+
headers = request.headers
|
895
|
+
body = self.call("GetLikeDataCount", params, headers=headers)
|
896
|
+
response = json.loads(body)
|
897
|
+
model = models.GetLikeDataCountResponse()
|
898
|
+
model._deserialize(response["Response"])
|
899
|
+
return model
|
900
|
+
except Exception as e:
|
901
|
+
if isinstance(e, TencentCloudSDKException):
|
902
|
+
raise
|
903
|
+
else:
|
904
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
905
|
+
|
906
|
+
|
838
907
|
def GetMsgRecord(self, request):
|
839
908
|
"""获取推荐问题
|
840
909
|
|