tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -72,6 +72,29 @@ class CarClient(AbstractClient):
|
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def DescribeConcurrentCount(self, request):
|
|
76
|
+
r"""获取并发计数
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for DescribeConcurrentCount.
|
|
79
|
+
:type request: :class:`tencentcloud.car.v20220110.models.DescribeConcurrentCountRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.car.v20220110.models.DescribeConcurrentCountResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("DescribeConcurrentCount", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.DescribeConcurrentCountResponse()
|
|
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 DestroySession(self, request):
|
|
76
99
|
r"""销毁会话。如果该会话开启了云端推流,那么销毁会话时会结束云端推流。
|
|
77
100
|
|
|
@@ -61,6 +61,24 @@ class CarClient(AbstractClient):
|
|
|
61
61
|
|
|
62
62
|
return await self.call_and_deserialize(**kwargs)
|
|
63
63
|
|
|
64
|
+
async def DescribeConcurrentCount(
|
|
65
|
+
self,
|
|
66
|
+
request: models.DescribeConcurrentCountRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.DescribeConcurrentCountResponse:
|
|
69
|
+
"""
|
|
70
|
+
获取并发计数
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "DescribeConcurrentCount"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.DescribeConcurrentCountResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
64
82
|
async def DestroySession(
|
|
65
83
|
self,
|
|
66
84
|
request: models.DestroySessionRequest,
|
|
@@ -335,6 +335,115 @@ class CreateSessionResponse(AbstractModel):
|
|
|
335
335
|
self._RequestId = params.get("RequestId")
|
|
336
336
|
|
|
337
337
|
|
|
338
|
+
class DescribeConcurrentCountRequest(AbstractModel):
|
|
339
|
+
r"""DescribeConcurrentCount请求参数结构体
|
|
340
|
+
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
def __init__(self):
|
|
344
|
+
r"""
|
|
345
|
+
:param _ProjectId: 项目ID
|
|
346
|
+
:type ProjectId: str
|
|
347
|
+
:param _ApplicationCategory: 应用类别(DESKTOP: 桌面端,MOBILE:移动端)
|
|
348
|
+
:type ApplicationCategory: str
|
|
349
|
+
"""
|
|
350
|
+
self._ProjectId = None
|
|
351
|
+
self._ApplicationCategory = None
|
|
352
|
+
|
|
353
|
+
@property
|
|
354
|
+
def ProjectId(self):
|
|
355
|
+
r"""项目ID
|
|
356
|
+
:rtype: str
|
|
357
|
+
"""
|
|
358
|
+
return self._ProjectId
|
|
359
|
+
|
|
360
|
+
@ProjectId.setter
|
|
361
|
+
def ProjectId(self, ProjectId):
|
|
362
|
+
self._ProjectId = ProjectId
|
|
363
|
+
|
|
364
|
+
@property
|
|
365
|
+
def ApplicationCategory(self):
|
|
366
|
+
r"""应用类别(DESKTOP: 桌面端,MOBILE:移动端)
|
|
367
|
+
:rtype: str
|
|
368
|
+
"""
|
|
369
|
+
return self._ApplicationCategory
|
|
370
|
+
|
|
371
|
+
@ApplicationCategory.setter
|
|
372
|
+
def ApplicationCategory(self, ApplicationCategory):
|
|
373
|
+
self._ApplicationCategory = ApplicationCategory
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
def _deserialize(self, params):
|
|
377
|
+
self._ProjectId = params.get("ProjectId")
|
|
378
|
+
self._ApplicationCategory = params.get("ApplicationCategory")
|
|
379
|
+
memeber_set = set(params.keys())
|
|
380
|
+
for name, value in vars(self).items():
|
|
381
|
+
property_name = name[1:]
|
|
382
|
+
if property_name in memeber_set:
|
|
383
|
+
memeber_set.remove(property_name)
|
|
384
|
+
if len(memeber_set) > 0:
|
|
385
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
class DescribeConcurrentCountResponse(AbstractModel):
|
|
390
|
+
r"""DescribeConcurrentCount返回参数结构体
|
|
391
|
+
|
|
392
|
+
"""
|
|
393
|
+
|
|
394
|
+
def __init__(self):
|
|
395
|
+
r"""
|
|
396
|
+
:param _Total: 并发总数
|
|
397
|
+
:type Total: int
|
|
398
|
+
:param _Running: 并发运行数,包括预启动中的、已连接的、等待重连、清理恢复等所有非空闲的并发数,所以刷新项目或断开并发包的用户连接,都会影响到该值
|
|
399
|
+
:type Running: int
|
|
400
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
401
|
+
:type RequestId: str
|
|
402
|
+
"""
|
|
403
|
+
self._Total = None
|
|
404
|
+
self._Running = None
|
|
405
|
+
self._RequestId = None
|
|
406
|
+
|
|
407
|
+
@property
|
|
408
|
+
def Total(self):
|
|
409
|
+
r"""并发总数
|
|
410
|
+
:rtype: int
|
|
411
|
+
"""
|
|
412
|
+
return self._Total
|
|
413
|
+
|
|
414
|
+
@Total.setter
|
|
415
|
+
def Total(self, Total):
|
|
416
|
+
self._Total = Total
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
def Running(self):
|
|
420
|
+
r"""并发运行数,包括预启动中的、已连接的、等待重连、清理恢复等所有非空闲的并发数,所以刷新项目或断开并发包的用户连接,都会影响到该值
|
|
421
|
+
:rtype: int
|
|
422
|
+
"""
|
|
423
|
+
return self._Running
|
|
424
|
+
|
|
425
|
+
@Running.setter
|
|
426
|
+
def Running(self, Running):
|
|
427
|
+
self._Running = Running
|
|
428
|
+
|
|
429
|
+
@property
|
|
430
|
+
def RequestId(self):
|
|
431
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
432
|
+
:rtype: str
|
|
433
|
+
"""
|
|
434
|
+
return self._RequestId
|
|
435
|
+
|
|
436
|
+
@RequestId.setter
|
|
437
|
+
def RequestId(self, RequestId):
|
|
438
|
+
self._RequestId = RequestId
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
def _deserialize(self, params):
|
|
442
|
+
self._Total = params.get("Total")
|
|
443
|
+
self._Running = params.get("Running")
|
|
444
|
+
self._RequestId = params.get("RequestId")
|
|
445
|
+
|
|
446
|
+
|
|
338
447
|
class DestroySessionRequest(AbstractModel):
|
|
339
448
|
r"""DestroySession请求参数结构体
|
|
340
449
|
|
|
@@ -6387,13 +6387,13 @@ class InquiryPriceRenewDisksRequest(AbstractModel):
|
|
|
6387
6387
|
|
|
6388
6388
|
def __init__(self):
|
|
6389
6389
|
r"""
|
|
6390
|
-
:param _DiskIds:
|
|
6390
|
+
:param _DiskIds: <p>云硬盘ID, 通过<a href="/document/product/362/16315">DescribeDisks</a>接口查询。</p>
|
|
6391
6391
|
:type DiskIds: list of str
|
|
6392
|
-
:param _DiskChargePrepaids:
|
|
6392
|
+
:param _DiskChargePrepaids: <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月云盘的购买时长。如果在该参数中指定CurInstanceDeadline,则会按对齐到子机到期时间来续费。如果是批量续费询价,该参数与Disks参数一一对应,元素数量需保持一致。</p>
|
|
6393
6393
|
:type DiskChargePrepaids: list of DiskChargePrepaid
|
|
6394
|
-
:param _NewDeadline:
|
|
6394
|
+
:param _NewDeadline: <p>指定云硬盘新的到期时间,形式如:2017-12-17 00:00:00。参数<code>NewDeadline</code>和<code>DiskChargePrepaids</code>是两种指定询价时长的方式,两者必传一个。</p>
|
|
6395
6395
|
:type NewDeadline: str
|
|
6396
|
-
:param _ProjectId:
|
|
6396
|
+
:param _ProjectId: <p>云硬盘所属项目ID。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/651/78725">DescribeProject</a> 的返回值中的 projectId 字段来获取。 如传入则仅用于鉴权。</p>
|
|
6397
6397
|
:type ProjectId: int
|
|
6398
6398
|
"""
|
|
6399
6399
|
self._DiskIds = None
|
|
@@ -6403,7 +6403,7 @@ class InquiryPriceRenewDisksRequest(AbstractModel):
|
|
|
6403
6403
|
|
|
6404
6404
|
@property
|
|
6405
6405
|
def DiskIds(self):
|
|
6406
|
-
r"""
|
|
6406
|
+
r"""<p>云硬盘ID, 通过<a href="/document/product/362/16315">DescribeDisks</a>接口查询。</p>
|
|
6407
6407
|
:rtype: list of str
|
|
6408
6408
|
"""
|
|
6409
6409
|
return self._DiskIds
|
|
@@ -6414,7 +6414,7 @@ class InquiryPriceRenewDisksRequest(AbstractModel):
|
|
|
6414
6414
|
|
|
6415
6415
|
@property
|
|
6416
6416
|
def DiskChargePrepaids(self):
|
|
6417
|
-
r"""
|
|
6417
|
+
r"""<p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月云盘的购买时长。如果在该参数中指定CurInstanceDeadline,则会按对齐到子机到期时间来续费。如果是批量续费询价,该参数与Disks参数一一对应,元素数量需保持一致。</p>
|
|
6418
6418
|
:rtype: list of DiskChargePrepaid
|
|
6419
6419
|
"""
|
|
6420
6420
|
return self._DiskChargePrepaids
|
|
@@ -6425,7 +6425,7 @@ class InquiryPriceRenewDisksRequest(AbstractModel):
|
|
|
6425
6425
|
|
|
6426
6426
|
@property
|
|
6427
6427
|
def NewDeadline(self):
|
|
6428
|
-
r"""
|
|
6428
|
+
r"""<p>指定云硬盘新的到期时间,形式如:2017-12-17 00:00:00。参数<code>NewDeadline</code>和<code>DiskChargePrepaids</code>是两种指定询价时长的方式,两者必传一个。</p>
|
|
6429
6429
|
:rtype: str
|
|
6430
6430
|
"""
|
|
6431
6431
|
return self._NewDeadline
|
|
@@ -6436,7 +6436,7 @@ class InquiryPriceRenewDisksRequest(AbstractModel):
|
|
|
6436
6436
|
|
|
6437
6437
|
@property
|
|
6438
6438
|
def ProjectId(self):
|
|
6439
|
-
r"""
|
|
6439
|
+
r"""<p>云硬盘所属项目ID。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/651/78725">DescribeProject</a> 的返回值中的 projectId 字段来获取。 如传入则仅用于鉴权。</p>
|
|
6440
6440
|
:rtype: int
|
|
6441
6441
|
"""
|
|
6442
6442
|
return self._ProjectId
|
|
@@ -6473,7 +6473,7 @@ class InquiryPriceRenewDisksResponse(AbstractModel):
|
|
|
6473
6473
|
|
|
6474
6474
|
def __init__(self):
|
|
6475
6475
|
r"""
|
|
6476
|
-
:param _DiskPrice:
|
|
6476
|
+
:param _DiskPrice: <p>描述了续费云盘的价格。</p>
|
|
6477
6477
|
:type DiskPrice: :class:`tencentcloud.cbs.v20170312.models.PrepayPrice`
|
|
6478
6478
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6479
6479
|
:type RequestId: str
|
|
@@ -6483,7 +6483,7 @@ class InquiryPriceRenewDisksResponse(AbstractModel):
|
|
|
6483
6483
|
|
|
6484
6484
|
@property
|
|
6485
6485
|
def DiskPrice(self):
|
|
6486
|
-
r"""
|
|
6486
|
+
r"""<p>描述了续费云盘的价格。</p>
|
|
6487
6487
|
:rtype: :class:`tencentcloud.cbs.v20170312.models.PrepayPrice`
|
|
6488
6488
|
"""
|
|
6489
6489
|
return self._DiskPrice
|
|
@@ -8084,9 +8084,9 @@ class RenewDiskRequest(AbstractModel):
|
|
|
8084
8084
|
|
|
8085
8085
|
def __init__(self):
|
|
8086
8086
|
r"""
|
|
8087
|
-
:param _DiskChargePrepaid:
|
|
8087
|
+
:param _DiskChargePrepaid: <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月云硬盘的续费时长。<br>在云硬盘与挂载的实例一起续费的场景下,可以指定参数CurInstanceDeadline,此时云硬盘会按对齐到实例续费后的到期时间来续费。</p>
|
|
8088
8088
|
:type DiskChargePrepaid: :class:`tencentcloud.cbs.v20170312.models.DiskChargePrepaid`
|
|
8089
|
-
:param _DiskId:
|
|
8089
|
+
:param _DiskId: <p>云硬盘ID, 通过<a href="/document/product/362/16315">DescribeDisks</a>接口查询。</p>
|
|
8090
8090
|
:type DiskId: str
|
|
8091
8091
|
"""
|
|
8092
8092
|
self._DiskChargePrepaid = None
|
|
@@ -8094,7 +8094,7 @@ class RenewDiskRequest(AbstractModel):
|
|
|
8094
8094
|
|
|
8095
8095
|
@property
|
|
8096
8096
|
def DiskChargePrepaid(self):
|
|
8097
|
-
r"""
|
|
8097
|
+
r"""<p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月云硬盘的续费时长。<br>在云硬盘与挂载的实例一起续费的场景下,可以指定参数CurInstanceDeadline,此时云硬盘会按对齐到实例续费后的到期时间来续费。</p>
|
|
8098
8098
|
:rtype: :class:`tencentcloud.cbs.v20170312.models.DiskChargePrepaid`
|
|
8099
8099
|
"""
|
|
8100
8100
|
return self._DiskChargePrepaid
|
|
@@ -8105,7 +8105,7 @@ class RenewDiskRequest(AbstractModel):
|
|
|
8105
8105
|
|
|
8106
8106
|
@property
|
|
8107
8107
|
def DiskId(self):
|
|
8108
|
-
r"""
|
|
8108
|
+
r"""<p>云硬盘ID, 通过<a href="/document/product/362/16315">DescribeDisks</a>接口查询。</p>
|
|
8109
8109
|
:rtype: str
|
|
8110
8110
|
"""
|
|
8111
8111
|
return self._DiskId
|
|
@@ -165,11 +165,9 @@ class CccClient(AbstractClient):
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def CreateAIAgentCall(self, request):
|
|
168
|
-
r"""
|
|
168
|
+
r"""用于创建**一次性的智能体外呼通话**。你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796) 。该接口可调用配置完成的智能体发起单次的外呼任务。若需创建批量智能体外呼任务,请参考文档 [创建自动外呼任务](https://cloud.tencent.com/document/product/679/69194)。
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
|
|
170
|
+
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
173
171
|
|
|
174
172
|
:param request: Request instance for CreateAIAgentCall.
|
|
175
173
|
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateAIAgentCallRequest`
|
|
@@ -192,9 +190,9 @@ class CccClient(AbstractClient):
|
|
|
192
190
|
|
|
193
191
|
|
|
194
192
|
def CreateAICall(self, request):
|
|
195
|
-
r"""
|
|
193
|
+
r"""用于 **直接调用AI模型** 发起 **单次** 外呼通话,支持通过API参数直接配置模型、提示词、语音等全部通话要素。
|
|
196
194
|
|
|
197
|
-
|
|
195
|
+
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
198
196
|
|
|
199
197
|
:param request: Request instance for CreateAICall.
|
|
200
198
|
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateAICallRequest`
|
|
@@ -263,7 +261,9 @@ class CccClient(AbstractClient):
|
|
|
263
261
|
|
|
264
262
|
|
|
265
263
|
def CreateAutoCalloutTask(self, request):
|
|
266
|
-
r"""
|
|
264
|
+
r"""用于**创建批量自动外呼通话**,系统将根据任务配置,自动向指定的**被叫号码列表**发起外呼通话。该接口可调用配置完成的智能体发起批量的外呼任务,你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796)。若需创建单次智能体外呼任务,请参考文档 [创建单次智能体通话](https://cloud.tencent.com/document/product/679/115681)。
|
|
265
|
+
|
|
266
|
+
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
267
267
|
|
|
268
268
|
:param request: Request instance for CreateAutoCalloutTask.
|
|
269
269
|
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateAutoCalloutTaskRequest`
|
|
@@ -635,7 +635,7 @@ class CccClient(AbstractClient):
|
|
|
635
635
|
|
|
636
636
|
|
|
637
637
|
def DescribeAIAgentInfoList(self, request):
|
|
638
|
-
r"""
|
|
638
|
+
r"""本接口用于分页查询指定实例(SdkAppId)下已配置的智能体信息列表,包括智能体ID和名称等基本信息。
|
|
639
639
|
|
|
640
640
|
:param request: Request instance for DescribeAIAgentInfoList.
|
|
641
641
|
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAIAgentInfoListRequest`
|
|
@@ -681,7 +681,7 @@ class CccClient(AbstractClient):
|
|
|
681
681
|
|
|
682
682
|
|
|
683
683
|
def DescribeAICallExtractResult(self, request):
|
|
684
|
-
r"""
|
|
684
|
+
r"""本接口用于:在语音智能体通话结束后,通过 Session ID 查询指定会话的 **话后标签** 结果。相关话后标签需提前在管理端完成配置,具体说明请参见 [话后标签](https://cloud.tencent.com/document/product/679/119800) 。
|
|
685
685
|
|
|
686
686
|
:param request: Request instance for DescribeAICallExtractResult.
|
|
687
687
|
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallExtractResultRequest`
|
|
@@ -704,7 +704,11 @@ class CccClient(AbstractClient):
|
|
|
704
704
|
|
|
705
705
|
|
|
706
706
|
def DescribeAILatency(self, request):
|
|
707
|
-
r"""
|
|
707
|
+
r"""调用该接口,可以通过 Session ID 查询指定会话在特定时间段内,AI服务的处理时延明细与统计数据,时延信息包括:
|
|
708
|
+
- 端到端(ETE)时延:统计从用户语音输入到 AI 返回完整响应的整体耗时。
|
|
709
|
+
- 自动语音识别(ASR)时延:统计语音输入被识别为文本所需的处理耗时。
|
|
710
|
+
- 大语言模型(LLM)时延:统计 AI 模型生成文本内容的推理耗时。
|
|
711
|
+
- 语音合成(TTS)时延:统计文本转换为语音音频的合成耗时。
|
|
708
712
|
|
|
709
713
|
:param request: Request instance for DescribeAILatency.
|
|
710
714
|
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAILatencyRequest`
|
|
@@ -773,7 +777,8 @@ class CccClient(AbstractClient):
|
|
|
773
777
|
|
|
774
778
|
|
|
775
779
|
def DescribeAutoCalloutTask(self, request):
|
|
776
|
-
r"""
|
|
780
|
+
r"""用于通过 TaskId 查询**自动外呼任务的详细信息**,包括任务基础配置、起止时间、外呼名单、执行状态以及实际通话情况等。
|
|
781
|
+
该接口通常与 [创建批量自动外呼任务](https://cloud.tencent.com/document/product/679/69194) 配合使用,用于在任务创建后查看任务配置是否生效、任务当前状态,以及后续执行过程中的实时进展。
|
|
777
782
|
|
|
778
783
|
:param request: Request instance for DescribeAutoCalloutTask.
|
|
779
784
|
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAutoCalloutTaskRequest`
|
|
@@ -1580,7 +1585,8 @@ class CccClient(AbstractClient):
|
|
|
1580
1585
|
|
|
1581
1586
|
|
|
1582
1587
|
def PauseAutoCalloutTask(self, request):
|
|
1583
|
-
r"""
|
|
1588
|
+
r"""用于通过 TaskId **暂停一个正在执行的自动外呼任务**。调用该接口后,任务将被临时中断,不再发起新的外呼请求;已发起的通话不受影响。
|
|
1589
|
+
暂停后的任务可通过 [恢复暂停的自动外呼任务](https://cloud.tencent.com/document/product/679/125356) 接口继续执行。如需永久终止任务,请参考 [停止自动外呼任务](https://cloud.tencent.com/document/product/679/69192)。
|
|
1584
1590
|
|
|
1585
1591
|
:param request: Request instance for PauseAutoCalloutTask.
|
|
1586
1592
|
:type request: :class:`tencentcloud.ccc.v20200210.models.PauseAutoCalloutTaskRequest`
|
|
@@ -1625,6 +1631,29 @@ class CccClient(AbstractClient):
|
|
|
1625
1631
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1626
1632
|
|
|
1627
1633
|
|
|
1634
|
+
def PlaySoundCall(self, request):
|
|
1635
|
+
r"""对与座席通话中的会话,进行放音
|
|
1636
|
+
|
|
1637
|
+
:param request: Request instance for PlaySoundCall.
|
|
1638
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.PlaySoundCallRequest`
|
|
1639
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.PlaySoundCallResponse`
|
|
1640
|
+
|
|
1641
|
+
"""
|
|
1642
|
+
try:
|
|
1643
|
+
params = request._serialize()
|
|
1644
|
+
headers = request.headers
|
|
1645
|
+
body = self.call("PlaySoundCall", params, headers=headers)
|
|
1646
|
+
response = json.loads(body)
|
|
1647
|
+
model = models.PlaySoundCallResponse()
|
|
1648
|
+
model._deserialize(response["Response"])
|
|
1649
|
+
return model
|
|
1650
|
+
except Exception as e:
|
|
1651
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1652
|
+
raise
|
|
1653
|
+
else:
|
|
1654
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1655
|
+
|
|
1656
|
+
|
|
1628
1657
|
def ResetExtensionPassword(self, request):
|
|
1629
1658
|
r"""重置话机注册密码
|
|
1630
1659
|
|
|
@@ -1672,7 +1701,7 @@ class CccClient(AbstractClient):
|
|
|
1672
1701
|
|
|
1673
1702
|
|
|
1674
1703
|
def ResumeAutoCalloutTask(self, request):
|
|
1675
|
-
r"""
|
|
1704
|
+
r"""用于通过 TaskId **恢复一个已被暂停的自动外呼任务**。该接口适用于在调用 [暂停自动外呼任务](https://cloud.tencent.com/document/product/679/125357) 后,需继续执行剩余外呼计划的场景。调用成功后,任务将从暂停状态恢复,重新发起未完成的外呼请求。
|
|
1676
1705
|
|
|
1677
1706
|
:param request: Request instance for ResumeAutoCalloutTask.
|
|
1678
1707
|
:type request: :class:`tencentcloud.ccc.v20200210.models.ResumeAutoCalloutTaskRequest`
|
|
@@ -139,11 +139,9 @@ class CccClient(AbstractClient):
|
|
|
139
139
|
opts: Dict = None,
|
|
140
140
|
) -> models.CreateAIAgentCallResponse:
|
|
141
141
|
"""
|
|
142
|
-
|
|
142
|
+
用于创建**一次性的智能体外呼通话**。你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796) 。该接口可调用配置完成的智能体发起单次的外呼任务。若需创建批量智能体外呼任务,请参考文档 [创建自动外呼任务](https://cloud.tencent.com/document/product/679/69194)。
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
发起通话前,请先确认您的AI模型是否兼容 OpenAI、Azure 或 Minimax 协议,并前往模型服务商网站获取相关鉴权信息。 具体功能说明请参考文档 [腾讯云联络中心AI通话平台](https://cloud.tencent.com/document/product/679/112100)。
|
|
144
|
+
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
147
145
|
"""
|
|
148
146
|
|
|
149
147
|
kwargs = {}
|
|
@@ -161,9 +159,9 @@ class CccClient(AbstractClient):
|
|
|
161
159
|
opts: Dict = None,
|
|
162
160
|
) -> models.CreateAICallResponse:
|
|
163
161
|
"""
|
|
164
|
-
|
|
162
|
+
用于 **直接调用AI模型** 发起 **单次** 外呼通话,支持通过API参数直接配置模型、提示词、语音等全部通话要素。
|
|
165
163
|
|
|
166
|
-
|
|
164
|
+
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
167
165
|
"""
|
|
168
166
|
|
|
169
167
|
kwargs = {}
|
|
@@ -217,7 +215,9 @@ class CccClient(AbstractClient):
|
|
|
217
215
|
opts: Dict = None,
|
|
218
216
|
) -> models.CreateAutoCalloutTaskResponse:
|
|
219
217
|
"""
|
|
220
|
-
|
|
218
|
+
用于**创建批量自动外呼通话**,系统将根据任务配置,自动向指定的**被叫号码列表**发起外呼通话。该接口可调用配置完成的智能体发起批量的外呼任务,你可以在管理端-智能体管理中,新建语音智能体,进行 [对话流程配置](https://cloud.tencent.com/document/product/679/119796)。若需创建单次智能体外呼任务,请参考文档 [创建单次智能体通话](https://cloud.tencent.com/document/product/679/115681)。
|
|
219
|
+
|
|
220
|
+
该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
221
221
|
"""
|
|
222
222
|
|
|
223
223
|
kwargs = {}
|
|
@@ -509,7 +509,7 @@ class CccClient(AbstractClient):
|
|
|
509
509
|
opts: Dict = None,
|
|
510
510
|
) -> models.DescribeAIAgentInfoListResponse:
|
|
511
511
|
"""
|
|
512
|
-
|
|
512
|
+
本接口用于分页查询指定实例(SdkAppId)下已配置的智能体信息列表,包括智能体ID和名称等基本信息。
|
|
513
513
|
"""
|
|
514
514
|
|
|
515
515
|
kwargs = {}
|
|
@@ -545,7 +545,7 @@ class CccClient(AbstractClient):
|
|
|
545
545
|
opts: Dict = None,
|
|
546
546
|
) -> models.DescribeAICallExtractResultResponse:
|
|
547
547
|
"""
|
|
548
|
-
|
|
548
|
+
本接口用于:在语音智能体通话结束后,通过 Session ID 查询指定会话的 **话后标签** 结果。相关话后标签需提前在管理端完成配置,具体说明请参见 [话后标签](https://cloud.tencent.com/document/product/679/119800) 。
|
|
549
549
|
"""
|
|
550
550
|
|
|
551
551
|
kwargs = {}
|
|
@@ -563,7 +563,11 @@ class CccClient(AbstractClient):
|
|
|
563
563
|
opts: Dict = None,
|
|
564
564
|
) -> models.DescribeAILatencyResponse:
|
|
565
565
|
"""
|
|
566
|
-
|
|
566
|
+
调用该接口,可以通过 Session ID 查询指定会话在特定时间段内,AI服务的处理时延明细与统计数据,时延信息包括:
|
|
567
|
+
- 端到端(ETE)时延:统计从用户语音输入到 AI 返回完整响应的整体耗时。
|
|
568
|
+
- 自动语音识别(ASR)时延:统计语音输入被识别为文本所需的处理耗时。
|
|
569
|
+
- 大语言模型(LLM)时延:统计 AI 模型生成文本内容的推理耗时。
|
|
570
|
+
- 语音合成(TTS)时延:统计文本转换为语音音频的合成耗时。
|
|
567
571
|
"""
|
|
568
572
|
|
|
569
573
|
kwargs = {}
|
|
@@ -617,7 +621,8 @@ class CccClient(AbstractClient):
|
|
|
617
621
|
opts: Dict = None,
|
|
618
622
|
) -> models.DescribeAutoCalloutTaskResponse:
|
|
619
623
|
"""
|
|
620
|
-
|
|
624
|
+
用于通过 TaskId 查询**自动外呼任务的详细信息**,包括任务基础配置、起止时间、外呼名单、执行状态以及实际通话情况等。
|
|
625
|
+
该接口通常与 [创建批量自动外呼任务](https://cloud.tencent.com/document/product/679/69194) 配合使用,用于在任务创建后查看任务配置是否生效、任务当前状态,以及后续执行过程中的实时进展。
|
|
621
626
|
"""
|
|
622
627
|
|
|
623
628
|
kwargs = {}
|
|
@@ -1249,7 +1254,8 @@ class CccClient(AbstractClient):
|
|
|
1249
1254
|
opts: Dict = None,
|
|
1250
1255
|
) -> models.PauseAutoCalloutTaskResponse:
|
|
1251
1256
|
"""
|
|
1252
|
-
|
|
1257
|
+
用于通过 TaskId **暂停一个正在执行的自动外呼任务**。调用该接口后,任务将被临时中断,不再发起新的外呼请求;已发起的通话不受影响。
|
|
1258
|
+
暂停后的任务可通过 [恢复暂停的自动外呼任务](https://cloud.tencent.com/document/product/679/125356) 接口继续执行。如需永久终止任务,请参考 [停止自动外呼任务](https://cloud.tencent.com/document/product/679/69192)。
|
|
1253
1259
|
"""
|
|
1254
1260
|
|
|
1255
1261
|
kwargs = {}
|
|
@@ -1279,6 +1285,24 @@ class CccClient(AbstractClient):
|
|
|
1279
1285
|
|
|
1280
1286
|
return await self.call_and_deserialize(**kwargs)
|
|
1281
1287
|
|
|
1288
|
+
async def PlaySoundCall(
|
|
1289
|
+
self,
|
|
1290
|
+
request: models.PlaySoundCallRequest,
|
|
1291
|
+
opts: Dict = None,
|
|
1292
|
+
) -> models.PlaySoundCallResponse:
|
|
1293
|
+
"""
|
|
1294
|
+
对与座席通话中的会话,进行放音
|
|
1295
|
+
"""
|
|
1296
|
+
|
|
1297
|
+
kwargs = {}
|
|
1298
|
+
kwargs["action"] = "PlaySoundCall"
|
|
1299
|
+
kwargs["params"] = request._serialize()
|
|
1300
|
+
kwargs["resp_cls"] = models.PlaySoundCallResponse
|
|
1301
|
+
kwargs["headers"] = request.headers
|
|
1302
|
+
kwargs["opts"] = opts or {}
|
|
1303
|
+
|
|
1304
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1305
|
+
|
|
1282
1306
|
async def ResetExtensionPassword(
|
|
1283
1307
|
self,
|
|
1284
1308
|
request: models.ResetExtensionPasswordRequest,
|
|
@@ -1321,7 +1345,7 @@ class CccClient(AbstractClient):
|
|
|
1321
1345
|
opts: Dict = None,
|
|
1322
1346
|
) -> models.ResumeAutoCalloutTaskResponse:
|
|
1323
1347
|
"""
|
|
1324
|
-
|
|
1348
|
+
用于通过 TaskId **恢复一个已被暂停的自动外呼任务**。该接口适用于在调用 [暂停自动外呼任务](https://cloud.tencent.com/document/product/679/125357) 后,需继续执行剩余外呼计划的场景。调用成功后,任务将从暂停状态恢复,重新发起未完成的外呼请求。
|
|
1325
1349
|
"""
|
|
1326
1350
|
|
|
1327
1351
|
kwargs = {}
|
|
@@ -146,6 +146,9 @@ INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus
|
|
|
146
146
|
# 使用体验账号的智能体不支持此类操作
|
|
147
147
|
INVALIDPARAMETERVALUE_EXPERIENCEACCOUNT = 'InvalidParameterValue.ExperienceAccount'
|
|
148
148
|
|
|
149
|
+
# 文件不存在
|
|
150
|
+
INVALIDPARAMETERVALUE_FILENOTEXIST = 'InvalidParameterValue.FileNotExist'
|
|
151
|
+
|
|
149
152
|
# 实例不存在。
|
|
150
153
|
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'
|
|
151
154
|
|
|
@@ -176,6 +179,9 @@ LIMITEXCEEDED = 'LimitExceeded'
|
|
|
176
179
|
# 套餐包耗尽
|
|
177
180
|
LIMITEXCEEDED_BASEPACKAGEEXPIRED = 'LimitExceeded.BasePackageExpired'
|
|
178
181
|
|
|
182
|
+
# 许可不足
|
|
183
|
+
LIMITEXCEEDED_INSUFFICIENTLICENSE = 'LimitExceeded.InsufficientLicense'
|
|
184
|
+
|
|
179
185
|
# 超出数量限制。
|
|
180
186
|
LIMITEXCEEDED_OUTOFCOUNTLIMIT = 'LimitExceeded.OutOfCountLimit'
|
|
181
187
|
|