@alicloud/dataworks-public20240518 9.10.2 → 9.11.0

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 (92) hide show
  1. package/dist/client.d.ts +27 -6
  2. package/dist/client.js +74 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Catalog.d.ts +28 -12
  5. package/dist/models/Catalog.js.map +1 -1
  6. package/dist/models/Column.d.ts +14 -10
  7. package/dist/models/Column.js.map +1 -1
  8. package/dist/models/CreateAgentRequest.d.ts +76 -0
  9. package/dist/models/CreateAgentRequest.js +37 -1
  10. package/dist/models/CreateAgentRequest.js.map +1 -1
  11. package/dist/models/CreateAgentResponseBody.d.ts +85 -0
  12. package/dist/models/CreateAgentResponseBody.js +63 -1
  13. package/dist/models/CreateAgentResponseBody.js.map +1 -1
  14. package/dist/models/CreateAgentSessionRequest.d.ts +10 -0
  15. package/dist/models/CreateAgentSessionRequest.js +4 -0
  16. package/dist/models/CreateAgentSessionRequest.js.map +1 -1
  17. package/dist/models/CreateAgentSessionResponseBody.d.ts +38 -0
  18. package/dist/models/CreateAgentSessionResponseBody.js +33 -1
  19. package/dist/models/CreateAgentSessionResponseBody.js.map +1 -1
  20. package/dist/models/CreateAgentShrinkRequest.d.ts +16 -0
  21. package/dist/models/CreateAgentShrinkRequest.js +4 -0
  22. package/dist/models/CreateAgentShrinkRequest.js.map +1 -1
  23. package/dist/models/CreateFileRequest.d.ts +4 -0
  24. package/dist/models/CreateFileRequest.js.map +1 -1
  25. package/dist/models/DataQualityRuleTemplate.d.ts +3 -0
  26. package/dist/models/DataQualityRuleTemplate.js.map +1 -1
  27. package/dist/models/GetAgentRequest.d.ts +8 -0
  28. package/dist/models/GetAgentRequest.js +2 -0
  29. package/dist/models/GetAgentRequest.js.map +1 -1
  30. package/dist/models/GetAgentResponseBody.d.ts +101 -0
  31. package/dist/models/GetAgentResponseBody.js +47 -1
  32. package/dist/models/GetAgentResponseBody.js.map +1 -1
  33. package/dist/models/GetDataQualityEvaluationTaskInstanceResponseBody.d.ts +136 -0
  34. package/dist/models/GetDataQualityEvaluationTaskInstanceResponseBody.js.map +1 -1
  35. package/dist/models/GetDijobResponseBody.d.ts +4 -0
  36. package/dist/models/GetDijobResponseBody.js.map +1 -1
  37. package/dist/models/LineageEntity.d.ts +1 -1
  38. package/dist/models/ListAgentSessionsRequest.d.ts +5 -0
  39. package/dist/models/ListAgentSessionsRequest.js +2 -0
  40. package/dist/models/ListAgentSessionsRequest.js.map +1 -1
  41. package/dist/models/ListAgentSessionsResponseBody.d.ts +34 -0
  42. package/dist/models/ListAgentSessionsResponseBody.js +33 -1
  43. package/dist/models/ListAgentSessionsResponseBody.js.map +1 -1
  44. package/dist/models/ListDataQualityEvaluationTasksResponseBody.d.ts +4 -0
  45. package/dist/models/ListDataQualityEvaluationTasksResponseBody.js.map +1 -1
  46. package/dist/models/ListLineagesRequest.d.ts +14 -7
  47. package/dist/models/ListLineagesRequest.js.map +1 -1
  48. package/dist/models/ListLineagesResponseBody.d.ts +3 -3
  49. package/dist/models/Table.d.ts +29 -24
  50. package/dist/models/Table.js.map +1 -1
  51. package/dist/models/UpdateAgentSessionTitleRequest.d.ts +52 -0
  52. package/dist/models/UpdateAgentSessionTitleRequest.js +86 -0
  53. package/dist/models/UpdateAgentSessionTitleRequest.js.map +1 -0
  54. package/dist/models/UpdateAgentSessionTitleResponse.d.ts +19 -0
  55. package/dist/models/UpdateAgentSessionTitleResponse.js +69 -0
  56. package/dist/models/UpdateAgentSessionTitleResponse.js.map +1 -0
  57. package/dist/models/UpdateAgentSessionTitleResponseBody.d.ts +102 -0
  58. package/dist/models/UpdateAgentSessionTitleResponseBody.js +142 -0
  59. package/dist/models/UpdateAgentSessionTitleResponseBody.js.map +1 -0
  60. package/dist/models/UpdateAgentSessionTitleShrinkRequest.d.ts +24 -0
  61. package/dist/models/UpdateAgentSessionTitleShrinkRequest.js +62 -0
  62. package/dist/models/UpdateAgentSessionTitleShrinkRequest.js.map +1 -0
  63. package/dist/models/model.d.ts +14 -0
  64. package/dist/models/model.js +101 -73
  65. package/dist/models/model.js.map +1 -1
  66. package/package.json +1 -1
  67. package/src/client.ts +84 -6
  68. package/src/models/Catalog.ts +28 -12
  69. package/src/models/Column.ts +14 -10
  70. package/src/models/CreateAgentRequest.ts +103 -0
  71. package/src/models/CreateAgentResponseBody.ts +129 -0
  72. package/src/models/CreateAgentSessionRequest.ts +14 -0
  73. package/src/models/CreateAgentSessionResponseBody.ts +61 -0
  74. package/src/models/CreateAgentShrinkRequest.ts +20 -0
  75. package/src/models/CreateFileRequest.ts +4 -0
  76. package/src/models/DataQualityRuleTemplate.ts +3 -0
  77. package/src/models/GetAgentRequest.ts +10 -0
  78. package/src/models/GetAgentResponseBody.ts +138 -0
  79. package/src/models/GetDataQualityEvaluationTaskInstanceResponseBody.ts +136 -0
  80. package/src/models/GetDijobResponseBody.ts +4 -0
  81. package/src/models/LineageEntity.ts +1 -1
  82. package/src/models/ListAgentSessionsRequest.ts +7 -0
  83. package/src/models/ListAgentSessionsResponseBody.ts +57 -0
  84. package/src/models/ListDataQualityEvaluationTasksResponseBody.ts +4 -0
  85. package/src/models/ListLineagesRequest.ts +14 -7
  86. package/src/models/ListLineagesResponseBody.ts +3 -3
  87. package/src/models/Table.ts +29 -24
  88. package/src/models/UpdateAgentSessionTitleRequest.ts +84 -0
  89. package/src/models/UpdateAgentSessionTitleResponse.ts +40 -0
  90. package/src/models/UpdateAgentSessionTitleResponseBody.ts +172 -0
  91. package/src/models/UpdateAgentSessionTitleShrinkRequest.ts +41 -0
  92. package/src/models/model.ts +14 -0
