tencentcloud-sdk-python-databuddy 3.1.183__tar.gz → 3.1.186__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/setup.py +1 -1
  3. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/databuddy/v20260715/databuddy_client.py +257 -4
  5. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/databuddy/v20260715/databuddy_client_async.py +202 -4
  6. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/databuddy/v20260715/errorcodes.py +36 -0
  7. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/databuddy/v20260715/models.py +7375 -4683
  8. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud_sdk_python_databuddy.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_databuddy-3.1.186/tencentcloud_sdk_python_databuddy.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_databuddy-3.1.183/tencentcloud_sdk_python_databuddy.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/README.rst +0 -0
  12. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/databuddy/__init__.py +0 -0
  14. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud/databuddy/v20260715/__init__.py +0 -0
  15. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud_sdk_python_databuddy.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud_sdk_python_databuddy.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_databuddy-3.1.183 → tencentcloud_sdk_python_databuddy-3.1.186}/tencentcloud_sdk_python_databuddy.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-databuddy
3
- Version: 3.1.183
3
+ Version: 3.1.186
4
4
  Summary: Tencent Cloud Databuddy 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.183
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.186
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-databuddy',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.183,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.186,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Databuddy SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.183'
17
+ __version__ = '3.1.186'
@@ -49,6 +49,29 @@ class DatabuddyClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CreateCatalog(self, request):
53
+ r"""创建数据目录接口
54
+
55
+ :param request: Request instance for CreateCatalog.
56
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.CreateCatalogRequest`
57
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.CreateCatalogResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("CreateCatalog", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.CreateCatalogResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
52
75
  def CreateConsoleGroup(self, request):
53
76
  r"""创建控制台用户组
54
77
 
@@ -125,6 +148,29 @@ class DatabuddyClient(AbstractClient):
125
148
  raise TencentCloudSDKException(type(e).__name__, str(e))
126
149
 
127
150
 
151
+ def CreateSchema(self, request):
152
+ r"""创建schema
153
+
154
+ :param request: Request instance for CreateSchema.
155
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.CreateSchemaRequest`
156
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.CreateSchemaResponse`
157
+
158
+ """
159
+ try:
160
+ params = request._serialize()
161
+ headers = request.headers
162
+ body = self.call("CreateSchema", params, headers=headers)
163
+ response = json.loads(body)
164
+ model = models.CreateSchemaResponse()
165
+ model._deserialize(response["Response"])
166
+ return model
167
+ except Exception as e:
168
+ if isinstance(e, TencentCloudSDKException):
169
+ raise
170
+ else:
171
+ raise TencentCloudSDKException(type(e).__name__, str(e))
172
+
173
+
128
174
  def CreateWorkflow(self, request):
129
175
  r"""创建工作流
130
176
 
@@ -171,6 +217,52 @@ class DatabuddyClient(AbstractClient):
171
217
  raise TencentCloudSDKException(type(e).__name__, str(e))
172
218
 
173
219
 
220
+ def CreateWorkspaceRole(self, request):
221
+ r"""创建工作空间角色
222
+
223
+ :param request: Request instance for CreateWorkspaceRole.
224
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.CreateWorkspaceRoleRequest`
225
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.CreateWorkspaceRoleResponse`
226
+
227
+ """
228
+ try:
229
+ params = request._serialize()
230
+ headers = request.headers
231
+ body = self.call("CreateWorkspaceRole", params, headers=headers)
232
+ response = json.loads(body)
233
+ model = models.CreateWorkspaceRoleResponse()
234
+ model._deserialize(response["Response"])
235
+ return model
236
+ except Exception as e:
237
+ if isinstance(e, TencentCloudSDKException):
238
+ raise
239
+ else:
240
+ raise TencentCloudSDKException(type(e).__name__, str(e))
241
+
242
+
243
+ def DeleteCatalog(self, request):
244
+ r"""删除catalog
245
+
246
+ :param request: Request instance for DeleteCatalog.
247
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.DeleteCatalogRequest`
248
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.DeleteCatalogResponse`
249
+
250
+ """
251
+ try:
252
+ params = request._serialize()
253
+ headers = request.headers
254
+ body = self.call("DeleteCatalog", params, headers=headers)
255
+ response = json.loads(body)
256
+ model = models.DeleteCatalogResponse()
257
+ model._deserialize(response["Response"])
258
+ return model
259
+ except Exception as e:
260
+ if isinstance(e, TencentCloudSDKException):
261
+ raise
262
+ else:
263
+ raise TencentCloudSDKException(type(e).__name__, str(e))
264
+
265
+
174
266
  def DeleteConsoleGroups(self, request):
175
267
  r"""删除控制台用户组
