@@ -5261,6 +5261,66 @@ public EditLogicDatabaseResponse editLogicDatabase(EditLogicDatabaseRequest requ
5261
5261
return this.editLogicDatabaseWithOptions(request, runtime);
5262
5262
}
5263
5263
5264
+ /**
5265
+ * <b>summary</b> :
5266
+ * <p>编辑指定guid的元数据业务知识</p>
5267
+ *
5268
+ * @param request EditMetaKnowledgeAssetRequest
5269
+ * @param runtime runtime options for this request RuntimeOptions
5270
+ * @return EditMetaKnowledgeAssetResponse
5271
+ */
5272
+ public EditMetaKnowledgeAssetResponse editMetaKnowledgeAssetWithOptions(EditMetaKnowledgeAssetRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
5273
+ com.aliyun.teautil.Common.validateModel(request);
5274
+ java.util.Map<String, Object> query = new java.util.HashMap<>();
5275
+ if (!com.aliyun.teautil.Common.isUnset(request.assetDescription)) {
5276
+ query.put("AssetDescription", request.assetDescription);
5277
+ }
5278
+
5279
+ if (!com.aliyun.teautil.Common.isUnset(request.columnName)) {
5280
+ query.put("ColumnName", request.columnName);
5281
+ }
5282
+
5283
+ if (!com.aliyun.teautil.Common.isUnset(request.dbId)) {
5284
+ query.put("DbId", request.dbId);
5285
+ }
5286
+
5287
+ if (!com.aliyun.teautil.Common.isUnset(request.tableName)) {
5288
+ query.put("TableName", request.tableName);
5289
+ }
5290
+
5291
+ if (!com.aliyun.teautil.Common.isUnset(request.tableSchemaName)) {
5292
+ query.put("TableSchemaName", request.tableSchemaName);
5293
+ }
5294
+
5295
+ com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
5296
+ new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
5297
+ ));
5298
+ com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
5299
+ new TeaPair("action", "EditMetaKnowledgeAsset"),
5300
+ new TeaPair("version", "2018-11-01"),
5301
+ new TeaPair("protocol", "HTTPS"),
5302
+ new TeaPair("pathname", "/"),
5303
+ new TeaPair("method", "POST"),
5304
+ new TeaPair("authType", "AK"),
5305
+ new TeaPair("style", "RPC"),
5306
+ new TeaPair("reqBodyType", "formData"),
5307
+ new TeaPair("bodyType", "json")
5308
+ ));
5309
+ return TeaModel.toModel(this.callApi(params, req, runtime), new EditMetaKnowledgeAssetResponse());
5310
+ }
5311
+
5312
+ /**
5313
+ * <b>summary</b> :
5314
+ * <p>编辑指定guid的元数据业务知识</p>
5315
+ *
5316
+ * @param request EditMetaKnowledgeAssetRequest
5317
+ * @return EditMetaKnowledgeAssetResponse
5318
+ */
5319
+ public EditMetaKnowledgeAssetResponse editMetaKnowledgeAsset(EditMetaKnowledgeAssetRequest request) throws Exception {
5320
+ com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
5321
+ return this.editMetaKnowledgeAssetWithOptions(request, runtime);
5322
+ }
5323
+
5264
5324
/**
5265
5325
* <b>description</b> :
5266
5326
* <p>The effect of enabling a user by calling this operation is the same as that of enabling a user by choosing System Management > User Management in the DMS Enterprise console. The administrator of DMS Enterprise can call this operation to enable a user that has been disabled in DMS Enterprise. After the user is enabled, the corresponding Alibaba Cloud account or Resource Access Management (RAM) user can continue to log on to DMS Enterprise and perform relevant operations.</p>
@@ -8685,6 +8745,58 @@ public GetTableDesignProjectInfoResponse getTableDesignProjectInfo(GetTableDesig
8685
8745
return this.getTableDesignProjectInfoWithOptions(request, runtime);
8686
8746
}
8687
8747
8748
+ /**
8749
+ * <b>summary</b> :
8750
+ * <p>获取指定guid的元数据知识</p>
8751
+ *
8752
+ * @param request GetTableKnowledgeInfoRequest
8753
+ * @param runtime runtime options for this request RuntimeOptions
8754
+ * @return GetTableKnowledgeInfoResponse
8755
+ */
8756
+ public GetTableKnowledgeInfoResponse getTableKnowledgeInfoWithOptions(GetTableKnowledgeInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
8757
+ com.aliyun.teautil.Common.validateModel(request);
8758
+ java.util.Map<String, Object> query = new java.util.HashMap<>();
8759
+ if (!com.aliyun.teautil.Common.isUnset(request.dbId)) {
8760
+ query.put("DbId", request.dbId);
8761
+ }
8762
+
8763
+ if (!com.aliyun.teautil.Common.isUnset(request.tableName)) {
8764
+ query.put("TableName", request.tableName);
8765
+ }
8766
+
8767
+ if (!com.aliyun.teautil.Common.isUnset(request.tableSchemaName)) {
8768
+ query.put("TableSchemaName", request.tableSchemaName);
8769
+ }
8770
+
8771
+ com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
8772
+ new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
8773
+ ));
8774
+ com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
8775
+ new TeaPair("action", "GetTableKnowledgeInfo"),
8776
+ new TeaPair("version", "2018-11-01"),
8777
+ new TeaPair("protocol", "HTTPS"),
8778
+ new TeaPair("pathname", "/"),
8779
+ new TeaPair("method", "POST"),
8780
+ new TeaPair("authType", "AK"),
8781
+ new TeaPair("style", "RPC"),
8782
+ new TeaPair("reqBodyType", "formData"),
8783
+ new TeaPair("bodyType", "json")
8784
+ ));
8785
+ return TeaModel.toModel(this.callApi(params, req, runtime), new GetTableKnowledgeInfoResponse());
8786
+ }
8787
+
8788
+ /**
8789
+ * <b>summary</b> :
8790
+ * <p>获取指定guid的元数据知识</p>
8791
+ *
8792
+ * @param request GetTableKnowledgeInfoRequest
8793
+ * @return GetTableKnowledgeInfoResponse
8794
+ */
8795
+ public GetTableKnowledgeInfoResponse getTableKnowledgeInfo(GetTableKnowledgeInfoRequest request) throws Exception {
8796
+ com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
8797
+ return this.getTableKnowledgeInfoWithOptions(request, runtime);
8798
+ }
8799
+
8688
8800
/**
8689
8801
* <b>summary</b> :
8690
8802
* <p>Queries the topology of a table.</p>
@@ -12699,6 +12811,62 @@ public ListStandardGroupsResponse listStandardGroups(ListStandardGroupsRequest r
12699
12811
return this.listStandardGroupsWithOptions(request, runtime);
12700
12812
}
12701
12813
12814
+ /**
12815
+ * <b>summary</b> :
12816
+ * <p>获取表字段信息</p>
12817
+ *
12818
+ * @param request ListTableColumnsRequest
12819
+ * @param runtime runtime options for this request RuntimeOptions
12820
+ * @return ListTableColumnsResponse
12821
+ */
12822
+ public ListTableColumnsResponse listTableColumnsWithOptions(ListTableColumnsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
12823
+ com.aliyun.teautil.Common.validateModel(request);
12824
+ java.util.Map<String, Object> query = new java.util.HashMap<>();
12825
+ if (!com.aliyun.teautil.Common.isUnset(request.dbId)) {
12826
+ query.put("DbId", request.dbId);
12827
+ }
12828
+
12829
+ if (!com.aliyun.teautil.Common.isUnset(request.tableName)) {
12830
+ query.put("TableName", request.tableName);
12831
+ }
12832
+
12833
+ if (!com.aliyun.teautil.Common.isUnset(request.tableSchemaName)) {
12834
+ query.put("TableSchemaName", request.tableSchemaName);
12835
+ }
12836
+
12837
+ if (!com.aliyun.teautil.Common.isUnset(request.tid)) {
12838
+ query.put("Tid", request.tid);
12839
+ }
12840
+
12841
+ com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
12842
+ new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
12843
+ ));
12844
+ com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
12845
+ new TeaPair("action", "ListTableColumns"),
12846
+ new TeaPair("version", "2018-11-01"),
12847
+ new TeaPair("protocol", "HTTPS"),
12848
+ new TeaPair("pathname", "/"),
12849
+ new TeaPair("method", "POST"),
12850
+ new TeaPair("authType", "AK"),
12851
+ new TeaPair("style", "RPC"),
12852
+ new TeaPair("reqBodyType", "formData"),
12853
+ new TeaPair("bodyType", "json")
12854
+ ));
12855
+ return TeaModel.toModel(this.callApi(params, req, runtime), new ListTableColumnsResponse());
12856
+ }
12857
+
12858
+ /**
12859
+ * <b>summary</b> :
12860
+ * <p>获取表字段信息</p>
12861
+ *
12862
+ * @param request ListTableColumnsRequest
12863
+ * @return ListTableColumnsResponse
12864
+ */
12865
+ public ListTableColumnsResponse listTableColumns(ListTableColumnsRequest request) throws Exception {
12866
+ com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
12867
+ return this.listTableColumnsWithOptions(request, runtime);
12868
+ }
12869
+
12702
12870
/**
12703
12871
* <b>description</b> :
12704
12872
* <p>You can call this operation only for database instances whose control mode is Security Collaboration.</p>
0 commit comments