tencentcloud-sdk-python-cngw 3.1.165__tar.gz → 3.1.174__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_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/setup.py +1 -1
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/cngw/v20230418/cngw_client.py +460 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/cngw/v20230418/cngw_client_async.py +360 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/cngw/v20230418/models.py +12471 -7948
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud_sdk_python_cngw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cngw-3.1.174/tencentcloud_sdk_python_cngw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cngw-3.1.165/tencentcloud_sdk_python_cngw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/README.rst +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/cngw/__init__.py +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/cngw/v20230418/__init__.py +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud/cngw/v20230418/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud_sdk_python_cngw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud_sdk_python_cngw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cngw-3.1.165 → tencentcloud_sdk_python_cngw-3.1.174}/tencentcloud_sdk_python_cngw.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cngw
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.174
|
|
4
4
|
Summary: Tencent Cloud Cngw 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.174
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cngw',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.174,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cngw SDK for Python',
|
|
@@ -95,6 +95,98 @@ class CngwClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def CheckCloudNativeAPIGatewayMCPRouteMatch(self, request):
|
|
99
|
+
r"""上传插件前置操作,获取COS相关信息
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for CheckCloudNativeAPIGatewayMCPRouteMatch.
|
|
102
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.CheckCloudNativeAPIGatewayMCPRouteMatchRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.CheckCloudNativeAPIGatewayMCPRouteMatchResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("CheckCloudNativeAPIGatewayMCPRouteMatch", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.CheckCloudNativeAPIGatewayMCPRouteMatchResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def CheckCloudNativeAPIGatewayMCPToolVersionExist(self, request):
|
|
122
|
+
r"""修改云原生智能网关MCP Tool
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for CheckCloudNativeAPIGatewayMCPToolVersionExist.
|
|
125
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.CheckCloudNativeAPIGatewayMCPToolVersionExistRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.CheckCloudNativeAPIGatewayMCPToolVersionExistResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("CheckCloudNativeAPIGatewayMCPToolVersionExist", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.CheckCloudNativeAPIGatewayMCPToolVersionExistResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def CompareCloudNativeAPIGatewayMCPToolVersion(self, request):
|
|
145
|
+
r"""修改云原生智能网关MCP Tool
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for CompareCloudNativeAPIGatewayMCPToolVersion.
|
|
148
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.CompareCloudNativeAPIGatewayMCPToolVersionRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.CompareCloudNativeAPIGatewayMCPToolVersionResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("CompareCloudNativeAPIGatewayMCPToolVersion", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.CompareCloudNativeAPIGatewayMCPToolVersionResponse()
|
|
158
|
+
model._deserialize(response["Response"])
|
|
159
|
+
return model
|
|
160
|
+
except Exception as e:
|
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
|
162
|
+
raise
|
|
163
|
+
else:
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def CreateCloudNativeAPIGatewayAIServiceSource(self, request):
|
|
168
|
+
r"""创建云原生网关AI服务来源
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for CreateCloudNativeAPIGatewayAIServiceSource.
|
|
171
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.CreateCloudNativeAPIGatewayAIServiceSourceRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.CreateCloudNativeAPIGatewayAIServiceSourceResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("CreateCloudNativeAPIGatewayAIServiceSource", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.CreateCloudNativeAPIGatewayAIServiceSourceResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
98
190
|
def CreateCloudNativeAPIGatewayConsumer(self, request):
|
|
99
191
|
r"""创建AI网关消费者。
|
|
100
192
|
|
|
@@ -187,6 +279,29 @@ class CngwClient(AbstractClient):
|
|
|
187
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
280
|
|
|
189
281
|
|
|
282
|
+
def CreateCloudNativeAPIGatewayMCPRoute(self, request):
|
|
283
|
+
r"""上传插件前置操作,获取COS相关信息
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for CreateCloudNativeAPIGatewayMCPRoute.
|
|
286
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.CreateCloudNativeAPIGatewayMCPRouteRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.CreateCloudNativeAPIGatewayMCPRouteResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("CreateCloudNativeAPIGatewayMCPRoute", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.CreateCloudNativeAPIGatewayMCPRouteResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
190
305
|
def CreateCloudNativeAPIGatewayMCPServer(self, request):
|
|
191
306
|
r"""创建AI网关MCP Server
|
|
192
307
|
|
|
@@ -256,6 +371,29 @@ class CngwClient(AbstractClient):
|
|
|
256
371
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
372
|
|
|
258
373
|
|
|
374
|
+
def DeleteCloudNativeAPIGatewayAIServiceSource(self, request):
|
|
375
|
+
r"""删除云原生网关AI服务来源
|
|
376
|
+
|
|
377
|
+
:param request: Request instance for DeleteCloudNativeAPIGatewayAIServiceSource.
|
|
378
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayAIServiceSourceRequest`
|
|
379
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayAIServiceSourceResponse`
|
|
380
|
+
|
|
381
|
+
"""
|
|
382
|
+
try:
|
|
383
|
+
params = request._serialize()
|
|
384
|
+
headers = request.headers
|
|
385
|
+
body = self.call("DeleteCloudNativeAPIGatewayAIServiceSource", params, headers=headers)
|
|
386
|
+
response = json.loads(body)
|
|
387
|
+
model = models.DeleteCloudNativeAPIGatewayAIServiceSourceResponse()
|
|
388
|
+
model._deserialize(response["Response"])
|
|
389
|
+
return model
|
|
390
|
+
except Exception as e:
|
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
|
392
|
+
raise
|
|
393
|
+
else:
|
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
|
+
|
|
396
|
+
|
|
259
397
|
def DeleteCloudNativeAPIGatewayConsumer(self, request):
|
|
260
398
|
r"""删除AI 网关消费者(被绑定到消费者组/密钥时需先解绑)。
|
|
261
399
|
|
|
@@ -348,6 +486,29 @@ class CngwClient(AbstractClient):
|
|
|
348
486
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
487
|
|
|
350
488
|
|
|
489
|
+
def DeleteCloudNativeAPIGatewayMCPRoute(self, request):
|
|
490
|
+
r"""上传插件前置操作,获取COS相关信息
|
|
491
|
+
|
|
492
|
+
:param request: Request instance for DeleteCloudNativeAPIGatewayMCPRoute.
|
|
493
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayMCPRouteRequest`
|
|
494
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayMCPRouteResponse`
|
|
495
|
+
|
|
496
|
+
"""
|
|
497
|
+
try:
|
|
498
|
+
params = request._serialize()
|
|
499
|
+
headers = request.headers
|
|
500
|
+
body = self.call("DeleteCloudNativeAPIGatewayMCPRoute", params, headers=headers)
|
|
501
|
+
response = json.loads(body)
|
|
502
|
+
model = models.DeleteCloudNativeAPIGatewayMCPRouteResponse()
|
|
503
|
+
model._deserialize(response["Response"])
|
|
504
|
+
return model
|
|
505
|
+
except Exception as e:
|
|
506
|
+
if isinstance(e, TencentCloudSDKException):
|
|
507
|
+
raise
|
|
508
|
+
else:
|
|
509
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
510
|
+
|
|
511
|
+
|
|
351
512
|
def DeleteCloudNativeAPIGatewayMCPServer(self, request):
|
|
352
513
|
r"""删除AI网关MCP服务
|
|
353
514
|
|
|
@@ -394,6 +555,29 @@ class CngwClient(AbstractClient):
|
|
|
394
555
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
556
|
|
|
396
557
|
|
|
558
|
+
def DeleteCloudNativeAPIGatewayMCPToolVersion(self, request):
|
|
559
|
+
r"""修改云原生智能网关MCP Tool
|
|
560
|
+
|
|
561
|
+
:param request: Request instance for DeleteCloudNativeAPIGatewayMCPToolVersion.
|
|
562
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayMCPToolVersionRequest`
|
|
563
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayMCPToolVersionResponse`
|
|
564
|
+
|
|
565
|
+
"""
|
|
566
|
+
try:
|
|
567
|
+
params = request._serialize()
|
|
568
|
+
headers = request.headers
|
|
569
|
+
body = self.call("DeleteCloudNativeAPIGatewayMCPToolVersion", params, headers=headers)
|
|
570
|
+
response = json.loads(body)
|
|
571
|
+
model = models.DeleteCloudNativeAPIGatewayMCPToolVersionResponse()
|
|
572
|
+
model._deserialize(response["Response"])
|
|
573
|
+
return model
|
|
574
|
+
except Exception as e:
|
|
575
|
+
if isinstance(e, TencentCloudSDKException):
|
|
576
|
+
raise
|
|
577
|
+
else:
|
|
578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
579
|
+
|
|
580
|
+
|
|
397
581
|
def DeleteCloudNativeAPIGatewaySecretKey(self, request):
|
|
398
582
|
r"""删除消费者密钥(被绑定时需先解绑)。
|
|
399
583
|
|
|
@@ -440,6 +624,75 @@ class CngwClient(AbstractClient):
|
|
|
440
624
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
625
|
|
|
442
626
|
|
|
627
|
+
def DescribeCloudNativeAPIGatewayAIQuota(self, request):
|
|
628
|
+
r"""查询AI网关配额
|
|
629
|
+
|
|
630
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayAIQuota.
|
|
631
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaRequest`
|
|
632
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaResponse`
|
|
633
|
+
|
|
634
|
+
"""
|
|
635
|
+
try:
|
|
636
|
+
params = request._serialize()
|
|
637
|
+
headers = request.headers
|
|
638
|
+
body = self.call("DescribeCloudNativeAPIGatewayAIQuota", params, headers=headers)
|
|
639
|
+
response = json.loads(body)
|
|
640
|
+
model = models.DescribeCloudNativeAPIGatewayAIQuotaResponse()
|
|
641
|
+
model._deserialize(response["Response"])
|
|
642
|
+
return model
|
|
643
|
+
except Exception as e:
|
|
644
|
+
if isinstance(e, TencentCloudSDKException):
|
|
645
|
+
raise
|
|
646
|
+
else:
|
|
647
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
def DescribeCloudNativeAPIGatewayAIQuotaList(self, request):
|
|
651
|
+
r"""查询AI配额配置列表
|
|
652
|
+
|
|
653
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayAIQuotaList.
|
|
654
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaListRequest`
|
|
655
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaListResponse`
|
|
656
|
+
|
|
657
|
+
"""
|
|
658
|
+
try:
|
|
659
|
+
params = request._serialize()
|
|
660
|
+
headers = request.headers
|
|
661
|
+
body = self.call("DescribeCloudNativeAPIGatewayAIQuotaList", params, headers=headers)
|
|
662
|
+
response = json.loads(body)
|
|
663
|
+
model = models.DescribeCloudNativeAPIGatewayAIQuotaListResponse()
|
|
664
|
+
model._deserialize(response["Response"])
|
|
665
|
+
return model
|
|
666
|
+
except Exception as e:
|
|
667
|
+
if isinstance(e, TencentCloudSDKException):
|
|
668
|
+
raise
|
|
669
|
+
else:
|
|
670
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
def DescribeCloudNativeAPIGatewayAIServiceSourceList(self, request):
|
|
674
|
+
r"""查询云原生网关AI服务来源
|
|
675
|
+
|
|
676
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayAIServiceSourceList.
|
|
677
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIServiceSourceListRequest`
|
|
678
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIServiceSourceListResponse`
|
|
679
|
+
|
|
680
|
+
"""
|
|
681
|
+
try:
|
|
682
|
+
params = request._serialize()
|
|
683
|
+
headers = request.headers
|
|
684
|
+
body = self.call("DescribeCloudNativeAPIGatewayAIServiceSourceList", params, headers=headers)
|
|
685
|
+
response = json.loads(body)
|
|
686
|
+
model = models.DescribeCloudNativeAPIGatewayAIServiceSourceListResponse()
|
|
687
|
+
model._deserialize(response["Response"])
|
|
688
|
+
return model
|
|
689
|
+
except Exception as e:
|
|
690
|
+
if isinstance(e, TencentCloudSDKException):
|
|
691
|
+
raise
|
|
692
|
+
else:
|
|
693
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
694
|
+
|
|
695
|
+
|
|
443
696
|
def DescribeCloudNativeAPIGatewayConsumer(self, request):
|
|
444
697
|
r"""查询云原生消费者详情
|
|
445
698
|
|
|
@@ -624,6 +877,29 @@ class CngwClient(AbstractClient):
|
|
|
624
877
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
625
878
|
|
|
626
879
|
|
|
880
|
+
def DescribeCloudNativeAPIGatewayMCPRouteList(self, request):
|
|
881
|
+
r"""上传插件前置操作,获取COS相关信息
|
|
882
|
+
|
|
883
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayMCPRouteList.
|
|
884
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPRouteListRequest`
|
|
885
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPRouteListResponse`
|
|
886
|
+
|
|
887
|
+
"""
|
|
888
|
+
try:
|
|
889
|
+
params = request._serialize()
|
|
890
|
+
headers = request.headers
|
|
891
|
+
body = self.call("DescribeCloudNativeAPIGatewayMCPRouteList", params, headers=headers)
|
|
892
|
+
response = json.loads(body)
|
|
893
|
+
model = models.DescribeCloudNativeAPIGatewayMCPRouteListResponse()
|
|
894
|
+
model._deserialize(response["Response"])
|
|
895
|
+
return model
|
|
896
|
+
except Exception as e:
|
|
897
|
+
if isinstance(e, TencentCloudSDKException):
|
|
898
|
+
raise
|
|
899
|
+
else:
|
|
900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
901
|
+
|
|
902
|
+
|
|
627
903
|
def DescribeCloudNativeAPIGatewayMCPServer(self, request):
|
|
628
904
|
r"""查询AI 网关MCP服务信息
|
|
629
905
|
|
|
@@ -762,6 +1038,29 @@ class CngwClient(AbstractClient):
|
|
|
762
1038
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
763
1039
|
|
|
764
1040
|
|
|
1041
|
+
def DescribeCloudNativeAPIGatewayMCPToolImportTask(self, request):
|
|
1042
|
+
r"""查询批量导入MCP Tools的任务进度
|
|
1043
|
+
|
|
1044
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayMCPToolImportTask.
|
|
1045
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPToolImportTaskRequest`
|
|
1046
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPToolImportTaskResponse`
|
|
1047
|
+
|
|
1048
|
+
"""
|
|
1049
|
+
try:
|
|
1050
|
+
params = request._serialize()
|
|
1051
|
+
headers = request.headers
|
|
1052
|
+
body = self.call("DescribeCloudNativeAPIGatewayMCPToolImportTask", params, headers=headers)
|
|
1053
|
+
response = json.loads(body)
|
|
1054
|
+
model = models.DescribeCloudNativeAPIGatewayMCPToolImportTaskResponse()
|
|
1055
|
+
model._deserialize(response["Response"])
|
|
1056
|
+
return model
|
|
1057
|
+
except Exception as e:
|
|
1058
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1059
|
+
raise
|
|
1060
|
+
else:
|
|
1061
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
|
+
|
|
1063
|
+
|
|
765
1064
|
def DescribeCloudNativeAPIGatewayMCPToolList(self, request):
|
|
766
1065
|
r"""查询 AI 网关MCP Tool 列表
|
|
767
1066
|
|
|
@@ -785,6 +1084,52 @@ class CngwClient(AbstractClient):
|
|
|
785
1084
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
1085
|
|
|
787
1086
|
|
|
1087
|
+
def DescribeCloudNativeAPIGatewayMCPToolVersion(self, request):
|
|
1088
|
+
r"""修改云原生智能网关MCP Tool
|
|
1089
|
+
|
|
1090
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayMCPToolVersion.
|
|
1091
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPToolVersionRequest`
|
|
1092
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPToolVersionResponse`
|
|
1093
|
+
|
|
1094
|
+
"""
|
|
1095
|
+
try:
|
|
1096
|
+
params = request._serialize()
|
|
1097
|
+
headers = request.headers
|
|
1098
|
+
body = self.call("DescribeCloudNativeAPIGatewayMCPToolVersion", params, headers=headers)
|
|
1099
|
+
response = json.loads(body)
|
|
1100
|
+
model = models.DescribeCloudNativeAPIGatewayMCPToolVersionResponse()
|
|
1101
|
+
model._deserialize(response["Response"])
|
|
1102
|
+
return model
|
|
1103
|
+
except Exception as e:
|
|
1104
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1105
|
+
raise
|
|
1106
|
+
else:
|
|
1107
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
def DescribeCloudNativeAPIGatewayMCPToolVersionList(self, request):
|
|
1111
|
+
r"""修改云原生智能网关MCP Tool
|
|
1112
|
+
|
|
1113
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayMCPToolVersionList.
|
|
1114
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPToolVersionListRequest`
|
|
1115
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayMCPToolVersionListResponse`
|
|
1116
|
+
|
|
1117
|
+
"""
|
|
1118
|
+
try:
|
|
1119
|
+
params = request._serialize()
|
|
1120
|
+
headers = request.headers
|
|
1121
|
+
body = self.call("DescribeCloudNativeAPIGatewayMCPToolVersionList", params, headers=headers)
|
|
1122
|
+
response = json.loads(body)
|
|
1123
|
+
model = models.DescribeCloudNativeAPIGatewayMCPToolVersionListResponse()
|
|
1124
|
+
model._deserialize(response["Response"])
|
|
1125
|
+
return model
|
|
1126
|
+
except Exception as e:
|
|
1127
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1128
|
+
raise
|
|
1129
|
+
else:
|
|
1130
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1131
|
+
|
|
1132
|
+
|
|
788
1133
|
def DescribeCloudNativeAPIGatewayMCPToolsFromFile(self, request):
|
|
789
1134
|
r"""从OpenAPI文件中解析出可导入的MCP tools
|
|
790
1135
|
|
|
@@ -831,6 +1176,29 @@ class CngwClient(AbstractClient):
|
|
|
831
1176
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
1177
|
|
|
833
1178
|
|
|
1179
|
+
def DescribeCloudNativeAPIGatewaySecretKeyList(self, request):
|
|
1180
|
+
r"""查询密钥列表。
|
|
1181
|
+
|
|
1182
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewaySecretKeyList.
|
|
1183
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewaySecretKeyListRequest`
|
|
1184
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewaySecretKeyListResponse`
|
|
1185
|
+
|
|
1186
|
+
"""
|
|
1187
|
+
try:
|
|
1188
|
+
params = request._serialize()
|
|
1189
|
+
headers = request.headers
|
|
1190
|
+
body = self.call("DescribeCloudNativeAPIGatewaySecretKeyList", params, headers=headers)
|
|
1191
|
+
response = json.loads(body)
|
|
1192
|
+
model = models.DescribeCloudNativeAPIGatewaySecretKeyListResponse()
|
|
1193
|
+
model._deserialize(response["Response"])
|
|
1194
|
+
return model
|
|
1195
|
+
except Exception as e:
|
|
1196
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1197
|
+
raise
|
|
1198
|
+
else:
|
|
1199
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
|
+
|
|
1201
|
+
|
|
834
1202
|
def DescribeCloudNativeAPIGatewaySecretKeyValue(self, request):
|
|
835
1203
|
r"""查询密钥明文值(KMS 类型密钥不可获取)。
|
|
836
1204
|
|
|
@@ -854,6 +1222,29 @@ class CngwClient(AbstractClient):
|
|
|
854
1222
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
1223
|
|
|
856
1224
|
|
|
1225
|
+
def ModifyCloudNativeAPIGatewayAIServiceSource(self, request):
|
|
1226
|
+
r"""修改云原生网关AI服务来源
|
|
1227
|
+
|
|
1228
|
+
:param request: Request instance for ModifyCloudNativeAPIGatewayAIServiceSource.
|
|
1229
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewayAIServiceSourceRequest`
|
|
1230
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewayAIServiceSourceResponse`
|
|
1231
|
+
|
|
1232
|
+
"""
|
|
1233
|
+
try:
|
|
1234
|
+
params = request._serialize()
|
|
1235
|
+
headers = request.headers
|
|
1236
|
+
body = self.call("ModifyCloudNativeAPIGatewayAIServiceSource", params, headers=headers)
|
|
1237
|
+
response = json.loads(body)
|
|
1238
|
+
model = models.ModifyCloudNativeAPIGatewayAIServiceSourceResponse()
|
|
1239
|
+
model._deserialize(response["Response"])
|
|
1240
|
+
return model
|
|
1241
|
+
except Exception as e:
|
|
1242
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1243
|
+
raise
|
|
1244
|
+
else:
|
|
1245
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1246
|
+
|
|
1247
|
+
|
|
857
1248
|
def ModifyCloudNativeAPIGatewayConsumer(self, request):
|
|
858
1249
|
r"""修改AI网关消费者
|
|
859
1250
|
|
|
@@ -946,6 +1337,52 @@ class CngwClient(AbstractClient):
|
|
|
946
1337
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
1338
|
|
|
948
1339
|
|
|
1340
|
+
def ModifyCloudNativeAPIGatewayMCPRoute(self, request):
|
|
1341
|
+
r"""上传插件前置操作,获取COS相关信息
|
|
1342
|
+
|
|
1343
|
+
:param request: Request instance for ModifyCloudNativeAPIGatewayMCPRoute.
|
|
1344
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewayMCPRouteRequest`
|
|
1345
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewayMCPRouteResponse`
|
|
1346
|
+
|
|
1347
|
+
"""
|
|
1348
|
+
try:
|
|
1349
|
+
params = request._serialize()
|
|
1350
|
+
headers = request.headers
|
|
1351
|
+
body = self.call("ModifyCloudNativeAPIGatewayMCPRoute", params, headers=headers)
|
|
1352
|
+
response = json.loads(body)
|
|
1353
|
+
model = models.ModifyCloudNativeAPIGatewayMCPRouteResponse()
|
|
1354
|
+
model._deserialize(response["Response"])
|
|
1355
|
+
return model
|
|
1356
|
+
except Exception as e:
|
|
1357
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1358
|
+
raise
|
|
1359
|
+
else:
|
|
1360
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
def ModifyCloudNativeAPIGatewayMCPRouteStatus(self, request):
|
|
1364
|
+
r"""上传插件前置操作,获取COS相关信息
|
|
1365
|
+
|
|
1366
|
+
:param request: Request instance for ModifyCloudNativeAPIGatewayMCPRouteStatus.
|
|
1367
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewayMCPRouteStatusRequest`
|
|
1368
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewayMCPRouteStatusResponse`
|
|
1369
|
+
|
|
1370
|
+
"""
|
|
1371
|
+
try:
|
|
1372
|
+
params = request._serialize()
|
|
1373
|
+
headers = request.headers
|
|
1374
|
+
body = self.call("ModifyCloudNativeAPIGatewayMCPRouteStatus", params, headers=headers)
|
|
1375
|
+
response = json.loads(body)
|
|
1376
|
+
model = models.ModifyCloudNativeAPIGatewayMCPRouteStatusResponse()
|
|
1377
|
+
model._deserialize(response["Response"])
|
|
1378
|
+
return model
|
|
1379
|
+
except Exception as e:
|
|
1380
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1381
|
+
raise
|
|
1382
|
+
else:
|
|
1383
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1384
|
+
|
|
1385
|
+
|
|
949
1386
|
def ModifyCloudNativeAPIGatewayMCPServer(self, request):
|
|
950
1387
|
r"""修改MCP服务配置
|
|
951
1388
|
|
|
@@ -1176,6 +1613,29 @@ class CngwClient(AbstractClient):
|
|
|
1176
1613
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1177
1614
|
|
|
1178
1615
|
|
|
1616
|
+
def RollbackCloudNativeAPIGatewayMCPToolVersion(self, request):
|
|
1617
|
+
r"""修改云原生智能网关MCP Tool
|
|
1618
|
+
|
|
1619
|
+
:param request: Request instance for RollbackCloudNativeAPIGatewayMCPToolVersion.
|
|
1620
|
+
:type request: :class:`tencentcloud.cngw.v20230418.models.RollbackCloudNativeAPIGatewayMCPToolVersionRequest`
|
|
1621
|
+
:rtype: :class:`tencentcloud.cngw.v20230418.models.RollbackCloudNativeAPIGatewayMCPToolVersionResponse`
|
|
1622
|
+
|
|
1623
|
+
"""
|
|
1624
|
+
try:
|
|
1625
|
+
params = request._serialize()
|
|
1626
|
+
headers = request.headers
|
|
1627
|
+
body = self.call("RollbackCloudNativeAPIGatewayMCPToolVersion", params, headers=headers)
|
|
1628
|
+
response = json.loads(body)
|
|
1629
|
+
model = models.RollbackCloudNativeAPIGatewayMCPToolVersionResponse()
|
|
1630
|
+
model._deserialize(response["Response"])
|
|
1631
|
+
return model
|
|
1632
|
+
except Exception as e:
|
|
1633
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1634
|
+
raise
|
|
1635
|
+
else:
|
|
1636
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1637
|
+
|
|
1638
|
+
|
|
1179
1639
|
def UnbindCloudNativeAPIGatewaySecretKey(self, request):
|
|
1180
1640
|
r"""解绑密钥
|
|
1181
1641
|
|