@alicloud/dataworks-public20240518 9.2.0 → 9.3.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 (279) hide show
  1. package/dist/client.d.ts +422 -16
  2. package/dist/client.js +1034 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BuildImageRequest.d.ts +49 -0
  5. package/dist/models/BuildImageRequest.js +64 -0
  6. package/dist/models/BuildImageRequest.js.map +1 -0
  7. package/dist/models/BuildImageResponse.d.ts +19 -0
  8. package/dist/models/BuildImageResponse.js +69 -0
  9. package/dist/models/BuildImageResponse.js.map +1 -0
  10. package/dist/models/BuildImageResponseBody.d.ts +65 -0
  11. package/dist/models/BuildImageResponseBody.js +86 -0
  12. package/dist/models/BuildImageResponseBody.js.map +1 -0
  13. package/dist/models/CancelImageTestRequest.d.ts +31 -0
  14. package/dist/models/CancelImageTestRequest.js +60 -0
  15. package/dist/models/CancelImageTestRequest.js.map +1 -0
  16. package/dist/models/CancelImageTestResponse.d.ts +19 -0
  17. package/dist/models/CancelImageTestResponse.js +69 -0
  18. package/dist/models/CancelImageTestResponse.js.map +1 -0
  19. package/dist/models/CancelImageTestResponseBody.d.ts +65 -0
  20. package/dist/models/CancelImageTestResponseBody.js +86 -0
  21. package/dist/models/CancelImageTestResponseBody.js.map +1 -0
  22. package/dist/models/Catalog.d.ts +21 -0
  23. package/dist/models/Catalog.js.map +1 -1
  24. package/dist/models/CrawlerType.d.ts +23 -1
  25. package/dist/models/CrawlerType.js.map +1 -1
  26. package/dist/models/CreateBusinessRequest.d.ts +8 -12
  27. package/dist/models/CreateBusinessRequest.js.map +1 -1
  28. package/dist/models/CreateBusinessResponseBody.d.ts +11 -15
  29. package/dist/models/CreateBusinessResponseBody.js.map +1 -1
  30. package/dist/models/CreateImageRequest.d.ts +215 -0
  31. package/dist/models/CreateImageRequest.js +159 -0
  32. package/dist/models/CreateImageRequest.js.map +1 -0
  33. package/dist/models/CreateImageResponse.d.ts +19 -0
  34. package/dist/models/CreateImageResponse.js +69 -0
  35. package/dist/models/CreateImageResponse.js.map +1 -0
  36. package/dist/models/CreateImageResponseBody.d.ts +37 -0
  37. package/dist/models/CreateImageResponseBody.js +62 -0
  38. package/dist/models/CreateImageResponseBody.js.map +1 -0
  39. package/dist/models/CreateImageShrinkRequest.d.ts +136 -0
  40. package/dist/models/CreateImageShrinkRequest.js +84 -0
  41. package/dist/models/CreateImageShrinkRequest.js.map +1 -0
  42. package/dist/models/CreateWorkflowInstancesRequest.d.ts +68 -95
  43. package/dist/models/CreateWorkflowInstancesRequest.js.map +1 -1
  44. package/dist/models/CreateWorkflowInstancesResponseBody.d.ts +2 -2
  45. package/dist/models/CreateWorkflowInstancesShrinkRequest.d.ts +17 -25
  46. package/dist/models/CreateWorkflowInstancesShrinkRequest.js.map +1 -1
  47. package/dist/models/DeleteServerIdeInstanceRequest.d.ts +23 -0
  48. package/dist/models/DeleteServerIdeInstanceRequest.js +58 -0
  49. package/dist/models/DeleteServerIdeInstanceRequest.js.map +1 -0
  50. package/dist/models/DeleteServerIdeInstanceResponse.d.ts +19 -0
  51. package/dist/models/DeleteServerIdeInstanceResponse.js +69 -0
  52. package/dist/models/DeleteServerIdeInstanceResponse.js.map +1 -0
  53. package/dist/models/DeleteServerIdeInstanceResponseBody.d.ts +29 -0
  54. package/dist/models/DeleteServerIdeInstanceResponseBody.js +60 -0
  55. package/dist/models/DeleteServerIdeInstanceResponseBody.js.map +1 -0
  56. package/dist/models/DeleteWorkflowRequest.d.ts +5 -6
  57. package/dist/models/DeleteWorkflowRequest.js.map +1 -1
  58. package/dist/models/DeleteWorkflowResponseBody.d.ts +2 -2
  59. package/dist/models/DisableImageRequest.d.ts +23 -0
  60. package/dist/models/DisableImageRequest.js +58 -0
  61. package/dist/models/DisableImageRequest.js.map +1 -0
  62. package/dist/models/DisableImageResponse.d.ts +19 -0
  63. package/dist/models/DisableImageResponse.js +69 -0
  64. package/dist/models/DisableImageResponse.js.map +1 -0
  65. package/dist/models/DisableImageResponseBody.d.ts +37 -0
  66. package/dist/models/DisableImageResponseBody.js +62 -0
  67. package/dist/models/DisableImageResponseBody.js.map +1 -0
  68. package/dist/models/EnableImageRequest.d.ts +23 -0
  69. package/dist/models/EnableImageRequest.js +58 -0
  70. package/dist/models/EnableImageRequest.js.map +1 -0
  71. package/dist/models/EnableImageResponse.d.ts +19 -0
  72. package/dist/models/EnableImageResponse.js +69 -0
  73. package/dist/models/EnableImageResponse.js.map +1 -0
  74. package/dist/models/EnableImageResponseBody.d.ts +37 -0
  75. package/dist/models/EnableImageResponseBody.js +62 -0
  76. package/dist/models/EnableImageResponseBody.js.map +1 -0
  77. package/dist/models/GetImageTestResultRequest.d.ts +33 -0
  78. package/dist/models/GetImageTestResultRequest.js +60 -0
  79. package/dist/models/GetImageTestResultRequest.js.map +1 -0
  80. package/dist/models/GetImageTestResultResponse.d.ts +19 -0
  81. package/dist/models/GetImageTestResultResponse.js +69 -0
  82. package/dist/models/GetImageTestResultResponse.js.map +1 -0
  83. package/dist/models/GetImageTestResultResponseBody.d.ts +119 -0
  84. package/dist/models/GetImageTestResultResponseBody.js +96 -0
  85. package/dist/models/GetImageTestResultResponseBody.js.map +1 -0
  86. package/dist/models/GetServerIdeInstanceRequest.d.ts +23 -0
  87. package/dist/models/GetServerIdeInstanceRequest.js +58 -0
  88. package/dist/models/GetServerIdeInstanceRequest.js.map +1 -0
  89. package/dist/models/GetServerIdeInstanceResponse.d.ts +19 -0
  90. package/dist/models/GetServerIdeInstanceResponse.js +69 -0
  91. package/dist/models/GetServerIdeInstanceResponse.js.map +1 -0
  92. package/dist/models/GetServerIdeInstanceResponseBody.d.ts +505 -0
  93. package/dist/models/GetServerIdeInstanceResponseBody.js +327 -0
  94. package/dist/models/GetServerIdeInstanceResponseBody.js.map +1 -0
  95. package/dist/models/LineageTask.d.ts +2 -2
  96. package/dist/models/ListDataQualityEvaluationTasksRequest.d.ts +4 -4
  97. package/dist/models/ListDataQualityEvaluationTasksResponseBody.d.ts +38 -39
  98. package/dist/models/ListDataQualityEvaluationTasksResponseBody.js.map +1 -1
  99. package/dist/models/ListImageTestResultsRequest.d.ts +39 -0
  100. package/dist/models/ListImageTestResultsRequest.js +62 -0
  101. package/dist/models/ListImageTestResultsRequest.js.map +1 -0
  102. package/dist/models/ListImageTestResultsResponse.d.ts +19 -0
  103. package/dist/models/ListImageTestResultsResponse.js +69 -0
  104. package/dist/models/ListImageTestResultsResponse.js.map +1 -0
  105. package/dist/models/ListImageTestResultsResponseBody.d.ts +140 -0
  106. package/dist/models/ListImageTestResultsResponseBody.js +124 -0
  107. package/dist/models/ListImageTestResultsResponseBody.js.map +1 -0
  108. package/dist/models/ListServerIdeEcsSpecsRequest.d.ts +49 -0
  109. package/dist/models/ListServerIdeEcsSpecsRequest.js +64 -0
  110. package/dist/models/ListServerIdeEcsSpecsRequest.js.map +1 -0
  111. package/dist/models/ListServerIdeEcsSpecsResponse.d.ts +19 -0
  112. package/dist/models/ListServerIdeEcsSpecsResponse.js +69 -0
  113. package/dist/models/ListServerIdeEcsSpecsResponse.js.map +1 -0
  114. package/dist/models/ListServerIdeEcsSpecsResponseBody.d.ts +125 -0
  115. package/dist/models/ListServerIdeEcsSpecsResponseBody.js +102 -0
  116. package/dist/models/ListServerIdeEcsSpecsResponseBody.js.map +1 -0
  117. package/dist/models/ListServerIdeImagesRequest.d.ts +61 -0
  118. package/dist/models/ListServerIdeImagesRequest.js +68 -0
  119. package/dist/models/ListServerIdeImagesRequest.js.map +1 -0
  120. package/dist/models/ListServerIdeImagesResponse.d.ts +19 -0
  121. package/dist/models/ListServerIdeImagesResponse.js +69 -0
  122. package/dist/models/ListServerIdeImagesResponse.js.map +1 -0
  123. package/dist/models/ListServerIdeImagesResponseBody.d.ts +127 -0
  124. package/dist/models/ListServerIdeImagesResponseBody.js +120 -0
  125. package/dist/models/ListServerIdeImagesResponseBody.js.map +1 -0
  126. package/dist/models/ListServerIdeInstancesRequest.d.ts +87 -0
  127. package/dist/models/ListServerIdeInstancesRequest.js +74 -0
  128. package/dist/models/ListServerIdeInstancesRequest.js.map +1 -0
  129. package/dist/models/ListServerIdeInstancesResponse.d.ts +19 -0
  130. package/dist/models/ListServerIdeInstancesResponse.js +69 -0
  131. package/dist/models/ListServerIdeInstancesResponse.js.map +1 -0
  132. package/dist/models/ListServerIdeInstancesResponseBody.d.ts +569 -0
  133. package/dist/models/ListServerIdeInstancesResponseBody.js +359 -0
  134. package/dist/models/ListServerIdeInstancesResponseBody.js.map +1 -0
  135. package/dist/models/ListUpstreamTaskInstancesRequest.d.ts +1 -1
  136. package/dist/models/ListUpstreamTaskInstancesResponseBody.d.ts +79 -170
  137. package/dist/models/ListUpstreamTaskInstancesResponseBody.js.map +1 -1
  138. package/dist/models/Partition.d.ts +18 -0
  139. package/dist/models/Partition.js.map +1 -1
  140. package/dist/models/PublishImageRequest.d.ts +31 -0
  141. package/dist/models/PublishImageRequest.js +60 -0
  142. package/dist/models/PublishImageRequest.js.map +1 -0
  143. package/dist/models/PublishImageResponse.d.ts +19 -0
  144. package/dist/models/PublishImageResponse.js +69 -0
  145. package/dist/models/PublishImageResponse.js.map +1 -0
  146. package/dist/models/PublishImageResponseBody.d.ts +65 -0
  147. package/dist/models/PublishImageResponseBody.js +86 -0
  148. package/dist/models/PublishImageResponseBody.js.map +1 -0
  149. package/dist/models/RollbackImageRequest.d.ts +33 -0
  150. package/dist/models/RollbackImageRequest.js +60 -0
  151. package/dist/models/RollbackImageRequest.js.map +1 -0
  152. package/dist/models/RollbackImageResponse.d.ts +19 -0
  153. package/dist/models/RollbackImageResponse.js +69 -0
  154. package/dist/models/RollbackImageResponse.js.map +1 -0
  155. package/dist/models/RollbackImageResponseBody.d.ts +37 -0
  156. package/dist/models/RollbackImageResponseBody.js +62 -0
  157. package/dist/models/RollbackImageResponseBody.js.map +1 -0
  158. package/dist/models/RunImageTestRequest.d.ts +49 -0
  159. package/dist/models/RunImageTestRequest.js +64 -0
  160. package/dist/models/RunImageTestRequest.js.map +1 -0
  161. package/dist/models/RunImageTestResponse.d.ts +19 -0
  162. package/dist/models/RunImageTestResponse.js +69 -0
  163. package/dist/models/RunImageTestResponse.js.map +1 -0
  164. package/dist/models/RunImageTestResponseBody.d.ts +65 -0
  165. package/dist/models/RunImageTestResponseBody.js +86 -0
  166. package/dist/models/RunImageTestResponseBody.js.map +1 -0
  167. package/dist/models/StartServerIdeInstanceRequest.d.ts +23 -0
  168. package/dist/models/StartServerIdeInstanceRequest.js +58 -0
  169. package/dist/models/StartServerIdeInstanceRequest.js.map +1 -0
  170. package/dist/models/StartServerIdeInstanceResponse.d.ts +19 -0
  171. package/dist/models/StartServerIdeInstanceResponse.js +69 -0
  172. package/dist/models/StartServerIdeInstanceResponse.js.map +1 -0
  173. package/dist/models/StartServerIdeInstanceResponseBody.d.ts +29 -0
  174. package/dist/models/StartServerIdeInstanceResponseBody.js +60 -0
  175. package/dist/models/StartServerIdeInstanceResponseBody.js.map +1 -0
  176. package/dist/models/StopServerIdeInstanceRequest.d.ts +23 -0
  177. package/dist/models/StopServerIdeInstanceRequest.js +58 -0
  178. package/dist/models/StopServerIdeInstanceRequest.js.map +1 -0
  179. package/dist/models/StopServerIdeInstanceResponse.d.ts +19 -0
  180. package/dist/models/StopServerIdeInstanceResponse.js +69 -0
  181. package/dist/models/StopServerIdeInstanceResponse.js.map +1 -0
  182. package/dist/models/StopServerIdeInstanceResponseBody.d.ts +29 -0
  183. package/dist/models/StopServerIdeInstanceResponseBody.js +60 -0
  184. package/dist/models/StopServerIdeInstanceResponseBody.js.map +1 -0
  185. package/dist/models/UpdateImageRequest.d.ts +186 -0
  186. package/dist/models/UpdateImageRequest.js +155 -0
  187. package/dist/models/UpdateImageRequest.js.map +1 -0
  188. package/dist/models/UpdateImageResponse.d.ts +19 -0
  189. package/dist/models/UpdateImageResponse.js +69 -0
  190. package/dist/models/UpdateImageResponse.js.map +1 -0
  191. package/dist/models/UpdateImageResponseBody.d.ts +37 -0
  192. package/dist/models/UpdateImageResponseBody.js +62 -0
  193. package/dist/models/UpdateImageResponseBody.js.map +1 -0
  194. package/dist/models/UpdateImageShrinkRequest.d.ts +107 -0
  195. package/dist/models/UpdateImageShrinkRequest.js +80 -0
  196. package/dist/models/UpdateImageShrinkRequest.js.map +1 -0
  197. package/dist/models/UpdateSkillRequest.d.ts +4 -4
  198. package/dist/models/UpdateSkillResponseBody.d.ts +3 -3
  199. package/dist/models/UpdateSkillShrinkRequest.d.ts +4 -4
  200. package/dist/models/model.d.ts +89 -0
  201. package/dist/models/model.js +222 -42
  202. package/dist/models/model.js.map +1 -1
  203. package/package.json +1 -1
  204. package/src/client.ts +1213 -91
  205. package/src/models/BuildImageRequest.ts +68 -0
  206. package/src/models/BuildImageResponse.ts +40 -0
  207. package/src/models/BuildImageResponseBody.ts +97 -0
  208. package/src/models/CancelImageTestRequest.ts +46 -0
  209. package/src/models/CancelImageTestResponse.ts +40 -0
  210. package/src/models/CancelImageTestResponseBody.ts +97 -0
  211. package/src/models/Catalog.ts +21 -0
  212. package/src/models/CrawlerType.ts +23 -1
  213. package/src/models/CreateBusinessRequest.ts +8 -12
  214. package/src/models/CreateBusinessResponseBody.ts +11 -15
  215. package/src/models/CreateImageRequest.ts +302 -0
  216. package/src/models/CreateImageResponse.ts +40 -0
  217. package/src/models/CreateImageResponseBody.ts +54 -0
  218. package/src/models/CreateImageShrinkRequest.ts +175 -0
  219. package/src/models/CreateWorkflowInstancesRequest.ts +68 -95
  220. package/src/models/CreateWorkflowInstancesResponseBody.ts +2 -2
  221. package/src/models/CreateWorkflowInstancesShrinkRequest.ts +17 -25
  222. package/src/models/DeleteServerIdeInstanceRequest.ts +36 -0
  223. package/src/models/DeleteServerIdeInstanceResponse.ts +40 -0
  224. package/src/models/DeleteServerIdeInstanceResponseBody.ts +44 -0
  225. package/src/models/DeleteWorkflowRequest.ts +5 -6
  226. package/src/models/DeleteWorkflowResponseBody.ts +2 -2
  227. package/src/models/DisableImageRequest.ts +36 -0
  228. package/src/models/DisableImageResponse.ts +40 -0
  229. package/src/models/DisableImageResponseBody.ts +54 -0
  230. package/src/models/EnableImageRequest.ts +36 -0
  231. package/src/models/EnableImageResponse.ts +40 -0
  232. package/src/models/EnableImageResponseBody.ts +54 -0
  233. package/src/models/GetImageTestResultRequest.ts +48 -0
  234. package/src/models/GetImageTestResultResponse.ts +40 -0
  235. package/src/models/GetImageTestResultResponseBody.ts +161 -0
  236. package/src/models/GetServerIdeInstanceRequest.ts +36 -0
  237. package/src/models/GetServerIdeInstanceResponse.ts +40 -0
  238. package/src/models/GetServerIdeInstanceResponseBody.ts +715 -0
  239. package/src/models/LineageTask.ts +2 -2
  240. package/src/models/ListDataQualityEvaluationTasksRequest.ts +4 -4
  241. package/src/models/ListDataQualityEvaluationTasksResponseBody.ts +38 -39
  242. package/src/models/ListImageTestResultsRequest.ts +56 -0
  243. package/src/models/ListImageTestResultsResponse.ts +40 -0
  244. package/src/models/ListImageTestResultsResponseBody.ts +201 -0
  245. package/src/models/ListServerIdeEcsSpecsRequest.ts +68 -0
  246. package/src/models/ListServerIdeEcsSpecsResponse.ts +40 -0
  247. package/src/models/ListServerIdeEcsSpecsResponseBody.ts +173 -0
  248. package/src/models/ListServerIdeImagesRequest.ts +84 -0
  249. package/src/models/ListServerIdeImagesResponse.ts +40 -0
  250. package/src/models/ListServerIdeImagesResponseBody.ts +184 -0
  251. package/src/models/ListServerIdeInstancesRequest.ts +116 -0
  252. package/src/models/ListServerIdeInstancesResponse.ts +40 -0
  253. package/src/models/ListServerIdeInstancesResponseBody.ts +802 -0
  254. package/src/models/ListUpstreamTaskInstancesRequest.ts +1 -1
  255. package/src/models/ListUpstreamTaskInstancesResponseBody.ts +79 -170
  256. package/src/models/Partition.ts +18 -0
  257. package/src/models/PublishImageRequest.ts +46 -0
  258. package/src/models/PublishImageResponse.ts +40 -0
  259. package/src/models/PublishImageResponseBody.ts +97 -0
  260. package/src/models/RollbackImageRequest.ts +48 -0
  261. package/src/models/RollbackImageResponse.ts +40 -0
  262. package/src/models/RollbackImageResponseBody.ts +54 -0
  263. package/src/models/RunImageTestRequest.ts +68 -0
  264. package/src/models/RunImageTestResponse.ts +40 -0
  265. package/src/models/RunImageTestResponseBody.ts +97 -0
  266. package/src/models/StartServerIdeInstanceRequest.ts +36 -0
  267. package/src/models/StartServerIdeInstanceResponse.ts +40 -0
  268. package/src/models/StartServerIdeInstanceResponseBody.ts +44 -0
  269. package/src/models/StopServerIdeInstanceRequest.ts +36 -0
  270. package/src/models/StopServerIdeInstanceResponse.ts +40 -0
  271. package/src/models/StopServerIdeInstanceResponseBody.ts +44 -0
  272. package/src/models/UpdateImageRequest.ts +269 -0
  273. package/src/models/UpdateImageResponse.ts +40 -0
  274. package/src/models/UpdateImageResponseBody.ts +54 -0
  275. package/src/models/UpdateImageShrinkRequest.ts +142 -0
  276. package/src/models/UpdateSkillRequest.ts +4 -4
  277. package/src/models/UpdateSkillResponseBody.ts +3 -3
  278. package/src/models/UpdateSkillShrinkRequest.ts +4 -4
  279. package/src/models/model.ts +89 -0