package/dist/client.d.ts CHANGED
@@ -3132,7 +3132,7 @@ export default class Client extends OpenApi {
3132
3132
  * Retrieves the details of a specified column in a DataWorks Data Map table.
3133
3133
  *
3134
3134
  * @remarks
3135
- * 1. You must purchase DataWorks Basic Edition or a later edition to use this operation.
3135
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
3136
3136
  *
3137
3137
  * @param request - GetColumnRequest
3138
3138
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3143,7 +3143,7 @@ export default class Client extends OpenApi {
3143
3143
  * Retrieves the details of a specified column in a DataWorks Data Map table.
3144
3144
  *
3145
3145
  * @remarks
3146
- * 1. You must purchase DataWorks Basic Edition or a later edition to use this operation.
3146
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
3147
3147
  *
3148
3148
  * @param request - GetColumnRequest
3149
3149
  * @returns GetColumnResponse
@@ -4865,7 +4865,7 @@ export default class Client extends OpenApi {
4865
4865
  * Queries the columns of a specified table in DataWorks Data Map.
4866
4866
  *
4867
4867
  * @remarks
4868
- * 1. You must purchase DataWorks Basic Edition or later to use this API.
4868
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
4869
4869
  *
4870
4870
  * @param request - ListColumnsRequest
4871
4871
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4876,7 +4876,7 @@ export default class Client extends OpenApi {
4876
4876
  * Queries the columns of a specified table in DataWorks Data Map.
4877
4877
  *
4878
4878
  * @remarks
4879
- * 1. You must purchase DataWorks Basic Edition or later to use this API.
4879
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
4880
4880
  *
4881
4881
  * @param request - ListColumnsRequest
4882
4882
  * @returns ListColumnsResponse
@@ -5848,7 +5848,7 @@ export default class Client extends OpenApi {
5848
5848
  */
5849
5849
  listLineageRelationships(request: $_model.ListLineageRelationshipsRequest): Promise<$_model.ListLineageRelationshipsResponse>;
5850
5850
  /**
5851
- * Queries the upstream and downstream lineage entities of a given entity in DataWorks Data Map. You can specify whether to include detailed lineage relationship information.
5851
+ * Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
5852
5852
  *
5853
5853
  * @remarks
5854
5854
  * 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
@@ -5860,7 +5860,7 @@ export default class Client extends OpenApi {
5860
5860
  */
5861
5861
  listLineagesWithOptions(request: $_model.ListLineagesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLineagesResponse>;
5862
5862
  /**
5863
- * Queries the upstream and downstream lineage entities of a given entity in DataWorks Data Map. You can specify whether to include detailed lineage relationship information.
5863
+ * Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
5864
5864
  *
5865
5865
  * @remarks
5866
5866
  * 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
@@ -7805,6 +7805,27 @@ export default class Client extends OpenApi {
7805
7805
  * @returns UnTagDataAssetsResponse
7806
7806
  */
7807
7807
  unTagDataAssets(request: $_model.UnTagDataAssetsRequest): Promise<$_model.UnTagDataAssetsResponse>;
7808
+ /**
7809
+ * 修改Agent会话标题
7810
+ *
7811
+ * @remarks
7812
+ * 修改当前身份可访问的 Agent 会话标题,不改变任务执行状态。
7813
+ *
7814
+ * @param tmpReq - UpdateAgentSessionTitleRequest
7815
+ * @param runtime - runtime options for this request RuntimeOptions
7816
+ * @returns UpdateAgentSessionTitleResponse
7817
+ */
7818
+ updateAgentSessionTitleWithOptions(tmpReq: $_model.UpdateAgentSessionTitleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAgentSessionTitleResponse>;
7819
+ /**
7820
+ * 修改Agent会话标题
7821
+ *
7822
+ * @remarks
7823
+ * 修改当前身份可访问的 Agent 会话标题,不改变任务执行状态。
7824
+ *
7825
+ * @param request - UpdateAgentSessionTitleRequest
7826
+ * @returns UpdateAgentSessionTitleResponse
7827
+ */
7828
+ updateAgentSessionTitle(request: $_model.UpdateAgentSessionTitleRequest): Promise<$_model.UpdateAgentSessionTitleResponse>;
7808
7829
  /**
7809
7830
  * Updates the information about a custom alert monitoring rule.
7810
7831
  *
package/dist/client.js CHANGED
@@ -1054,6 +1054,9 @@ class Client extends openapi_core_1.default {
1054
1054
  if (!$dara.isNull(tmpReq.callableAgents)) {
1055
1055
  request.callableAgentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.callableAgents, "CallableAgents", "json");
1056
1056
  }
1057
+ if (!$dara.isNull(tmpReq.expertSuites)) {
1058
+ request.expertSuitesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.expertSuites, "ExpertSuites", "json");
1059
+ }
1057
1060
  if (!$dara.isNull(tmpReq.metadata)) {
1058
1061
  request.metadataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.metadata, "Metadata", "json");
1059
1062
  }
@@ -1079,6 +1082,9 @@ class Client extends openapi_core_1.default {
1079
1082
  if (!$dara.isNull(request.displayName)) {
1080
1083
  body["DisplayName"] = request.displayName;
1081
1084
  }
1085
+ if (!$dara.isNull(request.expertSuitesShrink)) {
1086
+ body["ExpertSuites"] = request.expertSuitesShrink;
1087
+ }
1082
1088
  if (!$dara.isNull(request.metadataShrink)) {
1083
1089
  body["Metadata"] = request.metadataShrink;
1084
1090
  }
@@ -1088,6 +1094,9 @@ class Client extends openapi_core_1.default {
1088
1094
  if (!$dara.isNull(request.name)) {
1089
1095
  body["Name"] = request.name;
1090
1096
  }
1097
+ if (!$dara.isNull(request.publishImmediately)) {
1098
+ body["PublishImmediately"] = request.publishImmediately;
1099
+ }
1091
1100
  if (!$dara.isNull(request.skillsShrink)) {
1092
1101
  body["Skills"] = request.skillsShrink;
1093
1102
  }
@@ -7929,6 +7938,9 @@ class Client extends openapi_core_1.default {
7929
7938
  async getAgentWithOptions(request, runtime) {
7930
7939
  request.validate();
7931
7940
  let body = {};
7941
+ if (!$dara.isNull(request.agentVersion)) {
7942
+ body["AgentVersion"] = request.agentVersion;
7943
+ }
7932
7944
  if (!$dara.isNull(request.name)) {
7933
7945
  body["Name"] = request.name;
7934
7946
  }
@@ -8388,7 +8400,7 @@ class Client extends openapi_core_1.default {
8388
8400
  * Retrieves the details of a specified column in a DataWorks Data Map table.
8389
8401
  *
8390
8402
  * @remarks
8391
- * 1. You must purchase DataWorks Basic Edition or a later edition to use this operation.
8403
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
8392
8404
  *
8393
8405
  * @param request - GetColumnRequest
8394
8406
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8417,7 +8429,7 @@ class Client extends openapi_core_1.default {
8417
8429
  * Retrieves the details of a specified column in a DataWorks Data Map table.
8418
8430
  *
8419
8431
  * @remarks
8420
- * 1. You must purchase DataWorks Basic Edition or a later edition to use this operation.
8432
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
8421
8433
  *
8422
8434
  * @param request - GetColumnRequest
8423
8435
  * @returns GetColumnResponse
@@ -12221,7 +12233,7 @@ class Client extends openapi_core_1.default {
12221
12233
  * Queries the columns of a specified table in DataWorks Data Map.
12222
12234
  *
12223
12235
  * @remarks
12224
- * 1. You must purchase DataWorks Basic Edition or later to use this API.
12236
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
12225
12237
  *
12226
12238
  * @param request - ListColumnsRequest
12227
12239
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12250,7 +12262,7 @@ class Client extends openapi_core_1.default {
12250
12262
  * Queries the columns of a specified table in DataWorks Data Map.
12251
12263
  *
12252
12264
  * @remarks
12253
- * 1. You must purchase DataWorks Basic Edition or later to use this API.
12265
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
12254
12266
  *
12255
12267
  * @param request - ListColumnsRequest
12256
12268
  * @returns ListColumnsResponse
@@ -14790,7 +14802,7 @@ class Client extends openapi_core_1.default {
14790
14802
  return await this.listLineageRelationshipsWithOptions(request, runtime);
14791
14803
  }
14792
14804
  /**
14793
- * Queries the upstream and downstream lineage entities of a given entity in DataWorks Data Map. You can specify whether to include detailed lineage relationship information.
14805
+ * Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
14794
14806
  *
14795
14807
  * @remarks
14796
14808
  * 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
@@ -14820,7 +14832,7 @@ class Client extends openapi_core_1.default {
14820
14832
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLineagesResponse({}));
14821
14833
  }
14822
14834
  /**
14823
- * Queries the upstream and downstream lineage entities of a given entity in DataWorks Data Map. You can specify whether to include detailed lineage relationship information.
14835
+ * Queries the upstream and downstream lineage entities for a specified entity in Data Map, with an option to include detailed lineage relationship information.
14824
14836
  *
14825
14837
  * @remarks
14826
14838
  * 1. You must purchase DataWorks Standard Edition or a more advanced edition to use this operation.
@@ -19785,6 +19797,62 @@ class Client extends openapi_core_1.default {
19785
19797
  let runtime = new $dara.RuntimeOptions({});
19786
19798
  return await this.unTagDataAssetsWithOptions(request, runtime);
19787
19799
  }
19800
+ /**
19801
+ * 修改Agent会话标题
19802
+ *
19803
+ * @remarks
19804
+ * 修改当前身份可访问的 Agent 会话标题,不改变任务执行状态。
19805
+ *
19806
+ * @param tmpReq - UpdateAgentSessionTitleRequest
19807
+ * @param runtime - runtime options for this request RuntimeOptions
19808
+ * @returns UpdateAgentSessionTitleResponse
19809
+ */
19810
+ async updateAgentSessionTitleWithOptions(tmpReq, runtime) {
19811
+ tmpReq.validate();
19812
+ let request = new $_model.UpdateAgentSessionTitleShrinkRequest({});
19813
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
19814
+ if (!$dara.isNull(tmpReq.params)) {
19815
+ request.paramsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.params, "Params", "json");
19816
+ }
19817
+ let body = {};
19818
+ if (!$dara.isNull(request.id)) {
19819
+ body["Id"] = request.id;
19820
+ }
19821
+ if (!$dara.isNull(request.jsonrpc)) {
19822
+ body["Jsonrpc"] = request.jsonrpc;
19823
+ }
19824
+ if (!$dara.isNull(request.paramsShrink)) {
19825
+ body["Params"] = request.paramsShrink;
19826
+ }
19827
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
19828
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
19829
+ });
19830
+ let params = new openapi_core_2.$OpenApiUtil.Params({
19831
+ action: "UpdateAgentSessionTitle",
19832
+ version: "2024-05-18",
19833
+ protocol: "HTTPS",
19834
+ pathname: "/",
19835
+ method: "POST",
19836
+ authType: "AK",
19837
+ style: "RPC",
19838
+ reqBodyType: "formData",
19839
+ bodyType: "json",
19840
+ });
19841
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgentSessionTitleResponse({}));
19842
+ }
19843
+ /**
19844
+ * 修改Agent会话标题
19845
+ *
19846
+ * @remarks
19847
+ * 修改当前身份可访问的 Agent 会话标题,不改变任务执行状态。
19848
+ *
19849
+ * @param request - UpdateAgentSessionTitleRequest
19850
+ * @returns UpdateAgentSessionTitleResponse
19851
+ */
19852
+ async updateAgentSessionTitle(request) {
19853
+ let runtime = new $dara.RuntimeOptions({});
19854
+ return await this.updateAgentSessionTitleWithOptions(request, runtime);
19855
+ }
19788
19856
  /**
19789
19857
  * Updates the information about a custom alert monitoring rule.
19790
19858
  *