tencentcloud-sdk-python-apis 3.1.107__tar.gz → 3.1.124__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_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/setup.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/apis/v20240801/apis_client.py +184 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/apis/v20240801/apis_client_async.py +144 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/apis/v20240801/models.py +4231 -337
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud_sdk_python_apis.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apis-3.1.124/tencentcloud_sdk_python_apis.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apis-3.1.107/tencentcloud_sdk_python_apis.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/README.rst +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/apis/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/apis/v20240801/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud/apis/v20240801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud_sdk_python_apis.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud_sdk_python_apis.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.107 → tencentcloud_sdk_python_apis-3.1.124}/tencentcloud_sdk_python_apis.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apis
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.124
|
|
4
4
|
Summary: Tencent Cloud Apis 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.124
|
|
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-apis',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.124,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apis SDK for Python',
|
|
@@ -95,6 +95,29 @@ class ApisClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def CreateAgentAppServices(self, request):
|
|
99
|
+
r"""应用关联API
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for CreateAgentAppServices.
|
|
102
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.CreateAgentAppServicesRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.CreateAgentAppServicesResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("CreateAgentAppServices", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.CreateAgentAppServicesResponse()
|
|
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
|
+
|
|
98
121
|
def CreateAgentCredential(self, request):
|
|
99
122
|
r"""创建Credential
|
|
100
123
|
|
|
@@ -187,6 +210,29 @@ class ApisClient(AbstractClient):
|
|
|
187
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
211
|
|
|
189
212
|
|
|
213
|
+
def CreateService(self, request):
|
|
214
|
+
r"""创建服务
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for CreateService.
|
|
217
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.CreateServiceRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.CreateServiceResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("CreateService", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.CreateServiceResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
190
236
|
def DeleteAgentApp(self, request):
|
|
191
237
|
r"""删除app
|
|
192
238
|
|
|
@@ -256,6 +302,29 @@ class ApisClient(AbstractClient):
|
|
|
256
302
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
303
|
|
|
258
304
|
|
|
305
|
+
def DeleteAgentAppServices(self, request):
|
|
306
|
+
r"""应用API关联解除
|
|
307
|
+
|
|
308
|
+
:param request: Request instance for DeleteAgentAppServices.
|
|
309
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.DeleteAgentAppServicesRequest`
|
|
310
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DeleteAgentAppServicesResponse`
|
|
311
|
+
|
|
312
|
+
"""
|
|
313
|
+
try:
|
|
314
|
+
params = request._serialize()
|
|
315
|
+
headers = request.headers
|
|
316
|
+
body = self.call("DeleteAgentAppServices", params, headers=headers)
|
|
317
|
+
response = json.loads(body)
|
|
318
|
+
model = models.DeleteAgentAppServicesResponse()
|
|
319
|
+
model._deserialize(response["Response"])
|
|
320
|
+
return model
|
|
321
|
+
except Exception as e:
|
|
322
|
+
if isinstance(e, TencentCloudSDKException):
|
|
323
|
+
raise
|
|
324
|
+
else:
|
|
325
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
|
+
|
|
327
|
+
|
|
259
328
|
def DeleteAgentCredential(self, request):
|
|
260
329
|
r"""删除Credential
|
|
261
330
|
|
|
@@ -348,6 +417,29 @@ class ApisClient(AbstractClient):
|
|
|
348
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
418
|
|
|
350
419
|
|
|
420
|
+
def DeleteService(self, request):
|
|
421
|
+
r"""删除服务
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for DeleteService.
|
|
424
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.DeleteServiceRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DeleteServiceResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("DeleteService", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.DeleteServiceResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
351
443
|
def DescribeAgentApp(self, request):
|
|
352
444
|
r"""查询app详情
|
|
353
445
|
|
|
@@ -417,6 +509,29 @@ class ApisClient(AbstractClient):
|
|
|
417
509
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
510
|
|
|
419
511
|
|
|
512
|
+
def DescribeAgentAppServices(self, request):
|
|
513
|
+
r"""创建app
|
|
514
|
+
|
|
515
|
+
:param request: Request instance for DescribeAgentAppServices.
|
|
516
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.DescribeAgentAppServicesRequest`
|
|
517
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentAppServicesResponse`
|
|
518
|
+
|
|
519
|
+
"""
|
|
520
|
+
try:
|
|
521
|
+
params = request._serialize()
|
|
522
|
+
headers = request.headers
|
|
523
|
+
body = self.call("DescribeAgentAppServices", params, headers=headers)
|
|
524
|
+
response = json.loads(body)
|
|
525
|
+
model = models.DescribeAgentAppServicesResponse()
|
|
526
|
+
model._deserialize(response["Response"])
|
|
527
|
+
return model
|
|
528
|
+
except Exception as e:
|
|
529
|
+
if isinstance(e, TencentCloudSDKException):
|
|
530
|
+
raise
|
|
531
|
+
else:
|
|
532
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
533
|
+
|
|
534
|
+
|
|
420
535
|
def DescribeAgentApps(self, request):
|
|
421
536
|
r"""查询app列表
|
|
422
537
|
|
|
@@ -624,6 +739,52 @@ class ApisClient(AbstractClient):
|
|
|
624
739
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
625
740
|
|
|
626
741
|
|
|
742
|
+
def DescribeService(self, request):
|
|
743
|
+
r"""查询服务详情
|
|
744
|
+
|
|
745
|
+
:param request: Request instance for DescribeService.
|
|
746
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.DescribeServiceRequest`
|
|
747
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeServiceResponse`
|
|
748
|
+
|
|
749
|
+
"""
|
|
750
|
+
try:
|
|
751
|
+
params = request._serialize()
|
|
752
|
+
headers = request.headers
|
|
753
|
+
body = self.call("DescribeService", params, headers=headers)
|
|
754
|
+
response = json.loads(body)
|
|
755
|
+
model = models.DescribeServiceResponse()
|
|
756
|
+
model._deserialize(response["Response"])
|
|
757
|
+
return model
|
|
758
|
+
except Exception as e:
|
|
759
|
+
if isinstance(e, TencentCloudSDKException):
|
|
760
|
+
raise
|
|
761
|
+
else:
|
|
762
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
def DescribeServices(self, request):
|
|
766
|
+
r"""查询服务列表
|
|
767
|
+
|
|
768
|
+
:param request: Request instance for DescribeServices.
|
|
769
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.DescribeServicesRequest`
|
|
770
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeServicesResponse`
|
|
771
|
+
|
|
772
|
+
"""
|
|
773
|
+
try:
|
|
774
|
+
params = request._serialize()
|
|
775
|
+
headers = request.headers
|
|
776
|
+
body = self.call("DescribeServices", params, headers=headers)
|
|
777
|
+
response = json.loads(body)
|
|
778
|
+
model = models.DescribeServicesResponse()
|
|
779
|
+
model._deserialize(response["Response"])
|
|
780
|
+
return model
|
|
781
|
+
except Exception as e:
|
|
782
|
+
if isinstance(e, TencentCloudSDKException):
|
|
783
|
+
raise
|
|
784
|
+
else:
|
|
785
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
|
+
|
|
787
|
+
|
|
627
788
|
def ModifyAgentApp(self, request):
|
|
628
789
|
r"""修改app
|
|
629
790
|
|
|
@@ -755,6 +916,29 @@ class ApisClient(AbstractClient):
|
|
|
755
916
|
model = models.ModifyModelServiceResponse()
|
|
756
917
|
model._deserialize(response["Response"])
|
|
757
918
|
return model
|
|
919
|
+
except Exception as e:
|
|
920
|
+
if isinstance(e, TencentCloudSDKException):
|
|
921
|
+
raise
|
|
922
|
+
else:
|
|
923
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
def ModifyService(self, request):
|
|
927
|
+
r"""修改服务
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for ModifyService.
|
|
930
|
+
:type request: :class:`tencentcloud.apis.v20240801.models.ModifyServiceRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.ModifyServiceResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("ModifyService", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.ModifyServiceResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
758
942
|
except Exception as e:
|
|
759
943
|
if isinstance(e, TencentCloudSDKException):
|
|
760
944
|
raise
|
|
@@ -79,6 +79,24 @@ class ApisClient(AbstractClient):
|
|
|
79
79
|
|
|
80
80
|
return await self.call_and_deserialize(**kwargs)
|
|
81
81
|
|
|
82
|
+
async def CreateAgentAppServices(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CreateAgentAppServicesRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CreateAgentAppServicesResponse:
|
|
87
|
+
"""
|
|
88
|
+
应用关联API
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "CreateAgentAppServices"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.CreateAgentAppServicesResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
82
100
|
async def CreateAgentCredential(
|
|
83
101
|
self,
|
|
84
102
|
request: models.CreateAgentCredentialRequest,
|
|
@@ -151,6 +169,24 @@ class ApisClient(AbstractClient):
|
|
|
151
169
|
|
|
152
170
|
return await self.call_and_deserialize(**kwargs)
|
|
153
171
|
|
|
172
|
+
async def CreateService(
|
|
173
|
+
self,
|
|
174
|
+
request: models.CreateServiceRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.CreateServiceResponse:
|
|
177
|
+
"""
|
|
178
|
+
创建服务
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "CreateService"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.CreateServiceResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
154
190
|
async def DeleteAgentApp(
|
|
155
191
|
self,
|
|
156
192
|
request: models.DeleteAgentAppRequest,
|
|
@@ -205,6 +241,24 @@ class ApisClient(AbstractClient):
|
|
|
205
241
|
|
|
206
242
|
return await self.call_and_deserialize(**kwargs)
|
|
207
243
|
|
|
244
|
+
async def DeleteAgentAppServices(
|
|
245
|
+
self,
|
|
246
|
+
request: models.DeleteAgentAppServicesRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.DeleteAgentAppServicesResponse:
|
|
249
|
+
"""
|
|
250
|
+
应用API关联解除
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "DeleteAgentAppServices"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.DeleteAgentAppServicesResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
208
262
|
async def DeleteAgentCredential(
|
|
209
263
|
self,
|
|
210
264
|
request: models.DeleteAgentCredentialRequest,
|
|
@@ -277,6 +331,24 @@ class ApisClient(AbstractClient):
|
|
|
277
331
|
|
|
278
332
|
return await self.call_and_deserialize(**kwargs)
|
|
279
333
|
|
|
334
|
+
async def DeleteService(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DeleteServiceRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DeleteServiceResponse:
|
|
339
|
+
"""
|
|
340
|
+
删除服务
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DeleteService"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DeleteServiceResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
280
352
|
async def DescribeAgentApp(
|
|
281
353
|
self,
|
|
282
354
|
request: models.DescribeAgentAppRequest,
|
|
@@ -331,6 +403,24 @@ class ApisClient(AbstractClient):
|
|
|
331
403
|
|
|
332
404
|
return await self.call_and_deserialize(**kwargs)
|
|
333
405
|
|
|
406
|
+
async def DescribeAgentAppServices(
|
|
407
|
+
self,
|
|
408
|
+
request: models.DescribeAgentAppServicesRequest,
|
|
409
|
+
opts: Dict = None,
|
|
410
|
+
) -> models.DescribeAgentAppServicesResponse:
|
|
411
|
+
"""
|
|
412
|
+
创建app
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
kwargs = {}
|
|
416
|
+
kwargs["action"] = "DescribeAgentAppServices"
|
|
417
|
+
kwargs["params"] = request._serialize()
|
|
418
|
+
kwargs["resp_cls"] = models.DescribeAgentAppServicesResponse
|
|
419
|
+
kwargs["headers"] = request.headers
|
|
420
|
+
kwargs["opts"] = opts or {}
|
|
421
|
+
|
|
422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
423
|
+
|
|
334
424
|
async def DescribeAgentApps(
|
|
335
425
|
self,
|
|
336
426
|
request: models.DescribeAgentAppsRequest,
|
|
@@ -493,6 +583,42 @@ class ApisClient(AbstractClient):
|
|
|
493
583
|
|
|
494
584
|
return await self.call_and_deserialize(**kwargs)
|
|
495
585
|
|
|
586
|
+
async def DescribeService(
|
|
587
|
+
self,
|
|
588
|
+
request: models.DescribeServiceRequest,
|
|
589
|
+
opts: Dict = None,
|
|
590
|
+
) -> models.DescribeServiceResponse:
|
|
591
|
+
"""
|
|
592
|
+
查询服务详情
|
|
593
|
+
"""
|
|
594
|
+
|
|
595
|
+
kwargs = {}
|
|
596
|
+
kwargs["action"] = "DescribeService"
|
|
597
|
+
kwargs["params"] = request._serialize()
|
|
598
|
+
kwargs["resp_cls"] = models.DescribeServiceResponse
|
|
599
|
+
kwargs["headers"] = request.headers
|
|
600
|
+
kwargs["opts"] = opts or {}
|
|
601
|
+
|
|
602
|
+
return await self.call_and_deserialize(**kwargs)
|
|
603
|
+
|
|
604
|
+
async def DescribeServices(
|
|
605
|
+
self,
|
|
606
|
+
request: models.DescribeServicesRequest,
|
|
607
|
+
opts: Dict = None,
|
|
608
|
+
) -> models.DescribeServicesResponse:
|
|
609
|
+
"""
|
|
610
|
+
查询服务列表
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
kwargs = {}
|
|
614
|
+
kwargs["action"] = "DescribeServices"
|
|
615
|
+
kwargs["params"] = request._serialize()
|
|
616
|
+
kwargs["resp_cls"] = models.DescribeServicesResponse
|
|
617
|
+
kwargs["headers"] = request.headers
|
|
618
|
+
kwargs["opts"] = opts or {}
|
|
619
|
+
|
|
620
|
+
return await self.call_and_deserialize(**kwargs)
|
|
621
|
+
|
|
496
622
|
async def ModifyAgentApp(
|
|
497
623
|
self,
|
|
498
624
|
request: models.ModifyAgentAppRequest,
|
|
@@ -599,4 +725,22 @@ class ApisClient(AbstractClient):
|
|
|
599
725
|
kwargs["headers"] = request.headers
|
|
600
726
|
kwargs["opts"] = opts or {}
|
|
601
727
|
|
|
728
|
+
return await self.call_and_deserialize(**kwargs)
|
|
729
|
+
|
|
730
|
+
async def ModifyService(
|
|
731
|
+
self,
|
|
732
|
+
request: models.ModifyServiceRequest,
|
|
733
|
+
opts: Dict = None,
|
|
734
|
+
) -> models.ModifyServiceResponse:
|
|
735
|
+
"""
|
|
736
|
+
修改服务
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
kwargs = {}
|
|
740
|
+
kwargs["action"] = "ModifyService"
|
|
741
|
+
kwargs["params"] = request._serialize()
|
|
742
|
+
kwargs["resp_cls"] = models.ModifyServiceResponse
|
|
743
|
+
kwargs["headers"] = request.headers
|
|
744
|
+
kwargs["opts"] = opts or {}
|
|
745
|
+
|
|
602
746
|
return await self.call_and_deserialize(**kwargs)
|