package/dist/client.js CHANGED
@@ -769,6 +769,62 @@ class Client extends openapi_core_1.default {
769
769
  let runtime = new $dara.RuntimeOptions({});
770
770
  return await this.batchUpdateTasksWithOptions(request, runtime);
771
771
  }
772
+ /**
773
+ * Builds an image.
774
+ *
775
+ * @remarks
776
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
777
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
778
+ *
779
+ * @param request - BuildImageRequest
780
+ * @param runtime - runtime options for this request RuntimeOptions
781
+ * @returns BuildImageResponse
782
+ */
783
+ async buildImageWithOptions(request, runtime) {
784
+ request.validate();
785
+ let body = {};
786
+ if (!$dara.isNull(request.cu)) {
787
+ body["Cu"] = request.cu;
788
+ }
789
+ if (!$dara.isNull(request.id)) {
790
+ body["Id"] = request.id;
791
+ }
792
+ if (!$dara.isNull(request.processId)) {
793
+ body["ProcessId"] = request.processId;
794
+ }
795
+ if (!$dara.isNull(request.resourceGroupId)) {
796
+ body["ResourceGroupId"] = request.resourceGroupId;
797
+ }
798
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
799
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
800
+ });
801
+ let params = new openapi_core_2.$OpenApiUtil.Params({
802
+ action: "BuildImage",
803
+ version: "2024-05-18",
804
+ protocol: "HTTPS",
805
+ pathname: "/",
806
+ method: "POST",
807
+ authType: "AK",
808
+ style: "RPC",
809
+ reqBodyType: "formData",
810
+ bodyType: "json",
811
+ });
812
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.BuildImageResponse({}));
813
+ }
814
+ /**
815
+ * Builds an image.
816
+ *
817
+ * @remarks
818
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
819
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
820
+ *
821
+ * @param request - BuildImageRequest
822
+ * @returns BuildImageResponse
823
+ */
824
+ async buildImage(request) {
825
+ let runtime = new $dara.RuntimeOptions({});
826
+ return await this.buildImageWithOptions(request, runtime);
827
+ }
772
828
  /**
773
829
  * Interrupts the Agent call for a specified session, supporting interruption during streaming responses.
774
830
  *
@@ -829,6 +885,56 @@ class Client extends openapi_core_1.default {
829
885
  let runtime = new $dara.RuntimeOptions({});
830
886
  return await this.cancelAgentSessionWithOptions(request, runtime);
831
887
  }
888
+ /**
889
+ * Cancels an image test.
890
+ *
891
+ * @remarks
892
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
893
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
894
+ *
895
+ * @param request - CancelImageTestRequest
896
+ * @param runtime - runtime options for this request RuntimeOptions
897
+ * @returns CancelImageTestResponse
898
+ */
899
+ async cancelImageTestWithOptions(request, runtime) {
900
+ request.validate();
901
+ let body = {};
902
+ if (!$dara.isNull(request.id)) {
903
+ body["Id"] = request.id;
904
+ }
905
+ if (!$dara.isNull(request.processId)) {
906
+ body["ProcessId"] = request.processId;
907
+ }
908
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
909
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
910
+ });
911
+ let params = new openapi_core_2.$OpenApiUtil.Params({
912
+ action: "CancelImageTest",
913
+ version: "2024-05-18",
914
+ protocol: "HTTPS",
915
+ pathname: "/",
916
+ method: "POST",
917
+ authType: "AK",
918
+ style: "RPC",
919
+ reqBodyType: "formData",
920
+ bodyType: "json",
921
+ });
922
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelImageTestResponse({}));
923
+ }
924
+ /**
925
+ * Cancels an image test.
926
+ *
927
+ * @remarks
928
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
929
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
930
+ *
931
+ * @param request - CancelImageTestRequest
932
+ * @returns CancelImageTestResponse
933
+ */
934
+ async cancelImageTest(request) {
935
+ let runtime = new $dara.RuntimeOptions({});
936
+ return await this.cancelImageTestWithOptions(request, runtime);
937
+ }
832
938
  /**
833
939
  * Clones a new data source based on an existing data source.
834
940
  *
@@ -1116,7 +1222,7 @@ class Client extends openapi_core_1.default {
1116
1222
  return await this.createAlertRuleWithOptions(request, runtime);
1117
1223
  }
1118
1224
  /**
1119
- * Creates a workflow in DataStudio.
1225
+ * Creates a business process in DataStudio for data development.
1120
1226
  *
1121
1227
  * @param request - CreateBusinessRequest
1122
1228
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1160,7 +1266,7 @@ class Client extends openapi_core_1.default {
1160
1266
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBusinessResponse({}));
1161
1267
  }
1162
1268
  /**
1163
- * Creates a workflow in DataStudio.
1269
+ * Creates a business process in DataStudio for data development.
1164
1270
  *
1165
1271
  * @param request - CreateBusinessRequest
1166
1272
  * @returns CreateBusinessResponse
@@ -2791,6 +2897,100 @@ class Client extends openapi_core_1.default {
2791
2897
  let runtime = new $dara.RuntimeOptions({});
2792
2898
  return await this.createIdentifyCredentialWithOptions(request, runtime);
2793
2899
  }
2900
+ /**
2901
+ * Creates an image.
2902
+ *
2903
+ * @remarks
2904
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
2905
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
2906
+ *
2907
+ * @param tmpReq - CreateImageRequest
2908
+ * @param runtime - runtime options for this request RuntimeOptions
2909
+ * @returns CreateImageResponse
2910
+ */
2911
+ async createImageWithOptions(tmpReq, runtime) {
2912
+ tmpReq.validate();
2913
+ let request = new $_model.CreateImageShrinkRequest({});
2914
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
2915
+ if (!$dara.isNull(tmpReq.buildConfig)) {
2916
+ request.buildConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.buildConfig, "BuildConfig", "json");
2917
+ }
2918
+ if (!$dara.isNull(tmpReq.supported)) {
2919
+ request.supportedShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.supported, "Supported", "json");
2920
+ }
2921
+ let body = {};
2922
+ if (!$dara.isNull(request.accessibility)) {
2923
+ body["Accessibility"] = request.accessibility;
2924
+ }
2925
+ if (!$dara.isNull(request.acrAssociatedVpcId)) {
2926
+ body["AcrAssociatedVpcId"] = request.acrAssociatedVpcId;
2927
+ }
2928
+ if (!$dara.isNull(request.acrInstanceId)) {
2929
+ body["AcrInstanceId"] = request.acrInstanceId;
2930
+ }
2931
+ if (!$dara.isNull(request.buildConfigShrink)) {
2932
+ body["BuildConfig"] = request.buildConfigShrink;
2933
+ }
2934
+ if (!$dara.isNull(request.clientToken)) {
2935
+ body["ClientToken"] = request.clientToken;
2936
+ }
2937
+ if (!$dara.isNull(request.description)) {
2938
+ body["Description"] = request.description;
2939
+ }
2940
+ if (!$dara.isNull(request.enableSyncMaxCompute)) {
2941
+ body["EnableSyncMaxCompute"] = request.enableSyncMaxCompute;
2942
+ }
2943
+ if (!$dara.isNull(request.imageUri)) {
2944
+ body["ImageUri"] = request.imageUri;
2945
+ }
2946
+ if (!$dara.isNull(request.name)) {
2947
+ body["Name"] = request.name;
2948
+ }
2949
+ if (!$dara.isNull(request.namespace)) {
2950
+ body["Namespace"] = request.namespace;
2951
+ }
2952
+ if (!$dara.isNull(request.providerImageId)) {
2953
+ body["ProviderImageId"] = request.providerImageId;
2954
+ }
2955
+ if (!$dara.isNull(request.providerType)) {
2956
+ body["ProviderType"] = request.providerType;
2957
+ }
2958
+ if (!$dara.isNull(request.repositoryName)) {
2959
+ body["RepositoryName"] = request.repositoryName;
2960
+ }
2961
+ if (!$dara.isNull(request.supportedShrink)) {
2962
+ body["Supported"] = request.supportedShrink;
2963
+ }
2964
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2965
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2966
+ });
2967
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2968
+ action: "CreateImage",
2969
+ version: "2024-05-18",
2970
+ protocol: "HTTPS",
2971
+ pathname: "/",
2972
+ method: "POST",
2973
+ authType: "AK",
2974
+ style: "RPC",
2975
+ reqBodyType: "formData",
2976
+ bodyType: "json",
2977
+ });
2978
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateImageResponse({}));
2979
+ }
2980
+ /**
2981
+ * Creates an image.
2982
+ *
2983
+ * @remarks
2984
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
2985
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
2986
+ *
2987
+ * @param request - CreateImageRequest
2988
+ * @returns CreateImageResponse
2989
+ */
2990
+ async createImage(request) {
2991
+ let runtime = new $dara.RuntimeOptions({});
2992
+ return await this.createImageWithOptions(request, runtime);
2993
+ }
2794
2994
  /**
2795
2995
  * Registers a data lineage relationship in DataWorks Data Map. You can use this operation to establish lineage relationships between metadata entities managed by DataWorks, including table-to-table, column-to-column, table-to-column, and dataset-to-table scenarios. You can also establish lineage relationships between managed entities and custom entity objects registered by users. This operation is compatible with non-managed custom objects, but this approach is no longer recommended. Before calling this operation, make sure that the managed entities involved in the lineage registration already exist on the DataWorks platform.
2796
2996
  *
@@ -4357,10 +4557,10 @@ class Client extends openapi_core_1.default {
4357
4557
  return await this.createWorkflowDefinitionWithOptions(request, runtime);
4358
4558
  }
4359
4559
  /**
4360
- * Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
4560
+ * Creates a workflow instance based on configurations, such as a data backfill workflow instance.
4361
4561
  *
4362
4562
  * @remarks
4363
- * DataWorks Basic Edition or higher is required.
4563
+ * DataWorks Basic Edition or a higher edition is required.
4364
4564
  *
4365
4565
  * @param tmpReq - CreateWorkflowInstancesRequest
4366
4566
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4436,10 +4636,10 @@ class Client extends openapi_core_1.default {
4436
4636
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWorkflowInstancesResponse({}));
4437
4637
  }
4438
4638
  /**
4439
- * Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
4639
+ * Creates a workflow instance based on configurations, such as a data backfill workflow instance.
4440
4640
  *
4441
4641
  * @remarks
4442
- * DataWorks Basic Edition or higher is required.
4642
+ * DataWorks Basic Edition or a higher edition is required.
4443
4643
  *
4444
4644
  * @param request - CreateWorkflowInstancesRequest
4445
4645
  * @returns CreateWorkflowInstancesResponse
@@ -6344,6 +6544,51 @@ class Client extends openapi_core_1.default {
6344
6544
  let runtime = new $dara.RuntimeOptions({});
6345
6545
  return await this.deleteSemanticJobWithOptions(request, runtime);
6346
6546
  }
6547
+ /**
6548
+ * Deletes a specified personal development environment instance.
6549
+ *
6550
+ * @remarks
6551
+ * Deletes a specified personal development environment (ServerIDE) instance and returns the instance ID.
6552
+ *
6553
+ * @param request - DeleteServerIdeInstanceRequest
6554
+ * @param runtime - runtime options for this request RuntimeOptions
6555
+ * @returns DeleteServerIdeInstanceResponse
6556
+ */
6557
+ async deleteServerIdeInstanceWithOptions(request, runtime) {
6558
+ request.validate();
6559
+ let query = {};
6560
+ if (!$dara.isNull(request.instanceId)) {
6561
+ query["InstanceId"] = request.instanceId;
6562
+ }
6563
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6564
+ query: openapi_core_2.OpenApiUtil.query(query),
6565
+ });
6566
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6567
+ action: "DeleteServerIdeInstance",
6568
+ version: "2024-05-18",
6569
+ protocol: "HTTPS",
6570
+ pathname: "/",
6571
+ method: "POST",
6572
+ authType: "AK",
6573
+ style: "RPC",
6574
+ reqBodyType: "formData",
6575
+ bodyType: "json",
6576
+ });
6577
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServerIdeInstanceResponse({}));
6578
+ }
6579
+ /**
6580
+ * Deletes a specified personal development environment instance.
6581
+ *
6582
+ * @remarks
6583
+ * Deletes a specified personal development environment (ServerIDE) instance and returns the instance ID.
6584
+ *
6585
+ * @param request - DeleteServerIdeInstanceRequest
6586
+ * @returns DeleteServerIdeInstanceResponse
6587
+ */
6588
+ async deleteServerIdeInstance(request) {
6589
+ let runtime = new $dara.RuntimeOptions({});
6590
+ return await this.deleteServerIdeInstanceWithOptions(request, runtime);
6591
+ }
6347
6592
  /**
6348
6593
  * Delete Skill
6349
6594
  *
@@ -6446,10 +6691,10 @@ class Client extends openapi_core_1.default {
6446
6691
  return await this.deleteTaskWithOptions(request, runtime);
6447
6692
  }
6448
6693
  /**
6449
- * Deletes a workflow.
6694
+ * Deletes a specified workflow.
6450
6695
  *
6451
6696
  * @remarks
6452
- * This API operation is available for all DataWorks editions.
6697
+ * DataWorks Basic Edition or a more advanced edition is required.
6453
6698
  *
6454
6699
  * @param request - DeleteWorkflowRequest
6455
6700
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6486,10 +6731,10 @@ class Client extends openapi_core_1.default {
6486
6731
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWorkflowResponse({}));
6487
6732
  }
6488
6733
  /**
6489
- * Deletes a workflow.
6734
+ * Deletes a specified workflow.
6490
6735
  *
6491
6736
  * @remarks
6492
- * This API operation is available for all DataWorks editions.
6737
+ * DataWorks Basic Edition or a more advanced edition is required.
6493
6738
  *
6494
6739
  * @param request - DeleteWorkflowRequest
6495
6740
  * @returns DeleteWorkflowResponse
@@ -6658,6 +6903,53 @@ class Client extends openapi_core_1.default {
6658
6903
  let runtime = new $dara.RuntimeOptions({});
6659
6904
  return await this.detachDataQualityRulesFromEvaluationTaskWithOptions(request, runtime);
6660
6905
  }
6906
+ /**
6907
+ * Disables an image.
6908
+ *
6909
+ * @remarks
6910
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
6911
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
6912
+ *
6913
+ * @param request - DisableImageRequest
6914
+ * @param runtime - runtime options for this request RuntimeOptions
6915
+ * @returns DisableImageResponse
6916
+ */
6917
+ async disableImageWithOptions(request, runtime) {
6918
+ request.validate();
6919
+ let body = {};
6920
+ if (!$dara.isNull(request.id)) {
6921
+ body["Id"] = request.id;
6922
+ }
6923
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6924
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
6925
+ });
6926
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6927
+ action: "DisableImage",
6928
+ version: "2024-05-18",
6929
+ protocol: "HTTPS",
6930
+ pathname: "/",
6931
+ method: "POST",
6932
+ authType: "AK",
6933
+ style: "RPC",
6934
+ reqBodyType: "formData",
6935
+ bodyType: "json",
6936
+ });
6937
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableImageResponse({}));
6938
+ }
6939
+ /**
6940
+ * Disables an image.
6941
+ *
6942
+ * @remarks
6943
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
6944
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
6945
+ *
6946
+ * @param request - DisableImageRequest
6947
+ * @returns DisableImageResponse
6948
+ */
6949
+ async disableImage(request) {
6950
+ let runtime = new $dara.RuntimeOptions({});
6951
+ return await this.disableImageWithOptions(request, runtime);
6952
+ }
6661
6953
  /**
6662
6954
  * Disables the specified approval process definition.
6663
6955
  *
@@ -6876,6 +7168,53 @@ class Client extends openapi_core_1.default {
6876
7168
  let runtime = new $dara.RuntimeOptions({});
6877
7169
  return await this.downloadSemanticResultsWithOptions(request, runtime);
6878
7170
  }
7171
+ /**
7172
+ * Enables an image.
7173
+ *
7174
+ * @remarks
7175
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
7176
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
7177
+ *
7178
+ * @param request - EnableImageRequest
7179
+ * @param runtime - runtime options for this request RuntimeOptions
7180
+ * @returns EnableImageResponse
7181
+ */
7182
+ async enableImageWithOptions(request, runtime) {
7183
+ request.validate();
7184
+ let body = {};
7185
+ if (!$dara.isNull(request.id)) {
7186
+ body["Id"] = request.id;
7187
+ }
7188
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7189
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
7190
+ });
7191
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7192
+ action: "EnableImage",
7193
+ version: "2024-05-18",
7194
+ protocol: "HTTPS",
7195
+ pathname: "/",
7196
+ method: "POST",
7197
+ authType: "AK",
7198
+ style: "RPC",
7199
+ reqBodyType: "formData",
7200
+ bodyType: "json",
7201
+ });
7202
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableImageResponse({}));
7203
+ }
7204
+ /**
7205
+ * Enables an image.
7206
+ *
7207
+ * @remarks
7208
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
7209
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
7210
+ *
7211
+ * @param request - EnableImageRequest
7212
+ * @returns EnableImageResponse
7213
+ */
7214
+ async enableImage(request) {
7215
+ let runtime = new $dara.RuntimeOptions({});
7216
+ return await this.enableImageWithOptions(request, runtime);
7217
+ }
6879
7218
  /**
6880
7219
  * Enables a process definition with the specified ID.
6881
7220
  *
@@ -8862,20 +9201,70 @@ class Client extends openapi_core_1.default {
8862
9201
  return await this.getImageWithOptions(request, runtime);
8863
9202
  }
8864
9203
  /**
8865
- * Returns the status of an asynchronous task. After calling an asynchronous API, poll this API to obtain the success status.
9204
+ * Retrieves the details of an image test result.
8866
9205
  *
8867
- * @param request - GetJobStatusRequest
9206
+ * @remarks
9207
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
9208
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
9209
+ *
9210
+ * @param request - GetImageTestResultRequest
8868
9211
  * @param runtime - runtime options for this request RuntimeOptions
8869
- * @returns GetJobStatusResponse
9212
+ * @returns GetImageTestResultResponse
8870
9213
  */
