@alicloud/dataworks-public20240518 9.2.0 → 9.4.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 (311) hide show
  1. package/dist/client.d.ts +464 -16
  2. package/dist/client.js +1269 -86
  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/CreateServerIdeInstanceRequest.d.ts +464 -0
  43. package/dist/models/CreateServerIdeInstanceRequest.js +329 -0
  44. package/dist/models/CreateServerIdeInstanceRequest.js.map +1 -0
  45. package/dist/models/CreateServerIdeInstanceResponse.d.ts +19 -0
  46. package/dist/models/CreateServerIdeInstanceResponse.js +69 -0
  47. package/dist/models/CreateServerIdeInstanceResponse.js.map +1 -0
  48. package/dist/models/CreateServerIdeInstanceResponseBody.d.ts +29 -0
  49. package/dist/models/CreateServerIdeInstanceResponseBody.js +60 -0
  50. package/dist/models/CreateServerIdeInstanceResponseBody.js.map +1 -0
  51. package/dist/models/CreateServerIdeInstanceShrinkRequest.d.ts +95 -0
  52. package/dist/models/CreateServerIdeInstanceShrinkRequest.js +78 -0
  53. package/dist/models/CreateServerIdeInstanceShrinkRequest.js.map +1 -0
  54. package/dist/models/CreateWorkflowInstancesRequest.d.ts +68 -95
  55. package/dist/models/CreateWorkflowInstancesRequest.js.map +1 -1
  56. package/dist/models/CreateWorkflowInstancesResponseBody.d.ts +2 -2
  57. package/dist/models/CreateWorkflowInstancesShrinkRequest.d.ts +17 -25
  58. package/dist/models/CreateWorkflowInstancesShrinkRequest.js.map +1 -1
  59. package/dist/models/DeleteServerIdeInstanceRequest.d.ts +23 -0
  60. package/dist/models/DeleteServerIdeInstanceRequest.js +58 -0
  61. package/dist/models/DeleteServerIdeInstanceRequest.js.map +1 -0
  62. package/dist/models/DeleteServerIdeInstanceResponse.d.ts +19 -0
  63. package/dist/models/DeleteServerIdeInstanceResponse.js +69 -0
  64. package/dist/models/DeleteServerIdeInstanceResponse.js.map +1 -0
  65. package/dist/models/DeleteServerIdeInstanceResponseBody.d.ts +29 -0
  66. package/dist/models/DeleteServerIdeInstanceResponseBody.js +60 -0
  67. package/dist/models/DeleteServerIdeInstanceResponseBody.js.map +1 -0
  68. package/dist/models/DeleteWorkflowRequest.d.ts +5 -6
  69. package/dist/models/DeleteWorkflowRequest.js.map +1 -1
  70. package/dist/models/DeleteWorkflowResponseBody.d.ts +2 -2
  71. package/dist/models/DisableImageRequest.d.ts +23 -0
  72. package/dist/models/DisableImageRequest.js +58 -0
  73. package/dist/models/DisableImageRequest.js.map +1 -0
  74. package/dist/models/DisableImageResponse.d.ts +19 -0
  75. package/dist/models/DisableImageResponse.js +69 -0
  76. package/dist/models/DisableImageResponse.js.map +1 -0
  77. package/dist/models/DisableImageResponseBody.d.ts +37 -0
  78. package/dist/models/DisableImageResponseBody.js +62 -0
  79. package/dist/models/DisableImageResponseBody.js.map +1 -0
  80. package/dist/models/EnableImageRequest.d.ts +23 -0
  81. package/dist/models/EnableImageRequest.js +58 -0
  82. package/dist/models/EnableImageRequest.js.map +1 -0
  83. package/dist/models/EnableImageResponse.d.ts +19 -0
  84. package/dist/models/EnableImageResponse.js +69 -0
  85. package/dist/models/EnableImageResponse.js.map +1 -0
  86. package/dist/models/EnableImageResponseBody.d.ts +37 -0
  87. package/dist/models/EnableImageResponseBody.js +62 -0
  88. package/dist/models/EnableImageResponseBody.js.map +1 -0
  89. package/dist/models/GetImageTestResultRequest.d.ts +33 -0
  90. package/dist/models/GetImageTestResultRequest.js +60 -0
  91. package/dist/models/GetImageTestResultRequest.js.map +1 -0
  92. package/dist/models/GetImageTestResultResponse.d.ts +19 -0
  93. package/dist/models/GetImageTestResultResponse.js +69 -0
  94. package/dist/models/GetImageTestResultResponse.js.map +1 -0
  95. package/dist/models/GetImageTestResultResponseBody.d.ts +119 -0
  96. package/dist/models/GetImageTestResultResponseBody.js +96 -0
  97. package/dist/models/GetImageTestResultResponseBody.js.map +1 -0
  98. package/dist/models/GetServerIdeInstanceRequest.d.ts +23 -0
  99. package/dist/models/GetServerIdeInstanceRequest.js +58 -0
  100. package/dist/models/GetServerIdeInstanceRequest.js.map +1 -0
  101. package/dist/models/GetServerIdeInstanceResponse.d.ts +19 -0
  102. package/dist/models/GetServerIdeInstanceResponse.js +69 -0
  103. package/dist/models/GetServerIdeInstanceResponse.js.map +1 -0
  104. package/dist/models/GetServerIdeInstanceResponseBody.d.ts +505 -0
  105. package/dist/models/GetServerIdeInstanceResponseBody.js +327 -0
  106. package/dist/models/GetServerIdeInstanceResponseBody.js.map +1 -0
  107. package/dist/models/LineageTask.d.ts +2 -2
  108. package/dist/models/ListDataQualityEvaluationTasksRequest.d.ts +4 -4
  109. package/dist/models/ListDataQualityEvaluationTasksResponseBody.d.ts +38 -39
  110. package/dist/models/ListDataQualityEvaluationTasksResponseBody.js.map +1 -1
  111. package/dist/models/ListImageTestResultsRequest.d.ts +39 -0
  112. package/dist/models/ListImageTestResultsRequest.js +62 -0
  113. package/dist/models/ListImageTestResultsRequest.js.map +1 -0
  114. package/dist/models/ListImageTestResultsResponse.d.ts +19 -0
  115. package/dist/models/ListImageTestResultsResponse.js +69 -0
  116. package/dist/models/ListImageTestResultsResponse.js.map +1 -0
  117. package/dist/models/ListImageTestResultsResponseBody.d.ts +140 -0
  118. package/dist/models/ListImageTestResultsResponseBody.js +124 -0
  119. package/dist/models/ListImageTestResultsResponseBody.js.map +1 -0
  120. package/dist/models/ListServerIdeEcsSpecsRequest.d.ts +49 -0
  121. package/dist/models/ListServerIdeEcsSpecsRequest.js +64 -0
  122. package/dist/models/ListServerIdeEcsSpecsRequest.js.map +1 -0
  123. package/dist/models/ListServerIdeEcsSpecsResponse.d.ts +19 -0
  124. package/dist/models/ListServerIdeEcsSpecsResponse.js +69 -0
  125. package/dist/models/ListServerIdeEcsSpecsResponse.js.map +1 -0
  126. package/dist/models/ListServerIdeEcsSpecsResponseBody.d.ts +125 -0
  127. package/dist/models/ListServerIdeEcsSpecsResponseBody.js +102 -0
  128. package/dist/models/ListServerIdeEcsSpecsResponseBody.js.map +1 -0
  129. package/dist/models/ListServerIdeImagesRequest.d.ts +61 -0
  130. package/dist/models/ListServerIdeImagesRequest.js +68 -0
  131. package/dist/models/ListServerIdeImagesRequest.js.map +1 -0
  132. package/dist/models/ListServerIdeImagesResponse.d.ts +19 -0
  133. package/dist/models/ListServerIdeImagesResponse.js +69 -0
  134. package/dist/models/ListServerIdeImagesResponse.js.map +1 -0
  135. package/dist/models/ListServerIdeImagesResponseBody.d.ts +127 -0
  136. package/dist/models/ListServerIdeImagesResponseBody.js +120 -0
  137. package/dist/models/ListServerIdeImagesResponseBody.js.map +1 -0
  138. package/dist/models/ListServerIdeInstancesRequest.d.ts +87 -0
  139. package/dist/models/ListServerIdeInstancesRequest.js +74 -0
  140. package/dist/models/ListServerIdeInstancesRequest.js.map +1 -0
  141. package/dist/models/ListServerIdeInstancesResponse.d.ts +19 -0
  142. package/dist/models/ListServerIdeInstancesResponse.js +69 -0
  143. package/dist/models/ListServerIdeInstancesResponse.js.map +1 -0
  144. package/dist/models/ListServerIdeInstancesResponseBody.d.ts +569 -0
  145. package/dist/models/ListServerIdeInstancesResponseBody.js +359 -0
  146. package/dist/models/ListServerIdeInstancesResponseBody.js.map +1 -0
  147. package/dist/models/ListUpstreamTaskInstancesRequest.d.ts +1 -1
  148. package/dist/models/ListUpstreamTaskInstancesResponseBody.d.ts +79 -170
  149. package/dist/models/ListUpstreamTaskInstancesResponseBody.js.map +1 -1
  150. package/dist/models/Partition.d.ts +18 -0
  151. package/dist/models/Partition.js.map +1 -1
  152. package/dist/models/PublishImageRequest.d.ts +31 -0
  153. package/dist/models/PublishImageRequest.js +60 -0
  154. package/dist/models/PublishImageRequest.js.map +1 -0
  155. package/dist/models/PublishImageResponse.d.ts +19 -0
  156. package/dist/models/PublishImageResponse.js +69 -0
  157. package/dist/models/PublishImageResponse.js.map +1 -0
  158. package/dist/models/PublishImageResponseBody.d.ts +65 -0
  159. package/dist/models/PublishImageResponseBody.js +86 -0
  160. package/dist/models/PublishImageResponseBody.js.map +1 -0
  161. package/dist/models/RollbackImageRequest.d.ts +33 -0
  162. package/dist/models/RollbackImageRequest.js +60 -0
  163. package/dist/models/RollbackImageRequest.js.map +1 -0
  164. package/dist/models/RollbackImageResponse.d.ts +19 -0
  165. package/dist/models/RollbackImageResponse.js +69 -0
  166. package/dist/models/RollbackImageResponse.js.map +1 -0
  167. package/dist/models/RollbackImageResponseBody.d.ts +37 -0
  168. package/dist/models/RollbackImageResponseBody.js +62 -0
  169. package/dist/models/RollbackImageResponseBody.js.map +1 -0
  170. package/dist/models/RunImageTestRequest.d.ts +49 -0
  171. package/dist/models/RunImageTestRequest.js +64 -0
  172. package/dist/models/RunImageTestRequest.js.map +1 -0
  173. package/dist/models/RunImageTestResponse.d.ts +19 -0
  174. package/dist/models/RunImageTestResponse.js +69 -0
  175. package/dist/models/RunImageTestResponse.js.map +1 -0
  176. package/dist/models/RunImageTestResponseBody.d.ts +65 -0
  177. package/dist/models/RunImageTestResponseBody.js +86 -0
  178. package/dist/models/RunImageTestResponseBody.js.map +1 -0
  179. package/dist/models/StartServerIdeInstanceRequest.d.ts +23 -0
  180. package/dist/models/StartServerIdeInstanceRequest.js +58 -0
  181. package/dist/models/StartServerIdeInstanceRequest.js.map +1 -0
  182. package/dist/models/StartServerIdeInstanceResponse.d.ts +19 -0
  183. package/dist/models/StartServerIdeInstanceResponse.js +69 -0
  184. package/dist/models/StartServerIdeInstanceResponse.js.map +1 -0
  185. package/dist/models/StartServerIdeInstanceResponseBody.d.ts +29 -0
  186. package/dist/models/StartServerIdeInstanceResponseBody.js +60 -0
  187. package/dist/models/StartServerIdeInstanceResponseBody.js.map +1 -0
  188. package/dist/models/StopServerIdeInstanceRequest.d.ts +23 -0
  189. package/dist/models/StopServerIdeInstanceRequest.js +58 -0
  190. package/dist/models/StopServerIdeInstanceRequest.js.map +1 -0
  191. package/dist/models/StopServerIdeInstanceResponse.d.ts +19 -0
  192. package/dist/models/StopServerIdeInstanceResponse.js +69 -0
  193. package/dist/models/StopServerIdeInstanceResponse.js.map +1 -0
  194. package/dist/models/StopServerIdeInstanceResponseBody.d.ts +29 -0
  195. package/dist/models/StopServerIdeInstanceResponseBody.js +60 -0
  196. package/dist/models/StopServerIdeInstanceResponseBody.js.map +1 -0
  197. package/dist/models/UpdateImageRequest.d.ts +186 -0
  198. package/dist/models/UpdateImageRequest.js +155 -0
  199. package/dist/models/UpdateImageRequest.js.map +1 -0
  200. package/dist/models/UpdateImageResponse.d.ts +19 -0
  201. package/dist/models/UpdateImageResponse.js +69 -0
  202. package/dist/models/UpdateImageResponse.js.map +1 -0
  203. package/dist/models/UpdateImageResponseBody.d.ts +37 -0
  204. package/dist/models/UpdateImageResponseBody.js +62 -0
  205. package/dist/models/UpdateImageResponseBody.js.map +1 -0
  206. package/dist/models/UpdateImageShrinkRequest.d.ts +107 -0
  207. package/dist/models/UpdateImageShrinkRequest.js +80 -0
  208. package/dist/models/UpdateImageShrinkRequest.js.map +1 -0
  209. package/dist/models/UpdateServerIdeInstanceRequest.d.ts +404 -0
  210. package/dist/models/UpdateServerIdeInstanceRequest.js +281 -0
  211. package/dist/models/UpdateServerIdeInstanceRequest.js.map +1 -0
  212. package/dist/models/UpdateServerIdeInstanceResponse.d.ts +19 -0
  213. package/dist/models/UpdateServerIdeInstanceResponse.js +69 -0
  214. package/dist/models/UpdateServerIdeInstanceResponse.js.map +1 -0
  215. package/dist/models/UpdateServerIdeInstanceResponseBody.d.ts +29 -0
  216. package/dist/models/UpdateServerIdeInstanceResponseBody.js +60 -0
  217. package/dist/models/UpdateServerIdeInstanceResponseBody.js.map +1 -0
  218. package/dist/models/UpdateServerIdeInstanceShrinkRequest.d.ts +78 -0
  219. package/dist/models/UpdateServerIdeInstanceShrinkRequest.js +74 -0
  220. package/dist/models/UpdateServerIdeInstanceShrinkRequest.js.map +1 -0
  221. package/dist/models/UpdateSkillRequest.d.ts +4 -4
  222. package/dist/models/UpdateSkillResponseBody.d.ts +3 -3
  223. package/dist/models/UpdateSkillShrinkRequest.d.ts +4 -4
  224. package/dist/models/model.d.ts +113 -0
  225. package/dist/models/model.js +270 -42
  226. package/dist/models/model.js.map +1 -1
  227. package/package.json +1 -1
  228. package/src/client.ts +1364 -40
  229. package/src/models/BuildImageRequest.ts +68 -0
  230. package/src/models/BuildImageResponse.ts +40 -0
  231. package/src/models/BuildImageResponseBody.ts +97 -0
  232. package/src/models/CancelImageTestRequest.ts +46 -0
  233. package/src/models/CancelImageTestResponse.ts +40 -0
  234. package/src/models/CancelImageTestResponseBody.ts +97 -0
  235. package/src/models/Catalog.ts +21 -0
  236. package/src/models/CrawlerType.ts +23 -1
  237. package/src/models/CreateBusinessRequest.ts +8 -12
  238. package/src/models/CreateBusinessResponseBody.ts +11 -15
  239. package/src/models/CreateImageRequest.ts +302 -0
  240. package/src/models/CreateImageResponse.ts +40 -0
  241. package/src/models/CreateImageResponseBody.ts +54 -0
  242. package/src/models/CreateImageShrinkRequest.ts +175 -0
  243. package/src/models/CreateServerIdeInstanceRequest.ts +667 -0
  244. package/src/models/CreateServerIdeInstanceResponse.ts +40 -0
  245. package/src/models/CreateServerIdeInstanceResponseBody.ts +44 -0
  246. package/src/models/CreateServerIdeInstanceShrinkRequest.ts +128 -0
  247. package/src/models/CreateWorkflowInstancesRequest.ts +68 -95
  248. package/src/models/CreateWorkflowInstancesResponseBody.ts +2 -2
  249. package/src/models/CreateWorkflowInstancesShrinkRequest.ts +17 -25
  250. package/src/models/DeleteServerIdeInstanceRequest.ts +36 -0
  251. package/src/models/DeleteServerIdeInstanceResponse.ts +40 -0
  252. package/src/models/DeleteServerIdeInstanceResponseBody.ts +44 -0
  253. package/src/models/DeleteWorkflowRequest.ts +5 -6
  254. package/src/models/DeleteWorkflowResponseBody.ts +2 -2
  255. package/src/models/DisableImageRequest.ts +36 -0
  256. package/src/models/DisableImageResponse.ts +40 -0
  257. package/src/models/DisableImageResponseBody.ts +54 -0
  258. package/src/models/EnableImageRequest.ts +36 -0
  259. package/src/models/EnableImageResponse.ts +40 -0
  260. package/src/models/EnableImageResponseBody.ts +54 -0
  261. package/src/models/GetImageTestResultRequest.ts +48 -0
  262. package/src/models/GetImageTestResultResponse.ts +40 -0
  263. package/src/models/GetImageTestResultResponseBody.ts +161 -0
  264. package/src/models/GetServerIdeInstanceRequest.ts +36 -0
  265. package/src/models/GetServerIdeInstanceResponse.ts +40 -0
  266. package/src/models/GetServerIdeInstanceResponseBody.ts +715 -0
  267. package/src/models/LineageTask.ts +2 -2
  268. package/src/models/ListDataQualityEvaluationTasksRequest.ts +4 -4
  269. package/src/models/ListDataQualityEvaluationTasksResponseBody.ts +38 -39
  270. package/src/models/ListImageTestResultsRequest.ts +56 -0
  271. package/src/models/ListImageTestResultsResponse.ts +40 -0
  272. package/src/models/ListImageTestResultsResponseBody.ts +201 -0
  273. package/src/models/ListServerIdeEcsSpecsRequest.ts +68 -0
  274. package/src/models/ListServerIdeEcsSpecsResponse.ts +40 -0
  275. package/src/models/ListServerIdeEcsSpecsResponseBody.ts +173 -0
  276. package/src/models/ListServerIdeImagesRequest.ts +84 -0
  277. package/src/models/ListServerIdeImagesResponse.ts +40 -0
  278. package/src/models/ListServerIdeImagesResponseBody.ts +184 -0
  279. package/src/models/ListServerIdeInstancesRequest.ts +116 -0
  280. package/src/models/ListServerIdeInstancesResponse.ts +40 -0
  281. package/src/models/ListServerIdeInstancesResponseBody.ts +802 -0
  282. package/src/models/ListUpstreamTaskInstancesRequest.ts +1 -1
  283. package/src/models/ListUpstreamTaskInstancesResponseBody.ts +79 -170
  284. package/src/models/Partition.ts +18 -0
  285. package/src/models/PublishImageRequest.ts +46 -0
  286. package/src/models/PublishImageResponse.ts +40 -0
  287. package/src/models/PublishImageResponseBody.ts +97 -0
  288. package/src/models/RollbackImageRequest.ts +48 -0
  289. package/src/models/RollbackImageResponse.ts +40 -0
  290. package/src/models/RollbackImageResponseBody.ts +54 -0
  291. package/src/models/RunImageTestRequest.ts +68 -0
  292. package/src/models/RunImageTestResponse.ts +40 -0
  293. package/src/models/RunImageTestResponseBody.ts +97 -0
  294. package/src/models/StartServerIdeInstanceRequest.ts +36 -0
  295. package/src/models/StartServerIdeInstanceResponse.ts +40 -0
  296. package/src/models/StartServerIdeInstanceResponseBody.ts +44 -0
  297. package/src/models/StopServerIdeInstanceRequest.ts +36 -0
  298. package/src/models/StopServerIdeInstanceResponse.ts +40 -0
  299. package/src/models/StopServerIdeInstanceResponseBody.ts +44 -0
  300. package/src/models/UpdateImageRequest.ts +269 -0
  301. package/src/models/UpdateImageResponse.ts +40 -0
  302. package/src/models/UpdateImageResponseBody.ts +54 -0
  303. package/src/models/UpdateImageShrinkRequest.ts +142 -0
  304. package/src/models/UpdateServerIdeInstanceRequest.ts +577 -0
  305. package/src/models/UpdateServerIdeInstanceResponse.ts +40 -0
  306. package/src/models/UpdateServerIdeInstanceResponseBody.ts +44 -0
  307. package/src/models/UpdateServerIdeInstanceShrinkRequest.ts +107 -0
  308. package/src/models/UpdateSkillRequest.ts +4 -4
  309. package/src/models/UpdateSkillResponseBody.ts +3 -3
  310. package/src/models/UpdateSkillShrinkRequest.ts +4 -4
  311. package/src/models/model.ts +113 -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
  *
