Skip to content

Commit 4417eef

Browse files
committed
Support API EditMetaKnowledgeAsset.
1 parent affb67a commit 4417eef

16 files changed

+1173
-1
lines changed

dms-enterprise-20181101/ChangeLog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-06-11 Version: 1.72.0
2+
- Support API EditMetaKnowledgeAsset.
3+
- Support API GetTableKnowledgeInfo.
4+
- Support API ListTableColumns.
5+
6+
17
2025-05-22 Version: 1.71.1
28
- Update API CreateDataImportOrder: add request parameters RealLoginUserUid.
39

dms-enterprise-20181101/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>dms_enterprise20181101</artifactId>
6-
<version>1.71.1</version>
6+
<version>1.72.0</version>
77
<packaging>jar</packaging>
88
<name>dms_enterprise20181101</name>
99
<description>Alibaba Cloud dms-enterprise (20181101) SDK for Java

dms-enterprise-20181101/src/main/java/com/aliyun/dms_enterprise20181101/Client.java

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5261,6 +5261,66 @@ public EditLogicDatabaseResponse editLogicDatabase(EditLogicDatabaseRequest requ
52615261
return this.editLogicDatabaseWithOptions(request, runtime);
52625262
}
52635263

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+
52645324
/**
52655325
* <b>description</b> :
52665326
* <p>The effect of enabling a user by calling this operation is the same as that of enabling a user by choosing System Management &gt; 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
86858745
return this.getTableDesignProjectInfoWithOptions(request, runtime);
86868746
}
86878747

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+
86888800
/**
86898801
* <b>summary</b> :
86908802
* <p>Queries the topology of a table.</p>
@@ -12699,6 +12811,62 @@ public ListStandardGroupsResponse listStandardGroups(ListStandardGroupsRequest r
1269912811
return this.listStandardGroupsWithOptions(request, runtime);
1270012812
}
1270112813

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+
1270212870
/**
1270312871
* <b>description</b> :
1270412872
* <p>You can call this operation only for database instances whose control mode is Security Collaboration.</p>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.dms_enterprise20181101.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class ColumnKnowledgeInfo extends TeaModel {
7+
@NameInMap("AssetDescription")
8+
public String assetDescription;
9+
10+
@NameInMap("AssetModifiedGmt")
11+
public String assetModifiedGmt;
12+
13+
@NameInMap("ColumnName")
14+
public String columnName;
15+
16+
@NameInMap("ColumnType")
17+
public String columnType;
18+
19+
@NameInMap("Description")
20+
public String description;
21+
22+
@NameInMap("Position")
23+
public Integer position;
24+
25+
public static ColumnKnowledgeInfo build(java.util.Map<String, ?> map) throws Exception {
26+
ColumnKnowledgeInfo self = new ColumnKnowledgeInfo();
27+
return TeaModel.build(map, self);
28+
}
29+
30+
public ColumnKnowledgeInfo setAssetDescription(String assetDescription) {
31+
this.assetDescription = assetDescription;
32+
return this;
33+
}
34+
public String getAssetDescription() {
35+
return this.assetDescription;
36+
}
37+
38+
public ColumnKnowledgeInfo setAssetModifiedGmt(String assetModifiedGmt) {
39+
this.assetModifiedGmt = assetModifiedGmt;
40+
return this;
41+
}
42+
public String getAssetModifiedGmt() {
43+
return this.assetModifiedGmt;
44+
}
45+
46+
public ColumnKnowledgeInfo setColumnName(String columnName) {
47+
this.columnName = columnName;
48+
return this;
49+
}
50+
public String getColumnName() {
51+
return this.columnName;
52+
}
53+
54+
public ColumnKnowledgeInfo setColumnType(String columnType) {
55+
this.columnType = columnType;
56+
return this;
57+
}
58+
public String getColumnType() {
59+
return this.columnType;
60+
}
61+
62+
public ColumnKnowledgeInfo setDescription(String description) {
63+
this.description = description;
64+
return this;
65+
}
66+
public String getDescription() {
67+
return this.description;
68+
}
69+
70+
public ColumnKnowledgeInfo setPosition(Integer position) {
71+
this.position = position;
72+
return this;
73+
}
74+
public Integer getPosition() {
75+
return this.position;
76+
}
77+
78+
}

dms-enterprise-20181101/src/main/java/com/aliyun/dms_enterprise20181101/models/DescribeDifyAttributeRequest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,31 @@
44
import com.aliyun.tea.*;
55

66
public class DescribeDifyAttributeRequest extends TeaModel {
7+
/**
8+
* <strong>example:</strong>
9+
* <p>92748163-af62-4ca4-ad85-1****</p>
10+
*/
711
@NameInMap("AppUuid")
812
public String appUuid;
913

14+
/**
15+
* <strong>example:</strong>
16+
* <p>ETnLKlblzczshOTUbOCzxxxx</p>
17+
*/
1018
@NameInMap("ClientToken")
1119
public String clientToken;
1220

21+
/**
22+
* <strong>example:</strong>
23+
* <p>cn-hangzhou</p>
24+
*/
1325
@NameInMap("DataRegion")
1426
public String dataRegion;
1527

28+
/**
29+
* <strong>example:</strong>
30+
* <p>339170706****</p>
31+
*/
1632
@NameInMap("WorkspaceId")
1733
public String workspaceId;
1834

0 commit comments

Comments
 (0)