176
268
 
@@ -257,6 +349,29 @@ class DatabuddyClient(AbstractClient):
257
349
  raise TencentCloudSDKException(type(e).__name__, str(e))
258
350
 
259
351
 
352
+ def DeleteSchema(self, request):
353
+ r"""删除schema
354
+
355
+ :param request: Request instance for DeleteSchema.
356
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.DeleteSchemaRequest`
357
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.DeleteSchemaResponse`
358
+
359
+ """
360
+ try:
361
+ params = request._serialize()
362
+ headers = request.headers
363
+ body = self.call("DeleteSchema", params, headers=headers)
364
+ response = json.loads(body)
365
+ model = models.DeleteSchemaResponse()
366
+ model._deserialize(response["Response"])
367
+ return model
368
+ except Exception as e:
369
+ if isinstance(e, TencentCloudSDKException):
370
+ raise
371
+ else:
372
+ raise TencentCloudSDKException(type(e).__name__, str(e))
373
+
374
+
260
375
  def DeleteWorkflow(self, request):
261
376
  r"""删除工作流
262
377
 
@@ -303,6 +418,29 @@ class DatabuddyClient(AbstractClient):
303
418
  raise TencentCloudSDKException(type(e).__name__, str(e))
304
419
 
305
420
 
421
+ def DeleteWorkspaceRole(self, request):
422
+ r"""删除工作空间角色
423
+
424
+ :param request: Request instance for DeleteWorkspaceRole.
425
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.DeleteWorkspaceRoleRequest`
426
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.DeleteWorkspaceRoleResponse`
427
+
428
+ """
429
+ try:
430
+ params = request._serialize()
431
+ headers = request.headers
432
+ body = self.call("DeleteWorkspaceRole", params, headers=headers)
433
+ response = json.loads(body)
434
+ model = models.DeleteWorkspaceRoleResponse()
435
+ model._deserialize(response["Response"])
436
+ return model
437
+ except Exception as e:
438
+ if isinstance(e, TencentCloudSDKException):
439
+ raise
440
+ else:
441
+ raise TencentCloudSDKException(type(e).__name__, str(e))
442
+
443
+
306
444
  def GetFile(self, request):
307
445
  r"""获取文件的元信息,可选包含文件内容,支持按版本读取历史快照。
308
446
 
@@ -482,7 +620,7 @@ class DatabuddyClient(AbstractClient):
482
620
 
483
621
 
484
622
  def ListConsoleGroupUsers(self, request):
485
- r"""查询控制台用户组成员列表
623
+ r"""查询控制台用户组成员列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
486
624
 
487
625
  :param request: Request instance for ListConsoleGroupUsers.
488
626
  :type request: :class:`tencentcloud.databuddy.v20260715.models.ListConsoleGroupUsersRequest`
@@ -505,7 +643,7 @@ class DatabuddyClient(AbstractClient):
505
643
 
506
644
 
507
645
  def ListConsoleGroups(self, request):
508
- r"""查询控制台用户组列表
646
+ r"""查询控制台用户组列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
509
647
 
510
648
  :param request: Request instance for ListConsoleGroups.
511
649
  :type request: :class:`tencentcloud.databuddy.v20260715.models.ListConsoleGroupsRequest`
@@ -528,7 +666,7 @@ class DatabuddyClient(AbstractClient):
528
666
 
529
667
 
530
668
  def ListConsoleRoles(self, request):
531
- r"""查询控制台角色列表
669
+ r"""查询控制台角色列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
532
670
 
533
671
  :param request: Request instance for ListConsoleRoles.
534
672
  :type request: :class:`tencentcloud.databuddy.v20260715.models.ListConsoleRolesRequest`
@@ -551,7 +689,7 @@ class DatabuddyClient(AbstractClient):
551
689
 
552
690
 
553
691
  def ListConsoleUsers(self, request):