@@ -4153,6 +4353,95 @@ class Client extends openapi_core_1.default {
4153
4353
  let runtime = new $dara.RuntimeOptions({});
4154
4354
  return await this.createSemanticJobWithOptions(request, runtime);
4155
4355
  }
4356
+ /**
4357
+ * Creates a personal development environment instance.
4358
+ *
4359
+ * @remarks
4360
+ * Creates a personal development environment (ServerIDE) instance. After you specify the DataWorks workspace, resource group, image, and specifications, the instance is created and the instance ID is returned.
4361
+ *
4362
+ * @param tmpReq - CreateServerIdeInstanceRequest
4363
+ * @param runtime - runtime options for this request RuntimeOptions
4364
+ * @returns CreateServerIdeInstanceResponse
4365
+ */
4366
+ async createServerIdeInstanceWithOptions(tmpReq, runtime) {
4367
+ tmpReq.validate();
4368
+ let request = new $_model.CreateServerIdeInstanceShrinkRequest({});
4369
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
4370
+ if (!$dara.isNull(tmpReq.credentialConfig)) {
4371
+ request.credentialConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.credentialConfig, "CredentialConfig", "json");
4372
+ }
4373
+ if (!$dara.isNull(tmpReq.datasets)) {
4374
+ request.datasetsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.datasets, "Datasets", "json");
4375
+ }
4376
+ if (!$dara.isNull(tmpReq.userCommand)) {
4377
+ request.userCommandShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userCommand, "UserCommand", "json");
4378
+ }
4379
+ if (!$dara.isNull(tmpReq.userVpc)) {
4380
+ request.userVpcShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userVpc, "UserVpc", "json");
4381
+ }
4382
+ let body = {};
4383
+ if (!$dara.isNull(request.credentialConfigShrink)) {
4384
+ body["CredentialConfig"] = request.credentialConfigShrink;
4385
+ }
4386
+ if (!$dara.isNull(request.cu)) {
4387
+ body["Cu"] = request.cu;
4388
+ }
4389
+ if (!$dara.isNull(request.datasetsShrink)) {
4390
+ body["Datasets"] = request.datasetsShrink;
4391
+ }
4392
+ if (!$dara.isNull(request.imageId)) {
4393
+ body["ImageId"] = request.imageId;
4394
+ }
4395
+ if (!$dara.isNull(request.imageUrl)) {
4396
+ body["ImageUrl"] = request.imageUrl;
4397
+ }
4398
+ if (!$dara.isNull(request.instanceName)) {
4399
+ body["InstanceName"] = request.instanceName;
4400
+ }
4401
+ if (!$dara.isNull(request.owner)) {
4402
+ body["Owner"] = request.owner;
4403
+ }
4404
+ if (!$dara.isNull(request.projectId)) {
4405
+ body["ProjectId"] = request.projectId;
4406
+ }
4407
+ if (!$dara.isNull(request.resourceGroupId)) {
4408
+ body["ResourceGroupId"] = request.resourceGroupId;
4409
+ }
4410
+ if (!$dara.isNull(request.userCommandShrink)) {
4411
+ body["UserCommand"] = request.userCommandShrink;
4412
+ }
4413
+ if (!$dara.isNull(request.userVpcShrink)) {
4414
+ body["UserVpc"] = request.userVpcShrink;
4415
+ }
4416
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4417
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
4418
+ });
4419
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4420
+ action: "CreateServerIdeInstance",
4421
+ version: "2024-05-18",
4422
+ protocol: "HTTPS",
4423
+ pathname: "/",
4424
+ method: "POST",
4425
+ authType: "AK",
4426
+ style: "RPC",
4427
+ reqBodyType: "formData",
4428
+ bodyType: "json",
4429
+ });
4430
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServerIdeInstanceResponse({}));
4431
+ }
4432
+ /**
4433
+ * Creates a personal development environment instance.
4434
+ *
4435
+ * @remarks
4436
+ * Creates a personal development environment (ServerIDE) instance. After you specify the DataWorks workspace, resource group, image, and specifications, the instance is created and the instance ID is returned.
4437
+ *
4438
+ * @param request - CreateServerIdeInstanceRequest
4439
+ * @returns CreateServerIdeInstanceResponse
4440
+ */
4441
+ async createServerIdeInstance(request) {
4442
+ let runtime = new $dara.RuntimeOptions({});
4443
+ return await this.createServerIdeInstanceWithOptions(request, runtime);
4444
+ }
4156
4445
  /**
4157
4446
  * Creates a new Skill in DataWorks.
4158
4447
  *
@@ -4357,10 +4646,10 @@ class Client extends openapi_core_1.default {
4357
4646
  return await this.createWorkflowDefinitionWithOptions(request, runtime);
4358
4647
  }
4359
4648
  /**
4360
- * Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
4649
+ * Creates a workflow instance based on configurations, such as a data backfill workflow instance.
4361
4650
  *
4362
4651
  * @remarks
4363
- * DataWorks Basic Edition or higher is required.
4652
+ * DataWorks Basic Edition or a higher edition is required.
4364
4653
  *
4365
4654
  * @param tmpReq - CreateWorkflowInstancesRequest
4366
4655
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4436,10 +4725,10 @@ class Client extends openapi_core_1.default {
4436
4725
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWorkflowInstancesResponse({}));
4437
4726
  }
4438
4727
  /**
4439
- * Creates a workflow instance, such as a data backfill workflow instance, based on configurations.
4728
+ * Creates a workflow instance based on configurations, such as a data backfill workflow instance.
4440
4729
  *
4441
4730
  * @remarks
4442
- * DataWorks Basic Edition or higher is required.
4731
+ * DataWorks Basic Edition or a higher edition is required.
4443
4732
  *
4444
4733
  * @param request - CreateWorkflowInstancesRequest
4445
4734
  * @returns CreateWorkflowInstancesResponse
@@ -6344,6 +6633,51 @@ class Client extends openapi_core_1.default {
6344
6633
  let runtime = new $dara.RuntimeOptions({});
6345
6634
  return await this.deleteSemanticJobWithOptions(request, runtime);
6346
6635
  }
6636
+ /**
6637
+ * Deletes a specified personal development environment instance.
6638
+ *
6639
+ * @remarks
6640
+ * Deletes a specified personal development environment (ServerIDE) instance and returns the instance ID.
6641
+ *
6642
+ * @param request - DeleteServerIdeInstanceRequest
6643
+ * @param runtime - runtime options for this request RuntimeOptions
6644
+ * @returns DeleteServerIdeInstanceResponse
6645
+ */
6646
+ async deleteServerIdeInstanceWithOptions(request, runtime) {
6647
+ request.validate();
6648
+ let query = {};
6649
+ if (!$dara.isNull(request.instanceId)) {
6650
+ query["InstanceId"] = request.instanceId;
6651
+ }
6652
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6653
+ query: openapi_core_2.OpenApiUtil.query(query),
6654
+ });
6655
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6656
+ action: "DeleteServerIdeInstance",
6657
+ version: "2024-05-18",
6658
+ protocol: "HTTPS",
6659
+ pathname: "/",
6660
+ method: "POST",
6661
+ authType: "AK",
6662
+ style: "RPC",
6663
+ reqBodyType: "formData",
6664
+ bodyType: "json",
6665
+ });
6666
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServerIdeInstanceResponse({}));
6667
+ }
6668
+ /**
6669
+ * Deletes a specified personal development environment instance.
6670
+ *
6671
+ * @remarks
6672
+ * Deletes a specified personal development environment (ServerIDE) instance and returns the instance ID.
6673
+ *
6674
+ * @param request - DeleteServerIdeInstanceRequest
6675
+ * @returns DeleteServerIdeInstanceResponse
6676
+ */
6677
+ async deleteServerIdeInstance(request) {
6678
+ let runtime = new $dara.RuntimeOptions({});
6679
+ return await this.deleteServerIdeInstanceWithOptions(request, runtime);
6680
+ }
6347
6681
  /**
6348
6682
  * Delete Skill
6349
6683
  *
@@ -6446,10 +6780,10 @@ class Client extends openapi_core_1.default {
6446
6780
  return await this.deleteTaskWithOptions(request, runtime);
6447
6781
  }
6448
6782
  /**
6449
- * Deletes a workflow.
6783
+ * Deletes a specified workflow.
6450
6784
  *
6451
6785
  * @remarks
6452
- * This API operation is available for all DataWorks editions.
6786
+ * DataWorks Basic Edition or a more advanced edition is required.
6453
6787
  *
6454
6788
  * @param request - DeleteWorkflowRequest
6455
6789
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6486,10 +6820,10 @@ class Client extends openapi_core_1.default {
6486
6820
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWorkflowResponse({}));
6487
6821
  }
6488
6822
  /**
6489
- * Deletes a workflow.
6823
+ * Deletes a specified workflow.
6490
6824
  *
6491
6825
  * @remarks
6492
- * This API operation is available for all DataWorks editions.
6826
+ * DataWorks Basic Edition or a more advanced edition is required.
6493
6827
  *
6494
6828
  * @param request - DeleteWorkflowRequest
6495
6829
  * @returns DeleteWorkflowResponse
@@ -6659,24 +6993,19 @@ class Client extends openapi_core_1.default {
6659
6993
  return await this.detachDataQualityRulesFromEvaluationTaskWithOptions(request, runtime);
6660
6994
  }
6661
6995
  /**
6662
- * Disables the specified approval process definition.
6996
+ * Disables an image.
6663
6997
  *
6664
6998
  * @remarks
6665
- * ## Request
6666
- * - This API disables the specified approval process definition.
6667
- * - A disabled approval process definition remains inactive until it is re-enabled.
6668
- * - You must provide a valid process definition ID as a path parameter.
6999
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
7000
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
6669
7001
  *
6670
- * @param request - DisableProcessDefinitionRequest
7002
+ * @param request - DisableImageRequest
6671
7003
  * @param runtime - runtime options for this request RuntimeOptions
6672
- * @returns DisableProcessDefinitionResponse
7004
+ * @returns DisableImageResponse
6673
7005
  */
