tencentcloud-sdk-python 3.0.1189__py2.py3-none-any.whl → 3.0.1190__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/models.py +2 -1
- tencentcloud/cbs/v20170312/cbs_client.py +23 -0
- tencentcloud/cbs/v20170312/models.py +79 -0
- tencentcloud/cdz/__init__.py +0 -0
- tencentcloud/cdz/v20221123/__init__.py +0 -0
- tencentcloud/cdz/v20221123/cdz_client.py +72 -0
- tencentcloud/cdz/v20221123/errorcodes.py +24 -0
- tencentcloud/cdz/v20221123/models.py +467 -0
- tencentcloud/clb/v20180317/models.py +14 -0
- tencentcloud/dasb/v20191018/models.py +2 -2
- tencentcloud/ess/v20201111/models.py +7 -13
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -4
- tencentcloud/essbasic/v20210526/models.py +1 -8
- tencentcloud/facefusion/v20220927/models.py +13 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +24 -0
- tencentcloud/hunyuan/v20230901/models.py +141 -0
- tencentcloud/mps/v20190612/models.py +4 -2
- tencentcloud/mps/v20190612/mps_client.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +45 -0
- tencentcloud/vpc/v20170312/models.py +2466 -334
- tencentcloud/vpc/v20170312/vpc_client.py +334 -0
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/RECORD +27 -22
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1189.dist-info → tencentcloud_sdk_python-3.0.1190.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -295,7 +295,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
295
295
|
• 16k_es:西班牙语;
|
296
296
|
• 16k_hi:印地语;
|
297
297
|
• 16k_fr:法语;
|
298
|
-
• 16k_de
|
298
|
+
• 16k_de:德语;
|
299
299
|
:type EngineType: str
|
300
300
|
:param _Url: 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
|
301
301
|
:type Url: str
|
@@ -612,6 +612,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
612
612
|
**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
|
613
613
|
• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
|
614
614
|
• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
|
615
|
+
• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);
|
615
616
|
• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
616
617
|
• **16k_en:**英语;
|
617
618
|
• **16k_yue:**粤语;
|
@@ -510,6 +510,29 @@ class CbsClient(AbstractClient):
|
|
510
510
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
511
511
|
|
512
512
|
|
513
|
+
def DescribeSnapshotOverview(self, request):
|
514
|
+
"""该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。
|
515
|
+
|
516
|
+
:param request: Request instance for DescribeSnapshotOverview.
|
517
|
+
:type request: :class:`tencentcloud.cbs.v20170312.models.DescribeSnapshotOverviewRequest`
|
518
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.DescribeSnapshotOverviewResponse`
|
519
|
+
|
520
|
+
"""
|
521
|
+
try:
|
522
|
+
params = request._serialize()
|
523
|
+
headers = request.headers
|
524
|
+
body = self.call("DescribeSnapshotOverview", params, headers=headers)
|
525
|
+
response = json.loads(body)
|
526
|
+
model = models.DescribeSnapshotOverviewResponse()
|
527
|
+
model._deserialize(response["Response"])
|
528
|
+
return model
|
529
|
+
except Exception as e:
|
530
|
+
if isinstance(e, TencentCloudSDKException):
|
531
|
+
raise
|
532
|
+
else:
|
533
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
534
|
+
|
535
|
+
|
513
536
|
def DescribeSnapshotSharePermission(self, request):
|
514
537
|
"""本接口(DescribeSnapshotSharePermission)用于查询快照的分享信息。
|
515
538
|
|
@@ -2842,6 +2842,85 @@ class DescribeInstancesDiskNumResponse(AbstractModel):
|
|
2842
2842
|
self._RequestId = params.get("RequestId")
|
2843
2843
|
|
2844
2844
|
|
2845
|
+
class DescribeSnapshotOverviewRequest(AbstractModel):
|
2846
|
+
"""DescribeSnapshotOverview请求参数结构体
|
2847
|
+
|
2848
|
+
"""
|
2849
|
+
|
2850
|
+
|
2851
|
+
class DescribeSnapshotOverviewResponse(AbstractModel):
|
2852
|
+
"""DescribeSnapshotOverview返回参数结构体
|
2853
|
+
|
2854
|
+
"""
|
2855
|
+
|
2856
|
+
def __init__(self):
|
2857
|
+
r"""
|
2858
|
+
:param _TotalNums: 当前总有效快照数量
|
2859
|
+
:type TotalNums: int
|
2860
|
+
:param _TotalSize: 已使用快照总容量大小,容量单位为GiB
|
2861
|
+
:type TotalSize: float
|
2862
|
+
:param _FreeQuota: 快照免费额度大小,额度单位为GiB
|
2863
|
+
:type FreeQuota: float
|
2864
|
+
:param _RealTradeSize: 快照真实产生计费的总容量大小,单位为GiB
|
2865
|
+
:type RealTradeSize: float
|
2866
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2867
|
+
:type RequestId: str
|
2868
|
+
"""
|
2869
|
+
self._TotalNums = None
|
2870
|
+
self._TotalSize = None
|
2871
|
+
self._FreeQuota = None
|
2872
|
+
self._RealTradeSize = None
|
2873
|
+
self._RequestId = None
|
2874
|
+
|
2875
|
+
@property
|
2876
|
+
def TotalNums(self):
|
2877
|
+
return self._TotalNums
|
2878
|
+
|
2879
|
+
@TotalNums.setter
|
2880
|
+
def TotalNums(self, TotalNums):
|
2881
|
+
self._TotalNums = TotalNums
|
2882
|
+
|
2883
|
+
@property
|
2884
|
+
def TotalSize(self):
|
2885
|
+
return self._TotalSize
|
2886
|
+
|
2887
|
+
@TotalSize.setter
|
2888
|
+
def TotalSize(self, TotalSize):
|
2889
|
+
self._TotalSize = TotalSize
|
2890
|
+
|
2891
|
+
@property
|
2892
|
+
def FreeQuota(self):
|
2893
|
+
return self._FreeQuota
|
2894
|
+
|
2895
|
+
@FreeQuota.setter
|
2896
|
+
def FreeQuota(self, FreeQuota):
|
2897
|
+
self._FreeQuota = FreeQuota
|
2898
|
+
|
2899
|
+
@property
|
2900
|
+
def RealTradeSize(self):
|
2901
|
+
return self._RealTradeSize
|
2902
|
+
|
2903
|
+
@RealTradeSize.setter
|
2904
|
+
def RealTradeSize(self, RealTradeSize):
|
2905
|
+
self._RealTradeSize = RealTradeSize
|
2906
|
+
|
2907
|
+
@property
|
2908
|
+
def RequestId(self):
|
2909
|
+
return self._RequestId
|
2910
|
+
|
2911
|
+
@RequestId.setter
|
2912
|
+
def RequestId(self, RequestId):
|
2913
|
+
self._RequestId = RequestId
|
2914
|
+
|
2915
|
+
|
2916
|
+
def _deserialize(self, params):
|
2917
|
+
self._TotalNums = params.get("TotalNums")
|
2918
|
+
self._TotalSize = params.get("TotalSize")
|
2919
|
+
self._FreeQuota = params.get("FreeQuota")
|
2920
|
+
self._RealTradeSize = params.get("RealTradeSize")
|
2921
|
+
self._RequestId = params.get("RequestId")
|
2922
|
+
|
2923
|
+
|
2845
2924
|
class DescribeSnapshotSharePermissionRequest(AbstractModel):
|
2846
2925
|
"""DescribeSnapshotSharePermission请求参数结构体
|
2847
2926
|
|
File without changes
|
File without changes
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import json
|
17
|
+
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
+
from tencentcloud.cdz.v20221123 import models
|
21
|
+
|
22
|
+
|
23
|
+
class CdzClient(AbstractClient):
|
24
|
+
_apiVersion = '2022-11-23'
|
25
|
+
_endpoint = 'cdz.tencentcloudapi.com'
|
26
|
+
_service = 'cdz'
|
27
|
+
|
28
|
+
|
29
|
+
def DescribeCloudDedicatedZoneHosts(self, request):
|
30
|
+
"""查询可用区的Host和Host上部署的实例
|
31
|
+
|
32
|
+
:param request: Request instance for DescribeCloudDedicatedZoneHosts.
|
33
|
+
:type request: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneHostsRequest`
|
34
|
+
:rtype: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneHostsResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("DescribeCloudDedicatedZoneHosts", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.DescribeCloudDedicatedZoneHostsResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
52
|
+
def DescribeCloudDedicatedZoneResourceSummary(self, request):
|
53
|
+
"""查询专属可用区各个垂直产品的资源使用情况
|
54
|
+
|
55
|
+
:param request: Request instance for DescribeCloudDedicatedZoneResourceSummary.
|
56
|
+
:type request: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneResourceSummaryRequest`
|
57
|
+
:rtype: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneResourceSummaryResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("DescribeCloudDedicatedZoneResourceSummary", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.DescribeCloudDedicatedZoneResourceSummaryResponse()
|
66
|
+
model._deserialize(response["Response"])
|
67
|
+
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# 方法不存在
|
18
|
+
FAILEDOPERATION_INVALIDACTION = 'FailedOperation.InvalidAction'
|
19
|
+
|
20
|
+
# HostUuids参数和InstancesIds参数不能同时传递。
|
21
|
+
INVALIDPARAMETER_HOSTUUIDSANDINSIDSCANNOTAPPEARSAMETIME = 'InvalidParameter.HostUuidsAndInsIdsCannotAppearSameTime'
|
22
|
+
|
23
|
+
# 该专属可用区不存在
|
24
|
+
RESOURCENOTFOUND_CDZIDNOTFOUND = 'ResourceNotFound.CdzIdNotFound'
|