554
- r"""查询控制台用户列表
692
+ r"""查询控制台用户列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
555
693
 
556
694
  :param request: Request instance for ListConsoleUsers.
557
695
  :type request: :class:`tencentcloud.databuddy.v20260715.models.ListConsoleUsersRequest`
@@ -596,6 +734,29 @@ class DatabuddyClient(AbstractClient):
596
734
  raise TencentCloudSDKException(type(e).__name__, str(e))
597
735
 
598
736
 
737
+ def ListSchemas(self, request):
738
+ r"""获取schema列表
739
+
740
+ :param request: Request instance for ListSchemas.
741
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.ListSchemasRequest`
742
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.ListSchemasResponse`
743
+
744
+ """
745
+ try:
746
+ params = request._serialize()
747
+ headers = request.headers
748
+ body = self.call("ListSchemas", params, headers=headers)
749
+ response = json.loads(body)
750
+ model = models.ListSchemasResponse()
751
+ model._deserialize(response["Response"])
752
+ return model
753
+ except Exception as e:
754
+ if isinstance(e, TencentCloudSDKException):
755
+ raise
756
+ else:
757
+ raise TencentCloudSDKException(type(e).__name__, str(e))
758
+
759
+
599
760
  def ListWorkflowRuns(self, request):
600
761
  r"""工作流运行列表
601
762
 
@@ -665,6 +826,29 @@ class DatabuddyClient(AbstractClient):
665
826
  raise TencentCloudSDKException(type(e).__name__, str(e))
666
827
 
667
828
 
829
+ def ListWorkspaces(self, request):
830
+ r"""查询工作空间列表
831
+
832
+ :param request: Request instance for ListWorkspaces.
833
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.ListWorkspacesRequest`
834
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.ListWorkspacesResponse`
835
+
836
+ """
837
+ try:
838
+ params = request._serialize()
839
+ headers = request.headers
840
+ body = self.call("ListWorkspaces", params, headers=headers)
841
+ response = json.loads(body)
842
+ model = models.ListWorkspacesResponse()
843
+ model._deserialize(response["Response"])
844
+ return model
845
+ except Exception as e:
846
+ if isinstance(e, TencentCloudSDKException):
847
+ raise
848
+ else:
849
+ raise TencentCloudSDKException(type(e).__name__, str(e))
850
+
851
+
668
852
  def RemoveConsoleUsers(self, request):
669
853
  r"""<p>批量移除控制台用户(单次最多10个;前置校验任一不满足整体拒绝;执行阶段单个失败不中断后续删除,成败以 SuccessUins/FailItems 为准)</p>
670
854
 
@@ -734,6 +918,52 @@ class DatabuddyClient(AbstractClient):
734
918
  raise TencentCloudSDKException(type(e).__name__, str(e))
735
919
 
736
920
 
921
+ def StartCompute(self, request):
922
+ r"""启动计算资源
923
+
924
+ :param request: Request instance for StartCompute.
925
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.StartComputeRequest`
926
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.StartComputeResponse`
927
+
928
+ """
929
+ try:
930
+ params = request._serialize()
931
+ headers = request.headers
932
+ body = self.call("StartCompute", params, headers=headers)
933
+ response = json.loads(body)
934
+ model = models.StartComputeResponse()
935
+ model._deserialize(response["Response"])
936
+ return model
937
+ except Exception as e:
938
+ if isinstance(e, TencentCloudSDKException):
939
+ raise
940
+ else:
941
+ raise TencentCloudSDKException(type(e).__name__, str(e))
942
+
943
+
944
+ def StopCompute(self, request):
945
+ r"""停止计算资源
946
+
947
+ :param request: Request instance for StopCompute.
948
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.StopComputeRequest`
949
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.StopComputeResponse`
950
+
951
+ """
952
+ try:
953
+ params = request._serialize()
954
+ headers = request.headers
955
+ body = self.call("StopCompute", params, headers=headers)
956
+ response = json.loads(body)
957
+ model = models.StopComputeResponse()
958
+ model._deserialize(response["Response"])
959
+ return model
960
+ except Exception as e:
961
+ if isinstance(e, TencentCloudSDKException):
962
+ raise
963
+ else:
964
+ raise TencentCloudSDKException(type(e).__name__, str(e))
965
+
966
+
737
967
  def UnbindWorkflowBundle(self, request):