6674
- async disableProcessDefinitionWithOptions(request, runtime) {
7006
+ async disableImageWithOptions(request, runtime) {
6675
7007
  request.validate();
6676
7008
  let body = {};
6677
- if (!$dara.isNull(request.clientToken)) {
6678
- body["ClientToken"] = request.clientToken;
6679
- }
6680
7009
  if (!$dara.isNull(request.id)) {
6681
7010
  body["Id"] = request.id;
6682
7011
  }
@@ -6684,7 +7013,7 @@ class Client extends openapi_core_1.default {
6684
7013
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
6685
7014
  });
6686
7015
  let params = new openapi_core_2.$OpenApiUtil.Params({
6687
- action: "DisableProcessDefinition",
7016
+ action: "DisableImage",
6688
7017
  version: "2024-05-18",
6689
7018
  protocol: "HTTPS",
6690
7019
  pathname: "/",
@@ -6694,7 +7023,21 @@ class Client extends openapi_core_1.default {
6694
7023
  reqBodyType: "formData",
6695
7024
  bodyType: "json",
6696
7025
  });
6697
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableProcessDefinitionResponse({}));
7026
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableImageResponse({}));
7027
+ }
7028
+ /**
7029
+ * Disables an image.
7030
+ *
7031
+ * @remarks
7032
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
7033
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
7034
+ *
7035
+ * @param request - DisableImageRequest
7036
+ * @returns DisableImageResponse
7037
+ */
7038
+ async disableImage(request) {
7039
+ let runtime = new $dara.RuntimeOptions({});
7040
+ return await this.disableImageWithOptions(request, runtime);
6698
7041
  }
