tencentcloud-sdk-python 3.1.162__py2.py3-none-any.whl → 3.1.164__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/adp/v20260520/models.py +2 -2
- tencentcloud/ags/v20250920/ags_client.py +138 -0
- tencentcloud/ags/v20250920/ags_client_async.py +108 -0
- tencentcloud/ags/v20250920/errorcodes.py +42 -0
- tencentcloud/ags/v20250920/models.py +1197 -49
- tencentcloud/bdrc/__init__.py +0 -0
- tencentcloud/bdrc/v20260330/__init__.py +0 -0
- tencentcloud/bdrc/v20260330/bdrc_client.py +1774 -0
- tencentcloud/bdrc/v20260330/bdrc_client_async.py +1394 -0
- tencentcloud/bdrc/v20260330/errorcodes.py +264 -0
- tencentcloud/bdrc/v20260330/models.py +18019 -0
- tencentcloud/bh/v20230418/models.py +10 -10
- tencentcloud/cdb/v20170320/models.py +14 -16
- tencentcloud/cls/v20201016/models.py +20 -24
- tencentcloud/cngw/v20230418/models.py +1807 -141
- tencentcloud/csip/v20221121/csip_client.py +4547 -2086
- tencentcloud/csip/v20221121/csip_client_async.py +3688 -1762
- tencentcloud/csip/v20221121/models.py +71884 -47556
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- tencentcloud/cynosdb/v20190107/models.py +261 -2
- tencentcloud/dbdc/v20201029/models.py +15 -0
- tencentcloud/emr/v20190103/models.py +99 -54
- tencentcloud/es/v20180416/models.py +30 -0
- tencentcloud/ess/v20201111/ess_client.py +8 -2
- tencentcloud/ess/v20201111/ess_client_async.py +8 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +10 -4
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +10 -4
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/faceid/v20180301/models.py +4 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +15 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +207 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +162 -0
- tencentcloud/iotexplorer/v20190423/models.py +1818 -38
- tencentcloud/kms/v20190118/models.py +54 -54
- tencentcloud/monitor/v20180724/models.py +22 -22
- tencentcloud/ocr/v20181119/models.py +17 -2
- tencentcloud/postgres/v20170312/models.py +247 -2
- tencentcloud/rce/v20260130/models.py +12 -12
- tencentcloud/rce/v20260130/rce_client.py +2 -2
- tencentcloud/rce/v20260130/rce_client_async.py +2 -2
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/redis/v20180412/models.py +162 -0
- tencentcloud/redis/v20180412/redis_client.py +46 -0
- tencentcloud/redis/v20180412/redis_client_async.py +36 -0
- tencentcloud/tcb/v20180608/models.py +126 -20
- tencentcloud/teo/v20220901/models.py +75 -66
- tencentcloud/tione/v20211111/models.py +167 -14
- tencentcloud/tke/v20220501/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +99 -20
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trtc/v20190722/models.py +12 -108
- tencentcloud/tse/v20201207/models.py +1795 -158
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/waf/v20180125/models.py +173 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +15 -0
- tencentcloud/wedata/v20250806/models.py +135 -28
- {tencentcloud_sdk_python-3.1.162.dist-info → tencentcloud_sdk_python-3.1.164.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.162.dist-info → tencentcloud_sdk_python-3.1.164.dist-info}/RECORD +66 -60
- {tencentcloud_sdk_python-3.1.162.dist-info → tencentcloud_sdk_python-3.1.164.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.162.dist-info → tencentcloud_sdk_python-3.1.164.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.162.dist-info → tencentcloud_sdk_python-3.1.164.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -16228,7 +16228,7 @@ class DescribeMsgRecordListRequest(AbstractModel):
|
|
|
16228
16228
|
r"""
|
|
16229
16229
|
:param _AppId: <p>应用 ID</p>
|
|
16230
16230
|
:type AppId: str
|
|
16231
|
-
:param _FilterList: <
|
|
16231
|
+
:param _FilterList: <ul><li><strong>ChannelType</strong> : 0-表示全部 2-体验页面(腾讯云)3-调试页面(腾讯云)4-体验页面(手机号)5-对话端API接入 6-应用评测 7-调试API' 10000-微信服务号 10001-微信订阅号 10002-企微应用 10004-微信客服 10005-微信小程序 10006-腾讯元器 10007-应用宝 10009-企微智能机器人 10014-企微智能机器人 10011-LINE 10012-Telegram 10013-钉钉机器人 10016-飞书机器人 30000-定时任务 30001-触发器 </li><li><strong>FeedbackType</strong> : 反馈类型,-1-表示全部 0-未评价 1-点赞 2-点踩 </li><li><strong>QueryType</strong> : 检索类型(按平台约定取值), SessionId-sessionID Question-问题 Answer-回复 Intent-意图 User-用户 </li><li><strong>Query</strong> : 对应QueryType输入的过滤条件 </li><li><strong>CategoryId</strong> : 分类ID </li><li><strong>ReplyMethod</strong> : 回复类型 0-全部回复类型 1-拒答问题回复 2-问答直接回复 3-审核失败回复 4-知识润色回复 6-工作流回复 8-图片理解回复 9-搜索引擎回复 10-大模型直接回复 11-兜底回复 </li><li><strong>StartTime</strong> : 开始时间,秒级时间戳 </li><li><strong>EndTime</strong>: 结束时间,秒级时间戳 </li><li><strong>Cursor</strong> : 游标信息,上一页取响应 PrevCursor,下一页取响应 NextCursor </li><li><strong>Direction</strong> : 方向,next 下一页,prev 上一页</li><li><strong>CallResult</strong> : 调用结果:0 全部 / 1 成功 / 2 失败 / 3 用户取消 <</li><li><strong>FailReason</strong> : 失败原因 0-全部 1-审核失败 2-达到QPM上限 3-达到TPM上限 4-达到并发上限 5-系统异常 </li><li><strong>Intent</strong> : 意图</li></ul>
|
|
16232
16232
|
:type FilterList: list of Filter
|
|
16233
16233
|
:param _PageNumber: <p>页码,从 0 开始;不传时按 0 处理</p>
|
|
16234
16234
|
:type PageNumber: int
|
|
@@ -16256,7 +16256,7 @@ class DescribeMsgRecordListRequest(AbstractModel):
|
|
|
16256
16256
|
|
|
16257
16257
|
@property
|
|
16258
16258
|
def FilterList(self):
|
|
16259
|
-
r"""<
|
|
16259
|
+
r"""<ul><li><strong>ChannelType</strong> : 0-表示全部 2-体验页面(腾讯云)3-调试页面(腾讯云)4-体验页面(手机号)5-对话端API接入 6-应用评测 7-调试API' 10000-微信服务号 10001-微信订阅号 10002-企微应用 10004-微信客服 10005-微信小程序 10006-腾讯元器 10007-应用宝 10009-企微智能机器人 10014-企微智能机器人 10011-LINE 10012-Telegram 10013-钉钉机器人 10016-飞书机器人 30000-定时任务 30001-触发器 </li><li><strong>FeedbackType</strong> : 反馈类型,-1-表示全部 0-未评价 1-点赞 2-点踩 </li><li><strong>QueryType</strong> : 检索类型(按平台约定取值), SessionId-sessionID Question-问题 Answer-回复 Intent-意图 User-用户 </li><li><strong>Query</strong> : 对应QueryType输入的过滤条件 </li><li><strong>CategoryId</strong> : 分类ID </li><li><strong>ReplyMethod</strong> : 回复类型 0-全部回复类型 1-拒答问题回复 2-问答直接回复 3-审核失败回复 4-知识润色回复 6-工作流回复 8-图片理解回复 9-搜索引擎回复 10-大模型直接回复 11-兜底回复 </li><li><strong>StartTime</strong> : 开始时间,秒级时间戳 </li><li><strong>EndTime</strong>: 结束时间,秒级时间戳 </li><li><strong>Cursor</strong> : 游标信息,上一页取响应 PrevCursor,下一页取响应 NextCursor </li><li><strong>Direction</strong> : 方向,next 下一页,prev 上一页</li><li><strong>CallResult</strong> : 调用结果:0 全部 / 1 成功 / 2 失败 / 3 用户取消 <</li><li><strong>FailReason</strong> : 失败原因 0-全部 1-审核失败 2-达到QPM上限 3-达到TPM上限 4-达到并发上限 5-系统异常 </li><li><strong>Intent</strong> : 意图</li></ul>
|
|
16260
16260
|
:rtype: list of Filter
|
|
16261
16261
|
"""
|
|
16262
16262
|
return self._FilterList
|
|
@@ -26,6 +26,29 @@ class AgsClient(AbstractClient):
|
|
|
26
26
|
_service = 'ags'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def AcquireDeploymentToken(self, request):
|
|
30
|
+
r"""获取 Deployment 访问 Token
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for AcquireDeploymentToken.
|
|
33
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.AcquireDeploymentTokenRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.AcquireDeploymentTokenResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("AcquireDeploymentToken", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.AcquireDeploymentTokenResponse()
|
|
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
|
+
|
|
29
52
|
def AcquireSandboxInstanceToken(self, request):
|
|
30
53
|
r"""获取访问沙箱工具时所需要使用的访问Token,创建沙箱实例后需调用此接口获取沙箱实例访问Token。
|
|
31
54
|
此Token可用于调用代码沙箱实例执行代码,或浏览器沙箱实例进行浏览器操作等。
|
|
@@ -73,6 +96,29 @@ class AgsClient(AbstractClient):
|
|
|
73
96
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
74
97
|
|
|
75
98
|
|
|
99
|
+
def CreateDeployment(self, request):
|
|
100
|
+
r"""创建 Deployment
|
|
101
|
+
|
|
102
|
+
:param request: Request instance for CreateDeployment.
|
|
103
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.CreateDeploymentRequest`
|
|
104
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CreateDeploymentResponse`
|
|
105
|
+
|
|
106
|
+
"""
|
|
107
|
+
try:
|
|
108
|
+
params = request._serialize()
|
|
109
|
+
headers = request.headers
|
|
110
|
+
body = self.call("CreateDeployment", params, headers=headers)
|
|
111
|
+
response = json.loads(body)
|
|
112
|
+
model = models.CreateDeploymentResponse()
|
|
113
|
+
model._deserialize(response["Response"])
|
|
114
|
+
return model
|
|
115
|
+
except Exception as e:
|
|
116
|
+
if isinstance(e, TencentCloudSDKException):
|
|
117
|
+
raise
|
|
118
|
+
else:
|
|
119
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
120
|
+
|
|
121
|
+
|
|
76
122
|
def CreatePreCacheImageTask(self, request):
|
|
77
123
|
r"""创建镜像预热任务
|
|
78
124
|
|
|
@@ -142,6 +188,29 @@ class AgsClient(AbstractClient):
|
|
|
142
188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
143
189
|
|
|
144
190
|
|
|
191
|
+
def DeleteDeployment(self, request):
|
|
192
|
+
r"""删除 Deployment
|
|
193
|
+
|
|
194
|
+
:param request: Request instance for DeleteDeployment.
|
|
195
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.DeleteDeploymentRequest`
|
|
196
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.DeleteDeploymentResponse`
|
|
197
|
+
|
|
198
|
+
"""
|
|
199
|
+
try:
|
|
200
|
+
params = request._serialize()
|
|
201
|
+
headers = request.headers
|
|
202
|
+
body = self.call("DeleteDeployment", params, headers=headers)
|
|
203
|
+
response = json.loads(body)
|
|
204
|
+
model = models.DeleteDeploymentResponse()
|
|
205
|
+
model._deserialize(response["Response"])
|
|
206
|
+
return model
|
|
207
|
+
except Exception as e:
|
|
208
|
+
if isinstance(e, TencentCloudSDKException):
|
|
209
|
+
raise
|
|
210
|
+
else:
|
|
211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
212
|
+
|
|
213
|
+
|
|
145
214
|
def DeleteSandboxTool(self, request):
|
|
146
215
|
r"""删除沙箱工具
|
|
147
216
|
|
|
@@ -188,6 +257,52 @@ class AgsClient(AbstractClient):
|
|
|
188
257
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
189
258
|
|
|
190
259
|
|
|
260
|
+
def DescribeDeployment(self, request):
|
|
261
|
+
r"""查询 Deployment 信息
|
|
262
|
+
|
|
263
|
+
:param request: Request instance for DescribeDeployment.
|
|
264
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.DescribeDeploymentRequest`
|
|
265
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.DescribeDeploymentResponse`
|
|
266
|
+
|
|
267
|
+
"""
|
|
268
|
+
try:
|
|
269
|
+
params = request._serialize()
|
|
270
|
+
headers = request.headers
|
|
271
|
+
body = self.call("DescribeDeployment", params, headers=headers)
|
|
272
|
+
response = json.loads(body)
|
|
273
|
+
model = models.DescribeDeploymentResponse()
|
|
274
|
+
model._deserialize(response["Response"])
|
|
275
|
+
return model
|
|
276
|
+
except Exception as e:
|
|
277
|
+
if isinstance(e, TencentCloudSDKException):
|
|
278
|
+
raise
|
|
279
|
+
else:
|
|
280
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
def DescribeDeploymentList(self, request):
|
|
284
|
+
r"""查询 Deployment 列表
|
|
285
|
+
|
|
286
|
+
:param request: Request instance for DescribeDeploymentList.
|
|
287
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.DescribeDeploymentListRequest`
|
|
288
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.DescribeDeploymentListResponse`
|
|
289
|
+
|
|
290
|
+
"""
|
|
291
|
+
try:
|
|
292
|
+
params = request._serialize()
|
|
293
|
+
headers = request.headers
|
|
294
|
+
body = self.call("DescribeDeploymentList", params, headers=headers)
|
|
295
|
+
response = json.loads(body)
|
|
296
|
+
model = models.DescribeDeploymentListResponse()
|
|
297
|
+
model._deserialize(response["Response"])
|
|
298
|
+
return model
|
|
299
|
+
except Exception as e:
|
|
300
|
+
if isinstance(e, TencentCloudSDKException):
|
|
301
|
+
raise
|
|
302
|
+
else:
|
|
303
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
304
|
+
|
|
305
|
+
|
|
191
306
|
def DescribePreCacheImageTask(self, request):
|
|
192
307
|
r"""查询镜像预热任务信息
|
|
193
308
|
|
|
@@ -257,6 +372,29 @@ class AgsClient(AbstractClient):
|
|
|
257
372
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
258
373
|
|
|
259
374
|
|
|
375
|
+
def ModifyDeployment(self, request):
|
|
376
|
+
r"""修改 Deployment
|
|
377
|
+
|
|
378
|
+
:param request: Request instance for ModifyDeployment.
|
|
379
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.ModifyDeploymentRequest`
|
|
380
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ModifyDeploymentResponse`
|
|
381
|
+
|
|
382
|
+
"""
|
|
383
|
+
try:
|
|
384
|
+
params = request._serialize()
|
|
385
|
+
headers = request.headers
|
|
386
|
+
body = self.call("ModifyDeployment", params, headers=headers)
|
|
387
|
+
response = json.loads(body)
|
|
388
|
+
model = models.ModifyDeploymentResponse()
|
|
389
|
+
model._deserialize(response["Response"])
|
|
390
|
+
return model
|
|
391
|
+
except Exception as e:
|
|
392
|
+
if isinstance(e, TencentCloudSDKException):
|
|
393
|
+
raise
|
|
394
|
+
else:
|
|
395
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
396
|
+
|
|
397
|
+
|
|
260
398
|
def PauseSandboxInstance(self, request):
|
|
261
399
|
r"""暂停沙箱实例
|
|
262
400
|
|
|
@@ -25,6 +25,24 @@ class AgsClient(AbstractClient):
|
|
|
25
25
|
_endpoint = 'ags.tencentcloudapi.com'
|
|
26
26
|
_service = 'ags'
|
|
27
27
|
|
|
28
|
+
async def AcquireDeploymentToken(
|
|
29
|
+
self,
|
|
30
|
+
request: models.AcquireDeploymentTokenRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.AcquireDeploymentTokenResponse:
|
|
33
|
+
"""
|
|
34
|
+
获取 Deployment 访问 Token
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "AcquireDeploymentToken"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.AcquireDeploymentTokenResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
28
46
|
async def AcquireSandboxInstanceToken(
|
|
29
47
|
self,
|
|
30
48
|
request: models.AcquireSandboxInstanceTokenRequest,
|
|
@@ -62,6 +80,24 @@ class AgsClient(AbstractClient):
|
|
|
62
80
|
|
|
63
81
|
return await self.call_and_deserialize(**kwargs)
|
|
64
82
|
|
|
83
|
+
async def CreateDeployment(
|
|
84
|
+
self,
|
|
85
|
+
request: models.CreateDeploymentRequest,
|
|
86
|
+
opts: Dict = None,
|
|
87
|
+
) -> models.CreateDeploymentResponse:
|
|
88
|
+
"""
|
|
89
|
+
创建 Deployment
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
kwargs = {}
|
|
93
|
+
kwargs["action"] = "CreateDeployment"
|
|
94
|
+
kwargs["params"] = request._serialize()
|
|
95
|
+
kwargs["resp_cls"] = models.CreateDeploymentResponse
|
|
96
|
+
kwargs["headers"] = request.headers
|
|
97
|
+
kwargs["opts"] = opts or {}
|
|
98
|
+
|
|
99
|
+
return await self.call_and_deserialize(**kwargs)
|
|
100
|
+
|
|
65
101
|
async def CreatePreCacheImageTask(
|
|
66
102
|
self,
|
|
67
103
|
request: models.CreatePreCacheImageTaskRequest,
|
|
@@ -116,6 +152,24 @@ class AgsClient(AbstractClient):
|
|
|
116
152
|
|
|
117
153
|
return await self.call_and_deserialize(**kwargs)
|
|
118
154
|
|
|
155
|
+
async def DeleteDeployment(
|
|
156
|
+
self,
|
|
157
|
+
request: models.DeleteDeploymentRequest,
|
|
158
|
+
opts: Dict = None,
|
|
159
|
+
) -> models.DeleteDeploymentResponse:
|
|
160
|
+
"""
|
|
161
|
+
删除 Deployment
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
kwargs = {}
|
|
165
|
+
kwargs["action"] = "DeleteDeployment"
|
|
166
|
+
kwargs["params"] = request._serialize()
|
|
167
|
+
kwargs["resp_cls"] = models.DeleteDeploymentResponse
|
|
168
|
+
kwargs["headers"] = request.headers
|
|
169
|
+
kwargs["opts"] = opts or {}
|
|
170
|
+
|
|
171
|
+
return await self.call_and_deserialize(**kwargs)
|
|
172
|
+
|
|
119
173
|
async def DeleteSandboxTool(
|
|
120
174
|
self,
|
|
121
175
|
request: models.DeleteSandboxToolRequest,
|
|
@@ -152,6 +206,42 @@ class AgsClient(AbstractClient):
|
|
|
152
206
|
|
|
153
207
|
return await self.call_and_deserialize(**kwargs)
|
|
154
208
|
|
|
209
|
+
async def DescribeDeployment(
|
|
210
|
+
self,
|
|
211
|
+
request: models.DescribeDeploymentRequest,
|
|
212
|
+
opts: Dict = None,
|
|
213
|
+
) -> models.DescribeDeploymentResponse:
|
|
214
|
+
"""
|
|
215
|
+
查询 Deployment 信息
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
kwargs = {}
|
|
219
|
+
kwargs["action"] = "DescribeDeployment"
|
|
220
|
+
kwargs["params"] = request._serialize()
|
|
221
|
+
kwargs["resp_cls"] = models.DescribeDeploymentResponse
|
|
222
|
+
kwargs["headers"] = request.headers
|
|
223
|
+
kwargs["opts"] = opts or {}
|
|
224
|
+
|
|
225
|
+
return await self.call_and_deserialize(**kwargs)
|
|
226
|
+
|
|
227
|
+
async def DescribeDeploymentList(
|
|
228
|
+
self,
|
|
229
|
+
request: models.DescribeDeploymentListRequest,
|
|
230
|
+
opts: Dict = None,
|
|
231
|
+
) -> models.DescribeDeploymentListResponse:
|
|
232
|
+
"""
|
|
233
|
+
查询 Deployment 列表
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
kwargs = {}
|
|
237
|
+
kwargs["action"] = "DescribeDeploymentList"
|
|
238
|
+
kwargs["params"] = request._serialize()
|
|
239
|
+
kwargs["resp_cls"] = models.DescribeDeploymentListResponse
|
|
240
|
+
kwargs["headers"] = request.headers
|
|
241
|
+
kwargs["opts"] = opts or {}
|
|
242
|
+
|
|
243
|
+
return await self.call_and_deserialize(**kwargs)
|
|
244
|
+
|
|
155
245
|
async def DescribePreCacheImageTask(
|
|
156
246
|
self,
|
|
157
247
|
request: models.DescribePreCacheImageTaskRequest,
|
|
@@ -206,6 +296,24 @@ class AgsClient(AbstractClient):
|
|
|
206
296
|
|
|
207
297
|
return await self.call_and_deserialize(**kwargs)
|
|
208
298
|
|
|
299
|
+
async def ModifyDeployment(
|
|
300
|
+
self,
|
|
301
|
+
request: models.ModifyDeploymentRequest,
|
|
302
|
+
opts: Dict = None,
|
|
303
|
+
) -> models.ModifyDeploymentResponse:
|
|
304
|
+
"""
|
|
305
|
+
修改 Deployment
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
kwargs = {}
|
|
309
|
+
kwargs["action"] = "ModifyDeployment"
|
|
310
|
+
kwargs["params"] = request._serialize()
|
|
311
|
+
kwargs["resp_cls"] = models.ModifyDeploymentResponse
|
|
312
|
+
kwargs["headers"] = request.headers
|
|
313
|
+
kwargs["opts"] = opts or {}
|
|
314
|
+
|
|
315
|
+
return await self.call_and_deserialize(**kwargs)
|
|
316
|
+
|
|
209
317
|
async def PauseSandboxInstance(
|
|
210
318
|
self,
|
|
211
319
|
request: models.PauseSandboxInstanceRequest,
|
|
@@ -50,6 +50,33 @@ INTERNALERROR_VPCSERVICEUNAVAILABLE = 'InternalError.VPCServiceUnavailable'
|
|
|
50
50
|
# 参数错误。
|
|
51
51
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
52
52
|
|
|
53
|
+
# InvalidParameter.AffinityConfiguration
|
|
54
|
+
INVALIDPARAMETER_AFFINITYCONFIGURATION = 'InvalidParameter.AffinityConfiguration'
|
|
55
|
+
|
|
56
|
+
# InvalidParameter.DeploymentId
|
|
57
|
+
INVALIDPARAMETER_DEPLOYMENTID = 'InvalidParameter.DeploymentId'
|
|
58
|
+
|
|
59
|
+
# InvalidParameter.DeploymentName
|
|
60
|
+
INVALIDPARAMETER_DEPLOYMENTNAME = 'InvalidParameter.DeploymentName'
|
|
61
|
+
|
|
62
|
+
# InvalidParameter.Filters
|
|
63
|
+
INVALIDPARAMETER_FILTERS = 'InvalidParameter.Filters'
|
|
64
|
+
|
|
65
|
+
# InvalidParameter.LifecycleConfiguration
|
|
66
|
+
INVALIDPARAMETER_LIFECYCLECONFIGURATION = 'InvalidParameter.LifecycleConfiguration'
|
|
67
|
+
|
|
68
|
+
# InvalidParameter.Limit
|
|
69
|
+
INVALIDPARAMETER_LIMIT = 'InvalidParameter.Limit'
|
|
70
|
+
|
|
71
|
+
# InvalidParameter.Offset
|
|
72
|
+
INVALIDPARAMETER_OFFSET = 'InvalidParameter.Offset'
|
|
73
|
+
|
|
74
|
+
# InvalidParameter.ScalingConfiguration
|
|
75
|
+
INVALIDPARAMETER_SCALINGCONFIGURATION = 'InvalidParameter.ScalingConfiguration'
|
|
76
|
+
|
|
77
|
+
# InvalidParameter.ToolId
|
|
78
|
+
INVALIDPARAMETER_TOOLID = 'InvalidParameter.ToolId'
|
|
79
|
+
|
|
53
80
|
# 参数取值错误。
|
|
54
81
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
55
82
|
|
|
@@ -86,6 +113,9 @@ INVALIDPARAMETERVALUE_TOOLTYPE = 'InvalidParameterValue.ToolType'
|
|
|
86
113
|
# 账号下 API 密钥数量达到上限
|
|
87
114
|
LIMITEXCEEDED_APIKEYQUOTA = 'LimitExceeded.APIKeyQuota'
|
|
88
115
|
|
|
116
|
+
# LimitExceeded.Deployment
|
|
117
|
+
LIMITEXCEEDED_DEPLOYMENT = 'LimitExceeded.Deployment'
|
|
118
|
+
|
|
89
119
|
# 沙箱实例配额超限
|
|
90
120
|
LIMITEXCEEDED_SANDBOXINSTANCE = 'LimitExceeded.SandboxInstance'
|
|
91
121
|
|
|
@@ -101,12 +131,21 @@ MISSINGPARAMETER_VPCPARAMETERS = 'MissingParameter.VPCParameters'
|
|
|
101
131
|
# 资源被占用。
|
|
102
132
|
RESOURCEINUSE = 'ResourceInUse'
|
|
103
133
|
|
|
134
|
+
# ResourceInUse.Deployment
|
|
135
|
+
RESOURCEINUSE_DEPLOYMENT = 'ResourceInUse.Deployment'
|
|
136
|
+
|
|
137
|
+
# ResourceInUse.DeploymentName
|
|
138
|
+
RESOURCEINUSE_DEPLOYMENTNAME = 'ResourceInUse.DeploymentName'
|
|
139
|
+
|
|
104
140
|
# 沙箱工具正在使用中
|
|
105
141
|
RESOURCEINUSE_SANDBOXTOOL = 'ResourceInUse.SandboxTool'
|
|
106
142
|
|
|
107
143
|
# 资源不存在。
|
|
108
144
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
109
145
|
|
|
146
|
+
# ResourceNotFound.Deployment
|
|
147
|
+
RESOURCENOTFOUND_DEPLOYMENT = 'ResourceNotFound.Deployment'
|
|
148
|
+
|
|
110
149
|
# 沙箱实例不存在
|
|
111
150
|
RESOURCENOTFOUND_SANDBOXINSTANCE = 'ResourceNotFound.SandboxInstance'
|
|
112
151
|
|
|
@@ -125,6 +164,9 @@ RESOURCENOTFOUND_SUBNET = 'ResourceNotFound.Subnet'
|
|
|
125
164
|
# 资源不可用。
|
|
126
165
|
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
127
166
|
|
|
167
|
+
# ResourceUnavailable.Deployment
|
|
168
|
+
RESOURCEUNAVAILABLE_DEPLOYMENT = 'ResourceUnavailable.Deployment'
|
|
169
|
+
|
|
128
170
|
# 沙箱工具不可用
|
|
129
171
|
RESOURCEUNAVAILABLE_SANDBOXTOOL = 'ResourceUnavailable.SandboxTool'
|
|
130
172
|
|