tencentcloud-sdk-python 3.1.185__py2.py3-none-any.whl → 3.1.186__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.185'
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
 
@@ -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,
@@ -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)
@@ -26,6 +26,9 @@ FAILEDOPERATION_CALLTHIRDPARTAPIERROR = 'FailedOperation.CallThirdPartApiError'
26
26
  # 创建工作流失败
27
27
  FAILEDOPERATION_CREATEWORKFLOWFAILED = 'FailedOperation.CreateWorkflowFailed'
28
28
 
29
+ # 该数据源连接已关联分析版 catalog,同一工作空间下每个 Connection 只能创建一个分析版 Catalog
30
+ FAILEDOPERATION_DUPLICATEANACATALOG = 'FailedOperation.DuplicateAnaCatalog'
31
+
29
32
  # 存在活跃的工作流运行,无法操作
30
33
  FAILEDOPERATION_EXISTWORKFLOWEXECUTIONS = 'FailedOperation.ExistWorkflowExecutions'
31
34
 
@@ -65,12 +68,30 @@ FAILEDOPERATION_WORKFLOWNOPERMISSION = 'FailedOperation.WorkflowNoPermission'
65
68
  # 内部错误。
66
69
  INTERNALERROR = 'InternalError'
67
70
 
71
+ # InternalError.BizException
72
+ INTERNALERROR_BIZEXCEPTION = 'InternalError.BizException'
73
+
74
+ # InternalError.FailedOperation
75
+ INTERNALERROR_FAILEDOPERATION = 'InternalError.FailedOperation'
76
+
77
+ # InternalError.InvalidParameter
78
+ INTERNALERROR_INVALIDPARAMETER = 'InternalError.InvalidParameter'
79
+
80
+ # InternalError.PermissionDenied
81
+ INTERNALERROR_PERMISSIONDENIED = 'InternalError.PermissionDenied'
82
+
83
+ # InternalError.ResourceNotFound
84
+ INTERNALERROR_RESOURCENOTFOUND = 'InternalError.ResourceNotFound'
85
+
68
86
  # 未知错误
69
87
  INTERNALERROR_UNKNOWNERROR = 'InternalError.UnknownError'
70
88
 
71
89
  # 参数错误。
72
90
  INVALIDPARAMETER = 'InvalidParameter'
73
91
 
92
+ # 参数不正确
93
+ INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
94
+
74
95
  # 无效参数
75
96
  INVALIDPARAMETER_INVALIDPARAMSERROR = 'InvalidParameter.InvalidParamsError'
76
97
 
@@ -149,6 +170,9 @@ INVALIDPARAMETERVALUE_WORKFLOWSTARTTIMEAFTERENDTIMEERROR = 'InvalidParameterValu
149
170
  # 请检查工作流触发器高级配置,修正非法的 JSON 内容
150
171
  INVALIDPARAMETERVALUE_WORKFLOWTRIGGERADVANCEDCONFIGERROR = 'InvalidParameterValue.WorkflowTriggerAdvancedConfigError'
151
172
 
173
+ # 已达自定义角色数量上限
174
+ LIMITEXCEEDED_CUSTOMROLEQUOTA = 'LimitExceeded.CustomRoleQuota'
175
+
152
176
  # 缺少参数错误。
153
177
  MISSINGPARAMETER = 'MissingParameter'
154
178
 
@@ -161,12 +185,24 @@ OPERATIONDENIED = 'OperationDenied'
161
185
  # 地域错误
162
186
  REGIONERROR = 'RegionError'
163
187
 
188
+ # 数据目录已存在
189
+ RESOURCEINUSE_CATALOGALREADYEXISTS = 'ResourceInUse.CatalogAlreadyExists'
190
+
191
+ # Schema 已存在
192
+ RESOURCEINUSE_SCHEMAALREADYEXISTS = 'ResourceInUse.SchemaAlreadyExists'
193
+
164
194
  # 资源不存在。
165
195
  RESOURCENOTFOUND = 'ResourceNotFound'
166
196
 
197
+ # 指定的 Catalog 不存在
198
+ RESOURCENOTFOUND_CATALOGNOTFOUND = 'ResourceNotFound.CatalogNotFound'
199
+
167
200
  # 资源不存在或已被删除
168
201
  RESOURCENOTFOUND_ONEFLOWRESOURCENOEXISTERROR = 'ResourceNotFound.OneFlowResourceNoExistError'
169
202
 
203
+ # 指定的Schema不存在
204
+ RESOURCENOTFOUND_SCHEMANOTFOUND = 'ResourceNotFound.SchemaNotFound'
205
+
170
206
  # 任务运行不存在
171
207
  RESOURCENOTFOUND_TASKEXECUTIONNOTEXIST = 'ResourceNotFound.TaskExecutionNotExist'
172
208