6699
7042
  /**
6700
7043
  * Disables the specified approval process definition.
@@ -6706,14 +7049,52 @@ class Client extends openapi_core_1.default {
6706
7049
  * - You must provide a valid process definition ID as a path parameter.
6707
7050
  *
6708
7051
  * @param request - DisableProcessDefinitionRequest
7052
+ * @param runtime - runtime options for this request RuntimeOptions
6709
7053
  * @returns DisableProcessDefinitionResponse
6710
7054
  */
6711
- async disableProcessDefinition(request) {
6712
- let runtime = new $dara.RuntimeOptions({});
6713
- return await this.disableProcessDefinitionWithOptions(request, runtime);
6714
- }
6715
- /**
6716
- * Disassociates an image from a workspace.
7055
+ async disableProcessDefinitionWithOptions(request, runtime) {
7056
+ request.validate();
7057
+ let body = {};
7058
+ if (!$dara.isNull(request.clientToken)) {
7059
+ body["ClientToken"] = request.clientToken;
7060
+ }
7061
+ if (!$dara.isNull(request.id)) {
7062
+ body["Id"] = request.id;
7063
+ }
7064
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7065
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
7066
+ });
7067
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7068
+ action: "DisableProcessDefinition",
7069
+ version: "2024-05-18",
7070
+ protocol: "HTTPS",
7071
+ pathname: "/",
7072
+ method: "POST",
7073
+ authType: "AK",
7074
+ style: "RPC",
7075
+ reqBodyType: "formData",
7076
+ bodyType: "json",
7077
+ });
7078
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableProcessDefinitionResponse({}));
7079
+ }
7080
+ /**
7081
+ * Disables the specified approval process definition.
7082
+ *
7083
+ * @remarks
7084
+ * ## Request
7085
+ * - This API disables the specified approval process definition.
7086
+ * - A disabled approval process definition remains inactive until it is re-enabled.
7087
+ * - You must provide a valid process definition ID as a path parameter.
7088
+ *
7089
+ * @param request - DisableProcessDefinitionRequest
7090
+ * @returns DisableProcessDefinitionResponse
7091
+ */
7092
+ async disableProcessDefinition(request) {
7093
+ let runtime = new $dara.RuntimeOptions({});
7094
+ return await this.disableProcessDefinitionWithOptions(request, runtime);
7095
+ }
7096
+ /**
7097
+ * Disassociates an image from a workspace.
6717
7098
  *
6718
7099
  * @remarks
6719
7100
  * 1. This operation requires DataWorks Basic Edition or a later version.
@@ -6876,6 +7257,53 @@ class Client extends openapi_core_1.default {
6876
7257
  let runtime = new $dara.RuntimeOptions({});
6877
7258
  return await this.downloadSemanticResultsWithOptions(request, runtime);
6878
7259
  }
7260
+ /**
7261
+ * Enables an image.
7262
+ *
7263
+ * @remarks
7264
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
7265
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
7266
+ *
7267
+ * @param request - EnableImageRequest
7268
+ * @param runtime - runtime options for this request RuntimeOptions
7269
+ * @returns EnableImageResponse
7270
+ */
7271
+ async enableImageWithOptions(request, runtime) {
7272
+ request.validate();
7273
+ let body = {};
7274
+ if (!$dara.isNull(request.id)) {
7275
+ body["Id"] = request.id;
7276
+ }
7277
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7278
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
7279
+ });
7280
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7281
+ action: "EnableImage",
7282
+ version: "2024-05-18",
7283
+ protocol: "HTTPS",
7284
+ pathname: "/",
7285
+ method: "POST",
7286
+ authType: "AK",
7287
+ style: "RPC",
7288
+ reqBodyType: "formData",
7289
+ bodyType: "json",
7290
+ });
7291
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableImageResponse({}));
7292
+ }
7293
+ /**
7294
+ * Enables an image.
7295
+ *
7296
+ * @remarks
7297
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
7298
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
7299
+ *
7300
+ * @param request - EnableImageRequest
7301
+ * @returns EnableImageResponse
7302
+ */
7303
+ async enableImage(request) {
7304
+ let runtime = new $dara.RuntimeOptions({});
7305
+ return await this.enableImageWithOptions(request, runtime);
7306
+ }
6879
7307
  /**
6880
7308
  * Enables a process definition with the specified ID.
6881
7309
  *
@@ -8861,6 +9289,56 @@ class Client extends openapi_core_1.default {
8861
9289
  let runtime = new $dara.RuntimeOptions({});
8862
9290
  return await this.getImageWithOptions(request, runtime);
8863
9291
  }
9292
+ /**
9293
+ * Retrieves the details of an image test result.
9294
+ *
9295
+ * @remarks
9296
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
9297
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
9298
+ *
9299
+ * @param request - GetImageTestResultRequest
9300
+ * @param runtime - runtime options for this request RuntimeOptions
9301
+ * @returns GetImageTestResultResponse
9302
+ */
9303
+ async getImageTestResultWithOptions(request, runtime) {
9304
+ request.validate();
9305
+ let query = {};
9306
+ if (!$dara.isNull(request.id)) {
9307
+ query["Id"] = request.id;
9308
+ }
9309
+ if (!$dara.isNull(request.processId)) {
9310
+ query["ProcessId"] = request.processId;
9311
+ }
9312
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9313
+ query: openapi_core_2.OpenApiUtil.query(query),
9314
+ });
9315
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9316
+ action: "GetImageTestResult",
9317
+ version: "2024-05-18",
9318
+ protocol: "HTTPS",
9319
+ pathname: "/",
9320
+ method: "POST",
9321
+ authType: "AK",
9322
+ style: "RPC",
9323
+ reqBodyType: "formData",
9324
+ bodyType: "json",
9325
+ });
9326
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetImageTestResultResponse({}));
9327
+ }
9328
+ /**
9329
+ * Retrieves the details of an image test result.
9330
+ *
9331
+ * @remarks
9332
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
9333
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
9334
+ *
9335
+ * @param request - GetImageTestResultRequest
9336
+ * @returns GetImageTestResultResponse
9337
+ */
9338
+ async getImageTestResult(request) {
9339
+ let runtime = new $dara.RuntimeOptions({});
9340
+ return await this.getImageTestResultWithOptions(request, runtime);
9341
+ }
8864
9342
  /**
8865
9343
  * Returns the status of an asynchronous task. After calling an asynchronous API, poll this API to obtain the success status.
8866
9344
  *
@@ -9939,6 +10417,51 @@ class Client extends openapi_core_1.default {
9939
10417
  let runtime = new $dara.RuntimeOptions({});
9940
10418
  return await this.getSemanticJobLogWithOptions(request, runtime);
9941
10419
  }
10420
+ /**
10421
+ * Queries the details of a specified personal development environment instance.
10422
+ *
10423
+ * @remarks
10424
+ * Queries the basic information, running status, image, network, dataset, and credential configurations of a specified personal development environment (ServerIDE) instance.
10425
+ *
10426
+ * @param request - GetServerIdeInstanceRequest
10427
+ * @param runtime - runtime options for this request RuntimeOptions
10428
+ * @returns GetServerIdeInstanceResponse
10429
+ */
10430
+ async getServerIdeInstanceWithOptions(request, runtime) {
10431
+ request.validate();
10432
+ let body = {};
10433
+ if (!$dara.isNull(request.instanceId)) {
10434
+ body["InstanceId"] = request.instanceId;
10435
+ }
10436
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10437
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
10438
+ });
10439
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10440
+ action: "GetServerIdeInstance",
10441
+ version: "2024-05-18",
10442
+ protocol: "HTTPS",
10443
+ pathname: "/",
10444
+ method: "POST",
10445
+ authType: "AK",
10446
+ style: "RPC",
10447
+ reqBodyType: "formData",
10448
+ bodyType: "json",
10449
+ });
10450
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServerIdeInstanceResponse({}));
10451
+ }
10452
+ /**
10453
+ * Queries the details of a specified personal development environment instance.
10454
+ *
10455
+ * @remarks
10456
+ * Queries the basic information, running status, image, network, dataset, and credential configurations of a specified personal development environment (ServerIDE) instance.
10457
+ *
10458
+ * @param request - GetServerIdeInstanceRequest
10459
+ * @returns GetServerIdeInstanceResponse
10460
+ */
10461
+ async getServerIdeInstance(request) {
10462
+ let runtime = new $dara.RuntimeOptions({});
10463
+ return await this.getServerIdeInstanceWithOptions(request, runtime);
10464
+ }
9942
10465
  /**
9943
10466
  * Retrieves the details of a specified Skill by name, including the body of the SKILL.md file and the bundle\\"s download link.
9944
10467
  *
@@ -11920,10 +12443,10 @@ class Client extends openapi_core_1.default {
11920
12443
  return await this.listDataQualityEvaluationTaskInstancesWithOptions(request, runtime);
11921
12444
  }
11922
12445
  /**
11923
- * Lists quality monitoring nodes by paging query.
12446
+ * Queries a paged list of quality monitoring nodes by using paging.
11924
12447
  *
11925
12448
  * @remarks
11926
- * 需要购买DataWorks基础版及以上版本才能使用
12449
+ * You must purchase DataWorks Basic Edition or a higher edition to use this feature.
11927
12450
  *
11928
12451
  * @deprecated OpenAPI ListDataQualityEvaluationTasks is deprecated, please use dataworks-public::2024-05-18::ListDataQualityScans instead.
11929
12452
  *
@@ -11951,10 +12474,10 @@ class Client extends openapi_core_1.default {
11951
12474
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityEvaluationTasksResponse({}));
11952
12475
  }
11953
12476
  /**
11954
- * Lists quality monitoring nodes by paging query.
12477
+ * Queries a paged list of quality monitoring nodes by using paging.
11955
12478
  *
11956
12479
  * @remarks
11957
- * 需要购买DataWorks基础版及以上版本才能使用
12480
+ * You must purchase DataWorks Basic Edition or a higher edition to use this feature.
11958
12481
  *
11959
12482
  * @deprecated OpenAPI ListDataQualityEvaluationTasks is deprecated, please use dataworks-public::2024-05-18::ListDataQualityScans instead.
11960
12483
  *
@@ -13099,6 +13622,59 @@ class Client extends openapi_core_1.default {
13099
13622
  let runtime = new $dara.RuntimeOptions({});
13100
13623
  return await this.listImageAssociatedProjectsWithOptions(request, runtime);
13101
13624
  }
13625
+ /**
13626
+ * Retrieves the list of image test results.
13627
+ *
13628
+ * @remarks
13629
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
13630
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
13631
+ *
13632
+ * @param request - ListImageTestResultsRequest
13633
+ * @param runtime - runtime options for this request RuntimeOptions
13634
+ * @returns ListImageTestResultsResponse
13635
+ */
13636
+ async listImageTestResultsWithOptions(request, runtime) {
13637
+ request.validate();
13638
+ let query = {};
13639
+ if (!$dara.isNull(request.id)) {
13640
+ query["Id"] = request.id;
13641
+ }
13642
+ if (!$dara.isNull(request.pageNumber)) {
13643
+ query["PageNumber"] = request.pageNumber;
13644
+ }
13645
+ if (!$dara.isNull(request.pageSize)) {
13646
+ query["PageSize"] = request.pageSize;
13647
+ }
13648
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13649
+ query: openapi_core_2.OpenApiUtil.query(query),
13650
+ });
13651
+ let params = new openapi_core_2.$OpenApiUtil.Params({
13652
+ action: "ListImageTestResults",
13653
+ version: "2024-05-18",
13654
+ protocol: "HTTPS",
13655
+ pathname: "/",
13656
+ method: "POST",
13657
+ authType: "AK",
13658
+ style: "RPC",
13659
+ reqBodyType: "formData",
13660
+ bodyType: "json",
13661
+ });
13662
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListImageTestResultsResponse({}));
13663
+ }
13664
+ /**
13665
+ * Retrieves the list of image test results.
13666
+ *
13667
+ * @remarks
13668
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
13669
+ * 2. **Before using this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
13670
+ *
13671
+ * @param request - ListImageTestResultsRequest
13672
+ * @returns ListImageTestResultsResponse
13673
+ */
13674
+ async listImageTestResults(request) {
13675
+ let runtime = new $dara.RuntimeOptions({});
13676
+ return await this.listImageTestResultsWithOptions(request, runtime);
13677
+ }
13102
13678
  /**
13103
13679
  * Gets the details of a specified image version.
13104
13680
  *
@@ -15009,47 +15585,35 @@ class Client extends openapi_core_1.default {
15009
15585
  return await this.listSemanticJobsWithOptions(request, runtime);
15010
15586
  }
15011
15587
  /**
15012
- * Lists the Skills in your account.
15588
+ * Queries the list of available ECS instance types for personal development environments.
15013
15589
  *
15014
15590
  * @remarks
15015
- * ## Request
15016
- * This operation lists the Skills in your account. You can filter the results by criteria such as a search keyword and visibility level.
15017
- * - **Q**: An optional search keyword for a fuzzy match on Skill names.
15018
- * - **Visibility**: An optional parameter to filter Skills by their visibility level. You can specify multiple values.
15019
- * - **MaxResults**: An optional parameter that specifies the maximum number of results to return per page.
15020
- * - **NextToken**: An optional pagination token for retrieving the next page of results. Omit this parameter for the first request. For subsequent requests, pass the `NextToken` value from the previous response to fetch the next page.
15591
+ * 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.
15021
15592
  *
15022
- * @param tmpReq - ListSkillsRequest
15593
+ * @param request - ListServerIdeEcsSpecsRequest
15023
15594
  * @param runtime - runtime options for this request RuntimeOptions
15024
- * @returns ListSkillsResponse
15595
+ * @returns ListServerIdeEcsSpecsResponse
15025
15596
  */