8871
- async getJobStatusWithOptions(request, runtime) {
9214
+ async getImageTestResultWithOptions(request, runtime) {
8872
9215
  request.validate();
8873
- let query = openapi_core_2.OpenApiUtil.query(request.toMap());
9216
+ let query = {};
9217
+ if (!$dara.isNull(request.id)) {
9218
+ query["Id"] = request.id;
9219
+ }
9220
+ if (!$dara.isNull(request.processId)) {
9221
+ query["ProcessId"] = request.processId;
9222
+ }
8874
9223
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8875
9224
  query: openapi_core_2.OpenApiUtil.query(query),
8876
9225
  });
8877
9226
  let params = new openapi_core_2.$OpenApiUtil.Params({
8878
- action: "GetJobStatus",
9227
+ action: "GetImageTestResult",
9228
+ version: "2024-05-18",
9229
+ protocol: "HTTPS",
9230
+ pathname: "/",
9231
+ method: "POST",
9232
+ authType: "AK",
9233
+ style: "RPC",
9234
+ reqBodyType: "formData",
9235
+ bodyType: "json",
9236
+ });
9237
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetImageTestResultResponse({}));
9238
+ }
9239
+ /**
9240
+ * Retrieves the details of an image test result.
9241
+ *
9242
+ * @remarks
9243
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
9244
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
9245
+ *
9246
+ * @param request - GetImageTestResultRequest
9247
+ * @returns GetImageTestResultResponse
9248
+ */
9249
+ async getImageTestResult(request) {
9250
+ let runtime = new $dara.RuntimeOptions({});
9251
+ return await this.getImageTestResultWithOptions(request, runtime);
9252
+ }
9253
+ /**
9254
+ * Returns the status of an asynchronous task. After calling an asynchronous API, poll this API to obtain the success status.
9255
+ *
9256
+ * @param request - GetJobStatusRequest
9257
+ * @param runtime - runtime options for this request RuntimeOptions
9258
+ * @returns GetJobStatusResponse
9259
+ */
9260
+ async getJobStatusWithOptions(request, runtime) {
9261
+ request.validate();
9262
+ let query = openapi_core_2.OpenApiUtil.query(request.toMap());
9263
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9264
+ query: openapi_core_2.OpenApiUtil.query(query),
9265
+ });
9266
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9267
+ action: "GetJobStatus",
8879
9268
  version: "2024-05-18",