738
968
  r"""解绑工作流Bundle信息
739
969
  说明:本接口语义等同于规范动词清单中的 Detach,因兼容既有产品形态保留 Unbind 命名
@@ -908,6 +1138,29 @@ class DatabuddyClient(AbstractClient):
908
1138
  model = models.UpdateWorkspaceResponse()
909
1139
  model._deserialize(response["Response"])
910
1140
  return model
1141
+ except Exception as e:
1142
+ if isinstance(e, TencentCloudSDKException):
1143
+ raise
1144
+ else:
1145
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1146
+
1147
+
1148
+ def UpdateWorkspaceRole(self, request):
1149
+ r"""更新工作空间角色
1150
+
1151
+ :param request: Request instance for UpdateWorkspaceRole.
1152
+ :type request: :class:`tencentcloud.databuddy.v20260715.models.UpdateWorkspaceRoleRequest`
1153
+ :rtype: :class:`tencentcloud.databuddy.v20260715.models.UpdateWorkspaceRoleResponse`
1154
+
1155
+ """
1156
+ try:
1157
+ params = request._serialize()
1158
+ headers = request.headers
1159
+ body = self.call("UpdateWorkspaceRole", params, headers=headers)
1160
+ response = json.loads(body)
1161
+ model = models.UpdateWorkspaceRoleResponse()
1162
+ model._deserialize(response["Response"])
1163
+ return model
911
1164
  except Exception as e:
912
1165
  if isinstance(e, TencentCloudSDKException):
913
1166
  raise
@@ -43,6 +43,24 @@ class DatabuddyClient(AbstractClient):
43
43
 
44
44
  return await self.call_and_deserialize(**kwargs)
45
45
 
46
+ async def CreateCatalog(
47
+ self,
48
+ request: models.CreateCatalogRequest,
49
+ opts: Dict = None,
50
+ ) -> models.CreateCatalogResponse:
51
+ """
52
+ 创建数据目录接口
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "CreateCatalog"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.CreateCatalogResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
46
64
  async def CreateConsoleGroup(
47
65
  self,
48
66
  request: models.CreateConsoleGroupRequest,
@@ -104,6 +122,24 @@ class DatabuddyClient(AbstractClient):
104
122
 
105
123
  return await self.call_and_deserialize(**kwargs)
106
124
 
125
+ async def CreateSchema(
126
+ self,
127
+ request: models.CreateSchemaRequest,
128
+ opts: Dict = None,
129
+ ) -> models.CreateSchemaResponse:
130
+ """
131
+ 创建schema
132
+ """
133
+
134
+ kwargs = {}
135
+ kwargs["action"] = "CreateSchema"
136
+ kwargs["params"] = request._serialize()
137
+ kwargs["resp_cls"] = models.CreateSchemaResponse
138
+ kwargs["headers"] = request.headers
139
+ kwargs["opts"] = opts or {}
140
+
141
+ return await self.call_and_deserialize(**kwargs)
142
+
107
143
  async def CreateWorkflow(
108
144
  self,
109
145
  request: models.CreateWorkflowRequest,
@@ -140,6 +176,42 @@ class DatabuddyClient(AbstractClient):
140
176
 
141
177
  return await self.call_and_deserialize(**kwargs)
142
178
 
179
+ async def CreateWorkspaceRole(
180
+ self,
181
+ request: models.CreateWorkspaceRoleRequest,
182
+ opts: Dict = None,
183
+ ) -> models.CreateWorkspaceRoleResponse:
184
+ """
185
+ 创建工作空间角色
186
+ """
187
+
188
+ kwargs = {}
189
+ kwargs["action"] = "CreateWorkspaceRole"
190
+ kwargs["params"] = request._serialize()
191
+ kwargs["resp_cls"] = models.CreateWorkspaceRoleResponse
192
+ kwargs["headers"] = request.headers
193
+ kwargs["opts"] = opts or {}
194
+
195
+ return await self.call_and_deserialize(**kwargs)
196
+
197
+ async def DeleteCatalog(
198
+ self,
199
+ request: models.DeleteCatalogRequest,
200
+ opts: Dict = None,
201
+ ) -> models.DeleteCatalogResponse:
202
+ """
203
+ 删除catalog
204
+ """
205
+
206
+ kwargs = {}
207
+ kwargs["action"] = "DeleteCatalog"
208
+ kwargs["params"] = request._serialize()
209
+ kwargs["resp_cls"] = models.DeleteCatalogResponse
210
+ kwargs["headers"] = request.headers
211
+ kwargs["opts"] = opts or {}
212
+
213
+ return await self.call_and_deserialize(**kwargs)
214
+
143
215
  async def DeleteConsoleGroups(
144
216
  self,
145
217
  request: models.DeleteConsoleGroupsRequest,
@@ -211,6 +283,24 @@ class DatabuddyClient(AbstractClient):
211
283
 
212
284
  return await self.call_and_deserialize(**kwargs)
213
285
 
286
+ async def DeleteSchema(
287
+ self,
288
+ request: models.DeleteSchemaRequest,
289
+ opts: Dict = None,
290
+ ) -> models.DeleteSchemaResponse:
291
+ """
292
+ 删除schema
293
+ """
294
+
295
+ kwargs = {}
296
+ kwargs["action"] = "DeleteSchema"
297
+ kwargs["params"] = request._serialize()
298
+ kwargs["resp_cls"] = models.DeleteSchemaResponse
299
+ kwargs["headers"] = request.headers
300
+ kwargs["opts"] = opts or {}
301
+
302
+ return await self.call_and_deserialize(**kwargs)
303
+
214
304
  async def DeleteWorkflow(
215
305
  self,
216
306
  request: models.DeleteWorkflowRequest,
@@ -247,6 +337,24 @@ class DatabuddyClient(AbstractClient):
247
337
 
248
338
  return await self.call_and_deserialize(**kwargs)
249
339
 
340
+ async def DeleteWorkspaceRole(
341
+ self,
342
+ request: models.DeleteWorkspaceRoleRequest,
343
+ opts: Dict = None,
344
+ ) -> models.DeleteWorkspaceRoleResponse:
345
+ """
346
+ 删除工作空间角色
347
+ """
348
+
349
+ kwargs = {}
350
+ kwargs["action"] = "DeleteWorkspaceRole"
351
+ kwargs["params"] = request._serialize()
352
+ kwargs["resp_cls"] = models.DeleteWorkspaceRoleResponse
353
+ kwargs["headers"] = request.headers
354
+ kwargs["opts"] = opts or {}
355
+
356
+ return await self.call_and_deserialize(**kwargs)
357
+
250
358
  async def GetFile(
251
359
  self,
252
360
  request: models.GetFileRequest,
@@ -396,7 +504,7 @@ class DatabuddyClient(AbstractClient):
396
504
  opts: Dict = None,
397
505
  ) -> models.ListConsoleGroupUsersResponse:
398
506
  """
399
- 查询控制台用户组成员列表
507
+ 查询控制台用户组成员列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
400
508
  """
401
509
 
402
510
  kwargs = {}
@@ -414,7 +522,7 @@ class DatabuddyClient(AbstractClient):
414
522
  opts: Dict = None,
415
523
  ) -> models.ListConsoleGroupsResponse:
416
524
  """
417
- 查询控制台用户组列表
525
+ 查询控制台用户组列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
418
526
  """
419
527
 
420
528
  kwargs = {}
@@ -432,7 +540,7 @@ class DatabuddyClient(AbstractClient):
432
540
  opts: Dict = None,
433
541
  ) -> models.ListConsoleRolesResponse:
434
542
  """
435
- 查询控制台角色列表
543
+ 查询控制台角色列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
436
544
  """
437
545
 
438
546
  kwargs = {}
@@ -450,7 +558,7 @@ class DatabuddyClient(AbstractClient):
450
558
  opts: Dict = None,
451
559
  ) -> models.ListConsoleUsersResponse:
452
560
  """
453
- 查询控制台用户列表
561
+ 查询控制台用户列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
454
562
  """
455
563
 
456
564
  kwargs = {}
@@ -480,6 +588,24 @@ class DatabuddyClient(AbstractClient):
480
588
 
481
589
  return await self.call_and_deserialize(**kwargs)
482
590
 
591
+ async def ListSchemas(
592
+ self,
593
+ request: models.ListSchemasRequest,
594
+ opts: Dict = None,
595
+ ) -> models.ListSchemasResponse:
596
+ """
597
+ 获取schema列表
598
+ """
599
+
600
+ kwargs = {}
601
+ kwargs["action"] = "ListSchemas"
602
+ kwargs["params"] = request._serialize()
603
+ kwargs["resp_cls"] = models.ListSchemasResponse
604
+ kwargs["headers"] = request.headers
605
+ kwargs["opts"] = opts or {}
606
+
607
+ return await self.call_and_deserialize(**kwargs)
608
+
483
609
  async def ListWorkflowRuns(
484
610
  self,
485
611
  request: models.ListWorkflowRunsRequest,
@@ -534,6 +660,24 @@ class DatabuddyClient(AbstractClient):
534
660
 
535
661
  return await self.call_and_deserialize(**kwargs)
536
662
 
663
+ async def ListWorkspaces(
664
+ self,
665
+ request: models.ListWorkspacesRequest,
666
+ opts: Dict = None,
667
+ ) -> models.ListWorkspacesResponse:
668
+ """
669
+ 查询工作空间列表
670
+ """
671
+
672
+ kwargs = {}
673
+ kwargs["action"] = "ListWorkspaces"
674
+ kwargs["params"] = request._serialize()
675
+ kwargs["resp_cls"] = models.ListWorkspacesResponse
676
+ kwargs["headers"] = request.headers
677
+ kwargs["opts"] = opts or {}
678
+
679
+ return await self.call_and_deserialize(**kwargs)
680
+
537
681
  async def RemoveConsoleUsers(
538
682
  self,
539
683
  request: models.RemoveConsoleUsersRequest,
@@ -588,6 +732,42 @@ class DatabuddyClient(AbstractClient):
588
732
 
589
733
  return await self.call_and_deserialize(**kwargs)
590
734
 
735
+ async def StartCompute(
736
+ self,
737
+ request: models.StartComputeRequest,
738
+ opts: Dict = None,
739
+ ) -> models.StartComputeResponse:
740
+ """
741
+ 启动计算资源
742
+ """
743
+
744
+ kwargs = {}
745
+ kwargs["action"] = "StartCompute"
746
+ kwargs["params"] = request._serialize()
747
+ kwargs["resp_cls"] = models.StartComputeResponse
748
+ kwargs["headers"] = request.headers
749
+ kwargs["opts"] = opts or {}
750
+
751
+ return await self.call_and_deserialize(**kwargs)
752
+
753
+ async def StopCompute(
754
+ self,
755
+ request: models.StopComputeRequest,
756
+ opts: Dict = None,
757
+ ) -> models.StopComputeResponse:
758
+ """
759
+ 停止计算资源
760
+ """
761
+
762
+ kwargs = {}
763
+ kwargs["action"] = "StopCompute"
764
+ kwargs["params"] = request._serialize()
765
+ kwargs["resp_cls"] = models.StopComputeResponse
766
+ kwargs["headers"] = request.headers
767
+ kwargs["opts"] = opts or {}
768
+
769
+ return await self.call_and_deserialize(**kwargs)
770
+
591
771
  async def UnbindWorkflowBundle(
592
772
  self,
593
773
  request: models.UnbindWorkflowBundleRequest,
@@ -732,4 +912,22 @@ class DatabuddyClient(AbstractClient):
732
912
  kwargs["headers"] = request.headers
733
913
  kwargs["opts"] = opts or {}
734
914
 
915
+ return await self.call_and_deserialize(**kwargs)
916
+
917
+ async def UpdateWorkspaceRole(
918
+ self,
919
+ request: models.UpdateWorkspaceRoleRequest,
920
+ opts: Dict = None,
921
+ ) -> models.UpdateWorkspaceRoleResponse:
922
+ """
923
+ 更新工作空间角色
924
+ """
925
+
926
+ kwargs = {}
927
+ kwargs["action"] = "UpdateWorkspaceRole"
928
+ kwargs["params"] = request._serialize()
929
+ kwargs["resp_cls"] = models.UpdateWorkspaceRoleResponse
930
+ kwargs["headers"] = request.headers
931
+ kwargs["opts"] = opts or {}
932
+
735
933
  return await self.call_and_deserialize(**kwargs)