15026
- async listSkillsWithOptions(tmpReq, runtime) {
15027
- tmpReq.validate();
15028
- let request = new $_model.ListSkillsShrinkRequest({});
15029
- openapi_core_2.OpenApiUtil.convert(tmpReq, request);
15030
- if (!$dara.isNull(tmpReq.visibility)) {
15031
- request.visibilityShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.visibility, "Visibility", "json");
15597
+ async listServerIdeEcsSpecsWithOptions(request, runtime) {
15598
+ request.validate();
15599
+ let body = {};
15600
+ if (!$dara.isNull(request.acceleratorType)) {
15601
+ body["AcceleratorType"] = request.acceleratorType;
15032
15602
  }
15033
- let query = {};
15034
15603
  if (!$dara.isNull(request.maxResults)) {
15035
- query["MaxResults"] = request.maxResults;
15604
+ body["MaxResults"] = request.maxResults;
15036
15605
  }
15037
15606
  if (!$dara.isNull(request.nextToken)) {
15038
- query["NextToken"] = request.nextToken;
15039
- }
15040
- let body = {};
15041
- if (!$dara.isNull(request.q)) {
15042
- body["Q"] = request.q;
15607
+ body["NextToken"] = request.nextToken;
15043
15608
  }
15044
- if (!$dara.isNull(request.visibilityShrink)) {
15045
- body["Visibility"] = request.visibilityShrink;
15609
+ if (!$dara.isNull(request.resourceGroupId)) {
15610
+ body["ResourceGroupId"] = request.resourceGroupId;
15046
15611
  }
15047
15612
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15048
- query: openapi_core_2.OpenApiUtil.query(query),
15049
15613
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
15050
15614
  });
15051
15615
  let params = new openapi_core_2.$OpenApiUtil.Params({
15052
- action: "ListSkills",
15616
+ action: "ListServerIdeEcsSpecs",
15053
15617
  version: "2024-05-18",
15054
15618
  protocol: "HTTPS",
15055
15619
  pathname: "/",
@@ -15059,50 +15623,245 @@ class Client extends openapi_core_1.default {
15059
15623
  reqBodyType: "formData",
15060
15624
  bodyType: "json",
15061
15625
  });
15062
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSkillsResponse({}));
15626
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServerIdeEcsSpecsResponse({}));
15063
15627
  }
15064
15628
  /**
15065
- * Lists the Skills in your account.
15629
+ * Queries the list of available ECS instance types for personal development environments.
15066
15630
  *
15067
15631
  * @remarks
15068
- * ## Request
15069
- * This operation lists the Skills in your account. You can filter the results by criteria such as a search keyword and visibility level.
15070
- * - **Q**: An optional search keyword for a fuzzy match on Skill names.
15071
- * - **Visibility**: An optional parameter to filter Skills by their visibility level. You can specify multiple values.
15072
- * - **MaxResults**: An optional parameter that specifies the maximum number of results to return per page.
15073
- * - **NextToken**: An optional pagination token for retrieving the next page of results. Omit this parameter for the first request. For subsequent requests, pass the `NextToken` value from the previous response to fetch the next page.
15632
+ * 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.
15074
15633
  *
15075
- * @param request - ListSkillsRequest
15076
- * @returns ListSkillsResponse
15634
+ * @param request - ListServerIdeEcsSpecsRequest
15635
+ * @returns ListServerIdeEcsSpecsResponse
15077
15636
  */