8880
9269
  protocol: "HTTPS",
8881
9270
  pathname: "/",
@@ -9939,6 +10328,51 @@ class Client extends openapi_core_1.default {
9939
10328
  let runtime = new $dara.RuntimeOptions({});
9940
10329
  return await this.getSemanticJobLogWithOptions(request, runtime);
9941
10330
  }
10331
+ /**
10332
+ * Queries the details of a specified personal development environment instance.
10333
+ *
10334
+ * @remarks
10335
+ * Queries the basic information, running status, image, network, dataset, and credential configurations of a specified personal development environment (ServerIDE) instance.
10336
+ *
10337
+ * @param request - GetServerIdeInstanceRequest
10338
+ * @param runtime - runtime options for this request RuntimeOptions
10339
+ * @returns GetServerIdeInstanceResponse
10340
+ */
10341
+ async getServerIdeInstanceWithOptions(request, runtime) {
10342
+ request.validate();
10343
+ let body = {};
10344
+ if (!$dara.isNull(request.instanceId)) {
10345
+ body["InstanceId"] = request.instanceId;
10346
+ }
10347
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10348
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
10349
+ });
10350
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10351
+ action: "GetServerIdeInstance",
10352
+ version: "2024-05-18",
10353
+ protocol: "HTTPS",
10354
+ pathname: "/",
10355
+ method: "POST",
10356
+ authType: "AK",
10357
+ style: "RPC",
10358
+ reqBodyType: "formData",
10359
+ bodyType: "json",
10360
+ });
10361
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServerIdeInstanceResponse({}));
10362
+ }
10363
+ /**
10364
+ * Queries the details of a specified personal development environment instance.
10365
+ *
10366
+ * @remarks
10367
+ * Queries the basic information, running status, image, network, dataset, and credential configurations of a specified personal development environment (ServerIDE) instance.
10368
+ *
10369
+ * @param request - GetServerIdeInstanceRequest
10370
+ * @returns GetServerIdeInstanceResponse
10371
+ */
10372
+ async getServerIdeInstance(request) {
10373
+ let runtime = new $dara.RuntimeOptions({});
10374
+ return await this.getServerIdeInstanceWithOptions(request, runtime);
10375
+ }
9942
10376
  /**
9943
10377
  * Retrieves the details of a specified Skill by name, including the body of the SKILL.md file and the bundle\\"s download link.
9944
10378
  *
@@ -11920,10 +12354,10 @@ class Client extends openapi_core_1.default {
11920
12354
  return await this.listDataQualityEvaluationTaskInstancesWithOptions(request, runtime);
11921
12355
  }
11922
12356
  /**
11923
- * Lists quality monitoring nodes by paging query.
12357
+ * Queries a paged list of quality monitoring nodes by using paging.
11924
12358
  *
11925
12359
  * @remarks
11926
- * 需要购买DataWorks基础版及以上版本才能使用
12360
+ * You must purchase DataWorks Basic Edition or a higher edition to use this feature.
11927
12361
  *
11928
12362
  * @deprecated OpenAPI ListDataQualityEvaluationTasks is deprecated, please use dataworks-public::2024-05-18::ListDataQualityScans instead.
11929
12363
  *
@@ -11951,10 +12385,10 @@ class Client extends openapi_core_1.default {
11951
12385
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityEvaluationTasksResponse({}));
11952
12386
  }
11953
12387
  /**
11954
- * Lists quality monitoring nodes by paging query.
12388
+ * Queries a paged list of quality monitoring nodes by using paging.
11955
12389
  *
11956
12390
  * @remarks
11957
- * 需要购买DataWorks基础版及以上版本才能使用
12391
+ * You must purchase DataWorks Basic Edition or a higher edition to use this feature.
11958
12392
  *
11959
12393
  * @deprecated OpenAPI ListDataQualityEvaluationTasks is deprecated, please use dataworks-public::2024-05-18::ListDataQualityScans instead.
11960
12394
  *
@@ -13099,6 +13533,59 @@ class Client extends openapi_core_1.default {
13099
13533
  let runtime = new $dara.RuntimeOptions({});
13100
13534
  return await this.listImageAssociatedProjectsWithOptions(request, runtime);
13101
13535
  }
13536
+ /**
13537
+ * Retrieves the list of image test results.
13538
+ *
13539
+ * @remarks
13540
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
13541
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
13542
+ *
13543
+ * @param request - ListImageTestResultsRequest
13544
+ * @param runtime - runtime options for this request RuntimeOptions
13545
+ * @returns ListImageTestResultsResponse
13546
+ */
13547
+ async listImageTestResultsWithOptions(request, runtime) {
13548
+ request.validate();
13549
+ let query = {};
13550
+ if (!$dara.isNull(request.id)) {
13551
+ query["Id"] = request.id;
13552
+ }
13553
+ if (!$dara.isNull(request.pageNumber)) {
13554
+ query["PageNumber"] = request.pageNumber;
13555
+ }
13556
+ if (!$dara.isNull(request.pageSize)) {
13557
+ query["PageSize"] = request.pageSize;
13558
+ }
13559
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13560
+ query: openapi_core_2.OpenApiUtil.query(query),
13561
+ });
13562
+ let params = new openapi_core_2.$OpenApiUtil.Params({
13563
+ action: "ListImageTestResults",
13564
+ version: "2024-05-18",
13565
+ protocol: "HTTPS",
13566
+ pathname: "/",
13567
+ method: "POST",
13568
+ authType: "AK",
13569
+ style: "RPC",
13570
+ reqBodyType: "formData",
13571
+ bodyType: "json",
13572
+ });
13573
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListImageTestResultsResponse({}));
13574
+ }
13575
+ /**
13576
+ * Retrieves the list of image test results.
13577
+ *
13578
+ * @remarks
13579
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
13580
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
13581
+ *
13582
+ * @param request - ListImageTestResultsRequest
13583
+ * @returns ListImageTestResultsResponse
13584
+ */
13585
+ async listImageTestResults(request) {
13586
+ let runtime = new $dara.RuntimeOptions({});
13587
+ return await this.listImageTestResultsWithOptions(request, runtime);
13588
+ }
13102
13589
  /**
13103
13590
  * Gets the details of a specified image version.
13104
13591
  *
@@ -15008,6 +15495,189 @@ class Client extends openapi_core_1.default {
15008
15495
  let runtime = new $dara.RuntimeOptions({});
15009
15496
  return await this.listSemanticJobsWithOptions(request, runtime);
15010
15497
  }
15498
+ /**
15499
+ * Queries the list of available ECS instance types for personal development environments.
15500
+ *
15501
+ * @remarks
15502
+ * Queries the ECS instance types available when creating a personal development environment (ServerIDE). You can filter by CPU or GPU type. If no type is specified, both CPU and GPU instance types are returned.
15503
+ *
15504
+ * @param request - ListServerIdeEcsSpecsRequest
15505
+ * @param runtime - runtime options for this request RuntimeOptions
15506
+ * @returns ListServerIdeEcsSpecsResponse
15507
+ */
15508
+ async listServerIdeEcsSpecsWithOptions(request, runtime) {
15509
+ request.validate();
15510
+ let body = {};
15511
+ if (!$dara.isNull(request.acceleratorType)) {
15512
+ body["AcceleratorType"] = request.acceleratorType;
15513
+ }
15514
+ if (!$dara.isNull(request.maxResults)) {
15515
+ body["MaxResults"] = request.maxResults;
15516
+ }
15517
+ if (!$dara.isNull(request.nextToken)) {
15518
+ body["NextToken"] = request.nextToken;
15519
+ }
15520
+ if (!$dara.isNull(request.resourceGroupId)) {
15521
+ body["ResourceGroupId"] = request.resourceGroupId;
15522
+ }
15523
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15524
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
15525
+ });
15526
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15527
+ action: "ListServerIdeEcsSpecs",
15528
+ version: "2024-05-18",
15529
+ protocol: "HTTPS",
15530
+ pathname: "/",
15531
+ method: "POST",
15532
+ authType: "AK",
15533
+ style: "RPC",
15534
+ reqBodyType: "formData",
15535
+ bodyType: "json",
15536
+ });
15537
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServerIdeEcsSpecsResponse({}));
15538
+ }
15539
+ /**
15540
+ * Queries the list of available ECS instance types for personal development environments.
15541
+ *
15542
+ * @remarks
15543
+ * Queries the ECS instance types available when creating a personal development environment (ServerIDE). You can filter by CPU or GPU type. If no type is specified, both CPU and GPU instance types are returned.
15544
+ *
15545
+ * @param request - ListServerIdeEcsSpecsRequest
15546
+ * @returns ListServerIdeEcsSpecsResponse
15547
+ */
15548
+ async listServerIdeEcsSpecs(request) {
15549
+ let runtime = new $dara.RuntimeOptions({});
15550
+ return await this.listServerIdeEcsSpecsWithOptions(request, runtime);
15551
+ }
15552
+ /**
15553
+ * Queries the list of available images for personal development environments by using paging.
15554
+ *
15555
+ * @remarks
15556
+ * Queries the available images for creating a personal development environment (ServerIDE) by using paging. Supports filtering by image name and labels.
15557
+ *
15558
+ * @param request - ListServerIdeImagesRequest
15559
+ * @param runtime - runtime options for this request RuntimeOptions
15560
+ * @returns ListServerIdeImagesResponse
15561
+ */
15562
+ async listServerIdeImagesWithOptions(request, runtime) {
15563
+ request.validate();
15564
+ let body = {};
15565
+ if (!$dara.isNull(request.labels)) {
15566
+ body["Labels"] = request.labels;
15567
+ }
15568
+ if (!$dara.isNull(request.maxResults)) {
15569
+ body["MaxResults"] = request.maxResults;
15570
+ }
15571
+ if (!$dara.isNull(request.name)) {
15572
+ body["Name"] = request.name;
15573
+ }
15574
+ if (!$dara.isNull(request.nextToken)) {
15575
+ body["NextToken"] = request.nextToken;
15576
+ }
15577
+ if (!$dara.isNull(request.pageNumber)) {
15578
+ body["PageNumber"] = request.pageNumber;
15579
+ }
15580
+ if (!$dara.isNull(request.pageSize)) {
15581
+ body["PageSize"] = request.pageSize;
15582
+ }
15583
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15584
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
15585
+ });
15586
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15587
+ action: "ListServerIdeImages",
15588
+ version: "2024-05-18",
15589
+ protocol: "HTTPS",
15590
+ pathname: "/",
15591
+ method: "POST",
15592
+ authType: "AK",
15593
+ style: "RPC",
15594
+ reqBodyType: "formData",
15595
+ bodyType: "json",
15596
+ });
15597
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServerIdeImagesResponse({}));
15598
+ }
15599
+ /**
15600
+ * Queries the list of available images for personal development environments by using paging.
15601
+ *
15602
+ * @remarks
15603
+ * Queries the available images for creating a personal development environment (ServerIDE) by using paging. Supports filtering by image name and labels.
15604
+ *
15605
+ * @param request - ListServerIdeImagesRequest
15606
+ * @returns ListServerIdeImagesResponse
15607
+ */
15608
+ async listServerIdeImages(request) {
15609
+ let runtime = new $dara.RuntimeOptions({});
15610
+ return await this.listServerIdeImagesWithOptions(request, runtime);
15611
+ }
15612
+ /**
15613
+ * Queries a paged query list of personal development environment instances with paging support.
15614
+ *
15615
+ * @remarks
15616
+ * Queries a paged query list of personal development environment (ServerIDE) instances with paging. You can filter results by workspace, resource group, keyword, owner, and instance child class.
15617
+ *
15618
+ * @param request - ListServerIdeInstancesRequest
15619
+ * @param runtime - runtime options for this request RuntimeOptions
15620
+ * @returns ListServerIdeInstancesResponse
15621
+ */
15622
+ async listServerIdeInstancesWithOptions(request, runtime) {
15623
+ request.validate();
15624
+ let body = {};
15625
+ if (!$dara.isNull(request.keyword)) {
15626
+ body["Keyword"] = request.keyword;
15627
+ }
15628
+ if (!$dara.isNull(request.maxResults)) {
15629
+ body["MaxResults"] = request.maxResults;
15630
+ }
15631
+ if (!$dara.isNull(request.nextToken)) {
15632
+ body["NextToken"] = request.nextToken;
15633
+ }
15634
+ if (!$dara.isNull(request.pageNumber)) {
15635
+ body["PageNumber"] = request.pageNumber;
15636
+ }
15637
+ if (!$dara.isNull(request.pageSize)) {
15638
+ body["PageSize"] = request.pageSize;
15639
+ }
15640
+ if (!$dara.isNull(request.projectId)) {
15641
+ body["ProjectId"] = request.projectId;
15642
+ }
15643
+ if (!$dara.isNull(request.relatedUserId)) {
15644
+ body["RelatedUserId"] = request.relatedUserId;
15645
+ }
15646
+ if (!$dara.isNull(request.resourceGroupId)) {
15647
+ body["ResourceGroupId"] = request.resourceGroupId;
15648
+ }
15649
+ if (!$dara.isNull(request.subType)) {
15650
+ body["SubType"] = request.subType;
15651
+ }
15652
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15653
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
15654
+ });
15655
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15656
+ action: "ListServerIdeInstances",
15657
+ version: "2024-05-18",
15658
+ protocol: "HTTPS",
15659
+ pathname: "/",
15660
+ method: "POST",
15661
+ authType: "AK",
15662
+ style: "RPC",
15663
+ reqBodyType: "formData",
15664
+ bodyType: "json",
15665
+ });
15666
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServerIdeInstancesResponse({}));
15667
+ }
15668
+ /**
15669
+ * Queries a paged query list of personal development environment instances with paging support.
15670
+ *
15671
+ * @remarks
15672
+ * Queries a paged query list of personal development environment (ServerIDE) instances with paging. You can filter results by workspace, resource group, keyword, owner, and instance child class.
15673
+ *
15674
+ * @param request - ListServerIdeInstancesRequest
15675
+ * @returns ListServerIdeInstancesResponse
15676
+ */
15677
+ async listServerIdeInstances(request) {
15678
+ let runtime = new $dara.RuntimeOptions({});
15679
+ return await this.listServerIdeInstancesWithOptions(request, runtime);
15680
+ }
15011
15681
  /**
15012
15682
  * Lists the Skills in your account.
15013
15683
  *
@@ -15468,7 +16138,10 @@ class Client extends openapi_core_1.default {
15468
16138
  return await this.listTasksWithOptions(request, runtime);
15469
16139
  }
15470
16140
  /**
15471
- * Queries a list of ancestor instances of an instance by page.
16141
+ * Retrieves the upstream instances of a specified instance by page.
16142
+ *
16143
+ * @remarks
16144
+ * DataWorks Basic Edition or a more advanced edition is required.
15472
16145
  *
15473
16146
  * @param request - ListUpstreamTaskInstancesRequest
15474
16147
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15494,7 +16167,10 @@ class Client extends openapi_core_1.default {
15494
16167
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUpstreamTaskInstancesResponse({}));
15495
16168
  }
15496
16169
  /**
15497
- * Queries a list of ancestor instances of an instance by page.
16170
+ * Retrieves the upstream instances of a specified instance by page.
16171
+ *
16172
+ * @remarks
16173
+ * DataWorks Basic Edition or a more advanced edition is required.
15498
16174
  *
15499
16175
  * @param request - ListUpstreamTaskInstancesRequest
15500
16176
  * @returns ListUpstreamTaskInstancesResponse
@@ -16263,6 +16939,56 @@ class Client extends openapi_core_1.default {
16263
16939
  let runtime = new $dara.RuntimeOptions({});
16264
16940
  return await this.promptAgentSessionWithOptions(request, runtime);
16265
16941
  }
16942
+ /**
16943
+ * Publishes an image.
16944
+ *
16945
+ * @remarks
16946
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
16947
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks has been created before you call this operation.**
16948
+ *
16949
+ * @param request - PublishImageRequest
16950
+ * @param runtime - runtime options for this request RuntimeOptions
16951
+ * @returns PublishImageResponse
16952
+ */
16953
+ async publishImageWithOptions(request, runtime) {
16954
+ request.validate();
16955
+ let body = {};
16956
+ if (!$dara.isNull(request.id)) {
16957
+ body["Id"] = request.id;
16958
+ }
16959
+ if (!$dara.isNull(request.processId)) {
16960
+ body["ProcessId"] = request.processId;
16961
+ }
16962
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16963
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
16964
+ });
16965
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16966
+ action: "PublishImage",
16967
+ version: "2024-05-18",
16968
+ protocol: "HTTPS",
16969
+ pathname: "/",
16970
+ method: "POST",
16971
+ authType: "AK",
16972
+ style: "RPC",
16973
+ reqBodyType: "formData",
16974
+ bodyType: "json",
16975
+ });
16976
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishImageResponse({}));
16977
+ }
16978
+ /**
16979
+ * Publishes an image.
16980
+ *
16981
+ * @remarks
16982
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
16983
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks has been created before you call this operation.**
16984
+ *
16985
+ * @param request - PublishImageRequest
16986
+ * @returns PublishImageResponse
16987
+ */
16988
+ async publishImage(request) {
16989
+ let runtime = new $dara.RuntimeOptions({});
16990
+ return await this.publishImageWithOptions(request, runtime);
16991
+ }
16266
16992
  /**
16267
16993
  * Remove an entity object from a Data Map collection. The collection supports Data Map categories and data albums, and the entity currently supports only the Data Table type.
16268
16994
  * When removing an entity from a data album, the caller must have the AliyunDataWorksFullAccess permission or be the creator or administrator of the album.
@@ -16793,6 +17519,56 @@ class Client extends openapi_core_1.default {
16793
17519
  let runtime = new $dara.RuntimeOptions({});
16794
17520
  return await this.revokeMemberProjectRolesWithOptions(request, runtime);
16795
17521
  }
17522
+ /**
17523
+ * Rolls back an image.
17524
+ *
17525
+ * @remarks
17526
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
17527
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
17528
+ *
17529
+ * @param request - RollbackImageRequest
17530
+ * @param runtime - runtime options for this request RuntimeOptions
17531
+ * @returns RollbackImageResponse
17532
+ */
17533
+ async rollbackImageWithOptions(request, runtime) {
17534
+ request.validate();
17535
+ let body = {};
17536
+ if (!$dara.isNull(request.id)) {
17537
+ body["Id"] = request.id;
17538
+ }
17539
+ if (!$dara.isNull(request.imageVersion)) {
17540
+ body["ImageVersion"] = request.imageVersion;
17541
+ }
17542
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17543
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
17544
+ });
17545
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17546
+ action: "RollbackImage",
17547
+ version: "2024-05-18",
17548
+ protocol: "HTTPS",
17549
+ pathname: "/",
17550
+ method: "POST",
17551
+ authType: "AK",
17552
+ style: "RPC",
17553
+ reqBodyType: "formData",
17554
+ bodyType: "json",
17555
+ });
17556
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RollbackImageResponse({}));
17557
+ }
17558
+ /**
17559
+ * Rolls back an image.
17560
+ *
17561
+ * @remarks
17562
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
17563
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
17564
+ *
17565
+ * @param request - RollbackImageRequest
17566
+ * @returns RollbackImageResponse
17567
+ */
17568
+ async rollbackImage(request) {
17569
+ let runtime = new $dara.RuntimeOptions({});
17570
+ return await this.rollbackImageWithOptions(request, runtime);
17571
+ }
16796
17572
  /**
16797
17573
  * Rolls back a specified parameter.
16798
17574
  *
@@ -16910,6 +17686,62 @@ class Client extends openapi_core_1.default {
16910
17686
  let runtime = new $dara.RuntimeOptions({});
16911
17687
  return await this.runCrawlerWithOptions(request, runtime);
16912
17688
  }
17689
+ /**
17690
+ * Runs an image test.
17691
+ *
17692
+ * @remarks
17693
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
17694
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
17695
+ *
17696
+ * @param request - RunImageTestRequest
17697
+ * @param runtime - runtime options for this request RuntimeOptions
17698
+ * @returns RunImageTestResponse
17699
+ */
17700
+ async runImageTestWithOptions(request, runtime) {
17701
+ request.validate();
17702
+ let body = {};
17703
+ if (!$dara.isNull(request.cu)) {
17704
+ body["Cu"] = request.cu;
17705
+ }
17706
+ if (!$dara.isNull(request.id)) {
17707
+ body["Id"] = request.id;
17708
+ }
17709
+ if (!$dara.isNull(request.processId)) {
17710
+ body["ProcessId"] = request.processId;
17711
+ }
17712
+ if (!$dara.isNull(request.resourceGroupId)) {
17713
+ body["ResourceGroupId"] = request.resourceGroupId;
17714
+ }
17715
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17716
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
17717
+ });
17718
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17719
+ action: "RunImageTest",
17720
+ version: "2024-05-18",
17721
+ protocol: "HTTPS",
17722
+ pathname: "/",
17723
+ method: "POST",
17724
+ authType: "AK",
17725
+ style: "RPC",
17726
+ reqBodyType: "formData",
17727
+ bodyType: "json",
17728
+ });
17729
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunImageTestResponse({}));
17730
+ }
17731
+ /**
17732
+ * Runs an image test.
17733
+ *
17734
+ * @remarks
17735
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
17736
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
17737
+ *
17738
+ * @param request - RunImageTestRequest
17739
+ * @returns RunImageTestResponse
17740
+ */
17741
+ async runImageTest(request) {
17742
+ let runtime = new $dara.RuntimeOptions({});
17743
+ return await this.runImageTestWithOptions(request, runtime);
17744
+ }
16913
17745
  /**
16914
17746
  * Submits a saved semantic job for execution by name and returns the run identifier and executor job identifier. A successful call indicates that the job has been submitted, not that the semantic model results have been generated.
16915
17747
  *
@@ -17069,6 +17901,51 @@ class Client extends openapi_core_1.default {
17069
17901
  let runtime = new $dara.RuntimeOptions({});
17070
17902
  return await this.startDIJobWithOptions(request, runtime);
17071
17903
  }
17904
+ /**
17905
+ * Starts a specified personal development environment instance.
17906
+ *
17907
+ * @remarks
17908
+ * Starts a specified personal development environment (ServerIDE) instance and returns the instance ID.
17909
+ *
17910
+ * @param request - StartServerIdeInstanceRequest
17911
+ * @param runtime - runtime options for this request RuntimeOptions
17912
+ * @returns StartServerIdeInstanceResponse
17913
+ */
17914
+ async startServerIdeInstanceWithOptions(request, runtime) {
17915
+ request.validate();
17916
+ let query = {};
17917
+ if (!$dara.isNull(request.instanceId)) {
17918
+ query["InstanceId"] = request.instanceId;
17919
+ }
17920
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17921
+ query: openapi_core_2.OpenApiUtil.query(query),
17922
+ });
17923
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17924
+ action: "StartServerIdeInstance",
17925
+ version: "2024-05-18",
17926
+ protocol: "HTTPS",
17927
+ pathname: "/",
17928
+ method: "POST",
17929
+ authType: "AK",
17930
+ style: "RPC",
17931
+ reqBodyType: "formData",
17932
+ bodyType: "json",
17933
+ });
17934
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartServerIdeInstanceResponse({}));
17935
+ }
17936
+ /**
17937
+ * Starts a specified personal development environment instance.
17938
+ *
17939
+ * @remarks
17940
+ * Starts a specified personal development environment (ServerIDE) instance and returns the instance ID.
17941
+ *
17942
+ * @param request - StartServerIdeInstanceRequest
17943
+ * @returns StartServerIdeInstanceResponse
17944
+ */
17945
+ async startServerIdeInstance(request) {
17946
+ let runtime = new $dara.RuntimeOptions({});
17947
+ return await this.startServerIdeInstanceWithOptions(request, runtime);
17948
+ }
17072
17949
  /**
17073
17950
  * Starts multiple workflow instances in a batch.
17074
17951
  *
@@ -17281,6 +18158,51 @@ class Client extends openapi_core_1.default {
17281
18158
  let runtime = new $dara.RuntimeOptions({});
17282
18159
  return await this.stopProcessInstanceWithOptions(request, runtime);
17283
18160
  }
18161
+ /**
18162
+ * Stops a specified personal development environment instance.
18163
+ *
18164
+ * @remarks
18165
+ * Stops a specified personal development environment (ServerIDE) instance and returns the instance ID.
18166
+ *
18167
+ * @param request - StopServerIdeInstanceRequest
18168
+ * @param runtime - runtime options for this request RuntimeOptions
18169
+ * @returns StopServerIdeInstanceResponse
18170
+ */
18171
+ async stopServerIdeInstanceWithOptions(request, runtime) {
18172
+ request.validate();
18173
+ let query = {};
18174
+ if (!$dara.isNull(request.instanceId)) {
18175
+ query["InstanceId"] = request.instanceId;
18176
+ }
18177
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
18178
+ query: openapi_core_2.OpenApiUtil.query(query),
18179
+ });
18180
+ let params = new openapi_core_2.$OpenApiUtil.Params({
18181
+ action: "StopServerIdeInstance",
18182
+ version: "2024-05-18",
18183
+ protocol: "HTTPS",
18184
+ pathname: "/",
18185
+ method: "POST",
18186
+ authType: "AK",
18187
+ style: "RPC",
18188
+ reqBodyType: "formData",
18189
+ bodyType: "json",
18190
+ });
18191
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.StopServerIdeInstanceResponse({}));
18192
+ }
18193
+ /**
18194
+ * Stops a specified personal development environment instance.
18195
+ *
18196
+ * @remarks
18197
+ * Stops a specified personal development environment (ServerIDE) instance and returns the instance ID.
18198
+ *
18199
+ * @param request - StopServerIdeInstanceRequest
18200
+ * @returns StopServerIdeInstanceResponse
18201
+ */
18202
+ async stopServerIdeInstance(request) {
18203
+ let runtime = new $dara.RuntimeOptions({});
18204
+ return await this.stopServerIdeInstanceWithOptions(request, runtime);
18205
+ }
17284
18206
  /**
17285
18207
  * Stops multiple instances in a batch.
17286
18208
  *
@@ -19260,6 +20182,96 @@ class Client extends openapi_core_1.default {
19260
20182
  let runtime = new $dara.RuntimeOptions({});
19261
20183
  return await this.updateIDEEventResultWithOptions(request, runtime);
19262
20184
  }
20185
+ /**
20186
+ * Updates an image.
20187
+ *
20188
+ * @remarks
20189
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
20190
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
20191
+ *
20192
+ * @param tmpReq - UpdateImageRequest
20193
+ * @param runtime - runtime options for this request RuntimeOptions
20194
+ * @returns UpdateImageResponse
20195
+ */
20196
+ async updateImageWithOptions(tmpReq, runtime) {
20197
+ tmpReq.validate();
20198
+ let request = new $_model.UpdateImageShrinkRequest({});
20199
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
20200
+ if (!$dara.isNull(tmpReq.buildConfig)) {
20201
+ request.buildConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.buildConfig, "BuildConfig", "json");
20202
+ }
20203
+ if (!$dara.isNull(tmpReq.supported)) {
20204
+ request.supportedShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.supported, "Supported", "json");
20205
+ }
20206
+ let query = {};
20207
+ if (!$dara.isNull(request.acrAssociatedVpcId)) {
20208
+ query["AcrAssociatedVpcId"] = request.acrAssociatedVpcId;
20209
+ }
20210
+ if (!$dara.isNull(request.acrInstanceId)) {
20211
+ query["AcrInstanceId"] = request.acrInstanceId;
20212
+ }
20213
+ if (!$dara.isNull(request.imageUri)) {
20214
+ query["ImageUri"] = request.imageUri;
20215
+ }
20216
+ if (!$dara.isNull(request.namespace)) {
20217
+ query["Namespace"] = request.namespace;
20218
+ }
20219
+ if (!$dara.isNull(request.repositoryName)) {
20220
+ query["RepositoryName"] = request.repositoryName;
20221
+ }
20222
+ let body = {};
20223
+ if (!$dara.isNull(request.accessibility)) {
20224
+ body["Accessibility"] = request.accessibility;
20225
+ }
20226
+ if (!$dara.isNull(request.buildConfigShrink)) {
20227
+ body["BuildConfig"] = request.buildConfigShrink;
20228
+ }
20229
+ if (!$dara.isNull(request.description)) {
20230
+ body["Description"] = request.description;
20231
+ }
20232
+ if (!$dara.isNull(request.id)) {
20233
+ body["Id"] = request.id;
20234
+ }
20235
+ if (!$dara.isNull(request.name)) {
20236
+ body["Name"] = request.name;
20237
+ }
20238
+ if (!$dara.isNull(request.providerImageId)) {
20239
+ body["ProviderImageId"] = request.providerImageId;
20240
+ }
20241
+ if (!$dara.isNull(request.supportedShrink)) {
20242
+ body["Supported"] = request.supportedShrink;
20243
+ }
20244
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
20245
+ query: openapi_core_2.OpenApiUtil.query(query),
20246
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
20247
+ });
20248
+ let params = new openapi_core_2.$OpenApiUtil.Params({
20249
+ action: "UpdateImage",
20250
+ version: "2024-05-18",
20251
+ protocol: "HTTPS",
20252
+ pathname: "/",
20253
+ method: "POST",
20254
+ authType: "AK",
20255
+ style: "RPC",
20256
+ reqBodyType: "formData",
20257
+ bodyType: "json",
20258
+ });
20259
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageResponse({}));
20260
+ }
20261
+ /**
20262
+ * Updates an image.
20263
+ *
20264
+ * @remarks
20265
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
20266
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
20267
+ *
20268
+ * @param request - UpdateImageRequest
20269
+ * @returns UpdateImageResponse
20270
+ */
20271
+ async updateImage(request) {
20272
+ let runtime = new $dara.RuntimeOptions({});
20273
+ return await this.updateImageWithOptions(request, runtime);
20274
+ }
19263
20275
  /**
19264
20276
  * Updates an MCP Server.
19265
20277
  *