15078
- async listSkills(request) {
15637
+ async listServerIdeEcsSpecs(request) {
15079
15638
  let runtime = new $dara.RuntimeOptions({});
15080
- return await this.listSkillsWithOptions(request, runtime);
15639
+ return await this.listServerIdeEcsSpecsWithOptions(request, runtime);
15081
15640
  }
15082
15641
  /**
15083
- * Retrieves a list of version snapshots.
15642
+ * Queries the list of available images for personal development environments by using paging.
15084
15643
  *
15085
- * @param request - ListSnapshotsRequest
15644
+ * @remarks
15645
+ * Queries the available images for creating a personal development environment (ServerIDE) by using paging. Supports filtering by image name and labels.
15646
+ *
15647
+ * @param request - ListServerIdeImagesRequest
15086
15648
  * @param runtime - runtime options for this request RuntimeOptions
15087
- * @returns ListSnapshotsResponse
15649
+ * @returns ListServerIdeImagesResponse
15088
15650
  */
15089
- async listSnapshotsWithOptions(request, runtime) {
15651
+ async listServerIdeImagesWithOptions(request, runtime) {
15090
15652
  request.validate();
15091
- let query = {};
15092
- if (!$dara.isNull(request.namespace)) {
15093
- query["Namespace"] = request.namespace;
15653
+ let body = {};
15654
+ if (!$dara.isNull(request.labels)) {
15655
+ body["Labels"] = request.labels;
15094
15656
  }
15095
- if (!$dara.isNull(request.objectId)) {
15096
- query["ObjectId"] = request.objectId;
15657
+ if (!$dara.isNull(request.maxResults)) {
15658
+ body["MaxResults"] = request.maxResults;
15659
+ }
15660
+ if (!$dara.isNull(request.name)) {
15661
+ body["Name"] = request.name;
15662
+ }
15663
+ if (!$dara.isNull(request.nextToken)) {
15664
+ body["NextToken"] = request.nextToken;
15097
15665
  }
15098
15666
  if (!$dara.isNull(request.pageNumber)) {
15099
- query["PageNumber"] = request.pageNumber;
15667
+ body["PageNumber"] = request.pageNumber;
15100
15668
  }
15101
15669
  if (!$dara.isNull(request.pageSize)) {
15102
- query["PageSize"] = request.pageSize;
15670
+ body["PageSize"] = request.pageSize;
15103
15671
  }
15104
- if (!$dara.isNull(request.type)) {
15105
- query["Type"] = request.type;
15672
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15673
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
15674
+ });
15675
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15676
+ action: "ListServerIdeImages",
15677
+ version: "2024-05-18",
15678
+ protocol: "HTTPS",
15679
+ pathname: "/",
15680
+ method: "POST",
15681
+ authType: "AK",
15682
+ style: "RPC",
15683
+ reqBodyType: "formData",
15684
+ bodyType: "json",
15685
+ });
15686
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServerIdeImagesResponse({}));
15687
+ }
15688
+ /**
15689
+ * Queries the list of available images for personal development environments by using paging.
15690
+ *
15691
+ * @remarks
15692
+ * Queries the available images for creating a personal development environment (ServerIDE) by using paging. Supports filtering by image name and labels.
15693
+ *
15694
+ * @param request - ListServerIdeImagesRequest
15695
+ * @returns ListServerIdeImagesResponse
15696
+ */
15697
+ async listServerIdeImages(request) {
15698
+ let runtime = new $dara.RuntimeOptions({});
15699
+ return await this.listServerIdeImagesWithOptions(request, runtime);
15700
+ }
15701
+ /**
15702
+ * Queries a paged query list of personal development environment instances with paging support.
15703
+ *
15704
+ * @remarks
15705
+ * 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.
15706
+ *
15707
+ * @param request - ListServerIdeInstancesRequest
15708
+ * @param runtime - runtime options for this request RuntimeOptions
15709
+ * @returns ListServerIdeInstancesResponse
15710
+ */
15711
+ async listServerIdeInstancesWithOptions(request, runtime) {
15712
+ request.validate();
15713
+ let body = {};
15714
+ if (!$dara.isNull(request.keyword)) {
15715
+ body["Keyword"] = request.keyword;
15716
+ }
15717
+ if (!$dara.isNull(request.maxResults)) {
15718
+ body["MaxResults"] = request.maxResults;
15719
+ }
15720
+ if (!$dara.isNull(request.nextToken)) {
15721
+ body["NextToken"] = request.nextToken;
15722
+ }
15723
+ if (!$dara.isNull(request.pageNumber)) {
15724
+ body["PageNumber"] = request.pageNumber;
15725
+ }
15726
+ if (!$dara.isNull(request.pageSize)) {
15727
+ body["PageSize"] = request.pageSize;
15728
+ }
15729
+ if (!$dara.isNull(request.projectId)) {
15730
+ body["ProjectId"] = request.projectId;
15731
+ }
15732
+ if (!$dara.isNull(request.relatedUserId)) {
15733
+ body["RelatedUserId"] = request.relatedUserId;
15734
+ }
15735
+ if (!$dara.isNull(request.resourceGroupId)) {
15736
+ body["ResourceGroupId"] = request.resourceGroupId;
15737
+ }
15738
+ if (!$dara.isNull(request.subType)) {
15739
+ body["SubType"] = request.subType;
15740
+ }
15741
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15742
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
15743
+ });
15744
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15745
+ action: "ListServerIdeInstances",
15746
+ version: "2024-05-18",
15747
+ protocol: "HTTPS",
15748
+ pathname: "/",
15749
+ method: "POST",
15750
+ authType: "AK",
15751
+ style: "RPC",
15752
+ reqBodyType: "formData",
15753
+ bodyType: "json",
15754
+ });
15755
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServerIdeInstancesResponse({}));
15756
+ }
15757
+ /**
15758
+ * Queries a paged query list of personal development environment instances with paging support.
15759
+ *
15760
+ * @remarks
15761
+ * 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.
15762
+ *
15763
+ * @param request - ListServerIdeInstancesRequest
15764
+ * @returns ListServerIdeInstancesResponse
15765
+ */
15766
+ async listServerIdeInstances(request) {
15767
+ let runtime = new $dara.RuntimeOptions({});
15768
+ return await this.listServerIdeInstancesWithOptions(request, runtime);
15769
+ }
15770
+ /**
15771
+ * Lists the Skills in your account.
15772
+ *
15773
+ * @remarks
15774
+ * ## Request
15775
+ * This operation lists the Skills in your account. You can filter the results by criteria such as a search keyword and visibility level.
15776
+ * - **Q**: An optional search keyword for a fuzzy match on Skill names.
15777
+ * - **Visibility**: An optional parameter to filter Skills by their visibility level. You can specify multiple values.
15778
+ * - **MaxResults**: An optional parameter that specifies the maximum number of results to return per page.
15779
+ * - **NextToken**: An optional pagination token for retrieving the next page of results. Omit this parameter for the first request. For subsequent requests, pass the `NextToken` value from the previous response to fetch the next page.
15780
+ *
15781
+ * @param tmpReq - ListSkillsRequest
15782
+ * @param runtime - runtime options for this request RuntimeOptions
15783
+ * @returns ListSkillsResponse
15784
+ */
15785
+ async listSkillsWithOptions(tmpReq, runtime) {
15786
+ tmpReq.validate();
15787
+ let request = new $_model.ListSkillsShrinkRequest({});
15788
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
15789
+ if (!$dara.isNull(tmpReq.visibility)) {
15790
+ request.visibilityShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.visibility, "Visibility", "json");
15791
+ }
15792
+ let query = {};
15793
+ if (!$dara.isNull(request.maxResults)) {
15794
+ query["MaxResults"] = request.maxResults;
15795
+ }
15796
+ if (!$dara.isNull(request.nextToken)) {
15797
+ query["NextToken"] = request.nextToken;
15798
+ }
15799
+ let body = {};
15800
+ if (!$dara.isNull(request.q)) {
15801
+ body["Q"] = request.q;
15802
+ }
15803
+ if (!$dara.isNull(request.visibilityShrink)) {
15804
+ body["Visibility"] = request.visibilityShrink;
15805
+ }
15806
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15807
+ query: openapi_core_2.OpenApiUtil.query(query),
15808
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
15809
+ });
15810
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15811
+ action: "ListSkills",
15812
+ version: "2024-05-18",
15813
+ protocol: "HTTPS",
15814
+ pathname: "/",
15815
+ method: "POST",
15816
+ authType: "AK",
15817
+ style: "RPC",
15818
+ reqBodyType: "formData",
15819
+ bodyType: "json",
15820
+ });
15821
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSkillsResponse({}));
15822
+ }
15823
+ /**
15824
+ * Lists the Skills in your account.
15825
+ *
15826
+ * @remarks
15827
+ * ## Request
15828
+ * This operation lists the Skills in your account. You can filter the results by criteria such as a search keyword and visibility level.
15829
+ * - **Q**: An optional search keyword for a fuzzy match on Skill names.
15830
+ * - **Visibility**: An optional parameter to filter Skills by their visibility level. You can specify multiple values.
15831
+ * - **MaxResults**: An optional parameter that specifies the maximum number of results to return per page.
15832
+ * - **NextToken**: An optional pagination token for retrieving the next page of results. Omit this parameter for the first request. For subsequent requests, pass the `NextToken` value from the previous response to fetch the next page.
15833
+ *
15834
+ * @param request - ListSkillsRequest
15835
+ * @returns ListSkillsResponse
15836
+ */
15837
+ async listSkills(request) {
15838
+ let runtime = new $dara.RuntimeOptions({});
15839
+ return await this.listSkillsWithOptions(request, runtime);
15840
+ }
15841
+ /**
15842
+ * Retrieves a list of version snapshots.
15843
+ *
15844
+ * @param request - ListSnapshotsRequest
15845
+ * @param runtime - runtime options for this request RuntimeOptions
15846
+ * @returns ListSnapshotsResponse
15847
+ */
15848
+ async listSnapshotsWithOptions(request, runtime) {
15849
+ request.validate();
15850
+ let query = {};
15851
+ if (!$dara.isNull(request.namespace)) {
15852
+ query["Namespace"] = request.namespace;
15853
+ }
15854
+ if (!$dara.isNull(request.objectId)) {
15855
+ query["ObjectId"] = request.objectId;
15856
+ }
15857
+ if (!$dara.isNull(request.pageNumber)) {
15858
+ query["PageNumber"] = request.pageNumber;
15859
+ }
15860
+ if (!$dara.isNull(request.pageSize)) {
15861
+ query["PageSize"] = request.pageSize;
15862
+ }
15863
+ if (!$dara.isNull(request.type)) {
15864
+ query["Type"] = request.type;
15106
15865
  }
15107
15866
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15108
15867
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -15468,7 +16227,10 @@ class Client extends openapi_core_1.default {
15468
16227
  return await this.listTasksWithOptions(request, runtime);
15469
16228
  }
15470
16229
  /**
15471
- * Queries a list of ancestor instances of an instance by page.
16230
+ * Retrieves the upstream instances of a specified instance by page.
16231
+ *
16232
+ * @remarks
16233
+ * DataWorks Basic Edition or a more advanced edition is required.
15472
16234
  *
15473
16235
  * @param request - ListUpstreamTaskInstancesRequest
15474
16236
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15494,7 +16256,10 @@ class Client extends openapi_core_1.default {
15494
16256
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUpstreamTaskInstancesResponse({}));
15495
16257
  }
15496
16258
  /**
15497
- * Queries a list of ancestor instances of an instance by page.
16259
+ * Retrieves the upstream instances of a specified instance by page.
16260
+ *
16261
+ * @remarks
16262
+ * DataWorks Basic Edition or a more advanced edition is required.
15498
16263
  *
15499
16264
  * @param request - ListUpstreamTaskInstancesRequest
15500
16265
  * @returns ListUpstreamTaskInstancesResponse
@@ -16263,6 +17028,56 @@ class Client extends openapi_core_1.default {
16263
17028
  let runtime = new $dara.RuntimeOptions({});
16264
17029
  return await this.promptAgentSessionWithOptions(request, runtime);
16265
17030
  }
17031
+ /**
17032
+ * Publishes an image.
17033
+ *
17034
+ * @remarks
17035
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
17036
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks has been created before you call this operation.**
17037
+ *
17038
+ * @param request - PublishImageRequest
17039
+ * @param runtime - runtime options for this request RuntimeOptions
17040
+ * @returns PublishImageResponse
17041
+ */
17042
+ async publishImageWithOptions(request, runtime) {
17043
+ request.validate();
17044
+ let body = {};
17045
+ if (!$dara.isNull(request.id)) {
17046
+ body["Id"] = request.id;
17047
+ }
17048
+ if (!$dara.isNull(request.processId)) {
17049
+ body["ProcessId"] = request.processId;
17050
+ }
17051
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17052
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
17053
+ });
17054
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17055
+ action: "PublishImage",
17056
+ version: "2024-05-18",
17057
+ protocol: "HTTPS",
17058
+ pathname: "/",
17059
+ method: "POST",
17060
+ authType: "AK",
17061
+ style: "RPC",
17062
+ reqBodyType: "formData",
17063
+ bodyType: "json",
17064
+ });
17065
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishImageResponse({}));
17066
+ }
17067
+ /**
17068
+ * Publishes an image.
17069
+ *
17070
+ * @remarks
17071
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
17072
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks has been created before you call this operation.**
17073
+ *
17074
+ * @param request - PublishImageRequest
17075
+ * @returns PublishImageResponse
17076
+ */
17077
+ async publishImage(request) {
17078
+ let runtime = new $dara.RuntimeOptions({});
17079
+ return await this.publishImageWithOptions(request, runtime);
17080
+ }
16266
17081
  /**
16267
17082
  * 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
17083
  * 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 +17608,56 @@ class Client extends openapi_core_1.default {
16793
17608
  let runtime = new $dara.RuntimeOptions({});
16794
17609
  return await this.revokeMemberProjectRolesWithOptions(request, runtime);
16795
17610
  }
17611
+ /**
17612
+ * Rolls back an image.
17613
+ *
17614
+ * @remarks
17615
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
17616
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
17617
+ *
17618
+ * @param request - RollbackImageRequest
17619
+ * @param runtime - runtime options for this request RuntimeOptions
17620
+ * @returns RollbackImageResponse
17621
+ */
17622
+ async rollbackImageWithOptions(request, runtime) {
17623
+ request.validate();
17624
+ let body = {};
17625
+ if (!$dara.isNull(request.id)) {
17626
+ body["Id"] = request.id;
17627
+ }
17628
+ if (!$dara.isNull(request.imageVersion)) {
17629
+ body["ImageVersion"] = request.imageVersion;
17630
+ }
17631
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17632
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
17633
+ });
17634
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17635
+ action: "RollbackImage",
17636
+ version: "2024-05-18",
17637
+ protocol: "HTTPS",
17638
+ pathname: "/",
17639
+ method: "POST",
17640
+ authType: "AK",
17641
+ style: "RPC",
17642
+ reqBodyType: "formData",
17643
+ bodyType: "json",
17644
+ });
17645
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RollbackImageResponse({}));
17646
+ }
17647
+ /**
17648
+ * Rolls back an image.
17649
+ *
17650
+ * @remarks
17651
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
17652
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
17653
+ *
17654
+ * @param request - RollbackImageRequest
17655
+ * @returns RollbackImageResponse
17656
+ */
17657
+ async rollbackImage(request) {
17658
+ let runtime = new $dara.RuntimeOptions({});
17659
+ return await this.rollbackImageWithOptions(request, runtime);
17660
+ }
16796
17661
  /**
16797
17662
  * Rolls back a specified parameter.
16798
17663
  *
@@ -16910,6 +17775,62 @@ class Client extends openapi_core_1.default {
16910
17775
  let runtime = new $dara.RuntimeOptions({});
16911
17776
  return await this.runCrawlerWithOptions(request, runtime);
16912
17777
  }
17778
+ /**
17779
+ * Runs an image test.
17780
+ *
17781
+ * @remarks
17782
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
17783
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
17784
+ *
17785
+ * @param request - RunImageTestRequest
17786
+ * @param runtime - runtime options for this request RuntimeOptions
17787
+ * @returns RunImageTestResponse
17788
+ */
17789
+ async runImageTestWithOptions(request, runtime) {
17790
+ request.validate();
17791
+ let body = {};
17792
+ if (!$dara.isNull(request.cu)) {
17793
+ body["Cu"] = request.cu;
17794
+ }
17795
+ if (!$dara.isNull(request.id)) {
17796
+ body["Id"] = request.id;
17797
+ }
17798
+ if (!$dara.isNull(request.processId)) {
17799
+ body["ProcessId"] = request.processId;
17800
+ }
17801
+ if (!$dara.isNull(request.resourceGroupId)) {
17802
+ body["ResourceGroupId"] = request.resourceGroupId;
17803
+ }
17804
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17805
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
17806
+ });
17807
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17808
+ action: "RunImageTest",
17809
+ version: "2024-05-18",
17810
+ protocol: "HTTPS",
17811
+ pathname: "/",
17812
+ method: "POST",
17813
+ authType: "AK",
17814
+ style: "RPC",
17815
+ reqBodyType: "formData",
17816
+ bodyType: "json",
17817
+ });
17818
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunImageTestResponse({}));
17819
+ }
17820
+ /**
17821
+ * Runs an image test.
17822
+ *
17823
+ * @remarks
17824
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
17825
+ * 2. **Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.**
17826
+ *
17827
+ * @param request - RunImageTestRequest
17828
+ * @returns RunImageTestResponse
17829
+ */
17830
+ async runImageTest(request) {
17831
+ let runtime = new $dara.RuntimeOptions({});
17832
+ return await this.runImageTestWithOptions(request, runtime);
17833
+ }
16913
17834
  /**
16914
17835
  * 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
17836
  *
@@ -17069,6 +17990,51 @@ class Client extends openapi_core_1.default {
17069
17990
  let runtime = new $dara.RuntimeOptions({});
17070
17991
  return await this.startDIJobWithOptions(request, runtime);
17071
17992
  }
17993
+ /**
17994
+ * Starts a specified personal development environment instance.
17995
+ *
17996
+ * @remarks
17997
+ * Starts a specified personal development environment (ServerIDE) instance and returns the instance ID.
17998
+ *
17999
+ * @param request - StartServerIdeInstanceRequest
18000
+ * @param runtime - runtime options for this request RuntimeOptions
18001
+ * @returns StartServerIdeInstanceResponse
18002
+ */
18003
+ async startServerIdeInstanceWithOptions(request, runtime) {
18004
+ request.validate();
18005
+ let query = {};
18006
+ if (!$dara.isNull(request.instanceId)) {
18007
+ query["InstanceId"] = request.instanceId;
18008
+ }
18009
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
18010
+ query: openapi_core_2.OpenApiUtil.query(query),
18011
+ });
18012
+ let params = new openapi_core_2.$OpenApiUtil.Params({
18013
+ action: "StartServerIdeInstance",
18014
+ version: "2024-05-18",
18015
+ protocol: "HTTPS",
18016
+ pathname: "/",
18017
+ method: "POST",
18018
+ authType: "AK",
18019
+ style: "RPC",
18020
+ reqBodyType: "formData",
18021
+ bodyType: "json",
18022
+ });
18023
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartServerIdeInstanceResponse({}));
18024
+ }
18025
+ /**
18026
+ * Starts a specified personal development environment instance.
18027
+ *
18028
+ * @remarks
18029
+ * Starts a specified personal development environment (ServerIDE) instance and returns the instance ID.
18030
+ *
18031
+ * @param request - StartServerIdeInstanceRequest
18032
+ * @returns StartServerIdeInstanceResponse
18033
+ */
18034
+ async startServerIdeInstance(request) {
18035
+ let runtime = new $dara.RuntimeOptions({});
18036
+ return await this.startServerIdeInstanceWithOptions(request, runtime);
18037
+ }
17072
18038
  /**
17073
18039
  * Starts multiple workflow instances in a batch.
17074
18040
  *
@@ -17281,6 +18247,51 @@ class Client extends openapi_core_1.default {
17281
18247
  let runtime = new $dara.RuntimeOptions({});
17282
18248
  return await this.stopProcessInstanceWithOptions(request, runtime);
17283
18249
  }
18250
+ /**
18251
+ * Stops a specified personal development environment instance.
18252
+ *
18253
+ * @remarks
18254
+ * Stops a specified personal development environment (ServerIDE) instance and returns the instance ID.
18255
+ *
18256
+ * @param request - StopServerIdeInstanceRequest
18257
+ * @param runtime - runtime options for this request RuntimeOptions
18258
+ * @returns StopServerIdeInstanceResponse
18259
+ */
18260
+ async stopServerIdeInstanceWithOptions(request, runtime) {
18261
+ request.validate();
18262
+ let query = {};
18263
+ if (!$dara.isNull(request.instanceId)) {
18264
+ query["InstanceId"] = request.instanceId;
18265
+ }
18266
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
18267
+ query: openapi_core_2.OpenApiUtil.query(query),
18268
+ });
18269
+ let params = new openapi_core_2.$OpenApiUtil.Params({
18270
+ action: "StopServerIdeInstance",
18271
+ version: "2024-05-18",
18272
+ protocol: "HTTPS",
18273
+ pathname: "/",
18274
+ method: "POST",
18275
+ authType: "AK",
18276
+ style: "RPC",
18277
+ reqBodyType: "formData",
18278
+ bodyType: "json",
18279
+ });
18280
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.StopServerIdeInstanceResponse({}));
18281
+ }
18282
+ /**
18283
+ * Stops a specified personal development environment instance.
18284
+ *
18285
+ * @remarks
18286
+ * Stops a specified personal development environment (ServerIDE) instance and returns the instance ID.
18287
+ *
18288
+ * @param request - StopServerIdeInstanceRequest
18289
+ * @returns StopServerIdeInstanceResponse
18290
+ */
18291
+ async stopServerIdeInstance(request) {
18292
+ let runtime = new $dara.RuntimeOptions({});
18293
+ return await this.stopServerIdeInstanceWithOptions(request, runtime);
18294
+ }
17284
18295
  /**
17285
18296
  * Stops multiple instances in a batch.
17286
18297
  *
@@ -19260,6 +20271,96 @@ class Client extends openapi_core_1.default {
19260
20271
  let runtime = new $dara.RuntimeOptions({});
19261
20272
  return await this.updateIDEEventResultWithOptions(request, runtime);
19262
20273
  }
20274
+ /**
20275
+ * Updates an image.
20276
+ *
20277
+ * @remarks
20278
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
20279
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
20280
+ *
20281
+ * @param tmpReq - UpdateImageRequest
20282
+ * @param runtime - runtime options for this request RuntimeOptions
20283
+ * @returns UpdateImageResponse
20284
+ */
20285
+ async updateImageWithOptions(tmpReq, runtime) {
20286
+ tmpReq.validate();
20287
+ let request = new $_model.UpdateImageShrinkRequest({});
20288
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
20289
+ if (!$dara.isNull(tmpReq.buildConfig)) {
20290
+ request.buildConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.buildConfig, "BuildConfig", "json");
20291
+ }
20292
+ if (!$dara.isNull(tmpReq.supported)) {
20293
+ request.supportedShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.supported, "Supported", "json");
20294
+ }
20295
+ let query = {};
20296
+ if (!$dara.isNull(request.acrAssociatedVpcId)) {
20297
+ query["AcrAssociatedVpcId"] = request.acrAssociatedVpcId;
20298
+ }
20299
+ if (!$dara.isNull(request.acrInstanceId)) {
20300
+ query["AcrInstanceId"] = request.acrInstanceId;
20301
+ }
20302
+ if (!$dara.isNull(request.imageUri)) {
20303
+ query["ImageUri"] = request.imageUri;
20304
+ }
20305
+ if (!$dara.isNull(request.namespace)) {
20306
+ query["Namespace"] = request.namespace;
20307
+ }
20308
+ if (!$dara.isNull(request.repositoryName)) {
20309
+ query["RepositoryName"] = request.repositoryName;
20310
+ }
20311
+ let body = {};
20312
+ if (!$dara.isNull(request.accessibility)) {
20313
+ body["Accessibility"] = request.accessibility;
20314
+ }
20315
+ if (!$dara.isNull(request.buildConfigShrink)) {
20316
+ body["BuildConfig"] = request.buildConfigShrink;
20317
+ }
20318
+ if (!$dara.isNull(request.description)) {
20319
+ body["Description"] = request.description;
20320
+ }
20321
+ if (!$dara.isNull(request.id)) {
20322
+ body["Id"] = request.id;
20323
+ }
20324
+ if (!$dara.isNull(request.name)) {
20325
+ body["Name"] = request.name;
20326
+ }
20327
+ if (!$dara.isNull(request.providerImageId)) {
20328
+ body["ProviderImageId"] = request.providerImageId;
20329
+ }
20330
+ if (!$dara.isNull(request.supportedShrink)) {
20331
+ body["Supported"] = request.supportedShrink;
20332
+ }
20333
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
20334
+ query: openapi_core_2.OpenApiUtil.query(query),
20335
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
20336
+ });
20337
+ let params = new openapi_core_2.$OpenApiUtil.Params({
20338
+ action: "UpdateImage",
20339
+ version: "2024-05-18",
20340
+ protocol: "HTTPS",
20341
+ pathname: "/",
20342
+ method: "POST",
20343
+ authType: "AK",
20344
+ style: "RPC",
20345
+ reqBodyType: "formData",
20346
+ bodyType: "json",
20347
+ });
20348
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageResponse({}));
20349
+ }
20350
+ /**
20351
+ * Updates an image.
20352
+ *
20353
+ * @remarks
20354
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
20355
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
20356
+ *
20357
+ * @param request - UpdateImageRequest
20358
+ * @returns UpdateImageResponse
20359
+ */
20360
+ async updateImage(request) {
20361
+ let runtime = new $dara.RuntimeOptions({});
20362
+ return await this.updateImageWithOptions(request, runtime);
20363
+ }
19263
20364
  /**
19264
20365
  * Updates an MCP Server.
19265
20366
  *
@@ -20133,6 +21234,88 @@ class Client extends openapi_core_1.default {
20133
21234
  let runtime = new $dara.RuntimeOptions({});
20134
21235
  return await this.updateSecurityStrategyWithOptions(request, runtime);
20135
21236
  }
21237
+ /**
21238
+ * Updates the configuration of a specified personal development environment instance.
21239
+ *
21240
+ * @remarks
21241
+ * Updates the configuration of a specified personal development environment (ServerIDE) instance. You can modify the CU, image, instance name, VPC, dataset, and credential configurations. If the CU and image parameters are not specified, the existing instance configurations are retained.
21242
+ *
21243
+ * @param tmpReq - UpdateServerIdeInstanceRequest
21244
+ * @param runtime - runtime options for this request RuntimeOptions
21245
+ * @returns UpdateServerIdeInstanceResponse
21246
+ */
21247
+ async updateServerIdeInstanceWithOptions(tmpReq, runtime) {
21248
+ tmpReq.validate();
21249
+ let request = new $_model.UpdateServerIdeInstanceShrinkRequest({});
21250
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
21251
+ if (!$dara.isNull(tmpReq.credentialConfig)) {
21252
+ request.credentialConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.credentialConfig, "CredentialConfig", "json");
21253
+ }
21254
+ if (!$dara.isNull(tmpReq.datasets)) {
21255
+ request.datasetsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.datasets, "Datasets", "json");
21256
+ }
21257
+ if (!$dara.isNull(tmpReq.userVpc)) {
21258
+ request.userVpcShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userVpc, "UserVpc", "json");
21259
+ }
21260
+ let query = {};
21261
+ if (!$dara.isNull(request.instanceId)) {
21262
+ query["InstanceId"] = request.instanceId;
21263
+ }
21264
+ let body = {};
21265
+ if (!$dara.isNull(request.credentialConfigShrink)) {
21266
+ body["CredentialConfig"] = request.credentialConfigShrink;
21267
+ }
21268
+ if (!$dara.isNull(request.cu)) {
21269
+ body["Cu"] = request.cu;
21270
+ }
21271
+ if (!$dara.isNull(request.datasetsShrink)) {
21272
+ body["Datasets"] = request.datasetsShrink;
21273
+ }
21274
+ if (!$dara.isNull(request.imageId)) {
21275
+ body["ImageId"] = request.imageId;
21276
+ }
21277
+ if (!$dara.isNull(request.imageUrl)) {
21278
+ body["ImageUrl"] = request.imageUrl;
21279
+ }
21280
+ if (!$dara.isNull(request.instanceName)) {
21281
+ body["InstanceName"] = request.instanceName;
21282
+ }
21283
+ if (!$dara.isNull(request.projectId)) {
21284
+ body["ProjectId"] = request.projectId;
21285
+ }
21286
+ if (!$dara.isNull(request.userVpcShrink)) {
21287
+ body["UserVpc"] = request.userVpcShrink;
21288
+ }
21289
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
21290
+ query: openapi_core_2.OpenApiUtil.query(query),
21291
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
21292
+ });
21293
+ let params = new openapi_core_2.$OpenApiUtil.Params({
21294
+ action: "UpdateServerIdeInstance",
21295
+ version: "2024-05-18",
21296
+ protocol: "HTTPS",
21297
+ pathname: "/",
21298
+ method: "POST",
21299
+ authType: "AK",
21300
+ style: "RPC",
21301
+ reqBodyType: "formData",
21302
+ bodyType: "json",
21303
+ });
21304
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServerIdeInstanceResponse({}));
21305
+ }
21306
+ /**
21307
+ * Updates the configuration of a specified personal development environment instance.
21308
+ *
21309
+ * @remarks
21310
+ * Updates the configuration of a specified personal development environment (ServerIDE) instance. You can modify the CU, image, instance name, VPC, dataset, and credential configurations. If the CU and image parameters are not specified, the existing instance configurations are retained.
21311
+ *
21312
+ * @param request - UpdateServerIdeInstanceRequest
21313
+ * @returns UpdateServerIdeInstanceResponse
21314
+ */
21315
+ async updateServerIdeInstance(request) {
21316
+ let runtime = new $dara.RuntimeOptions({});
21317
+ return await this.updateServerIdeInstanceWithOptions(request, runtime);
21318
+ }
20136
21319
  /**
20137
21320
  * Updates a specified Skill and generates a new version.
20138
21321
  *