aidp-typescript-client 4.1.0 → 4.2.1

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 (422) hide show
  1. package/dist/lib/client.d.ts +234 -383
  2. package/dist/lib/client.js +1167 -614
  3. package/dist/lib/client.js.map +1 -1
  4. package/dist/lib/model/agent-permission-summary.d.ts +1 -0
  5. package/dist/lib/model/agent-permission-summary.js +1 -0
  6. package/dist/lib/model/agent-permission-summary.js.map +1 -1
  7. package/dist/lib/model/all-privilege-type.d.ts +1 -0
  8. package/dist/lib/model/all-privilege-type.js +1 -0
  9. package/dist/lib/model/all-privilege-type.js.map +1 -1
  10. package/dist/lib/model/assign-agent-permission-details.d.ts +2 -1
  11. package/dist/lib/model/assign-agent-permission-details.js +1 -0
  12. package/dist/lib/model/assign-agent-permission-details.js.map +1 -1
  13. package/dist/lib/model/assign-schema-permission-details.d.ts +2 -1
  14. package/dist/lib/model/assign-schema-permission-details.js +1 -0
  15. package/dist/lib/model/assign-schema-permission-details.js.map +1 -1
  16. package/dist/lib/model/async-operation-action-type.d.ts +2 -0
  17. package/dist/lib/model/async-operation-action-type.js +2 -0
  18. package/dist/lib/model/async-operation-action-type.js.map +1 -1
  19. package/dist/lib/model/async-operation-summary.d.ts +4 -0
  20. package/dist/lib/model/async-operation-summary.js.map +1 -1
  21. package/dist/lib/model/async-operation.d.ts +4 -0
  22. package/dist/lib/model/async-operation.js.map +1 -1
  23. package/dist/lib/model/bundle-deployment-status.d.ts +1 -0
  24. package/dist/lib/model/bundle-deployment-status.js +4 -0
  25. package/dist/lib/model/bundle-deployment-status.js.map +1 -1
  26. package/dist/lib/model/bundle-publish-location.d.ts +17 -0
  27. package/dist/lib/model/bundle-publish-location.js +19 -0
  28. package/dist/lib/model/bundle-publish-location.js.map +1 -0
  29. package/dist/lib/model/bundle-publish-status.d.ts +43 -0
  30. package/dist/lib/model/bundle-publish-status.js +77 -0
  31. package/dist/lib/model/bundle-publish-status.js.map +1 -0
  32. package/dist/lib/model/bundle-published-resource.d.ts +30 -0
  33. package/dist/lib/model/bundle-published-resource.js +29 -0
  34. package/dist/lib/model/bundle-published-resource.js.map +1 -0
  35. package/dist/lib/model/cluster-library-details.d.ts +3 -1
  36. package/dist/lib/model/cluster-library-details.js +2 -0
  37. package/dist/lib/model/cluster-library-details.js.map +1 -1
  38. package/dist/lib/model/cluster-library-summary.d.ts +8 -0
  39. package/dist/lib/model/cluster-library-summary.js +8 -0
  40. package/dist/lib/model/cluster-library-summary.js.map +1 -1
  41. package/dist/lib/model/compute-configuration-libraries.d.ts +17 -0
  42. package/dist/lib/model/compute-configuration-libraries.js +19 -0
  43. package/dist/lib/model/compute-configuration-libraries.js.map +1 -0
  44. package/dist/lib/model/compute-configuration-library-entry.d.ts +21 -0
  45. package/dist/lib/model/compute-configuration-library-entry.js +19 -0
  46. package/dist/lib/model/compute-configuration-library-entry.js.map +1 -0
  47. package/dist/lib/model/compute-configuration.d.ts +21 -0
  48. package/dist/lib/model/compute-configuration.js +59 -0
  49. package/dist/lib/model/compute-configuration.js.map +1 -0
  50. package/dist/lib/model/create-spark-cluster-details.d.ts +4 -0
  51. package/dist/lib/model/create-spark-cluster-details.js.map +1 -1
  52. package/dist/lib/model/db2-external-catalog-connection-property-key.d.ts +15 -0
  53. package/dist/lib/model/db2-external-catalog-connection-property-key.js +27 -0
  54. package/dist/lib/model/db2-external-catalog-connection-property-key.js.map +1 -0
  55. package/dist/lib/model/db2-schema-summary.d.ts +12 -0
  56. package/dist/lib/model/{google-bigquery-schema-summary.js → db2-schema-summary.js} +8 -8
  57. package/dist/lib/model/db2-schema-summary.js.map +1 -0
  58. package/dist/lib/model/db2-schema.d.ts +12 -0
  59. package/dist/lib/model/{google-bigquery-schema.js → db2-schema.js} +8 -8
  60. package/dist/lib/model/db2-schema.js.map +1 -0
  61. package/dist/lib/model/db2-table-summary.d.ts +12 -0
  62. package/dist/lib/model/{google-bigquery-table-summary.js → db2-table-summary.js} +8 -8
  63. package/dist/lib/model/db2-table-summary.js.map +1 -0
  64. package/dist/lib/model/db2-table.d.ts +12 -0
  65. package/dist/lib/model/{google-bigquery-table.js → db2-table.js} +8 -8
  66. package/dist/lib/model/db2-table.js.map +1 -0
  67. package/dist/lib/model/export-compute-configuration-details.d.ts +28 -0
  68. package/dist/lib/model/export-compute-configuration-details.js +61 -0
  69. package/dist/lib/model/export-compute-configuration-details.js.map +1 -0
  70. package/dist/lib/model/external-catalog-source-type.d.ts +1 -1
  71. package/dist/lib/model/external-catalog-source-type.js +1 -1
  72. package/dist/lib/model/external-catalog-source-type.js.map +1 -1
  73. package/dist/lib/model/fetch-bundle-publish-status-details.d.ts +13 -0
  74. package/dist/lib/model/fetch-bundle-publish-status-details.js +19 -0
  75. package/dist/lib/model/fetch-bundle-publish-status-details.js.map +1 -0
  76. package/dist/lib/model/file-read-configuration.d.ts +3 -3
  77. package/dist/lib/model/file-write-configuration.d.ts +1 -1
  78. package/dist/lib/model/identity-user-metadatum.d.ts +25 -0
  79. package/dist/lib/model/identity-user-metadatum.js +19 -0
  80. package/dist/lib/model/identity-user-metadatum.js.map +1 -0
  81. package/dist/lib/model/import-compute-configuration-details.d.ts +13 -0
  82. package/dist/lib/model/import-compute-configuration-details.js +19 -0
  83. package/dist/lib/model/import-compute-configuration-details.js.map +1 -0
  84. package/dist/lib/model/index.d.ts +56 -10
  85. package/dist/lib/model/index.js +76 -29
  86. package/dist/lib/model/index.js.map +1 -1
  87. package/dist/lib/model/install-cluster-library-details.d.ts +20 -0
  88. package/dist/lib/model/install-cluster-library-details.js.map +1 -1
  89. package/dist/lib/model/maven-cluster-library-summary.d.ts +24 -0
  90. package/dist/lib/model/maven-cluster-library-summary.js +53 -0
  91. package/dist/lib/model/maven-cluster-library-summary.js.map +1 -0
  92. package/dist/lib/model/maven-search-summary-collection.d.ts +14 -0
  93. package/dist/lib/model/maven-search-summary-collection.js +61 -0
  94. package/dist/lib/model/maven-search-summary-collection.js.map +1 -0
  95. package/dist/lib/model/maven-search-summary.d.ts +47 -0
  96. package/dist/lib/model/maven-search-summary.js +19 -0
  97. package/dist/lib/model/maven-search-summary.js.map +1 -0
  98. package/dist/lib/model/oac-object-column-sql-info.d.ts +21 -0
  99. package/dist/lib/model/oac-object-column-sql-info.js +19 -0
  100. package/dist/lib/model/oac-object-column-sql-info.js.map +1 -0
  101. package/dist/lib/model/oac-object-column.d.ts +20 -2
  102. package/dist/lib/model/oac-object-column.js +48 -2
  103. package/dist/lib/model/oac-object-column.js.map +1 -1
  104. package/dist/lib/model/oac-object-hierarchy-level.d.ts +21 -0
  105. package/dist/lib/model/oac-object-hierarchy-level.js +19 -0
  106. package/dist/lib/model/oac-object-hierarchy-level.js.map +1 -0
  107. package/dist/lib/model/oac-object-table-summary.d.ts +9 -0
  108. package/dist/lib/model/oac-object-table-summary.js +50 -2
  109. package/dist/lib/model/oac-object-table-summary.js.map +1 -1
  110. package/dist/lib/model/oac-object-table.d.ts +8 -0
  111. package/dist/lib/model/oac-object-table.js +12 -0
  112. package/dist/lib/model/oac-object-table.js.map +1 -1
  113. package/dist/lib/model/publish-bundle-details.d.ts +13 -0
  114. package/dist/lib/model/publish-bundle-details.js +19 -0
  115. package/dist/lib/model/publish-bundle-details.js.map +1 -0
  116. package/dist/lib/model/pypi-cluster-library-summary.d.ts +20 -0
  117. package/dist/lib/model/pypi-cluster-library-summary.js +53 -0
  118. package/dist/lib/model/pypi-cluster-library-summary.js.map +1 -0
  119. package/dist/lib/model/revoke-agent-permission-details.d.ts +2 -1
  120. package/dist/lib/model/revoke-agent-permission-details.js +1 -0
  121. package/dist/lib/model/revoke-agent-permission-details.js.map +1 -1
  122. package/dist/lib/model/revoke-schema-permission-details.d.ts +2 -1
  123. package/dist/lib/model/revoke-schema-permission-details.js +1 -0
  124. package/dist/lib/model/revoke-schema-permission-details.js.map +1 -1
  125. package/dist/lib/model/schema-catalog-type.d.ts +1 -1
  126. package/dist/lib/model/schema-catalog-type.js +1 -1
  127. package/dist/lib/model/schema-catalog-type.js.map +1 -1
  128. package/dist/lib/model/schema-permission-summary.d.ts +1 -0
  129. package/dist/lib/model/schema-permission-summary.js +1 -0
  130. package/dist/lib/model/schema-permission-summary.js.map +1 -1
  131. package/dist/lib/model/schema-privilege-for-manage.d.ts +2 -1
  132. package/dist/lib/model/schema-privilege-for-manage.js +1 -0
  133. package/dist/lib/model/schema-privilege-for-manage.js.map +1 -1
  134. package/dist/lib/model/schema-privilege.d.ts +1 -0
  135. package/dist/lib/model/schema-privilege.js +1 -0
  136. package/dist/lib/model/schema-privilege.js.map +1 -1
  137. package/dist/lib/model/schema-summary.js +4 -4
  138. package/dist/lib/model/schema-summary.js.map +1 -1
  139. package/dist/lib/model/schema.js +4 -4
  140. package/dist/lib/model/schema.js.map +1 -1
  141. package/dist/lib/model/table-catalog-type.d.ts +1 -1
  142. package/dist/lib/model/table-catalog-type.js +1 -1
  143. package/dist/lib/model/table-catalog-type.js.map +1 -1
  144. package/dist/lib/model/table-summary.js +4 -4
  145. package/dist/lib/model/table-summary.js.map +1 -1
  146. package/dist/lib/model/table.js +4 -4
  147. package/dist/lib/model/table.js.map +1 -1
  148. package/dist/lib/model/task-run-retry-collection.d.ts +14 -0
  149. package/dist/lib/model/task-run-retry-collection.js +61 -0
  150. package/dist/lib/model/task-run-retry-collection.js.map +1 -0
  151. package/dist/lib/model/task-run-retry-summary.d.ts +59 -0
  152. package/dist/lib/model/task-run-retry-summary.js +59 -0
  153. package/dist/lib/model/task-run-retry-summary.js.map +1 -0
  154. package/dist/lib/model/task-run-retry.d.ts +17 -1
  155. package/dist/lib/model/task-run-retry.js.map +1 -1
  156. package/dist/lib/model/uninstall-cluster-library-details.d.ts +21 -1
  157. package/dist/lib/model/uninstall-cluster-library-details.js.map +1 -1
  158. package/dist/lib/model/upload-and-extract-zip-details.d.ts +41 -0
  159. package/dist/lib/model/upload-and-extract-zip-details.js +24 -0
  160. package/dist/lib/model/upload-and-extract-zip-details.js.map +1 -0
  161. package/dist/lib/model/upload-and-extract-zip-result.d.ts +21 -0
  162. package/dist/lib/model/upload-and-extract-zip-result.js +19 -0
  163. package/dist/lib/model/upload-and-extract-zip-result.js.map +1 -0
  164. package/dist/lib/model/workspace-network-configuration-details.d.ts +6 -0
  165. package/dist/lib/model/workspace-network-configuration-details.js.map +1 -1
  166. package/dist/lib/model/zip-and-download-folder-details.d.ts +13 -0
  167. package/dist/lib/model/zip-and-download-folder-details.js +19 -0
  168. package/dist/lib/model/zip-and-download-folder-details.js.map +1 -0
  169. package/dist/lib/model/zip-and-download-folder-result.d.ts +21 -0
  170. package/dist/lib/model/zip-and-download-folder-result.js +19 -0
  171. package/dist/lib/model/zip-and-download-folder-result.js.map +1 -0
  172. package/dist/lib/request/clone-compute-request.d.ts +35 -0
  173. package/dist/lib/request/clone-compute-request.js +4 -0
  174. package/dist/lib/request/clone-compute-request.js.map +1 -0
  175. package/dist/lib/request/copy-agent-request.d.ts +2 -2
  176. package/dist/lib/request/create-agent-request.d.ts +1 -1
  177. package/dist/lib/request/delete-agent-deployment-request.d.ts +2 -2
  178. package/dist/lib/request/delete-agent-request.d.ts +1 -1
  179. package/dist/lib/request/delete-agent-session-request.d.ts +2 -2
  180. package/dist/lib/request/deploy-agent-request.d.ts +2 -2
  181. package/dist/lib/request/export-compute-configuration-request.d.ts +40 -0
  182. package/dist/lib/request/export-compute-configuration-request.js +4 -0
  183. package/dist/lib/request/export-compute-configuration-request.js.map +1 -0
  184. package/dist/lib/request/fetch-bundle-publish-status-action-request.d.ts +27 -0
  185. package/dist/lib/request/fetch-bundle-publish-status-action-request.js +4 -0
  186. package/dist/lib/request/fetch-bundle-publish-status-action-request.js.map +1 -0
  187. package/dist/lib/request/get-agent-deployment-request.d.ts +2 -2
  188. package/dist/lib/request/get-agent-request.d.ts +1 -1
  189. package/dist/lib/request/get-agent-session-request.d.ts +2 -2
  190. package/dist/lib/request/get-agent-session-trace-request.d.ts +2 -2
  191. package/dist/lib/request/get-catalog-request.d.ts +4 -0
  192. package/dist/lib/request/get-compute-configuration-request.d.ts +26 -0
  193. package/dist/lib/request/get-compute-configuration-request.js +4 -0
  194. package/dist/lib/request/get-compute-configuration-request.js.map +1 -0
  195. package/dist/lib/request/get-schema-request.d.ts +4 -0
  196. package/dist/lib/request/get-table-request.d.ts +4 -0
  197. package/dist/lib/request/get-task-run-request.d.ts +4 -0
  198. package/dist/lib/request/import-compute-configuration-request.d.ts +40 -0
  199. package/dist/lib/request/import-compute-configuration-request.js +4 -0
  200. package/dist/lib/request/import-compute-configuration-request.js.map +1 -0
  201. package/dist/lib/request/index.d.ts +28 -4
  202. package/dist/lib/request/index.js +3 -1
  203. package/dist/lib/request/index.js.map +1 -1
  204. package/dist/lib/request/list-agent-deployments-request.d.ts +1 -1
  205. package/dist/lib/request/list-agent-permissions-request.d.ts +1 -1
  206. package/dist/lib/request/list-agent-session-chat-histories-request.d.ts +2 -2
  207. package/dist/lib/request/list-agent-sessions-request.d.ts +1 -1
  208. package/dist/lib/request/list-catalogs-request.d.ts +4 -0
  209. package/dist/lib/request/list-catalogs-request.js.map +1 -1
  210. package/dist/lib/request/list-jobs-request.d.ts +1 -4
  211. package/dist/lib/request/list-jobs-request.js.map +1 -1
  212. package/dist/lib/request/list-schemas-request.d.ts +4 -0
  213. package/dist/lib/request/list-schemas-request.js.map +1 -1
  214. package/dist/lib/request/list-tables-request.d.ts +4 -0
  215. package/dist/lib/request/list-tables-request.js.map +1 -1
  216. package/dist/lib/request/list-task-run-retries-request.d.ts +77 -0
  217. package/dist/lib/request/list-task-run-retries-request.js +28 -0
  218. package/dist/lib/request/list-task-run-retries-request.js.map +1 -0
  219. package/dist/lib/request/list-task-runs-request.d.ts +1 -4
  220. package/dist/lib/request/list-task-runs-request.js.map +1 -1
  221. package/dist/lib/request/manage-agent-permission-request.d.ts +1 -1
  222. package/dist/lib/request/preview-agent-agent-card-request.d.ts +1 -1
  223. package/dist/lib/request/publish-bundle-action-request.d.ts +36 -0
  224. package/dist/lib/request/publish-bundle-action-request.js +4 -0
  225. package/dist/lib/request/publish-bundle-action-request.js.map +1 -0
  226. package/dist/lib/request/redeploy-agent-by-key-request.d.ts +2 -2
  227. package/dist/lib/request/search-maven-packages-request.d.ts +44 -0
  228. package/dist/lib/request/search-maven-packages-request.js +4 -0
  229. package/dist/lib/request/search-maven-packages-request.js.map +1 -0
  230. package/dist/lib/request/update-agent-deployment-metadata-request.d.ts +2 -2
  231. package/dist/lib/request/update-agent-request.d.ts +1 -1
  232. package/dist/lib/request/upload-and-extract-volume-zip-request.d.ts +36 -0
  233. package/dist/lib/request/upload-and-extract-volume-zip-request.js +4 -0
  234. package/dist/lib/request/upload-and-extract-volume-zip-request.js.map +1 -0
  235. package/dist/lib/request/upload-and-extract-workspace-zip-request.d.ts +36 -0
  236. package/dist/lib/request/upload-and-extract-workspace-zip-request.js +4 -0
  237. package/dist/lib/request/upload-and-extract-workspace-zip-request.js.map +1 -0
  238. package/dist/lib/request/validate-agent-request.d.ts +1 -1
  239. package/dist/lib/request/zip-and-download-volume-folder-request.d.ts +36 -0
  240. package/dist/lib/request/zip-and-download-volume-folder-request.js +4 -0
  241. package/dist/lib/request/zip-and-download-volume-folder-request.js.map +1 -0
  242. package/dist/lib/request/zip-and-download-workspace-folder-request.d.ts +36 -0
  243. package/dist/lib/request/zip-and-download-workspace-folder-request.js +4 -0
  244. package/dist/lib/request/zip-and-download-workspace-folder-request.js.map +1 -0
  245. package/dist/lib/response/clone-compute-response.d.ts +14 -0
  246. package/dist/lib/response/clone-compute-response.js +4 -0
  247. package/dist/lib/response/clone-compute-response.js.map +1 -0
  248. package/dist/lib/response/copy-agent-response.d.ts +1 -1
  249. package/dist/lib/response/create-agent-response.d.ts +1 -1
  250. package/dist/lib/response/export-compute-configuration-response.d.ts +33 -0
  251. package/dist/lib/response/export-compute-configuration-response.js +4 -0
  252. package/dist/lib/response/export-compute-configuration-response.js.map +1 -0
  253. package/dist/lib/response/fetch-bundle-publish-status-action-response.d.ts +13 -0
  254. package/dist/lib/response/fetch-bundle-publish-status-action-response.js +4 -0
  255. package/dist/lib/response/fetch-bundle-publish-status-action-response.js.map +1 -0
  256. package/dist/lib/response/get-compute-configuration-response.d.ts +13 -0
  257. package/dist/lib/response/get-compute-configuration-response.js +4 -0
  258. package/dist/lib/response/get-compute-configuration-response.js.map +1 -0
  259. package/dist/lib/response/import-compute-configuration-response.d.ts +14 -0
  260. package/dist/lib/response/import-compute-configuration-response.js +4 -0
  261. package/dist/lib/response/import-compute-configuration-response.js.map +1 -0
  262. package/dist/lib/response/index.d.ts +28 -4
  263. package/dist/lib/response/list-task-run-retries-response.d.ts +25 -0
  264. package/dist/lib/response/list-task-run-retries-response.js +4 -0
  265. package/dist/lib/response/list-task-run-retries-response.js.map +1 -0
  266. package/dist/lib/response/publish-bundle-action-response.d.ts +14 -0
  267. package/dist/lib/response/publish-bundle-action-response.js +4 -0
  268. package/dist/lib/response/publish-bundle-action-response.js.map +1 -0
  269. package/dist/lib/response/redeploy-agent-by-key-response.d.ts +1 -1
  270. package/dist/lib/response/search-maven-packages-response.d.ts +25 -0
  271. package/dist/lib/response/search-maven-packages-response.js +4 -0
  272. package/dist/lib/response/search-maven-packages-response.js.map +1 -0
  273. package/dist/lib/response/upload-and-extract-volume-zip-response.d.ts +19 -0
  274. package/dist/lib/response/upload-and-extract-volume-zip-response.js +4 -0
  275. package/dist/lib/response/upload-and-extract-volume-zip-response.js.map +1 -0
  276. package/dist/lib/response/upload-and-extract-workspace-zip-response.d.ts +19 -0
  277. package/dist/lib/response/upload-and-extract-workspace-zip-response.js +4 -0
  278. package/dist/lib/response/upload-and-extract-workspace-zip-response.js.map +1 -0
  279. package/dist/lib/response/zip-and-download-volume-folder-response.d.ts +19 -0
  280. package/dist/lib/response/zip-and-download-volume-folder-response.js +4 -0
  281. package/dist/lib/response/zip-and-download-volume-folder-response.js.map +1 -0
  282. package/dist/lib/response/zip-and-download-workspace-folder-response.d.ts +19 -0
  283. package/dist/lib/response/zip-and-download-workspace-folder-response.js +4 -0
  284. package/dist/lib/response/zip-and-download-workspace-folder-response.js.map +1 -0
  285. package/lib/client.ts +1738 -1089
  286. package/lib/model/agent-permission-summary.ts +1 -0
  287. package/lib/model/all-privilege-type.ts +1 -0
  288. package/lib/model/assign-agent-permission-details.ts +2 -1
  289. package/lib/model/assign-schema-permission-details.ts +2 -1
  290. package/lib/model/async-operation-action-type.ts +2 -0
  291. package/lib/model/async-operation-summary.ts +7 -0
  292. package/lib/model/async-operation.ts +7 -0
  293. package/lib/model/bundle-deployment-status.ts +10 -0
  294. package/lib/model/bundle-publish-location.ts +49 -0
  295. package/lib/model/bundle-publish-status.ts +102 -0
  296. package/lib/model/bundle-published-resource.ts +67 -0
  297. package/lib/model/cluster-library-details.ts +3 -1
  298. package/lib/model/cluster-library-summary.ts +22 -0
  299. package/lib/model/compute-configuration-libraries.ts +49 -0
  300. package/lib/model/compute-configuration-library-entry.ts +56 -0
  301. package/lib/model/compute-configuration.ts +59 -0
  302. package/lib/model/create-spark-cluster-details.ts +7 -0
  303. package/lib/model/db2-external-catalog-connection-property-key.ts +27 -0
  304. package/lib/model/db2-schema-summary.ts +36 -0
  305. package/lib/model/db2-schema.ts +36 -0
  306. package/lib/model/db2-table-summary.ts +36 -0
  307. package/lib/model/db2-table.ts +36 -0
  308. package/lib/model/export-compute-configuration-details.ts +71 -0
  309. package/lib/model/external-catalog-source-type.ts +1 -1
  310. package/lib/model/fetch-bundle-publish-status-details.ts +42 -0
  311. package/lib/model/file-read-configuration.ts +3 -3
  312. package/lib/model/file-write-configuration.ts +1 -1
  313. package/lib/model/identity-user-metadatum.ts +63 -0
  314. package/lib/model/import-compute-configuration-details.ts +42 -0
  315. package/lib/model/index.ts +56 -10
  316. package/lib/model/install-cluster-library-details.ts +35 -0
  317. package/lib/model/maven-cluster-library-summary.ts +57 -0
  318. package/lib/model/maven-search-summary-collection.ts +50 -0
  319. package/lib/model/maven-search-summary.ts +84 -0
  320. package/lib/model/oac-object-column-sql-info.ts +56 -0
  321. package/lib/model/oac-object-column.ts +48 -2
  322. package/lib/model/oac-object-hierarchy-level.ts +56 -0
  323. package/lib/model/oac-object-table-summary.ts +30 -0
  324. package/lib/model/oac-object-table.ts +30 -0
  325. package/lib/model/publish-bundle-details.ts +42 -0
  326. package/lib/model/pypi-cluster-library-summary.ts +50 -0
  327. package/lib/model/revoke-agent-permission-details.ts +2 -1
  328. package/lib/model/revoke-schema-permission-details.ts +2 -1
  329. package/lib/model/schema-catalog-type.ts +1 -1
  330. package/lib/model/schema-permission-summary.ts +1 -0
  331. package/lib/model/schema-privilege-for-manage.ts +2 -1
  332. package/lib/model/schema-privilege.ts +1 -0
  333. package/lib/model/schema-summary.ts +4 -4
  334. package/lib/model/schema.ts +4 -4
  335. package/lib/model/table-catalog-type.ts +1 -1
  336. package/lib/model/table-summary.ts +4 -4
  337. package/lib/model/table.ts +4 -4
  338. package/lib/model/task-run-retry-collection.ts +50 -0
  339. package/lib/model/task-run-retry-summary.ts +129 -0
  340. package/lib/model/task-run-retry.ts +29 -1
  341. package/lib/model/uninstall-cluster-library-details.ts +36 -1
  342. package/lib/model/upload-and-extract-zip-details.ts +91 -0
  343. package/lib/model/upload-and-extract-zip-result.ts +56 -0
  344. package/lib/model/workspace-network-configuration-details.ts +9 -0
  345. package/lib/model/zip-and-download-folder-details.ts +42 -0
  346. package/lib/model/zip-and-download-folder-result.ts +56 -0
  347. package/lib/request/clone-compute-request.ts +40 -0
  348. package/lib/request/copy-agent-request.ts +2 -2
  349. package/lib/request/create-agent-request.ts +1 -1
  350. package/lib/request/delete-agent-deployment-request.ts +2 -2
  351. package/lib/request/delete-agent-request.ts +1 -1
  352. package/lib/request/delete-agent-session-request.ts +2 -2
  353. package/lib/request/deploy-agent-request.ts +2 -2
  354. package/lib/request/export-compute-configuration-request.ts +44 -0
  355. package/lib/request/fetch-bundle-publish-status-action-request.ts +31 -0
  356. package/lib/request/get-agent-deployment-request.ts +2 -2
  357. package/lib/request/get-agent-request.ts +1 -1
  358. package/lib/request/get-agent-session-request.ts +2 -2
  359. package/lib/request/get-agent-session-trace-request.ts +2 -2
  360. package/lib/request/get-catalog-request.ts +4 -0
  361. package/lib/request/get-compute-configuration-request.ts +31 -0
  362. package/lib/request/get-schema-request.ts +4 -0
  363. package/lib/request/get-table-request.ts +4 -0
  364. package/lib/request/get-task-run-request.ts +4 -0
  365. package/lib/request/import-compute-configuration-request.ts +44 -0
  366. package/lib/request/index.ts +28 -4
  367. package/lib/request/list-agent-deployments-request.ts +1 -1
  368. package/lib/request/list-agent-permissions-request.ts +1 -1
  369. package/lib/request/list-agent-session-chat-histories-request.ts +2 -2
  370. package/lib/request/list-agent-sessions-request.ts +1 -1
  371. package/lib/request/list-catalogs-request.ts +4 -0
  372. package/lib/request/list-jobs-request.ts +1 -4
  373. package/lib/request/list-schemas-request.ts +4 -0
  374. package/lib/request/list-tables-request.ts +4 -0
  375. package/lib/request/list-task-run-retries-request.ts +84 -0
  376. package/lib/request/list-task-runs-request.ts +1 -4
  377. package/lib/request/manage-agent-permission-request.ts +1 -1
  378. package/lib/request/preview-agent-agent-card-request.ts +1 -1
  379. package/lib/request/publish-bundle-action-request.ts +40 -0
  380. package/lib/request/redeploy-agent-by-key-request.ts +2 -2
  381. package/lib/request/search-maven-packages-request.ts +49 -0
  382. package/lib/request/update-agent-deployment-metadata-request.ts +2 -2
  383. package/lib/request/update-agent-request.ts +1 -1
  384. package/lib/request/upload-and-extract-volume-zip-request.ts +40 -0
  385. package/lib/request/upload-and-extract-workspace-zip-request.ts +40 -0
  386. package/lib/request/validate-agent-request.ts +1 -1
  387. package/lib/request/zip-and-download-volume-folder-request.ts +40 -0
  388. package/lib/request/zip-and-download-workspace-folder-request.ts +40 -0
  389. package/lib/response/clone-compute-response.ts +21 -0
  390. package/lib/response/copy-agent-response.ts +1 -1
  391. package/lib/response/create-agent-response.ts +1 -1
  392. package/lib/response/export-compute-configuration-response.ts +39 -0
  393. package/lib/response/fetch-bundle-publish-status-action-response.ts +18 -0
  394. package/lib/response/get-compute-configuration-response.ts +18 -0
  395. package/lib/response/import-compute-configuration-response.ts +21 -0
  396. package/lib/response/index.ts +28 -4
  397. package/lib/response/list-task-run-retries-response.ts +30 -0
  398. package/lib/response/publish-bundle-action-response.ts +21 -0
  399. package/lib/response/redeploy-agent-by-key-response.ts +1 -1
  400. package/lib/response/search-maven-packages-response.ts +30 -0
  401. package/lib/response/upload-and-extract-volume-zip-response.ts +24 -0
  402. package/lib/response/upload-and-extract-workspace-zip-response.ts +24 -0
  403. package/lib/response/zip-and-download-volume-folder-response.ts +24 -0
  404. package/lib/response/zip-and-download-workspace-folder-response.ts +24 -0
  405. package/npm-shrinkwrap.json +2 -2
  406. package/package.json +1 -1
  407. package/dist/lib/model/google-bigquery-external-catalog-connection-property-key.d.ts +0 -15
  408. package/dist/lib/model/google-bigquery-external-catalog-connection-property-key.js +0 -27
  409. package/dist/lib/model/google-bigquery-external-catalog-connection-property-key.js.map +0 -1
  410. package/dist/lib/model/google-bigquery-schema-summary.d.ts +0 -12
  411. package/dist/lib/model/google-bigquery-schema-summary.js.map +0 -1
  412. package/dist/lib/model/google-bigquery-schema.d.ts +0 -12
  413. package/dist/lib/model/google-bigquery-schema.js.map +0 -1
  414. package/dist/lib/model/google-bigquery-table-summary.d.ts +0 -12
  415. package/dist/lib/model/google-bigquery-table-summary.js.map +0 -1
  416. package/dist/lib/model/google-bigquery-table.d.ts +0 -12
  417. package/dist/lib/model/google-bigquery-table.js.map +0 -1
  418. package/lib/model/google-bigquery-external-catalog-connection-property-key.ts +0 -27
  419. package/lib/model/google-bigquery-schema-summary.ts +0 -36
  420. package/lib/model/google-bigquery-schema.ts +0 -36
  421. package/lib/model/google-bigquery-table-summary.ts +0 -36
  422. package/lib/model/google-bigquery-table.ts +0 -36
package/lib/client.ts CHANGED
@@ -181,7 +181,7 @@ export class AgentClient {
181
181
  }
182
182
 
183
183
  /**
184
- * Copy an Agent.
184
+ * Copies an agent.
185
185
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
186
186
  * @param CopyAgentRequest
187
187
  * @return CopyAgentResponse
@@ -266,7 +266,7 @@ export class AgentClient {
266
266
  }
267
267
 
268
268
  /**
269
- * Create an Agent.
269
+ * Creates an agent.
270
270
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
271
271
  * @param CreateAgentRequest
272
272
  * @return CreateAgentResponse
@@ -350,7 +350,7 @@ export class AgentClient {
350
350
  }
351
351
 
352
352
  /**
353
- * Delete an Agent from the schema
353
+ * Delete an agent from the schema.
354
354
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
355
355
  * @param DeleteAgentRequest
356
356
  * @return DeleteAgentResponse
@@ -413,7 +413,7 @@ export class AgentClient {
413
413
  }
414
414
 
415
415
  /**
416
- * Delete an Agent Deployment.
416
+ * Deletes an agent deployment.
417
417
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
418
418
  * @param DeleteAgentDeploymentRequest
419
419
  * @return DeleteAgentDeploymentResponse
@@ -477,7 +477,7 @@ export class AgentClient {
477
477
  }
478
478
 
479
479
  /**
480
- * Delete an Agent Session.
480
+ * Deletes an agent Session.
481
481
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
482
482
  * @param DeleteAgentSessionRequest
483
483
  * @return DeleteAgentSessionResponse
@@ -541,7 +541,7 @@ export class AgentClient {
541
541
  }
542
542
 
543
543
  /**
544
- * Deploys an Agent.
544
+ * Deploys a specified agent.
545
545
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
546
546
  * @param DeployAgentRequest
547
547
  * @return DeployAgentResponse
@@ -631,7 +631,7 @@ export class AgentClient {
631
631
  }
632
632
 
633
633
  /**
634
- * Returns detailed information about an Agent.
634
+ * Returns detailed information about an agent.
635
635
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
636
636
  * @param GetAgentRequest
637
637
  * @return GetAgentResponse
@@ -703,7 +703,7 @@ export class AgentClient {
703
703
  }
704
704
 
705
705
  /**
706
- * Returns detailed information about an Agent deployment.
706
+ * Returns detailed information about an agent deployment.
707
707
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
708
708
  * @param GetAgentDeploymentRequest
709
709
  * @return GetAgentDeploymentResponse
@@ -776,7 +776,7 @@ export class AgentClient {
776
776
  }
777
777
 
778
778
  /**
779
- * Returns detailed information about an Agent Session.
779
+ * Returns detailed information about an agent session.
780
780
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
781
781
  * @param GetAgentSessionRequest
782
782
  * @return GetAgentSessionResponse
@@ -923,7 +923,7 @@ export class AgentClient {
923
923
  }
924
924
 
925
925
  /**
926
- * Returns a list of deployments of an agent.
926
+ * Returns a list of all deployments of an agent.
927
927
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
928
928
  * @param ListAgentDeploymentsRequest
929
929
  * @return ListAgentDeploymentsResponse
@@ -1005,7 +1005,7 @@ export class AgentClient {
1005
1005
  }
1006
1006
 
1007
1007
  /**
1008
- * Returns a list of permissions for a given Agent.
1008
+ * Returns a list of permissions for a given agent.
1009
1009
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1010
1010
  * @param ListAgentPermissionsRequest
1011
1011
  * @return ListAgentPermissionsResponse
@@ -1081,7 +1081,7 @@ export class AgentClient {
1081
1081
  }
1082
1082
 
1083
1083
  /**
1084
- * Returns list of Agent Session chat messages.
1084
+ * Returns list of agent session chat messages.
1085
1085
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1086
1086
  * @param ListAgentSessionChatHistoriesRequest
1087
1087
  * @return ListAgentSessionChatHistoriesResponse
@@ -1156,7 +1156,7 @@ export class AgentClient {
1156
1156
  }
1157
1157
 
1158
1158
  /**
1159
- * Returns a list of testing sessions of an Agent.
1159
+ * Returns a list of testing sessions of an agent.
1160
1160
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1161
1161
  * @param ListAgentSessionsRequest
1162
1162
  * @return ListAgentSessionsResponse
@@ -1240,7 +1240,7 @@ export class AgentClient {
1240
1240
  }
1241
1241
 
1242
1242
  /**
1243
- * Returns a list of Agents in a schema.
1243
+ * Returns a list of agents in a schema.
1244
1244
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1245
1245
  * @param ListAgentsRequest
1246
1246
  * @return ListAgentsResponse
@@ -1318,7 +1318,7 @@ export class AgentClient {
1318
1318
  }
1319
1319
 
1320
1320
  /**
1321
- * Update the permissions for a given Agent.
1321
+ * Update the permissions for a given agent.
1322
1322
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1323
1323
  * @param ManageAgentPermissionRequest
1324
1324
  * @return ManageAgentPermissionResponse
@@ -1458,7 +1458,7 @@ export class AgentClient {
1458
1458
  }
1459
1459
 
1460
1460
  /**
1461
- * Redeploys an Agent.
1461
+ * Redeploys an agent.
1462
1462
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1463
1463
  * @param RedeployAgentByKeyRequest
1464
1464
  * @return RedeployAgentByKeyResponse
@@ -1548,7 +1548,7 @@ export class AgentClient {
1548
1548
  }
1549
1549
 
1550
1550
  /**
1551
- * Update an Agent with provided details.
1551
+ * Updates an agent with provided details.
1552
1552
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1553
1553
  * @param UpdateAgentRequest
1554
1554
  * @return UpdateAgentResponse
@@ -1623,7 +1623,7 @@ export class AgentClient {
1623
1623
  }
1624
1624
 
1625
1625
  /**
1626
- * Update the deployment metadata for an Agent.
1626
+ * Updates the deployment metadata for an agent.
1627
1627
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1628
1628
  * @param UpdateAgentDeploymentMetadataRequest
1629
1629
  * @return UpdateAgentDeploymentMetadataResponse
@@ -1698,7 +1698,7 @@ export class AgentClient {
1698
1698
  }
1699
1699
 
1700
1700
  /**
1701
- * Validate the agent json diagram generated by UI.
1701
+ * Validates the agent JSON diagram generated by UI.
1702
1702
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1703
1703
  * @param ValidateAgentRequest
1704
1704
  * @return ValidateAgentResponse
@@ -2572,85 +2572,7 @@ export class BundleClient {
2572
2572
  }
2573
2573
 
2574
2574
  /**
2575
- * (Deprecated) Creates a new bundle.
2576
- * <p>
2577
- A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
2578
- * and agent flows, along with their dependencies and associated code artifacts. It captures both
2579
- * the resource configurations and the supporting assets required to recreate those resources in
2580
- * another workspace or environment.
2581
- * <p>
2582
- The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
2583
- * structure for code artifacts from the location where it was created, so the generated bundle
2584
- * mirrors the source layout.
2585
- * <p>
2586
- Dependencies are tracked inside the bundle under each asset type:
2587
- * - job and agent flow dependencies are added under the `dependencies` folder inside the
2588
- * `jobs` and `agentflows` folders
2589
- * - code dependencies are added under the `artifacts` directory in the bundle
2590
- * <p>
2591
- Dependency references use template variables, for example:
2592
- * - compute: `$${jobs.dependencies.training_compute.compute.key}`
2593
- * - nested jobs: `$${jobs.dependencies.training_job.job.key}`
2594
- * - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
2595
- * <p>
2596
- Bundles also support the special variable `$${bundle.root}`, which points to the root of the
2597
- * bundle folder and is used for referencing artifacts.
2598
- * <p>
2599
- Variables and overrides:
2600
- * - bundles support parameterization using variables defined in the bundle manifest
2601
- * (`aidp_workbench.yaml`)
2602
- * <p>
2603
- Example manifest defaults:
2604
- * defaults:
2605
- * variables:
2606
- * job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
2607
- * <p>
2608
- - variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
2609
- * <p>
2610
- Example usage in a job descriptor:
2611
- * \"clusterKey\": \"$${var.job_compute_key}\"
2612
- * <p>
2613
- - workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
2614
- * - this file is intended for environment-specific configuration and should not be committed to Git,
2615
- * allowing the bundle to remain portable and environment-agnostic
2616
- * <p>
2617
- Example overrides file:
2618
- * variables:
2619
- * job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
2620
- * <p>
2621
- - when an override is provided, the referenced dependency (for example, compute) is not created,
2622
- * and the provided value is used instead
2623
- * - when no override is provided, the system falls back to the default variable value, which may
2624
- * reference a dependency included in the bundle (resulting in that dependency being created)
2625
- * - this mechanism enables environment-specific customization (for example, reusing existing
2626
- * infrastructure in production while creating new resources in development)
2627
- * - the same pattern can be used for other environment-specific parameters such as compute shape,
2628
- * number of OCPUs, or other configuration values
2629
- * <p>
2630
- Git integration and promotion:
2631
- * - bundles can only be created inside Git-backed workspace folders
2632
- * - bundles are self-contained packages that include resource definitions, dependency references,
2633
- * and associated code artifacts required to recreate the bundled resources
2634
- * - the entire bundle folder can be committed and pushed to a Git repository
2635
- * - bundles can be pulled into another workspace via Git and deployed there
2636
- * - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
2637
- * - because the bundle includes both resource configuration and code dependencies, it can be used
2638
- * to reliably replicate assets across workspaces
2639
- * <p>
2640
- This operation is asynchronous. The service validates the request, starts bundle
2641
- * creation, and returns an async operation key in the response headers. Use the async
2642
- * operation APIs to track completion.
2643
- * <p>
2644
- Typical use cases:
2645
- * - capture selected workspace resources into a version-controlled bundle
2646
- * - prepare a bundle for later deployment or promotion
2647
- * - establish a bundle root that can later be inspected, updated, or deployed
2648
- * <p>
2649
- Request notes:
2650
- * - `path` identifies the parent folder in the workspace volume where the bundle should be created
2651
- * - `name` identifies the bundle folder name
2652
- * - `bundledResources` identifies which workspace resources should be included
2653
- *
2575
+ * (Deprecated)
2654
2576
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2655
2577
  * @param CreateBundleRequest
2656
2578
  * @return CreateBundleResponse
@@ -2722,69 +2644,6 @@ Request notes:
2722
2644
  /**
2723
2645
  * (Preview) Creates a new bundle.
2724
2646
  * <p>
2725
- A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
2726
- * and agent flows, along with their dependencies and associated code artifacts. It captures both
2727
- * the resource configurations and the supporting assets required to recreate those resources in
2728
- * another workspace or environment.
2729
- * <p>
2730
- The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
2731
- * structure for code artifacts from the location where it was created, so the generated bundle
2732
- * mirrors the source layout.
2733
- * <p>
2734
- Dependencies are tracked inside the bundle under each asset type:
2735
- * - job and agent flow dependencies are added under the `dependencies` folder inside the
2736
- * `jobs` and `agentflows` folders
2737
- * - code dependencies are added under the `artifacts` directory in the bundle
2738
- * <p>
2739
- Dependency references use template variables, for example:
2740
- * - compute: `$${jobs.dependencies.training_compute.compute.key}`
2741
- * - nested jobs: `$${jobs.dependencies.training_job.job.key}`
2742
- * - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
2743
- * <p>
2744
- Bundles also support the special variable `$${bundle.root}`, which points to the root of the
2745
- * bundle folder and is used for referencing artifacts.
2746
- * <p>
2747
- Variables and overrides:
2748
- * - bundles support parameterization using variables defined in the bundle manifest
2749
- * (`aidp_workbench.yaml`)
2750
- * <p>
2751
- Example manifest defaults:
2752
- * defaults:
2753
- * variables:
2754
- * job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
2755
- * <p>
2756
- - variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
2757
- * <p>
2758
- Example usage in a job descriptor:
2759
- * \"clusterKey\": \"$${var.job_compute_key}\"
2760
- * <p>
2761
- - workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
2762
- * - this file is intended for environment-specific configuration and should not be committed to Git,
2763
- * allowing the bundle to remain portable and environment-agnostic
2764
- * <p>
2765
- Example overrides file:
2766
- * variables:
2767
- * job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
2768
- * <p>
2769
- - when an override is provided, the referenced dependency (for example, compute) is not created,
2770
- * and the provided value is used instead
2771
- * - when no override is provided, the system falls back to the default variable value, which may
2772
- * reference a dependency included in the bundle (resulting in that dependency being created)
2773
- * - this mechanism enables environment-specific customization (for example, reusing existing
2774
- * infrastructure in production while creating new resources in development)
2775
- * - the same pattern can be used for other environment-specific parameters such as compute shape,
2776
- * number of OCPUs, or other configuration values
2777
- * <p>
2778
- Git integration and promotion:
2779
- * - bundles can only be created inside Git-backed workspace folders
2780
- * - bundles are self-contained packages that include resource definitions, dependency references,
2781
- * and associated code artifacts required to recreate the bundled resources
2782
- * - the entire bundle folder can be committed and pushed to a Git repository
2783
- * - bundles can be pulled into another workspace via Git and deployed there
2784
- * - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
2785
- * - because the bundle includes both resource configuration and code dependencies, it can be used
2786
- * to reliably replicate assets across workspaces
2787
- * <p>
2788
2647
  This operation is asynchronous. The service validates the request, starts bundle
2789
2648
  * creation, and returns an async operation key in the response headers. Use the async
2790
2649
  * operation APIs to track completion.
@@ -2868,24 +2727,7 @@ Request notes:
2868
2727
  }
2869
2728
 
2870
2729
  /**
2871
- * (Deprecated) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
2872
- * Returns an async job key for tracking deployment progress.
2873
- * <p>
2874
- This operation is asynchronous. The request is accepted for background execution and
2875
- * returns an async operation key in the response headers.
2876
- * <p>
2877
- Deployment typically uses:
2878
- * - the bundle manifest at the bundle root
2879
- * - top-level resource descriptors in the bundle
2880
- * - dependency descriptors referenced by those top-level resources
2881
- * - default or override variable values when present
2882
- * <p>
2883
- Use this operation when you want to apply the bundle contents into the target
2884
- * workspace state.
2885
- * <p>
2886
- Request notes:
2887
- * - `path` identifies the bundle root folder in the workspace volume
2888
- *
2730
+ * (Deprecated)
2889
2731
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2890
2732
  * @param DeployBundleRequest
2891
2733
  * @return DeployBundleResponse
@@ -2955,23 +2797,7 @@ Request notes:
2955
2797
  }
2956
2798
 
2957
2799
  /**
2958
- * (Preview) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
2959
- * Returns an async job key for tracking deployment progress.
2960
- * <p>
2961
- This operation is asynchronous. The request is accepted for background execution and
2962
- * returns an async operation key in the response headers.
2963
- * <p>
2964
- Deployment typically uses:
2965
- * - the bundle manifest at the bundle root
2966
- * - top-level resource descriptors in the bundle
2967
- * - dependency descriptors referenced by those top-level resources
2968
- * - default or override variable values when present
2969
- * <p>
2970
- Use this operation when you want to apply the bundle contents into the target
2971
- * workspace state.
2972
- * <p>
2973
- Request notes:
2974
- * - `path` identifies the bundle root folder in the workspace volume
2800
+ * Deprecated compatibility API. Use `publish` for new callers.
2975
2801
  *
2976
2802
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2977
2803
  * @param DeployBundleActionRequest
@@ -3042,27 +2868,7 @@ Request notes:
3042
2868
  }
3043
2869
 
3044
2870
  /**
3045
- * (Deprecated) Returns a high-level summary of the most recent deployment activity recorded for the
3046
- * specified bundle.
3047
- * <p>
3048
- This operation is useful after deploy or purge requests when you want the latest
3049
- * bundle-level deployment outcome rather than raw async operation details.
3050
- * <p>
3051
- The response can include:
3052
- * - overall deployment status
3053
- * - start and completion timestamps
3054
- * - summary message
3055
- * - resources associated with the last recorded deployment result
3056
- * <p>
3057
- Typical status values include:
3058
- * - `IN_PROGRESS`
3059
- * - `SUCCEEDED`
3060
- * - `FAILED`
3061
- * - `NOT_DEPLOYED`
3062
- * <p>
3063
- Request notes:
3064
- * - `path` identifies the bundle root folder in the workspace volume
3065
- *
2871
+ * (Deprecated)
3066
2872
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3067
2873
  * @param FetchBundleDeploymentStatusRequest
3068
2874
  * @return FetchBundleDeploymentStatusResponse
@@ -3131,26 +2937,7 @@ Request notes:
3131
2937
  }
3132
2938
 
3133
2939
  /**
3134
- * (Preview) Returns a high-level summary of the most recent deployment activity recorded for the
3135
- * specified bundle.
3136
- * <p>
3137
- This operation is useful after deploy or purge requests when you want the latest
3138
- * bundle-level deployment outcome rather than raw async operation details.
3139
- * <p>
3140
- The response can include:
3141
- * - overall deployment status
3142
- * - start and completion timestamps
3143
- * - summary message
3144
- * - resources associated with the last recorded deployment result
3145
- * <p>
3146
- Typical status values include:
3147
- * - `IN_PROGRESS`
3148
- * - `SUCCEEDED`
3149
- * - `FAILED`
3150
- * - `NOT_DEPLOYED`
3151
- * <p>
3152
- Request notes:
3153
- * - `path` identifies the bundle root folder in the workspace volume
2940
+ * Deprecated compatibility API. Use `getBundlePublishStatus` for new callers.
3154
2941
  *
3155
2942
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3156
2943
  * @param FetchBundleDeploymentStatusActionRequest
@@ -3220,22 +3007,164 @@ Request notes:
3220
3007
  }
3221
3008
 
3222
3009
  /**
3223
- * (Deprecated) Tears down all resources deployed by the specified bundle in the workspace.
3010
+ * (Preview) Returns the latest publish summary.
3011
+ *
3012
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3013
+ * @param FetchBundlePublishStatusActionRequest
3014
+ * @return FetchBundlePublishStatusActionResponse
3015
+ * @throws OciError when an error occurs
3016
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundlePublishStatusAction.ts.html |here} to see how to use FetchBundlePublishStatusAction API.
3017
+ */
3018
+ public async fetchBundlePublishStatusAction (fetchBundlePublishStatusActionRequest: requests.FetchBundlePublishStatusActionRequest) : Promise<responses.FetchBundlePublishStatusActionResponse> {
3019
+ if (this.logger)
3020
+ this.logger.debug("Calling operation BundleClient#fetchBundlePublishStatusAction.");
3021
+ const operationName = "fetchBundlePublishStatusAction";
3022
+ const apiReferenceLink = "";
3023
+ const pathParams = {
3024
+ "{aiDataPlatformId}": fetchBundlePublishStatusActionRequest.aiDataPlatformId,
3025
+ "{workspaceKey}": fetchBundlePublishStatusActionRequest.workspaceKey,
3026
+ };
3027
+
3028
+ const queryParams = {
3029
+ };
3030
+
3031
+ let headerParams = {
3032
+ "Content-Type": common.Constants.APPLICATION_JSON,
3033
+ 'opc-request-id': fetchBundlePublishStatusActionRequest.opcRequestId,
3034
+ };
3035
+
3036
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3037
+ const retrier = GenericRetrier.createPreferredRetrier(
3038
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
3039
+ fetchBundlePublishStatusActionRequest.retryConfiguration,
3040
+ specRetryConfiguration
3041
+ );
3042
+ if (this.logger) retrier.logger = this.logger;
3043
+ const request = await composeRequest({
3044
+ baseEndpoint: this._endpoint,
3045
+ defaultHeaders: this._defaultHeaders,
3046
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/getBundlePublishStatus',
3047
+ method: 'POST',
3048
+ bodyContent: common.ObjectSerializer.serialize(fetchBundlePublishStatusActionRequest.fetchBundlePublishStatusDetails, "FetchBundlePublishStatusDetails"
3049
+ , model.FetchBundlePublishStatusDetails.getJsonObj)
3050
+ ,
3051
+ pathParams: pathParams,
3052
+ headerParams: headerParams,
3053
+ queryParams: queryParams
3054
+ });
3055
+ try {
3056
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3057
+ const sdkResponse = composeResponse({
3058
+ responseObject: <responses.FetchBundlePublishStatusActionResponse>{},
3059
+ body: await response.json(),
3060
+ bodyKey: "bundlePublishStatus",
3061
+ bodyModel: model.BundlePublishStatus,
3062
+ type: "model.BundlePublishStatus",
3063
+ responseHeaders: [
3064
+ {
3065
+ value: response.headers.get("opc-request-id"),
3066
+ key: "opcRequestId",
3067
+ dataType: "string"
3068
+ },
3069
+ ]
3070
+ });
3071
+
3072
+ return sdkResponse;
3073
+ }
3074
+ catch (err) {
3075
+ throw err;
3076
+ }
3077
+ }
3078
+
3079
+ /**
3080
+ * (Preview) Publishes the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
3081
+ * Returns an async job key for tracking publish progress.
3224
3082
  * <p>
3225
- This operation is intended to tear down resources that were created or managed through
3226
- * bundle deployment. It does not delete the bundle files themselves from the workspace
3227
- * volume.
3083
+ This operation is asynchronous. The request is accepted for background execution and
3084
+ * returns an async operation key in the response headers.
3228
3085
  * <p>
3229
- This operation is asynchronous. The service accepts the purge request, starts the
3230
- * background teardown workflow, and returns async operation headers.
3086
+ Publishing typically uses:
3087
+ * - the bundle manifest at the bundle root
3088
+ * - top-level resource descriptors in the bundle
3089
+ * - dependency descriptors referenced by those top-level resources
3090
+ * - default or override variable values when present
3231
3091
  * <p>
3232
- Typical use cases:
3233
- * - remove resources that were previously deployed from a bundle
3234
- * - clean up a workspace before re-deploying or retiring a bundle
3092
+ Use this operation when you want to apply the bundle contents into the target
3093
+ * workspace state.
3235
3094
  * <p>
3236
3095
  Request notes:
3237
3096
  * - `path` identifies the bundle root folder in the workspace volume
3238
3097
  *
3098
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3099
+ * @param PublishBundleActionRequest
3100
+ * @return PublishBundleActionResponse
3101
+ * @throws OciError when an error occurs
3102
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PublishBundleAction.ts.html |here} to see how to use PublishBundleAction API.
3103
+ */
3104
+ public async publishBundleAction (publishBundleActionRequest: requests.PublishBundleActionRequest) : Promise<responses.PublishBundleActionResponse> {
3105
+ if (this.logger)
3106
+ this.logger.debug("Calling operation BundleClient#publishBundleAction.");
3107
+ const operationName = "publishBundleAction";
3108
+ const apiReferenceLink = "";
3109
+ const pathParams = {
3110
+ "{aiDataPlatformId}": publishBundleActionRequest.aiDataPlatformId,
3111
+ "{workspaceKey}": publishBundleActionRequest.workspaceKey,
3112
+ };
3113
+
3114
+ const queryParams = {
3115
+ };
3116
+
3117
+ let headerParams = {
3118
+ "Content-Type": common.Constants.APPLICATION_JSON,
3119
+ 'opc-retry-token': publishBundleActionRequest.opcRetryToken,'opc-request-id': publishBundleActionRequest.opcRequestId,
3120
+ };
3121
+
3122
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3123
+ const retrier = GenericRetrier.createPreferredRetrier(
3124
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
3125
+ publishBundleActionRequest.retryConfiguration,
3126
+ specRetryConfiguration
3127
+ );
3128
+ if (this.logger) retrier.logger = this.logger;
3129
+ const request = await composeRequest({
3130
+ baseEndpoint: this._endpoint,
3131
+ defaultHeaders: this._defaultHeaders,
3132
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/publishBundle',
3133
+ method: 'POST',
3134
+ bodyContent: common.ObjectSerializer.serialize(publishBundleActionRequest.publishBundleDetails, "PublishBundleDetails"
3135
+ , model.PublishBundleDetails.getJsonObj)
3136
+ ,
3137
+ pathParams: pathParams,
3138
+ headerParams: headerParams,
3139
+ queryParams: queryParams
3140
+ });
3141
+ try {
3142
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3143
+ const sdkResponse = composeResponse({
3144
+ responseObject: <responses.PublishBundleActionResponse>{},
3145
+ responseHeaders: [
3146
+ {
3147
+ value: response.headers.get("opc-request-id"),
3148
+ key: "opcRequestId",
3149
+ dataType: "string"
3150
+ },
3151
+ {
3152
+ value: response.headers.get("aidp-async-operation-key"),
3153
+ key: "aidpAsyncOperationKey",
3154
+ dataType: "string"
3155
+ },
3156
+ ]
3157
+ });
3158
+
3159
+ return sdkResponse;
3160
+ }
3161
+ catch (err) {
3162
+ throw err;
3163
+ }
3164
+ }
3165
+
3166
+ /**
3167
+ * (Deprecated)
3239
3168
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3240
3169
  * @param PurgeBundleRequest
3241
3170
  * @return PurgeBundleResponse
@@ -3390,41 +3319,7 @@ Request notes:
3390
3319
  }
3391
3320
 
3392
3321
  /**
3393
- * (Deprecated) Synchronizes the code, descriptors, and mapping in the bundle by reconciling the contents with the resource origins.
3394
- * Returns an async job key for tracking sync progress.
3395
- * <p>
3396
- This operation is intended for cases where the bundle should be refreshed to reflect
3397
- * newer source changes while preserving the bundle structure and identity.
3398
- * <p>
3399
- Sync uses the bundle's recorded origin metadata to rebuild the bundle from the source
3400
- * jobs and agent flows that were captured when the bundle was created. The source metadata
3401
- * is stored in `.aidp/resource_origins.yaml` and must match the requested AIDP/Data Lake and
3402
- * workspace. The operation refreshes source-controlled bundle content while preserving the
3403
- * bundle identity and runtime metadata.
3404
- * <p>
3405
- During sync, the service stages a refreshed bundle snapshot under the bundle `.aidp`
3406
- * directory, compares existing and staged descriptors, preserves existing variable aliases
3407
- * and override references where possible, merges existing manifest default variables, and
3408
- * then promotes the refreshed source-controlled files back into the bundle root.
3409
- * <p>
3410
- Sync preserves environment-specific and deployment runtime files such as
3411
- * `.aidp/overrides.yaml` and `.aidp/aidp.state.json`. These files are not replaced by the
3412
- * refreshed source snapshot.
3413
- * <p>
3414
- This operation is asynchronous and returns async operation headers when accepted.
3415
- * <p>
3416
- Typical use cases:
3417
- * - refresh bundle contents after upstream workspace resources have changed
3418
- * - reconcile descriptor or artifact content with current resource origins
3419
- * - preserve local bundle overrides while pulling in source resource updates
3420
- * - keep a Git-backed bundle current before committing or promoting it
3421
- * <p>
3422
- Request notes:
3423
- * - `path` identifies the bundle root folder in the workspace volume
3424
- * - the bundle must contain a valid `aidp_workbench.yaml`
3425
- * - the bundle must contain `.aidp/resource_origins.yaml`
3426
- * - origin metadata must refer to the same AIDP/Data Lake and workspace as the request
3427
- *
3322
+ * (Deprecated)
3428
3323
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3429
3324
  * @param SyncBundleRequest
3430
3325
  * @return SyncBundleResponse
@@ -3500,28 +3395,13 @@ Request notes:
3500
3395
  This operation is intended for cases where the bundle should be refreshed to reflect
3501
3396
  * newer source changes while preserving the bundle structure and identity.
3502
3397
  * <p>
3503
- Sync uses the bundle's recorded origin metadata to rebuild the bundle from the source
3504
- * jobs and agent flows that were captured when the bundle was created. The source metadata
3505
- * is stored in `.aidp/resource_origins.yaml` and must match the requested AIDP/Data Lake and
3506
- * workspace. The operation refreshes source-controlled bundle content while preserving the
3507
- * bundle identity and runtime metadata.
3508
- * <p>
3509
- During sync, the service stages a refreshed bundle snapshot under the bundle `.aidp`
3510
- * directory, compares existing and staged descriptors, preserves existing variable aliases
3511
- * and override references where possible, merges existing manifest default variables, and
3512
- * then promotes the refreshed source-controlled files back into the bundle root.
3513
- * <p>
3514
- Sync preserves environment-specific and deployment runtime files such as
3515
- * `.aidp/overrides.yaml` and `.aidp/aidp.state.json`. These files are not replaced by the
3516
- * refreshed source snapshot.
3517
- * <p>
3518
3398
  This operation is asynchronous and returns async operation headers when accepted.
3519
3399
  * <p>
3520
3400
  Typical use cases:
3521
3401
  * - refresh bundle contents after upstream workspace resources have changed
3522
3402
  * - reconcile descriptor or artifact content with current resource origins
3523
3403
  * - preserve local bundle overrides while pulling in source resource updates
3524
- * - keep a Git-backed bundle current before committing or promoting it
3404
+ * - keep a bundle current before promoting it
3525
3405
  * <p>
3526
3406
  Request notes:
3527
3407
  * - `path` identifies the bundle root folder in the workspace volume
@@ -4002,6 +3882,7 @@ export class CatalogClient {
4002
3882
 
4003
3883
  const queryParams = {
4004
3884
  'isCatalogGuid': getCatalogRequest.isCatalogGuid,
3885
+ 'shouldSkipOcidTranslation': getCatalogRequest.shouldSkipOcidTranslation,
4005
3886
  };
4006
3887
 
4007
3888
  let headerParams = {
@@ -4150,6 +4031,7 @@ export class CatalogClient {
4150
4031
  'displayName': listCatalogsRequest.displayName,
4151
4032
  'catalogState': listCatalogsRequest.catalogState,
4152
4033
  'catalogType': listCatalogsRequest.catalogType,
4034
+ 'shouldSkipOcidTranslation': listCatalogsRequest.shouldSkipOcidTranslation,
4153
4035
  'limit': listCatalogsRequest.limit,
4154
4036
  'page': listCatalogsRequest.page,
4155
4037
  'sortOrder': listCatalogsRequest.sortOrder,
@@ -4579,21 +4461,22 @@ export class ClusterClient {
4579
4461
  }
4580
4462
 
4581
4463
  /**
4582
- * Creates a new cluster with the provided details.
4464
+ * Creates one Spark Compute by copying all source Compute settings and configuration.
4583
4465
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4584
- * @param CreateClusterRequest
4585
- * @return CreateClusterResponse
4466
+ * @param CloneComputeRequest
4467
+ * @return CloneComputeResponse
4586
4468
  * @throws OciError when an error occurs
4587
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateCluster.ts.html |here} to see how to use CreateCluster API.
4469
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CloneCompute.ts.html |here} to see how to use CloneCompute API.
4588
4470
  */
4589
- public async createCluster (createClusterRequest: requests.CreateClusterRequest) : Promise<responses.CreateClusterResponse> {
4471
+ public async cloneCompute (cloneComputeRequest: requests.CloneComputeRequest) : Promise<responses.CloneComputeResponse> {
4590
4472
  if (this.logger)
4591
- this.logger.debug("Calling operation ClusterClient#createCluster.");
4592
- const operationName = "createCluster";
4473
+ this.logger.debug("Calling operation ClusterClient#cloneCompute.");
4474
+ const operationName = "cloneCompute";
4593
4475
  const apiReferenceLink = "";
4594
4476
  const pathParams = {
4595
- "{aiDataPlatformId}": createClusterRequest.aiDataPlatformId,
4596
- "{workspaceKey}": createClusterRequest.workspaceKey,
4477
+ "{aiDataPlatformId}": cloneComputeRequest.aiDataPlatformId,
4478
+ "{workspaceKey}": cloneComputeRequest.workspaceKey,
4479
+ "{clusterKey}": cloneComputeRequest.clusterKey,
4597
4480
  };
4598
4481
 
4599
4482
  const queryParams = {
@@ -4601,24 +4484,21 @@ export class ClusterClient {
4601
4484
 
4602
4485
  let headerParams = {
4603
4486
  "Content-Type": common.Constants.APPLICATION_JSON,
4604
- 'opc-retry-token': createClusterRequest.opcRetryToken,'opc-request-id': createClusterRequest.opcRequestId,'should-update-recent': createClusterRequest.shouldUpdateRecent,
4487
+ 'opc-retry-token': cloneComputeRequest.opcRetryToken,'opc-request-id': cloneComputeRequest.opcRequestId,
4605
4488
  };
4606
4489
 
4607
4490
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4608
4491
  const retrier = GenericRetrier.createPreferredRetrier(
4609
4492
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
4610
- createClusterRequest.retryConfiguration,
4493
+ cloneComputeRequest.retryConfiguration,
4611
4494
  specRetryConfiguration
4612
4495
  );
4613
4496
  if (this.logger) retrier.logger = this.logger;
4614
4497
  const request = await composeRequest({
4615
4498
  baseEndpoint: this._endpoint,
4616
4499
  defaultHeaders: this._defaultHeaders,
4617
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters',
4500
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/cloneCompute',
4618
4501
  method: 'POST',
4619
- bodyContent: common.ObjectSerializer.serialize(createClusterRequest.createClusterDetails, "CreateClusterDetails"
4620
- , model.CreateClusterDetails.getJsonObj)
4621
- ,
4622
4502
  pathParams: pathParams,
4623
4503
  headerParams: headerParams,
4624
4504
  queryParams: queryParams
@@ -4626,11 +4506,7 @@ export class ClusterClient {
4626
4506
  try {
4627
4507
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4628
4508
  const sdkResponse = composeResponse({
4629
- responseObject: <responses.CreateClusterResponse>{},
4630
- body: await response.json(),
4631
- bodyKey: "cluster",
4632
- bodyModel: model.Cluster,
4633
- type: "model.Cluster",
4509
+ responseObject: <responses.CloneComputeResponse>{},
4634
4510
  responseHeaders: [
4635
4511
  {
4636
4512
  value: response.headers.get("aidp-async-operation-key"),
@@ -4642,11 +4518,6 @@ export class ClusterClient {
4642
4518
  key: "opcRequestId",
4643
4519
  dataType: "string"
4644
4520
  },
4645
- {
4646
- value: response.headers.get("etag"),
4647
- key: "etag",
4648
- dataType: "string"
4649
- },
4650
4521
  ]
4651
4522
  });
4652
4523
 
@@ -4658,7 +4529,86 @@ export class ClusterClient {
4658
4529
  }
4659
4530
 
4660
4531
  /**
4661
- * Deletes a cluster from a workspace.
4532
+ * Creates a new cluster with the provided details.
4533
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4534
+ * @param CreateClusterRequest
4535
+ * @return CreateClusterResponse
4536
+ * @throws OciError when an error occurs
4537
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateCluster.ts.html |here} to see how to use CreateCluster API.
4538
+ */
4539
+ public async createCluster (createClusterRequest: requests.CreateClusterRequest) : Promise<responses.CreateClusterResponse> {
4540
+ if (this.logger)
4541
+ this.logger.debug("Calling operation ClusterClient#createCluster.");
4542
+ const operationName = "createCluster";
4543
+ const apiReferenceLink = "";
4544
+ const pathParams = {
4545
+ "{aiDataPlatformId}": createClusterRequest.aiDataPlatformId,
4546
+ "{workspaceKey}": createClusterRequest.workspaceKey,
4547
+ };
4548
+
4549
+ const queryParams = {
4550
+ };
4551
+
4552
+ let headerParams = {
4553
+ "Content-Type": common.Constants.APPLICATION_JSON,
4554
+ 'opc-retry-token': createClusterRequest.opcRetryToken,'opc-request-id': createClusterRequest.opcRequestId,'should-update-recent': createClusterRequest.shouldUpdateRecent,
4555
+ };
4556
+
4557
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4558
+ const retrier = GenericRetrier.createPreferredRetrier(
4559
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
4560
+ createClusterRequest.retryConfiguration,
4561
+ specRetryConfiguration
4562
+ );
4563
+ if (this.logger) retrier.logger = this.logger;
4564
+ const request = await composeRequest({
4565
+ baseEndpoint: this._endpoint,
4566
+ defaultHeaders: this._defaultHeaders,
4567
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters',
4568
+ method: 'POST',
4569
+ bodyContent: common.ObjectSerializer.serialize(createClusterRequest.createClusterDetails, "CreateClusterDetails"
4570
+ , model.CreateClusterDetails.getJsonObj)
4571
+ ,
4572
+ pathParams: pathParams,
4573
+ headerParams: headerParams,
4574
+ queryParams: queryParams
4575
+ });
4576
+ try {
4577
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4578
+ const sdkResponse = composeResponse({
4579
+ responseObject: <responses.CreateClusterResponse>{},
4580
+ body: await response.json(),
4581
+ bodyKey: "cluster",
4582
+ bodyModel: model.Cluster,
4583
+ type: "model.Cluster",
4584
+ responseHeaders: [
4585
+ {
4586
+ value: response.headers.get("aidp-async-operation-key"),
4587
+ key: "aidpAsyncOperationKey",
4588
+ dataType: "string"
4589
+ },
4590
+ {
4591
+ value: response.headers.get("opc-request-id"),
4592
+ key: "opcRequestId",
4593
+ dataType: "string"
4594
+ },
4595
+ {
4596
+ value: response.headers.get("etag"),
4597
+ key: "etag",
4598
+ dataType: "string"
4599
+ },
4600
+ ]
4601
+ });
4602
+
4603
+ return sdkResponse;
4604
+ }
4605
+ catch (err) {
4606
+ throw err;
4607
+ }
4608
+ }
4609
+
4610
+ /**
4611
+ * Deletes a cluster from a workspace.
4662
4612
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4663
4613
  * @param DeleteClusterRequest
4664
4614
  * @return DeleteClusterResponse
@@ -4805,22 +4755,22 @@ export class ClusterClient {
4805
4755
  }
4806
4756
 
4807
4757
  /**
4808
- * Returns detailed information about a cluster.
4758
+ * Writes selected Compute configuration values supplied by the caller to a workspace YAML file without overwriting an existing file.
4809
4759
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4810
- * @param GetClusterRequest
4811
- * @return GetClusterResponse
4760
+ * @param ExportComputeConfigurationRequest
4761
+ * @return ExportComputeConfigurationResponse
4812
4762
  * @throws OciError when an error occurs
4813
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetCluster.ts.html |here} to see how to use GetCluster API.
4763
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ExportComputeConfiguration.ts.html |here} to see how to use ExportComputeConfiguration API.
4814
4764
  */
4815
- public async getCluster (getClusterRequest: requests.GetClusterRequest) : Promise<responses.GetClusterResponse> {
4765
+ public async exportComputeConfiguration (exportComputeConfigurationRequest: requests.ExportComputeConfigurationRequest) : Promise<responses.ExportComputeConfigurationResponse> {
4816
4766
  if (this.logger)
4817
- this.logger.debug("Calling operation ClusterClient#getCluster.");
4818
- const operationName = "getCluster";
4767
+ this.logger.debug("Calling operation ClusterClient#exportComputeConfiguration.");
4768
+ const operationName = "exportComputeConfiguration";
4819
4769
  const apiReferenceLink = "";
4820
4770
  const pathParams = {
4821
- "{aiDataPlatformId}": getClusterRequest.aiDataPlatformId,
4822
- "{workspaceKey}": getClusterRequest.workspaceKey,
4823
- "{clusterKey}": getClusterRequest.clusterKey,
4771
+ "{aiDataPlatformId}": exportComputeConfigurationRequest.aiDataPlatformId,
4772
+ "{workspaceKey}": exportComputeConfigurationRequest.workspaceKey,
4773
+ "{clusterKey}": exportComputeConfigurationRequest.clusterKey,
4824
4774
  };
4825
4775
 
4826
4776
  const queryParams = {
@@ -4828,21 +4778,24 @@ export class ClusterClient {
4828
4778
 
4829
4779
  let headerParams = {
4830
4780
  "Content-Type": common.Constants.APPLICATION_JSON,
4831
- 'opc-request-id': getClusterRequest.opcRequestId,'should-update-recent': getClusterRequest.shouldUpdateRecent,
4781
+ 'opc-retry-token': exportComputeConfigurationRequest.opcRetryToken,'opc-request-id': exportComputeConfigurationRequest.opcRequestId,
4832
4782
  };
4833
4783
 
4834
4784
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4835
4785
  const retrier = GenericRetrier.createPreferredRetrier(
4836
4786
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
4837
- getClusterRequest.retryConfiguration,
4787
+ exportComputeConfigurationRequest.retryConfiguration,
4838
4788
  specRetryConfiguration
4839
4789
  );
4840
4790
  if (this.logger) retrier.logger = this.logger;
4841
4791
  const request = await composeRequest({
4842
4792
  baseEndpoint: this._endpoint,
4843
4793
  defaultHeaders: this._defaultHeaders,
4844
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}',
4845
- method: 'GET',
4794
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/exportComputeConfiguration',
4795
+ method: 'POST',
4796
+ bodyContent: common.ObjectSerializer.serialize(exportComputeConfigurationRequest.exportComputeConfigurationDetails, "ExportComputeConfigurationDetails"
4797
+ , model.ExportComputeConfigurationDetails.getJsonObj)
4798
+ ,
4846
4799
  pathParams: pathParams,
4847
4800
  headerParams: headerParams,
4848
4801
  queryParams: queryParams
@@ -4850,15 +4803,20 @@ export class ClusterClient {
4850
4803
  try {
4851
4804
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4852
4805
  const sdkResponse = composeResponse({
4853
- responseObject: <responses.GetClusterResponse>{},
4854
- body: await response.json(),
4855
- bodyKey: "cluster",
4856
- bodyModel: model.Cluster,
4857
- type: "model.Cluster",
4806
+ responseObject: <responses.ExportComputeConfigurationResponse>{},
4807
+
4808
+ body: response.body!,
4809
+ bodyKey: "value",
4810
+ bodyModel: "string",
4858
4811
  responseHeaders: [
4859
4812
  {
4860
- value: response.headers.get("etag"),
4861
- key: "etag",
4813
+ value: response.headers.get("location"),
4814
+ key: "location",
4815
+ dataType: "string"
4816
+ },
4817
+ {
4818
+ value: response.headers.get("content-location"),
4819
+ key: "contentLocation",
4862
4820
  dataType: "string"
4863
4821
  },
4864
4822
  {
@@ -4866,6 +4824,21 @@ export class ClusterClient {
4866
4824
  key: "opcRequestId",
4867
4825
  dataType: "string"
4868
4826
  },
4827
+ {
4828
+ value: response.headers.get("path"),
4829
+ key: "path",
4830
+ dataType: "string"
4831
+ },
4832
+ {
4833
+ value: response.headers.get("type"),
4834
+ key: "type",
4835
+ dataType: "string"
4836
+ },
4837
+ {
4838
+ value: response.headers.get("time-updated"),
4839
+ key: "timeUpdated",
4840
+ dataType: "Date"
4841
+ },
4869
4842
  ]
4870
4843
  });
4871
4844
 
@@ -4877,20 +4850,22 @@ export class ClusterClient {
4877
4850
  }
4878
4851
 
4879
4852
  /**
4880
- * Gets information about the master catalog default cluster.
4853
+ * Returns detailed information about a cluster.
4881
4854
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4882
- * @param GetDefaultClusterRequest
4883
- * @return GetDefaultClusterResponse
4855
+ * @param GetClusterRequest
4856
+ * @return GetClusterResponse
4884
4857
  * @throws OciError when an error occurs
4885
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetDefaultCluster.ts.html |here} to see how to use GetDefaultCluster API.
4858
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetCluster.ts.html |here} to see how to use GetCluster API.
4886
4859
  */
4887
- public async getDefaultCluster (getDefaultClusterRequest: requests.GetDefaultClusterRequest) : Promise<responses.GetDefaultClusterResponse> {
4860
+ public async getCluster (getClusterRequest: requests.GetClusterRequest) : Promise<responses.GetClusterResponse> {
4888
4861
  if (this.logger)
4889
- this.logger.debug("Calling operation ClusterClient#getDefaultCluster.");
4890
- const operationName = "getDefaultCluster";
4862
+ this.logger.debug("Calling operation ClusterClient#getCluster.");
4863
+ const operationName = "getCluster";
4891
4864
  const apiReferenceLink = "";
4892
4865
  const pathParams = {
4893
- "{aiDataPlatformId}": getDefaultClusterRequest.aiDataPlatformId,
4866
+ "{aiDataPlatformId}": getClusterRequest.aiDataPlatformId,
4867
+ "{workspaceKey}": getClusterRequest.workspaceKey,
4868
+ "{clusterKey}": getClusterRequest.clusterKey,
4894
4869
  };
4895
4870
 
4896
4871
  const queryParams = {
@@ -4898,20 +4873,20 @@ export class ClusterClient {
4898
4873
 
4899
4874
  let headerParams = {
4900
4875
  "Content-Type": common.Constants.APPLICATION_JSON,
4901
- 'opc-request-id': getDefaultClusterRequest.opcRequestId,
4876
+ 'opc-request-id': getClusterRequest.opcRequestId,'should-update-recent': getClusterRequest.shouldUpdateRecent,
4902
4877
  };
4903
4878
 
4904
4879
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4905
4880
  const retrier = GenericRetrier.createPreferredRetrier(
4906
4881
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
4907
- getDefaultClusterRequest.retryConfiguration,
4882
+ getClusterRequest.retryConfiguration,
4908
4883
  specRetryConfiguration
4909
4884
  );
4910
4885
  if (this.logger) retrier.logger = this.logger;
4911
4886
  const request = await composeRequest({
4912
4887
  baseEndpoint: this._endpoint,
4913
4888
  defaultHeaders: this._defaultHeaders,
4914
- path: '/aiDataPlatforms/{aiDataPlatformId}/defaultCluster',
4889
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}',
4915
4890
  method: 'GET',
4916
4891
  pathParams: pathParams,
4917
4892
  headerParams: headerParams,
@@ -4920,11 +4895,11 @@ export class ClusterClient {
4920
4895
  try {
4921
4896
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4922
4897
  const sdkResponse = composeResponse({
4923
- responseObject: <responses.GetDefaultClusterResponse>{},
4898
+ responseObject: <responses.GetClusterResponse>{},
4924
4899
  body: await response.json(),
4925
- bodyKey: "defaultCluster",
4926
- bodyModel: model.DefaultCluster,
4927
- type: "model.DefaultCluster",
4900
+ bodyKey: "cluster",
4901
+ bodyModel: model.Cluster,
4902
+ type: "model.Cluster",
4928
4903
  responseHeaders: [
4929
4904
  {
4930
4905
  value: response.headers.get("etag"),
@@ -4947,48 +4922,43 @@ export class ClusterClient {
4947
4922
  }
4948
4923
 
4949
4924
  /**
4950
- * Gets a list of libraries installed on a cluster.
4925
+ * Gets cluster-scoped Python and JAR libraries and environment variables from Spark Compute.
4951
4926
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4952
- * @param ListClusterLibrariesRequest
4953
- * @return ListClusterLibrariesResponse
4927
+ * @param GetComputeConfigurationRequest
4928
+ * @return GetComputeConfigurationResponse
4954
4929
  * @throws OciError when an error occurs
4955
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListClusterLibraries.ts.html |here} to see how to use ListClusterLibraries API.
4930
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetComputeConfiguration.ts.html |here} to see how to use GetComputeConfiguration API.
4956
4931
  */
4957
- public async listClusterLibraries (listClusterLibrariesRequest: requests.ListClusterLibrariesRequest) : Promise<responses.ListClusterLibrariesResponse> {
4932
+ public async getComputeConfiguration (getComputeConfigurationRequest: requests.GetComputeConfigurationRequest) : Promise<responses.GetComputeConfigurationResponse> {
4958
4933
  if (this.logger)
4959
- this.logger.debug("Calling operation ClusterClient#listClusterLibraries.");
4960
- const operationName = "listClusterLibraries";
4934
+ this.logger.debug("Calling operation ClusterClient#getComputeConfiguration.");
4935
+ const operationName = "getComputeConfiguration";
4961
4936
  const apiReferenceLink = "";
4962
4937
  const pathParams = {
4963
- "{aiDataPlatformId}": listClusterLibrariesRequest.aiDataPlatformId,
4964
- "{workspaceKey}": listClusterLibrariesRequest.workspaceKey,
4965
- "{clusterKey}": listClusterLibrariesRequest.clusterKey,
4938
+ "{aiDataPlatformId}": getComputeConfigurationRequest.aiDataPlatformId,
4939
+ "{workspaceKey}": getComputeConfigurationRequest.workspaceKey,
4940
+ "{clusterKey}": getComputeConfigurationRequest.clusterKey,
4966
4941
  };
4967
4942
 
4968
4943
  const queryParams = {
4969
- 'displayName': listClusterLibrariesRequest.displayName,
4970
- 'limit': listClusterLibrariesRequest.limit,
4971
- 'page': listClusterLibrariesRequest.page,
4972
- 'sortOrder': listClusterLibrariesRequest.sortOrder,
4973
- 'sortBy': listClusterLibrariesRequest.sortBy,
4974
4944
  };
4975
4945
 
4976
4946
  let headerParams = {
4977
4947
  "Content-Type": common.Constants.APPLICATION_JSON,
4978
- 'opc-request-id': listClusterLibrariesRequest.opcRequestId,
4948
+ 'opc-request-id': getComputeConfigurationRequest.opcRequestId,
4979
4949
  };
4980
4950
 
4981
4951
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4982
4952
  const retrier = GenericRetrier.createPreferredRetrier(
4983
4953
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
4984
- listClusterLibrariesRequest.retryConfiguration,
4954
+ getComputeConfigurationRequest.retryConfiguration,
4985
4955
  specRetryConfiguration
4986
4956
  );
4987
4957
  if (this.logger) retrier.logger = this.logger;
4988
4958
  const request = await composeRequest({
4989
4959
  baseEndpoint: this._endpoint,
4990
4960
  defaultHeaders: this._defaultHeaders,
4991
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/libraries',
4961
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/getComputeConfiguration',
4992
4962
  method: 'GET',
4993
4963
  pathParams: pathParams,
4994
4964
  headerParams: headerParams,
@@ -4997,32 +4967,17 @@ export class ClusterClient {
4997
4967
  try {
4998
4968
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4999
4969
  const sdkResponse = composeResponse({
5000
- responseObject: <responses.ListClusterLibrariesResponse>{},
4970
+ responseObject: <responses.GetComputeConfigurationResponse>{},
5001
4971
  body: await response.json(),
5002
- bodyKey: "clusterLibraryCollection",
5003
- bodyModel: model.ClusterLibraryCollection,
5004
- type: "model.ClusterLibraryCollection",
4972
+ bodyKey: "computeConfiguration",
4973
+ bodyModel: model.ComputeConfiguration,
4974
+ type: "model.ComputeConfiguration",
5005
4975
  responseHeaders: [
5006
4976
  {
5007
4977
  value: response.headers.get("opc-request-id"),
5008
4978
  key: "opcRequestId",
5009
4979
  dataType: "string"
5010
4980
  },
5011
- {
5012
- value: response.headers.get("opc-next-page"),
5013
- key: "opcNextPage",
5014
- dataType: "string"
5015
- },
5016
- {
5017
- value: response.headers.get("opc-prev-page"),
5018
- key: "opcPrevPage",
5019
- dataType: "string"
5020
- },
5021
- {
5022
- value: response.headers.get("opc-total-items"),
5023
- key: "opcTotalItems",
5024
- dataType: "number"
5025
- },
5026
4981
  ]
5027
4982
  });
5028
4983
 
@@ -5034,48 +4989,41 @@ export class ClusterClient {
5034
4989
  }
5035
4990
 
5036
4991
  /**
5037
- * Return a list of permissions for a given cluster.
4992
+ * Gets information about the master catalog default cluster.
5038
4993
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5039
- * @param ListClusterPermissionsRequest
5040
- * @return ListClusterPermissionsResponse
4994
+ * @param GetDefaultClusterRequest
4995
+ * @return GetDefaultClusterResponse
5041
4996
  * @throws OciError when an error occurs
5042
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListClusterPermissions.ts.html |here} to see how to use ListClusterPermissions API.
4997
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetDefaultCluster.ts.html |here} to see how to use GetDefaultCluster API.
5043
4998
  */
5044
- public async listClusterPermissions (listClusterPermissionsRequest: requests.ListClusterPermissionsRequest) : Promise<responses.ListClusterPermissionsResponse> {
4999
+ public async getDefaultCluster (getDefaultClusterRequest: requests.GetDefaultClusterRequest) : Promise<responses.GetDefaultClusterResponse> {
5045
5000
  if (this.logger)
5046
- this.logger.debug("Calling operation ClusterClient#listClusterPermissions.");
5047
- const operationName = "listClusterPermissions";
5001
+ this.logger.debug("Calling operation ClusterClient#getDefaultCluster.");
5002
+ const operationName = "getDefaultCluster";
5048
5003
  const apiReferenceLink = "";
5049
5004
  const pathParams = {
5050
- "{aiDataPlatformId}": listClusterPermissionsRequest.aiDataPlatformId,
5051
- "{workspaceKey}": listClusterPermissionsRequest.workspaceKey,
5052
- "{clusterKey}": listClusterPermissionsRequest.clusterKey,
5005
+ "{aiDataPlatformId}": getDefaultClusterRequest.aiDataPlatformId,
5053
5006
  };
5054
5007
 
5055
5008
  const queryParams = {
5056
- 'displayName': listClusterPermissionsRequest.displayName,
5057
- 'limit': listClusterPermissionsRequest.limit,
5058
- 'page': listClusterPermissionsRequest.page,
5059
- 'sortOrder': listClusterPermissionsRequest.sortOrder,
5060
- 'sortBy': listClusterPermissionsRequest.sortBy,
5061
5009
  };
5062
5010
 
5063
5011
  let headerParams = {
5064
5012
  "Content-Type": common.Constants.APPLICATION_JSON,
5065
- 'opc-request-id': listClusterPermissionsRequest.opcRequestId,
5013
+ 'opc-request-id': getDefaultClusterRequest.opcRequestId,
5066
5014
  };
5067
5015
 
5068
5016
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5069
5017
  const retrier = GenericRetrier.createPreferredRetrier(
5070
5018
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5071
- listClusterPermissionsRequest.retryConfiguration,
5019
+ getDefaultClusterRequest.retryConfiguration,
5072
5020
  specRetryConfiguration
5073
5021
  );
5074
5022
  if (this.logger) retrier.logger = this.logger;
5075
5023
  const request = await composeRequest({
5076
5024
  baseEndpoint: this._endpoint,
5077
5025
  defaultHeaders: this._defaultHeaders,
5078
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/permissions',
5026
+ path: '/aiDataPlatforms/{aiDataPlatformId}/defaultCluster',
5079
5027
  method: 'GET',
5080
5028
  pathParams: pathParams,
5081
5029
  headerParams: headerParams,
@@ -5084,20 +5032,20 @@ export class ClusterClient {
5084
5032
  try {
5085
5033
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5086
5034
  const sdkResponse = composeResponse({
5087
- responseObject: <responses.ListClusterPermissionsResponse>{},
5035
+ responseObject: <responses.GetDefaultClusterResponse>{},
5088
5036
  body: await response.json(),
5089
- bodyKey: "clusterPermissionCollection",
5090
- bodyModel: model.ClusterPermissionCollection,
5091
- type: "model.ClusterPermissionCollection",
5037
+ bodyKey: "defaultCluster",
5038
+ bodyModel: model.DefaultCluster,
5039
+ type: "model.DefaultCluster",
5092
5040
  responseHeaders: [
5093
5041
  {
5094
- value: response.headers.get("opc-request-id"),
5095
- key: "opcRequestId",
5042
+ value: response.headers.get("etag"),
5043
+ key: "etag",
5096
5044
  dataType: "string"
5097
5045
  },
5098
5046
  {
5099
- value: response.headers.get("opc-next-page"),
5100
- key: "opcNextPage",
5047
+ value: response.headers.get("opc-request-id"),
5048
+ key: "opcRequestId",
5101
5049
  dataType: "string"
5102
5050
  },
5103
5051
  ]
@@ -5111,28 +5059,263 @@ export class ClusterClient {
5111
5059
  }
5112
5060
 
5113
5061
  /**
5114
- * Returns a list of all clusters in a given workspace.
5062
+ * Imports one or more unique workspace YAML files into an active Spark Compute.
5115
5063
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5116
- * @param ListClustersRequest
5117
- * @return ListClustersResponse
5064
+ * @param ImportComputeConfigurationRequest
5065
+ * @return ImportComputeConfigurationResponse
5118
5066
  * @throws OciError when an error occurs
5119
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListClusters.ts.html |here} to see how to use ListClusters API.
5067
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ImportComputeConfiguration.ts.html |here} to see how to use ImportComputeConfiguration API.
5120
5068
  */
5121
- public async listClusters (listClustersRequest: requests.ListClustersRequest) : Promise<responses.ListClustersResponse> {
5069
+ public async importComputeConfiguration (importComputeConfigurationRequest: requests.ImportComputeConfigurationRequest) : Promise<responses.ImportComputeConfigurationResponse> {
5122
5070
  if (this.logger)
5123
- this.logger.debug("Calling operation ClusterClient#listClusters.");
5124
- const operationName = "listClusters";
5071
+ this.logger.debug("Calling operation ClusterClient#importComputeConfiguration.");
5072
+ const operationName = "importComputeConfiguration";
5125
5073
  const apiReferenceLink = "";
5126
5074
  const pathParams = {
5127
- "{aiDataPlatformId}": listClustersRequest.aiDataPlatformId,
5128
- "{workspaceKey}": listClustersRequest.workspaceKey,
5075
+ "{aiDataPlatformId}": importComputeConfigurationRequest.aiDataPlatformId,
5076
+ "{workspaceKey}": importComputeConfigurationRequest.workspaceKey,
5077
+ "{clusterKey}": importComputeConfigurationRequest.clusterKey,
5129
5078
  };
5130
5079
 
5131
5080
  const queryParams = {
5132
- 'state': listClustersRequest.state,
5133
- 'displayName': listClustersRequest.displayName,
5134
- 'displayNameContains': listClustersRequest.displayNameContains,
5135
- 'type': listClustersRequest.type,
5081
+ };
5082
+
5083
+ let headerParams = {
5084
+ "Content-Type": common.Constants.APPLICATION_JSON,
5085
+ 'opc-retry-token': importComputeConfigurationRequest.opcRetryToken,'opc-request-id': importComputeConfigurationRequest.opcRequestId,
5086
+ };
5087
+
5088
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5089
+ const retrier = GenericRetrier.createPreferredRetrier(
5090
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5091
+ importComputeConfigurationRequest.retryConfiguration,
5092
+ specRetryConfiguration
5093
+ );
5094
+ if (this.logger) retrier.logger = this.logger;
5095
+ const request = await composeRequest({
5096
+ baseEndpoint: this._endpoint,
5097
+ defaultHeaders: this._defaultHeaders,
5098
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/importComputeConfiguration',
5099
+ method: 'POST',
5100
+ bodyContent: common.ObjectSerializer.serialize(importComputeConfigurationRequest.importComputeConfigurationDetails, "ImportComputeConfigurationDetails"
5101
+ , model.ImportComputeConfigurationDetails.getJsonObj)
5102
+ ,
5103
+ pathParams: pathParams,
5104
+ headerParams: headerParams,
5105
+ queryParams: queryParams
5106
+ });
5107
+ try {
5108
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5109
+ const sdkResponse = composeResponse({
5110
+ responseObject: <responses.ImportComputeConfigurationResponse>{},
5111
+ responseHeaders: [
5112
+ {
5113
+ value: response.headers.get("aidp-async-operation-key"),
5114
+ key: "aidpAsyncOperationKey",
5115
+ dataType: "string"
5116
+ },
5117
+ {
5118
+ value: response.headers.get("opc-request-id"),
5119
+ key: "opcRequestId",
5120
+ dataType: "string"
5121
+ },
5122
+ ]
5123
+ });
5124
+
5125
+ return sdkResponse;
5126
+ }
5127
+ catch (err) {
5128
+ throw err;
5129
+ }
5130
+ }
5131
+
5132
+ /**
5133
+ * Gets a list of libraries installed on a cluster.
5134
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5135
+ * @param ListClusterLibrariesRequest
5136
+ * @return ListClusterLibrariesResponse
5137
+ * @throws OciError when an error occurs
5138
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListClusterLibraries.ts.html |here} to see how to use ListClusterLibraries API.
5139
+ */
5140
+ public async listClusterLibraries (listClusterLibrariesRequest: requests.ListClusterLibrariesRequest) : Promise<responses.ListClusterLibrariesResponse> {
5141
+ if (this.logger)
5142
+ this.logger.debug("Calling operation ClusterClient#listClusterLibraries.");
5143
+ const operationName = "listClusterLibraries";
5144
+ const apiReferenceLink = "";
5145
+ const pathParams = {
5146
+ "{aiDataPlatformId}": listClusterLibrariesRequest.aiDataPlatformId,
5147
+ "{workspaceKey}": listClusterLibrariesRequest.workspaceKey,
5148
+ "{clusterKey}": listClusterLibrariesRequest.clusterKey,
5149
+ };
5150
+
5151
+ const queryParams = {
5152
+ 'displayName': listClusterLibrariesRequest.displayName,
5153
+ 'limit': listClusterLibrariesRequest.limit,
5154
+ 'page': listClusterLibrariesRequest.page,
5155
+ 'sortOrder': listClusterLibrariesRequest.sortOrder,
5156
+ 'sortBy': listClusterLibrariesRequest.sortBy,
5157
+ };
5158
+
5159
+ let headerParams = {
5160
+ "Content-Type": common.Constants.APPLICATION_JSON,
5161
+ 'opc-request-id': listClusterLibrariesRequest.opcRequestId,
5162
+ };
5163
+
5164
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5165
+ const retrier = GenericRetrier.createPreferredRetrier(
5166
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5167
+ listClusterLibrariesRequest.retryConfiguration,
5168
+ specRetryConfiguration
5169
+ );
5170
+ if (this.logger) retrier.logger = this.logger;
5171
+ const request = await composeRequest({
5172
+ baseEndpoint: this._endpoint,
5173
+ defaultHeaders: this._defaultHeaders,
5174
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/libraries',
5175
+ method: 'GET',
5176
+ pathParams: pathParams,
5177
+ headerParams: headerParams,
5178
+ queryParams: queryParams
5179
+ });
5180
+ try {
5181
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5182
+ const sdkResponse = composeResponse({
5183
+ responseObject: <responses.ListClusterLibrariesResponse>{},
5184
+ body: await response.json(),
5185
+ bodyKey: "clusterLibraryCollection",
5186
+ bodyModel: model.ClusterLibraryCollection,
5187
+ type: "model.ClusterLibraryCollection",
5188
+ responseHeaders: [
5189
+ {
5190
+ value: response.headers.get("opc-request-id"),
5191
+ key: "opcRequestId",
5192
+ dataType: "string"
5193
+ },
5194
+ {
5195
+ value: response.headers.get("opc-next-page"),
5196
+ key: "opcNextPage",
5197
+ dataType: "string"
5198
+ },
5199
+ {
5200
+ value: response.headers.get("opc-prev-page"),
5201
+ key: "opcPrevPage",
5202
+ dataType: "string"
5203
+ },
5204
+ {
5205
+ value: response.headers.get("opc-total-items"),
5206
+ key: "opcTotalItems",
5207
+ dataType: "number"
5208
+ },
5209
+ ]
5210
+ });
5211
+
5212
+ return sdkResponse;
5213
+ }
5214
+ catch (err) {
5215
+ throw err;
5216
+ }
5217
+ }
5218
+
5219
+ /**
5220
+ * Return a list of permissions for a given cluster.
5221
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5222
+ * @param ListClusterPermissionsRequest
5223
+ * @return ListClusterPermissionsResponse
5224
+ * @throws OciError when an error occurs
5225
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListClusterPermissions.ts.html |here} to see how to use ListClusterPermissions API.
5226
+ */
5227
+ public async listClusterPermissions (listClusterPermissionsRequest: requests.ListClusterPermissionsRequest) : Promise<responses.ListClusterPermissionsResponse> {
5228
+ if (this.logger)
5229
+ this.logger.debug("Calling operation ClusterClient#listClusterPermissions.");
5230
+ const operationName = "listClusterPermissions";
5231
+ const apiReferenceLink = "";
5232
+ const pathParams = {
5233
+ "{aiDataPlatformId}": listClusterPermissionsRequest.aiDataPlatformId,
5234
+ "{workspaceKey}": listClusterPermissionsRequest.workspaceKey,
5235
+ "{clusterKey}": listClusterPermissionsRequest.clusterKey,
5236
+ };
5237
+
5238
+ const queryParams = {
5239
+ 'displayName': listClusterPermissionsRequest.displayName,
5240
+ 'limit': listClusterPermissionsRequest.limit,
5241
+ 'page': listClusterPermissionsRequest.page,
5242
+ 'sortOrder': listClusterPermissionsRequest.sortOrder,
5243
+ 'sortBy': listClusterPermissionsRequest.sortBy,
5244
+ };
5245
+
5246
+ let headerParams = {
5247
+ "Content-Type": common.Constants.APPLICATION_JSON,
5248
+ 'opc-request-id': listClusterPermissionsRequest.opcRequestId,
5249
+ };
5250
+
5251
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5252
+ const retrier = GenericRetrier.createPreferredRetrier(
5253
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5254
+ listClusterPermissionsRequest.retryConfiguration,
5255
+ specRetryConfiguration
5256
+ );
5257
+ if (this.logger) retrier.logger = this.logger;
5258
+ const request = await composeRequest({
5259
+ baseEndpoint: this._endpoint,
5260
+ defaultHeaders: this._defaultHeaders,
5261
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/permissions',
5262
+ method: 'GET',
5263
+ pathParams: pathParams,
5264
+ headerParams: headerParams,
5265
+ queryParams: queryParams
5266
+ });
5267
+ try {
5268
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5269
+ const sdkResponse = composeResponse({
5270
+ responseObject: <responses.ListClusterPermissionsResponse>{},
5271
+ body: await response.json(),
5272
+ bodyKey: "clusterPermissionCollection",
5273
+ bodyModel: model.ClusterPermissionCollection,
5274
+ type: "model.ClusterPermissionCollection",
5275
+ responseHeaders: [
5276
+ {
5277
+ value: response.headers.get("opc-request-id"),
5278
+ key: "opcRequestId",
5279
+ dataType: "string"
5280
+ },
5281
+ {
5282
+ value: response.headers.get("opc-next-page"),
5283
+ key: "opcNextPage",
5284
+ dataType: "string"
5285
+ },
5286
+ ]
5287
+ });
5288
+
5289
+ return sdkResponse;
5290
+ }
5291
+ catch (err) {
5292
+ throw err;
5293
+ }
5294
+ }
5295
+
5296
+ /**
5297
+ * Returns a list of all clusters in a given workspace.
5298
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5299
+ * @param ListClustersRequest
5300
+ * @return ListClustersResponse
5301
+ * @throws OciError when an error occurs
5302
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListClusters.ts.html |here} to see how to use ListClusters API.
5303
+ */
5304
+ public async listClusters (listClustersRequest: requests.ListClustersRequest) : Promise<responses.ListClustersResponse> {
5305
+ if (this.logger)
5306
+ this.logger.debug("Calling operation ClusterClient#listClusters.");
5307
+ const operationName = "listClusters";
5308
+ const apiReferenceLink = "";
5309
+ const pathParams = {
5310
+ "{aiDataPlatformId}": listClustersRequest.aiDataPlatformId,
5311
+ "{workspaceKey}": listClustersRequest.workspaceKey,
5312
+ };
5313
+
5314
+ const queryParams = {
5315
+ 'state': listClustersRequest.state,
5316
+ 'displayName': listClustersRequest.displayName,
5317
+ 'displayNameContains': listClustersRequest.displayNameContains,
5318
+ 'type': listClustersRequest.type,
5136
5319
  'limit': listClustersRequest.limit,
5137
5320
  'page': listClustersRequest.page,
5138
5321
  'sortOrder': listClustersRequest.sortOrder,
@@ -5566,47 +5749,47 @@ export class ClusterClient {
5566
5749
  }
5567
5750
 
5568
5751
  /**
5569
- * Starts a cluster that has halted operation.
5752
+ * Searches Maven packages available for cluster library installation.
5570
5753
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5571
- * @param StartClusterRequest
5572
- * @return StartClusterResponse
5754
+ * @param SearchMavenPackagesRequest
5755
+ * @return SearchMavenPackagesResponse
5573
5756
  * @throws OciError when an error occurs
5574
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/StartCluster.ts.html |here} to see how to use StartCluster API.
5757
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SearchMavenPackages.ts.html |here} to see how to use SearchMavenPackages API.
5575
5758
  */
5576
- public async startCluster (startClusterRequest: requests.StartClusterRequest) : Promise<responses.StartClusterResponse> {
5759
+ public async searchMavenPackages (searchMavenPackagesRequest: requests.SearchMavenPackagesRequest) : Promise<responses.SearchMavenPackagesResponse> {
5577
5760
  if (this.logger)
5578
- this.logger.debug("Calling operation ClusterClient#startCluster.");
5579
- const operationName = "startCluster";
5761
+ this.logger.debug("Calling operation ClusterClient#searchMavenPackages.");
5762
+ const operationName = "searchMavenPackages";
5580
5763
  const apiReferenceLink = "";
5581
5764
  const pathParams = {
5582
- "{aiDataPlatformId}": startClusterRequest.aiDataPlatformId,
5583
- "{workspaceKey}": startClusterRequest.workspaceKey,
5584
- "{clusterKey}": startClusterRequest.clusterKey,
5765
+ "{aiDataPlatformId}": searchMavenPackagesRequest.aiDataPlatformId,
5766
+ "{workspaceKey}": searchMavenPackagesRequest.workspaceKey,
5767
+ "{clusterKey}": searchMavenPackagesRequest.clusterKey,
5585
5768
  };
5586
5769
 
5587
5770
  const queryParams = {
5771
+ 'mavenSearchQuery': searchMavenPackagesRequest.mavenSearchQuery,
5772
+ 'limit': searchMavenPackagesRequest.limit,
5773
+ 'page': searchMavenPackagesRequest.page,
5588
5774
  };
5589
5775
 
5590
5776
  let headerParams = {
5591
5777
  "Content-Type": common.Constants.APPLICATION_JSON,
5592
- 'if-match': startClusterRequest.ifMatch,'opc-retry-token': startClusterRequest.opcRetryToken,'opc-request-id': startClusterRequest.opcRequestId,
5778
+ 'opc-request-id': searchMavenPackagesRequest.opcRequestId,
5593
5779
  };
5594
5780
 
5595
5781
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5596
5782
  const retrier = GenericRetrier.createPreferredRetrier(
5597
5783
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5598
- startClusterRequest.retryConfiguration,
5784
+ searchMavenPackagesRequest.retryConfiguration,
5599
5785
  specRetryConfiguration
5600
5786
  );
5601
5787
  if (this.logger) retrier.logger = this.logger;
5602
5788
  const request = await composeRequest({
5603
5789
  baseEndpoint: this._endpoint,
5604
5790
  defaultHeaders: this._defaultHeaders,
5605
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/start',
5606
- method: 'POST',
5607
- bodyContent: common.ObjectSerializer.serialize(startClusterRequest.startClusterDetails, "StartClusterDetails"
5608
- , model.StartClusterDetails.getJsonObj)
5609
- ,
5791
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/mavenPackages',
5792
+ method: 'GET',
5610
5793
  pathParams: pathParams,
5611
5794
  headerParams: headerParams,
5612
5795
  queryParams: queryParams
@@ -5614,15 +5797,95 @@ export class ClusterClient {
5614
5797
  try {
5615
5798
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5616
5799
  const sdkResponse = composeResponse({
5617
- responseObject: <responses.StartClusterResponse>{},
5800
+ responseObject: <responses.SearchMavenPackagesResponse>{},
5618
5801
  body: await response.json(),
5619
- bodyKey: "cluster",
5620
- bodyModel: model.Cluster,
5621
- type: "model.Cluster",
5802
+ bodyKey: "mavenSearchSummaryCollection",
5803
+ bodyModel: model.MavenSearchSummaryCollection,
5804
+ type: "model.MavenSearchSummaryCollection",
5622
5805
  responseHeaders: [
5623
5806
  {
5624
- value: response.headers.get("aidp-async-operation-key"),
5625
- key: "aidpAsyncOperationKey",
5807
+ value: response.headers.get("opc-request-id"),
5808
+ key: "opcRequestId",
5809
+ dataType: "string"
5810
+ },
5811
+ {
5812
+ value: response.headers.get("opc-next-page"),
5813
+ key: "opcNextPage",
5814
+ dataType: "string"
5815
+ },
5816
+ {
5817
+ value: response.headers.get("opc-prev-page"),
5818
+ key: "opcPrevPage",
5819
+ dataType: "string"
5820
+ },
5821
+ ]
5822
+ });
5823
+
5824
+ return sdkResponse;
5825
+ }
5826
+ catch (err) {
5827
+ throw err;
5828
+ }
5829
+ }
5830
+
5831
+ /**
5832
+ * Starts a cluster that has halted operation.
5833
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5834
+ * @param StartClusterRequest
5835
+ * @return StartClusterResponse
5836
+ * @throws OciError when an error occurs
5837
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/StartCluster.ts.html |here} to see how to use StartCluster API.
5838
+ */
5839
+ public async startCluster (startClusterRequest: requests.StartClusterRequest) : Promise<responses.StartClusterResponse> {
5840
+ if (this.logger)
5841
+ this.logger.debug("Calling operation ClusterClient#startCluster.");
5842
+ const operationName = "startCluster";
5843
+ const apiReferenceLink = "";
5844
+ const pathParams = {
5845
+ "{aiDataPlatformId}": startClusterRequest.aiDataPlatformId,
5846
+ "{workspaceKey}": startClusterRequest.workspaceKey,
5847
+ "{clusterKey}": startClusterRequest.clusterKey,
5848
+ };
5849
+
5850
+ const queryParams = {
5851
+ };
5852
+
5853
+ let headerParams = {
5854
+ "Content-Type": common.Constants.APPLICATION_JSON,
5855
+ 'if-match': startClusterRequest.ifMatch,'opc-retry-token': startClusterRequest.opcRetryToken,'opc-request-id': startClusterRequest.opcRequestId,
5856
+ };
5857
+
5858
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5859
+ const retrier = GenericRetrier.createPreferredRetrier(
5860
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5861
+ startClusterRequest.retryConfiguration,
5862
+ specRetryConfiguration
5863
+ );
5864
+ if (this.logger) retrier.logger = this.logger;
5865
+ const request = await composeRequest({
5866
+ baseEndpoint: this._endpoint,
5867
+ defaultHeaders: this._defaultHeaders,
5868
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/start',
5869
+ method: 'POST',
5870
+ bodyContent: common.ObjectSerializer.serialize(startClusterRequest.startClusterDetails, "StartClusterDetails"
5871
+ , model.StartClusterDetails.getJsonObj)
5872
+ ,
5873
+ pathParams: pathParams,
5874
+ headerParams: headerParams,
5875
+ queryParams: queryParams
5876
+ });
5877
+ try {
5878
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5879
+ const sdkResponse = composeResponse({
5880
+ responseObject: <responses.StartClusterResponse>{},
5881
+ body: await response.json(),
5882
+ bodyKey: "cluster",
5883
+ bodyModel: model.Cluster,
5884
+ type: "model.Cluster",
5885
+ responseHeaders: [
5886
+ {
5887
+ value: response.headers.get("aidp-async-operation-key"),
5888
+ key: "aidpAsyncOperationKey",
5626
5889
  dataType: "string"
5627
5890
  },
5628
5891
  {
@@ -6394,12 +6657,12 @@ export class CredentialsClient {
6394
6657
  }
6395
6658
 
6396
6659
  }
6397
- export enum DeltaShareApiKeys {
6660
+ export enum DataLineageApiKeys {
6398
6661
  }
6399
6662
  /**
6400
6663
  * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
6401
6664
  */
6402
- export class DeltaShareClient {
6665
+ export class DataLineageClient {
6403
6666
  protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
6404
6667
  protected static endpointServiceName = '';
6405
6668
  protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
@@ -6409,7 +6672,7 @@ export class DeltaShareClient {
6409
6672
  protected _circuitBreaker: typeof Breaker | null = null;
6410
6673
  protected _httpOptions: any = undefined;
6411
6674
  protected _bodyDuplexMode: any = undefined;
6412
- public targetService = "DeltaShare";
6675
+ public targetService = "DataLineage";
6413
6676
  protected _regionId : string = '';
6414
6677
  protected "_region" : common.Region;
6415
6678
  protected _lastSetRegionOrRegionId : string = "";
@@ -6466,7 +6729,7 @@ export class DeltaShareClient {
6466
6729
  this._endpoint = endpoint;
6467
6730
  this._endpoint = this._endpoint + '/20260430';
6468
6731
  if (this.logger)
6469
- this.logger.info(`DeltaShareClient endpoint set to ${this._endpoint}`);
6732
+ this.logger.info(`DataLineageClient endpoint set to ${this._endpoint}`);
6470
6733
  }
6471
6734
 
6472
6735
  public get logger() {
@@ -6484,16 +6747,16 @@ export class DeltaShareClient {
6484
6747
  this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
6485
6748
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
6486
6749
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
6487
- DeltaShareClient.serviceEndpointTemplate,
6750
+ DataLineageClient.serviceEndpointTemplate,
6488
6751
  this._region,
6489
- DeltaShareClient.endpointServiceName,
6752
+ DataLineageClient.endpointServiceName,
6490
6753
 
6491
6754
  );
6492
6755
  } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
6493
6756
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
6494
- DeltaShareClient.serviceEndpointTemplate,
6757
+ DataLineageClient.serviceEndpointTemplate,
6495
6758
  this._regionId,
6496
- DeltaShareClient.endpointServiceName,
6759
+ DataLineageClient.endpointServiceName,
6497
6760
 
6498
6761
  );
6499
6762
  }
@@ -6507,9 +6770,9 @@ export class DeltaShareClient {
6507
6770
  public set region(region: common.Region) {
6508
6771
  this._region = region;
6509
6772
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
6510
- DeltaShareClient.serviceEndpointTemplate,
6773
+ DataLineageClient.serviceEndpointTemplate,
6511
6774
  region,
6512
- DeltaShareClient.endpointServiceName,
6775
+ DataLineageClient.endpointServiceName,
6513
6776
 
6514
6777
  );
6515
6778
  this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
@@ -6526,9 +6789,9 @@ export class DeltaShareClient {
6526
6789
  public set regionId(regionId: string) {
6527
6790
  this._regionId = regionId;
6528
6791
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
6529
- DeltaShareClient.serviceEndpointTemplate,
6792
+ DataLineageClient.serviceEndpointTemplate,
6530
6793
  regionId,
6531
- DeltaShareClient.endpointServiceName,
6794
+ DataLineageClient.endpointServiceName,
6532
6795
 
6533
6796
  );
6534
6797
  this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
@@ -6564,21 +6827,21 @@ export class DeltaShareClient {
6564
6827
  }
6565
6828
 
6566
6829
  /**
6567
- * Creates a recipient for a Delta Share protocol.
6830
+ * (Preview) Returns complete lineage for the provided anchor node in CSV format.
6568
6831
  *
6569
6832
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6570
- * @param CreateRecipientRequest
6571
- * @return CreateRecipientResponse
6833
+ * @param ExportLineageRequest
6834
+ * @return ExportLineageResponse
6572
6835
  * @throws OciError when an error occurs
6573
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateRecipient.ts.html |here} to see how to use CreateRecipient API.
6836
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ExportLineage.ts.html |here} to see how to use ExportLineage API.
6574
6837
  */
6575
- public async createRecipient (createRecipientRequest: requests.CreateRecipientRequest) : Promise<responses.CreateRecipientResponse> {
6838
+ public async exportLineage (exportLineageRequest: requests.ExportLineageRequest) : Promise<responses.ExportLineageResponse> {
6576
6839
  if (this.logger)
6577
- this.logger.debug("Calling operation DeltaShareClient#createRecipient.");
6578
- const operationName = "createRecipient";
6840
+ this.logger.debug("Calling operation DataLineageClient#exportLineage.");
6841
+ const operationName = "exportLineage";
6579
6842
  const apiReferenceLink = "";
6580
6843
  const pathParams = {
6581
- "{aiDataPlatformId}": createRecipientRequest.aiDataPlatformId,
6844
+ "{aiDataPlatformId}": exportLineageRequest.aiDataPlatformId,
6582
6845
  };
6583
6846
 
6584
6847
  const queryParams = {
@@ -6586,23 +6849,23 @@ export class DeltaShareClient {
6586
6849
 
6587
6850
  let headerParams = {
6588
6851
  "Content-Type": common.Constants.APPLICATION_JSON,
6589
- 'opc-retry-token': createRecipientRequest.opcRetryToken,'opc-request-id': createRecipientRequest.opcRequestId,'should-update-recent': createRecipientRequest.shouldUpdateRecent,
6852
+ 'opc-retry-token': exportLineageRequest.opcRetryToken,'opc-request-id': exportLineageRequest.opcRequestId,'if-match': exportLineageRequest.ifMatch,
6590
6853
  };
6591
6854
 
6592
6855
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6593
6856
  const retrier = GenericRetrier.createPreferredRetrier(
6594
6857
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
6595
- createRecipientRequest.retryConfiguration,
6858
+ exportLineageRequest.retryConfiguration,
6596
6859
  specRetryConfiguration
6597
6860
  );
6598
6861
  if (this.logger) retrier.logger = this.logger;
6599
6862
  const request = await composeRequest({
6600
6863
  baseEndpoint: this._endpoint,
6601
6864
  defaultHeaders: this._defaultHeaders,
6602
- path: '/aiDataPlatforms/{aiDataPlatformId}/recipients',
6865
+ path: '/aiDataPlatforms/{aiDataPlatformId}/actions/exportLineage',
6603
6866
  method: 'POST',
6604
- bodyContent: common.ObjectSerializer.serialize(createRecipientRequest.createRecipientDetails, "CreateRecipientDetails"
6605
- , model.CreateRecipientDetails.getJsonObj)
6867
+ bodyContent: common.ObjectSerializer.serialize(exportLineageRequest.exportLineageDetails, "ExportLineageDetails"
6868
+ , model.ExportLineageDetails.getJsonObj)
6606
6869
  ,
6607
6870
  pathParams: pathParams,
6608
6871
  headerParams: headerParams,
@@ -6611,20 +6874,20 @@ export class DeltaShareClient {
6611
6874
  try {
6612
6875
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6613
6876
  const sdkResponse = composeResponse({
6614
- responseObject: <responses.CreateRecipientResponse>{},
6615
- body: await response.json(),
6616
- bodyKey: "recipient",
6617
- bodyModel: model.Recipient,
6618
- type: "model.Recipient",
6877
+ responseObject: <responses.ExportLineageResponse>{},
6878
+
6879
+ body: response.body!,
6880
+ bodyKey: "value",
6881
+ bodyModel: "string",
6619
6882
  responseHeaders: [
6620
6883
  {
6621
- value: response.headers.get("etag"),
6622
- key: "etag",
6884
+ value: response.headers.get("opc-request-id"),
6885
+ key: "opcRequestId",
6623
6886
  dataType: "string"
6624
6887
  },
6625
6888
  {
6626
- value: response.headers.get("opc-request-id"),
6627
- key: "opcRequestId",
6889
+ value: response.headers.get("Content-Disposition"),
6890
+ key: "contentDisposition",
6628
6891
  dataType: "string"
6629
6892
  },
6630
6893
  ]
@@ -6638,45 +6901,46 @@ export class DeltaShareClient {
6638
6901
  }
6639
6902
 
6640
6903
  /**
6641
- * Creates a Delta Share protocol.
6642
- *
6904
+ * (Preview) Returns lineage for a given entity object.
6643
6905
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6644
- * @param CreateShareRequest
6645
- * @return CreateShareResponse
6906
+ * @param FetchEntityLineageRequest
6907
+ * @return FetchEntityLineageResponse
6646
6908
  * @throws OciError when an error occurs
6647
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateShare.ts.html |here} to see how to use CreateShare API.
6909
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchEntityLineage.ts.html |here} to see how to use FetchEntityLineage API.
6648
6910
  */
6649
- public async createShare (createShareRequest: requests.CreateShareRequest) : Promise<responses.CreateShareResponse> {
6911
+ public async fetchEntityLineage (fetchEntityLineageRequest: requests.FetchEntityLineageRequest) : Promise<responses.FetchEntityLineageResponse> {
6650
6912
  if (this.logger)
6651
- this.logger.debug("Calling operation DeltaShareClient#createShare.");
6652
- const operationName = "createShare";
6913
+ this.logger.debug("Calling operation DataLineageClient#fetchEntityLineage.");
6914
+ const operationName = "fetchEntityLineage";
6653
6915
  const apiReferenceLink = "";
6654
6916
  const pathParams = {
6655
- "{aiDataPlatformId}": createShareRequest.aiDataPlatformId,
6917
+ "{aiDataPlatformId}": fetchEntityLineageRequest.aiDataPlatformId,
6656
6918
  };
6657
6919
 
6658
6920
  const queryParams = {
6921
+ 'limit': fetchEntityLineageRequest.limit,
6922
+ 'page': fetchEntityLineageRequest.page,
6659
6923
  };
6660
6924
 
6661
6925
  let headerParams = {
6662
6926
  "Content-Type": common.Constants.APPLICATION_JSON,
6663
- 'opc-retry-token': createShareRequest.opcRetryToken,'opc-request-id': createShareRequest.opcRequestId,'should-update-recent': createShareRequest.shouldUpdateRecent,
6927
+ 'opc-retry-token': fetchEntityLineageRequest.opcRetryToken,'opc-request-id': fetchEntityLineageRequest.opcRequestId,'if-match': fetchEntityLineageRequest.ifMatch,
6664
6928
  };
6665
6929
 
6666
6930
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6667
6931
  const retrier = GenericRetrier.createPreferredRetrier(
6668
6932
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
6669
- createShareRequest.retryConfiguration,
6933
+ fetchEntityLineageRequest.retryConfiguration,
6670
6934
  specRetryConfiguration
6671
6935
  );
6672
6936
  if (this.logger) retrier.logger = this.logger;
6673
6937
  const request = await composeRequest({
6674
6938
  baseEndpoint: this._endpoint,
6675
6939
  defaultHeaders: this._defaultHeaders,
6676
- path: '/aiDataPlatforms/{aiDataPlatformId}/shares',
6940
+ path: '/aiDataPlatforms/{aiDataPlatformId}/actions/fetchLineage',
6677
6941
  method: 'POST',
6678
- bodyContent: common.ObjectSerializer.serialize(createShareRequest.createShareDetails, "CreateShareDetails"
6679
- , model.CreateShareDetails.getJsonObj)
6942
+ bodyContent: common.ObjectSerializer.serialize(fetchEntityLineageRequest.fetchEntityLineageDetails, "FetchEntityLineageDetails"
6943
+ , model.FetchEntityLineageDetails.getJsonObj)
6680
6944
  ,
6681
6945
  pathParams: pathParams,
6682
6946
  headerParams: headerParams,
@@ -6685,20 +6949,20 @@ export class DeltaShareClient {
6685
6949
  try {
6686
6950
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6687
6951
  const sdkResponse = composeResponse({
6688
- responseObject: <responses.CreateShareResponse>{},
6952
+ responseObject: <responses.FetchEntityLineageResponse>{},
6689
6953
  body: await response.json(),
6690
- bodyKey: "share",
6691
- bodyModel: model.Share,
6692
- type: "model.Share",
6954
+ bodyKey: "entityLineage",
6955
+ bodyModel: model.EntityLineage,
6956
+ type: "model.EntityLineage",
6693
6957
  responseHeaders: [
6694
6958
  {
6695
- value: response.headers.get("etag"),
6696
- key: "etag",
6959
+ value: response.headers.get("opc-request-id"),
6960
+ key: "opcRequestId",
6697
6961
  dataType: "string"
6698
6962
  },
6699
6963
  {
6700
- value: response.headers.get("opc-request-id"),
6701
- key: "opcRequestId",
6964
+ value: response.headers.get("opc-next-page"),
6965
+ key: "opcNextPage",
6702
6966
  dataType: "string"
6703
6967
  },
6704
6968
  ]
@@ -6711,84 +6975,192 @@ export class DeltaShareClient {
6711
6975
  }
6712
6976
  }
6713
6977
 
6714
- /**
6715
- * Deletes a Delta Share recipient.
6716
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6717
- * @param DeleteRecipientRequest
6718
- * @return DeleteRecipientResponse
6719
- * @throws OciError when an error occurs
6720
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteRecipient.ts.html |here} to see how to use DeleteRecipient API.
6721
- */
6722
- public async deleteRecipient (deleteRecipientRequest: requests.DeleteRecipientRequest) : Promise<responses.DeleteRecipientResponse> {
6723
- if (this.logger)
6724
- this.logger.debug("Calling operation DeltaShareClient#deleteRecipient.");
6725
- const operationName = "deleteRecipient";
6726
- const apiReferenceLink = "";
6727
- const pathParams = {
6728
- "{aiDataPlatformId}": deleteRecipientRequest.aiDataPlatformId,
6729
- "{recipientKey}": deleteRecipientRequest.recipientKey,
6730
- };
6978
+ }
6979
+ export enum DeltaShareApiKeys {
6980
+ }
6981
+ /**
6982
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
6983
+ */
6984
+ export class DeltaShareClient {
6985
+ protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
6986
+ protected static endpointServiceName = '';
6987
+ protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
6988
+ protected "_endpoint" : string = '';
6989
+ protected "_defaultHeaders" : any = {};
6990
+ protected "_clientConfiguration": common.ClientConfiguration;
6991
+ protected _circuitBreaker: typeof Breaker | null = null;
6992
+ protected _httpOptions: any = undefined;
6993
+ protected _bodyDuplexMode: any = undefined;
6994
+ public targetService = "DeltaShare";
6995
+ protected _regionId : string = '';
6996
+ protected "_region" : common.Region;
6997
+ protected _lastSetRegionOrRegionId : string = "";
6731
6998
 
6732
- const queryParams = {
6733
- };
6999
+ protected _httpClient: common.HttpClient;
7000
+ protected _authProvider: common.AuthenticationDetailsProvider | undefined;
6734
7001
 
6735
- let headerParams = {
6736
- "Content-Type": common.Constants.APPLICATION_JSON,
6737
- 'if-match': deleteRecipientRequest.ifMatch,'opc-request-id': deleteRecipientRequest.opcRequestId,'should-update-recent': deleteRecipientRequest.shouldUpdateRecent,
6738
- };
7002
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
7003
+ const requestSigner = params.authenticationDetailsProvider
7004
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
7005
+ : null;
7006
+ this._authProvider = params.authenticationDetailsProvider;
7007
+ if (clientConfiguration) {
7008
+ this._clientConfiguration = clientConfiguration;
7009
+ this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
7010
+ this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
7011
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
7012
+ }
6739
7013
 
6740
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6741
- const retrier = GenericRetrier.createPreferredRetrier(
6742
- this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
6743
- deleteRecipientRequest.retryConfiguration,
6744
- specRetryConfiguration
6745
- );
6746
- if (this.logger) retrier.logger = this.logger;
6747
- const request = await composeRequest({
6748
- baseEndpoint: this._endpoint,
6749
- defaultHeaders: this._defaultHeaders,
6750
- path: '/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}',
6751
- method: 'DELETE',
6752
- pathParams: pathParams,
6753
- headerParams: headerParams,
6754
- queryParams: queryParams
6755
- });
6756
- try {
6757
- const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6758
- const sdkResponse = composeResponse({
6759
- responseObject: <responses.DeleteRecipientResponse>{},
6760
- responseHeaders: [
6761
- {
6762
- value: response.headers.get("opc-request-id"),
6763
- key: "opcRequestId",
6764
- dataType: "string"
6765
- },
6766
- ]
6767
- });
7014
+ if (!developerToolConfiguration.isServiceEnabled("aidp"))
7015
+ {
7016
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
7017
+ throw errmsg.concat("aidp");
7018
+ }
6768
7019
 
6769
- return sdkResponse;
7020
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
7021
+ const specCircuitBreakerEnabled = true;
7022
+ if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
7023
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
7024
+ }
7025
+ this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
7026
+
7027
+ if (params.authenticationDetailsProvider &&
7028
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
7029
+ const provider: common.RegionProvider = params.authenticationDetailsProvider;
7030
+ if (provider.getRegion()) {
7031
+ this.region = provider.getRegion();
6770
7032
  }
6771
- catch (err) {
6772
- throw err;
7033
+ }
7034
+ }
7035
+
7036
+ /**
7037
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
7038
+ */
7039
+ public get endpoint() {
7040
+ return this._endpoint;
7041
+ }
7042
+
7043
+ /**
7044
+ * Sets the endpoint to call (ex, https://www.example.com).
7045
+ * @param endpoint The endpoint of the service.
7046
+ */
7047
+ public set endpoint(endpoint: string) {
7048
+ this._endpoint = endpoint;
7049
+ this._endpoint = this._endpoint + '/20260430';
7050
+ if (this.logger)
7051
+ this.logger.info(`DeltaShareClient endpoint set to ${this._endpoint}`);
7052
+ }
7053
+
7054
+ public get logger() {
7055
+ return common.LOG.logger;
7056
+ }
7057
+
7058
+ /**
7059
+ * Determines whether realm specific endpoint should be used or not.
7060
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
7061
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
7062
+ */
7063
+ public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
7064
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
7065
+ if (this.logger)
7066
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
7067
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
7068
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
7069
+ DeltaShareClient.serviceEndpointTemplate,
7070
+ this._region,
7071
+ DeltaShareClient.endpointServiceName,
7072
+
7073
+ );
7074
+ } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
7075
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
7076
+ DeltaShareClient.serviceEndpointTemplate,
7077
+ this._regionId,
7078
+ DeltaShareClient.endpointServiceName,
7079
+
7080
+ );
6773
7081
  }
6774
7082
  }
6775
7083
 
6776
7084
  /**
6777
- * Deletes a Delta Share.
7085
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
7086
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
7087
+ * @param region The region of the service.
7088
+ */
7089
+ public set region(region: common.Region) {
7090
+ this._region = region;
7091
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
7092
+ DeltaShareClient.serviceEndpointTemplate,
7093
+ region,
7094
+ DeltaShareClient.endpointServiceName,
7095
+
7096
+ );
7097
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
7098
+ }
7099
+
7100
+ /**
7101
+ * Sets the regionId to call (ex, 'us-phoenix-1').
7102
+ *
7103
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
7104
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
7105
+ * and then call {@link #endpoint(String) endpoint}.
7106
+ * @param regionId The public region ID.
7107
+ */
7108
+ public set regionId(regionId: string) {
7109
+ this._regionId = regionId;
7110
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
7111
+ DeltaShareClient.serviceEndpointTemplate,
7112
+ regionId,
7113
+ DeltaShareClient.endpointServiceName,
7114
+
7115
+ );
7116
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
7117
+ }
7118
+
7119
+
7120
+
7121
+ /**
7122
+ * Shutdown the circuit breaker used by the client when it is no longer needed
7123
+ */
7124
+ public shutdownCircuitBreaker() {
7125
+ if (this._circuitBreaker) {
7126
+ this._circuitBreaker.shutdown();
7127
+ }
7128
+ }
7129
+
7130
+ /**
7131
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
7132
+ */
7133
+ public closeProvider() {
7134
+ if (this._authProvider) {
7135
+ if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
7136
+ (<common.AbstractRequestingAuthenticationDetailsProvider>this._authProvider).closeProvider();
7137
+ }
7138
+ }
7139
+
7140
+ /**
7141
+ * Close the client once it is no longer needed
7142
+ */
7143
+ public close() {
7144
+ this.shutdownCircuitBreaker();
7145
+ this.closeProvider();
7146
+ }
7147
+
7148
+ /**
7149
+ * Creates a recipient for a Delta Share protocol.
7150
+ *
6778
7151
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6779
- * @param DeleteShareRequest
6780
- * @return DeleteShareResponse
7152
+ * @param CreateRecipientRequest
7153
+ * @return CreateRecipientResponse
6781
7154
  * @throws OciError when an error occurs
6782
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteShare.ts.html |here} to see how to use DeleteShare API.
7155
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateRecipient.ts.html |here} to see how to use CreateRecipient API.
6783
7156
  */
6784
- public async deleteShare (deleteShareRequest: requests.DeleteShareRequest) : Promise<responses.DeleteShareResponse> {
7157
+ public async createRecipient (createRecipientRequest: requests.CreateRecipientRequest) : Promise<responses.CreateRecipientResponse> {
6785
7158
  if (this.logger)
6786
- this.logger.debug("Calling operation DeltaShareClient#deleteShare.");
6787
- const operationName = "deleteShare";
7159
+ this.logger.debug("Calling operation DeltaShareClient#createRecipient.");
7160
+ const operationName = "createRecipient";
6788
7161
  const apiReferenceLink = "";
6789
7162
  const pathParams = {
6790
- "{aiDataPlatformId}": deleteShareRequest.aiDataPlatformId,
6791
- "{shareKey}": deleteShareRequest.shareKey,
7163
+ "{aiDataPlatformId}": createRecipientRequest.aiDataPlatformId,
6792
7164
  };
6793
7165
 
6794
7166
  const queryParams = {
@@ -6796,21 +7168,24 @@ export class DeltaShareClient {
6796
7168
 
6797
7169
  let headerParams = {
6798
7170
  "Content-Type": common.Constants.APPLICATION_JSON,
6799
- 'if-match': deleteShareRequest.ifMatch,'opc-request-id': deleteShareRequest.opcRequestId,'should-update-recent': deleteShareRequest.shouldUpdateRecent,
7171
+ 'opc-retry-token': createRecipientRequest.opcRetryToken,'opc-request-id': createRecipientRequest.opcRequestId,'should-update-recent': createRecipientRequest.shouldUpdateRecent,
6800
7172
  };
6801
7173
 
6802
7174
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6803
7175
  const retrier = GenericRetrier.createPreferredRetrier(
6804
7176
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
6805
- deleteShareRequest.retryConfiguration,
7177
+ createRecipientRequest.retryConfiguration,
6806
7178
  specRetryConfiguration
6807
7179
  );
6808
7180
  if (this.logger) retrier.logger = this.logger;
6809
7181
  const request = await composeRequest({
6810
7182
  baseEndpoint: this._endpoint,
6811
7183
  defaultHeaders: this._defaultHeaders,
6812
- path: '/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}',
6813
- method: 'DELETE',
7184
+ path: '/aiDataPlatforms/{aiDataPlatformId}/recipients',
7185
+ method: 'POST',
7186
+ bodyContent: common.ObjectSerializer.serialize(createRecipientRequest.createRecipientDetails, "CreateRecipientDetails"
7187
+ , model.CreateRecipientDetails.getJsonObj)
7188
+ ,
6814
7189
  pathParams: pathParams,
6815
7190
  headerParams: headerParams,
6816
7191
  queryParams: queryParams
@@ -6818,8 +7193,17 @@ export class DeltaShareClient {
6818
7193
  try {
6819
7194
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6820
7195
  const sdkResponse = composeResponse({
6821
- responseObject: <responses.DeleteShareResponse>{},
7196
+ responseObject: <responses.CreateRecipientResponse>{},
7197
+ body: await response.json(),
7198
+ bodyKey: "recipient",
7199
+ bodyModel: model.Recipient,
7200
+ type: "model.Recipient",
6822
7201
  responseHeaders: [
7202
+ {
7203
+ value: response.headers.get("etag"),
7204
+ key: "etag",
7205
+ dataType: "string"
7206
+ },
6823
7207
  {
6824
7208
  value: response.headers.get("opc-request-id"),
6825
7209
  key: "opcRequestId",
@@ -6836,21 +7220,21 @@ export class DeltaShareClient {
6836
7220
  }
6837
7221
 
6838
7222
  /**
6839
- * Gets detailed information about a Delta Share recipient.
7223
+ * Creates a Delta Share protocol.
7224
+ *
6840
7225
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6841
- * @param GetRecipientRequest
6842
- * @return GetRecipientResponse
7226
+ * @param CreateShareRequest
7227
+ * @return CreateShareResponse
6843
7228
  * @throws OciError when an error occurs
6844
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetRecipient.ts.html |here} to see how to use GetRecipient API.
7229
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateShare.ts.html |here} to see how to use CreateShare API.
6845
7230
  */
6846
- public async getRecipient (getRecipientRequest: requests.GetRecipientRequest) : Promise<responses.GetRecipientResponse> {
7231
+ public async createShare (createShareRequest: requests.CreateShareRequest) : Promise<responses.CreateShareResponse> {
6847
7232
  if (this.logger)
6848
- this.logger.debug("Calling operation DeltaShareClient#getRecipient.");
6849
- const operationName = "getRecipient";
7233
+ this.logger.debug("Calling operation DeltaShareClient#createShare.");
7234
+ const operationName = "createShare";
6850
7235
  const apiReferenceLink = "";
6851
7236
  const pathParams = {
6852
- "{aiDataPlatformId}": getRecipientRequest.aiDataPlatformId,
6853
- "{recipientKey}": getRecipientRequest.recipientKey,
7237
+ "{aiDataPlatformId}": createShareRequest.aiDataPlatformId,
6854
7238
  };
6855
7239
 
6856
7240
  const queryParams = {
@@ -6858,21 +7242,24 @@ export class DeltaShareClient {
6858
7242
 
6859
7243
  let headerParams = {
6860
7244
  "Content-Type": common.Constants.APPLICATION_JSON,
6861
- 'opc-request-id': getRecipientRequest.opcRequestId,'should-update-recent': getRecipientRequest.shouldUpdateRecent,
7245
+ 'opc-retry-token': createShareRequest.opcRetryToken,'opc-request-id': createShareRequest.opcRequestId,'should-update-recent': createShareRequest.shouldUpdateRecent,
6862
7246
  };
6863
7247
 
6864
7248
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6865
7249
  const retrier = GenericRetrier.createPreferredRetrier(
6866
7250
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
6867
- getRecipientRequest.retryConfiguration,
7251
+ createShareRequest.retryConfiguration,
6868
7252
  specRetryConfiguration
6869
7253
  );
6870
7254
  if (this.logger) retrier.logger = this.logger;
6871
7255
  const request = await composeRequest({
6872
7256
  baseEndpoint: this._endpoint,
6873
7257
  defaultHeaders: this._defaultHeaders,
6874
- path: '/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}',
6875
- method: 'GET',
7258
+ path: '/aiDataPlatforms/{aiDataPlatformId}/shares',
7259
+ method: 'POST',
7260
+ bodyContent: common.ObjectSerializer.serialize(createShareRequest.createShareDetails, "CreateShareDetails"
7261
+ , model.CreateShareDetails.getJsonObj)
7262
+ ,
6876
7263
  pathParams: pathParams,
6877
7264
  headerParams: headerParams,
6878
7265
  queryParams: queryParams
@@ -6880,11 +7267,11 @@ export class DeltaShareClient {
6880
7267
  try {
6881
7268
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6882
7269
  const sdkResponse = composeResponse({
6883
- responseObject: <responses.GetRecipientResponse>{},
7270
+ responseObject: <responses.CreateShareResponse>{},
6884
7271
  body: await response.json(),
6885
- bodyKey: "recipient",
6886
- bodyModel: model.Recipient,
6887
- type: "model.Recipient",
7272
+ bodyKey: "share",
7273
+ bodyModel: model.Share,
7274
+ type: "model.Share",
6888
7275
  responseHeaders: [
6889
7276
  {
6890
7277
  value: response.headers.get("etag"),
@@ -6907,21 +7294,21 @@ export class DeltaShareClient {
6907
7294
  }
6908
7295
 
6909
7296
  /**
6910
- * Gets detailed information about a Delta Share.
7297
+ * Deletes a Delta Share recipient.
6911
7298
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6912
- * @param GetShareRequest
6913
- * @return GetShareResponse
7299
+ * @param DeleteRecipientRequest
7300
+ * @return DeleteRecipientResponse
6914
7301
  * @throws OciError when an error occurs
6915
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetShare.ts.html |here} to see how to use GetShare API.
7302
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteRecipient.ts.html |here} to see how to use DeleteRecipient API.
6916
7303
  */
6917
- public async getShare (getShareRequest: requests.GetShareRequest) : Promise<responses.GetShareResponse> {
7304
+ public async deleteRecipient (deleteRecipientRequest: requests.DeleteRecipientRequest) : Promise<responses.DeleteRecipientResponse> {
6918
7305
  if (this.logger)
6919
- this.logger.debug("Calling operation DeltaShareClient#getShare.");
6920
- const operationName = "getShare";
7306
+ this.logger.debug("Calling operation DeltaShareClient#deleteRecipient.");
7307
+ const operationName = "deleteRecipient";
6921
7308
  const apiReferenceLink = "";
6922
7309
  const pathParams = {
6923
- "{aiDataPlatformId}": getShareRequest.aiDataPlatformId,
6924
- "{shareKey}": getShareRequest.shareKey,
7310
+ "{aiDataPlatformId}": deleteRecipientRequest.aiDataPlatformId,
7311
+ "{recipientKey}": deleteRecipientRequest.recipientKey,
6925
7312
  };
6926
7313
 
6927
7314
  const queryParams = {
@@ -6929,21 +7316,21 @@ export class DeltaShareClient {
6929
7316
 
6930
7317
  let headerParams = {
6931
7318
  "Content-Type": common.Constants.APPLICATION_JSON,
6932
- 'opc-request-id': getShareRequest.opcRequestId,'should-update-recent': getShareRequest.shouldUpdateRecent,
7319
+ 'if-match': deleteRecipientRequest.ifMatch,'opc-request-id': deleteRecipientRequest.opcRequestId,'should-update-recent': deleteRecipientRequest.shouldUpdateRecent,
6933
7320
  };
6934
7321
 
6935
7322
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6936
7323
  const retrier = GenericRetrier.createPreferredRetrier(
6937
7324
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
6938
- getShareRequest.retryConfiguration,
7325
+ deleteRecipientRequest.retryConfiguration,
6939
7326
  specRetryConfiguration
6940
7327
  );
6941
7328
  if (this.logger) retrier.logger = this.logger;
6942
7329
  const request = await composeRequest({
6943
7330
  baseEndpoint: this._endpoint,
6944
7331
  defaultHeaders: this._defaultHeaders,
6945
- path: '/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}',
6946
- method: 'GET',
7332
+ path: '/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}',
7333
+ method: 'DELETE',
6947
7334
  pathParams: pathParams,
6948
7335
  headerParams: headerParams,
6949
7336
  queryParams: queryParams
@@ -6951,17 +7338,8 @@ export class DeltaShareClient {
6951
7338
  try {
6952
7339
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6953
7340
  const sdkResponse = composeResponse({
6954
- responseObject: <responses.GetShareResponse>{},
6955
- body: await response.json(),
6956
- bodyKey: "share",
6957
- bodyModel: model.Share,
6958
- type: "model.Share",
7341
+ responseObject: <responses.DeleteRecipientResponse>{},
6959
7342
  responseHeaders: [
6960
- {
6961
- value: response.headers.get("etag"),
6962
- key: "etag",
6963
- dataType: "string"
6964
- },
6965
7343
  {
6966
7344
  value: response.headers.get("opc-request-id"),
6967
7345
  key: "opcRequestId",
@@ -6978,7 +7356,211 @@ export class DeltaShareClient {
6978
7356
  }
6979
7357
 
6980
7358
  /**
6981
- * Gets a detailed list of Delta Share recipient permissions.
7359
+ * Deletes a Delta Share.
7360
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7361
+ * @param DeleteShareRequest
7362
+ * @return DeleteShareResponse
7363
+ * @throws OciError when an error occurs
7364
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteShare.ts.html |here} to see how to use DeleteShare API.
7365
+ */
7366
+ public async deleteShare (deleteShareRequest: requests.DeleteShareRequest) : Promise<responses.DeleteShareResponse> {
7367
+ if (this.logger)
7368
+ this.logger.debug("Calling operation DeltaShareClient#deleteShare.");
7369
+ const operationName = "deleteShare";
7370
+ const apiReferenceLink = "";
7371
+ const pathParams = {
7372
+ "{aiDataPlatformId}": deleteShareRequest.aiDataPlatformId,
7373
+ "{shareKey}": deleteShareRequest.shareKey,
7374
+ };
7375
+
7376
+ const queryParams = {
7377
+ };
7378
+
7379
+ let headerParams = {
7380
+ "Content-Type": common.Constants.APPLICATION_JSON,
7381
+ 'if-match': deleteShareRequest.ifMatch,'opc-request-id': deleteShareRequest.opcRequestId,'should-update-recent': deleteShareRequest.shouldUpdateRecent,
7382
+ };
7383
+
7384
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7385
+ const retrier = GenericRetrier.createPreferredRetrier(
7386
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
7387
+ deleteShareRequest.retryConfiguration,
7388
+ specRetryConfiguration
7389
+ );
7390
+ if (this.logger) retrier.logger = this.logger;
7391
+ const request = await composeRequest({
7392
+ baseEndpoint: this._endpoint,
7393
+ defaultHeaders: this._defaultHeaders,
7394
+ path: '/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}',
7395
+ method: 'DELETE',
7396
+ pathParams: pathParams,
7397
+ headerParams: headerParams,
7398
+ queryParams: queryParams
7399
+ });
7400
+ try {
7401
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
7402
+ const sdkResponse = composeResponse({
7403
+ responseObject: <responses.DeleteShareResponse>{},
7404
+ responseHeaders: [
7405
+ {
7406
+ value: response.headers.get("opc-request-id"),
7407
+ key: "opcRequestId",
7408
+ dataType: "string"
7409
+ },
7410
+ ]
7411
+ });
7412
+
7413
+ return sdkResponse;
7414
+ }
7415
+ catch (err) {
7416
+ throw err;
7417
+ }
7418
+ }
7419
+
7420
+ /**
7421
+ * Gets detailed information about a Delta Share recipient.
7422
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7423
+ * @param GetRecipientRequest
7424
+ * @return GetRecipientResponse
7425
+ * @throws OciError when an error occurs
7426
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetRecipient.ts.html |here} to see how to use GetRecipient API.
7427
+ */
7428
+ public async getRecipient (getRecipientRequest: requests.GetRecipientRequest) : Promise<responses.GetRecipientResponse> {
7429
+ if (this.logger)
7430
+ this.logger.debug("Calling operation DeltaShareClient#getRecipient.");
7431
+ const operationName = "getRecipient";
7432
+ const apiReferenceLink = "";
7433
+ const pathParams = {
7434
+ "{aiDataPlatformId}": getRecipientRequest.aiDataPlatformId,
7435
+ "{recipientKey}": getRecipientRequest.recipientKey,
7436
+ };
7437
+
7438
+ const queryParams = {
7439
+ };
7440
+
7441
+ let headerParams = {
7442
+ "Content-Type": common.Constants.APPLICATION_JSON,
7443
+ 'opc-request-id': getRecipientRequest.opcRequestId,'should-update-recent': getRecipientRequest.shouldUpdateRecent,
7444
+ };
7445
+
7446
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7447
+ const retrier = GenericRetrier.createPreferredRetrier(
7448
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
7449
+ getRecipientRequest.retryConfiguration,
7450
+ specRetryConfiguration
7451
+ );
7452
+ if (this.logger) retrier.logger = this.logger;
7453
+ const request = await composeRequest({
7454
+ baseEndpoint: this._endpoint,
7455
+ defaultHeaders: this._defaultHeaders,
7456
+ path: '/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}',
7457
+ method: 'GET',
7458
+ pathParams: pathParams,
7459
+ headerParams: headerParams,
7460
+ queryParams: queryParams
7461
+ });
7462
+ try {
7463
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
7464
+ const sdkResponse = composeResponse({
7465
+ responseObject: <responses.GetRecipientResponse>{},
7466
+ body: await response.json(),
7467
+ bodyKey: "recipient",
7468
+ bodyModel: model.Recipient,
7469
+ type: "model.Recipient",
7470
+ responseHeaders: [
7471
+ {
7472
+ value: response.headers.get("etag"),
7473
+ key: "etag",
7474
+ dataType: "string"
7475
+ },
7476
+ {
7477
+ value: response.headers.get("opc-request-id"),
7478
+ key: "opcRequestId",
7479
+ dataType: "string"
7480
+ },
7481
+ ]
7482
+ });
7483
+
7484
+ return sdkResponse;
7485
+ }
7486
+ catch (err) {
7487
+ throw err;
7488
+ }
7489
+ }
7490
+
7491
+ /**
7492
+ * Gets detailed information about a Delta Share.
7493
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7494
+ * @param GetShareRequest
7495
+ * @return GetShareResponse
7496
+ * @throws OciError when an error occurs
7497
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetShare.ts.html |here} to see how to use GetShare API.
7498
+ */
7499
+ public async getShare (getShareRequest: requests.GetShareRequest) : Promise<responses.GetShareResponse> {
7500
+ if (this.logger)
7501
+ this.logger.debug("Calling operation DeltaShareClient#getShare.");
7502
+ const operationName = "getShare";
7503
+ const apiReferenceLink = "";
7504
+ const pathParams = {
7505
+ "{aiDataPlatformId}": getShareRequest.aiDataPlatformId,
7506
+ "{shareKey}": getShareRequest.shareKey,
7507
+ };
7508
+
7509
+ const queryParams = {
7510
+ };
7511
+
7512
+ let headerParams = {
7513
+ "Content-Type": common.Constants.APPLICATION_JSON,
7514
+ 'opc-request-id': getShareRequest.opcRequestId,'should-update-recent': getShareRequest.shouldUpdateRecent,
7515
+ };
7516
+
7517
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7518
+ const retrier = GenericRetrier.createPreferredRetrier(
7519
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
7520
+ getShareRequest.retryConfiguration,
7521
+ specRetryConfiguration
7522
+ );
7523
+ if (this.logger) retrier.logger = this.logger;
7524
+ const request = await composeRequest({
7525
+ baseEndpoint: this._endpoint,
7526
+ defaultHeaders: this._defaultHeaders,
7527
+ path: '/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}',
7528
+ method: 'GET',
7529
+ pathParams: pathParams,
7530
+ headerParams: headerParams,
7531
+ queryParams: queryParams
7532
+ });
7533
+ try {
7534
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
7535
+ const sdkResponse = composeResponse({
7536
+ responseObject: <responses.GetShareResponse>{},
7537
+ body: await response.json(),
7538
+ bodyKey: "share",
7539
+ bodyModel: model.Share,
7540
+ type: "model.Share",
7541
+ responseHeaders: [
7542
+ {
7543
+ value: response.headers.get("etag"),
7544
+ key: "etag",
7545
+ dataType: "string"
7546
+ },
7547
+ {
7548
+ value: response.headers.get("opc-request-id"),
7549
+ key: "opcRequestId",
7550
+ dataType: "string"
7551
+ },
7552
+ ]
7553
+ });
7554
+
7555
+ return sdkResponse;
7556
+ }
7557
+ catch (err) {
7558
+ throw err;
7559
+ }
7560
+ }
7561
+
7562
+ /**
7563
+ * Gets a detailed list of Delta Share recipient permissions.
6982
7564
  *
6983
7565
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6984
7566
  * @param ListRecipientPermissionsRequest
@@ -13298,7 +13880,8 @@ export class NotebookClient {
13298
13880
  }
13299
13881
 
13300
13882
  /**
13301
- * Returns a list of contents for a given file or directory. You can optionally specify a type and/or format argument via URL parameter.
13883
+ * Returns content for a given file or metadata for a directory. Directory content listing is not supported; requests with type=directory and
13884
+ * content=1 return 400 and should use content=0 to retrieve directory metadata. You can optionally specify a type and/or format argument via URL parameter.
13302
13885
  * When given, the Content service returns a model in the requested type and/or format. If the request cannot be satisfied, for example if type=text
13303
13886
  * is requested, but the file is binary, then the request returns a 400 message and a JSON response with a Reason field identifying the issue. The value
13304
13887
  * of the Reason field is \u2018bad format\u2019 or \u2018bad type\u2019, depending on what was requested.
@@ -15271,6 +15854,7 @@ export class SchemaClient {
15271
15854
  };
15272
15855
 
15273
15856
  const queryParams = {
15857
+ 'shouldSkipOcidTranslation': getSchemaRequest.shouldSkipOcidTranslation,
15274
15858
  };
15275
15859
 
15276
15860
  let headerParams = {
@@ -15342,6 +15926,7 @@ export class SchemaClient {
15342
15926
  };
15343
15927
 
15344
15928
  const queryParams = {
15929
+ 'shouldSkipOcidTranslation': getTableRequest.shouldSkipOcidTranslation,
15345
15930
  };
15346
15931
 
15347
15932
  let headerParams = {
@@ -15559,6 +16144,7 @@ export class SchemaClient {
15559
16144
 
15560
16145
  const queryParams = {
15561
16146
  'catalogKey': listSchemasRequest.catalogKey,
16147
+ 'shouldSkipOcidTranslation': listSchemasRequest.shouldSkipOcidTranslation,
15562
16148
  'displayName': listSchemasRequest.displayName,
15563
16149
  'limit': listSchemasRequest.limit,
15564
16150
  'page': listSchemasRequest.page,
@@ -15710,6 +16296,7 @@ export class SchemaClient {
15710
16296
 
15711
16297
  const queryParams = {
15712
16298
  'catalogKey': listTablesRequest.catalogKey,
16299
+ 'shouldSkipOcidTranslation': listTablesRequest.shouldSkipOcidTranslation,
15713
16300
  'schemaKey': listTablesRequest.schemaKey,
15714
16301
  'displayName': listTablesRequest.displayName,
15715
16302
  'limit': listTablesRequest.limit,
@@ -16463,422 +17050,29 @@ export class SchemaClient {
16463
17050
  ]
16464
17051
  });
16465
17052
 
16466
- return sdkResponse;
16467
- }
16468
- catch (err) {
16469
- throw err;
16470
- }
16471
- }
16472
-
16473
- /**
16474
- * Updates a schema.
16475
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16476
- * @param UpdateSchemaRequest
16477
- * @return UpdateSchemaResponse
16478
- * @throws OciError when an error occurs
16479
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateSchema.ts.html |here} to see how to use UpdateSchema API.
16480
- */
16481
- public async updateSchema (updateSchemaRequest: requests.UpdateSchemaRequest) : Promise<responses.UpdateSchemaResponse> {
16482
- if (this.logger)
16483
- this.logger.debug("Calling operation SchemaClient#updateSchema.");
16484
- const operationName = "updateSchema";
16485
- const apiReferenceLink = "";
16486
- const pathParams = {
16487
- "{aiDataPlatformId}": updateSchemaRequest.aiDataPlatformId,
16488
- "{schemaKey}": updateSchemaRequest.schemaKey,
16489
- };
16490
-
16491
- const queryParams = {
16492
- };
16493
-
16494
- let headerParams = {
16495
- "Content-Type": common.Constants.APPLICATION_JSON,
16496
- 'should-update-recent': updateSchemaRequest.shouldUpdateRecent,'if-match': updateSchemaRequest.ifMatch,'opc-request-id': updateSchemaRequest.opcRequestId,
16497
- };
16498
-
16499
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
16500
- const retrier = GenericRetrier.createPreferredRetrier(
16501
- this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
16502
- updateSchemaRequest.retryConfiguration,
16503
- specRetryConfiguration
16504
- );
16505
- if (this.logger) retrier.logger = this.logger;
16506
- const request = await composeRequest({
16507
- baseEndpoint: this._endpoint,
16508
- defaultHeaders: this._defaultHeaders,
16509
- path: '/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}',
16510
- method: 'PUT',
16511
- bodyContent: common.ObjectSerializer.serialize(updateSchemaRequest.updateSchemaDetails, "UpdateSchemaDetails"
16512
- , model.UpdateSchemaDetails.getJsonObj)
16513
- ,
16514
- pathParams: pathParams,
16515
- headerParams: headerParams,
16516
- queryParams: queryParams
16517
- });
16518
- try {
16519
- const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
16520
- const sdkResponse = composeResponse({
16521
- responseObject: <responses.UpdateSchemaResponse>{},
16522
- body: await response.json(),
16523
- bodyKey: "schema",
16524
- bodyModel: model.Schema,
16525
- type: "model.Schema",
16526
- responseHeaders: [
16527
- {
16528
- value: response.headers.get("opc-work-request-id"),
16529
- key: "opcWorkRequestId",
16530
- dataType: "string"
16531
- },
16532
- {
16533
- value: response.headers.get("opc-request-id"),
16534
- key: "opcRequestId",
16535
- dataType: "string"
16536
- },
16537
- {
16538
- value: response.headers.get("etag"),
16539
- key: "etag",
16540
- dataType: "string"
16541
- },
16542
- ]
16543
- });
16544
-
16545
- return sdkResponse;
16546
- }
16547
- catch (err) {
16548
- throw err;
16549
- }
16550
- }
16551
-
16552
- /**
16553
- * Updates a table with provided details.
16554
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16555
- * @param UpdateTableRequest
16556
- * @return UpdateTableResponse
16557
- * @throws OciError when an error occurs
16558
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateTable.ts.html |here} to see how to use UpdateTable API.
16559
- */
16560
- public async updateTable (updateTableRequest: requests.UpdateTableRequest) : Promise<responses.UpdateTableResponse> {
16561
- if (this.logger)
16562
- this.logger.debug("Calling operation SchemaClient#updateTable.");
16563
- const operationName = "updateTable";
16564
- const apiReferenceLink = "";
16565
- const pathParams = {
16566
- "{aiDataPlatformId}": updateTableRequest.aiDataPlatformId,
16567
- "{tableKey}": updateTableRequest.tableKey,
16568
- };
16569
-
16570
- const queryParams = {
16571
- };
16572
-
16573
- let headerParams = {
16574
- "Content-Type": common.Constants.APPLICATION_JSON,
16575
- 'should-update-recent': updateTableRequest.shouldUpdateRecent,'if-match': updateTableRequest.ifMatch,'opc-request-id': updateTableRequest.opcRequestId,
16576
- };
16577
-
16578
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
16579
- const retrier = GenericRetrier.createPreferredRetrier(
16580
- this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
16581
- updateTableRequest.retryConfiguration,
16582
- specRetryConfiguration
16583
- );
16584
- if (this.logger) retrier.logger = this.logger;
16585
- const request = await composeRequest({
16586
- baseEndpoint: this._endpoint,
16587
- defaultHeaders: this._defaultHeaders,
16588
- path: '/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}',
16589
- method: 'PUT',
16590
- bodyContent: common.ObjectSerializer.serialize(updateTableRequest.updateTableDetails, "UpdateTableDetails"
16591
- , model.UpdateTableDetails.getJsonObj)
16592
- ,
16593
- pathParams: pathParams,
16594
- headerParams: headerParams,
16595
- queryParams: queryParams
16596
- });
16597
- try {
16598
- const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
16599
- const sdkResponse = composeResponse({
16600
- responseObject: <responses.UpdateTableResponse>{},
16601
- responseHeaders: [
16602
- {
16603
- value: response.headers.get("aidp-async-operation-key"),
16604
- key: "aidpAsyncOperationKey",
16605
- dataType: "string"
16606
- },
16607
- {
16608
- value: response.headers.get("opc-request-id"),
16609
- key: "opcRequestId",
16610
- dataType: "string"
16611
- },
16612
- ]
16613
- });
16614
-
16615
- return sdkResponse;
16616
- }
16617
- catch (err) {
16618
- throw err;
16619
- }
16620
- }
16621
-
16622
- /**
16623
- * Updates a view with given information.
16624
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16625
- * @param UpdateViewRequest
16626
- * @return UpdateViewResponse
16627
- * @throws OciError when an error occurs
16628
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateView.ts.html |here} to see how to use UpdateView API.
16629
- */
16630
- public async updateView (updateViewRequest: requests.UpdateViewRequest) : Promise<responses.UpdateViewResponse> {
16631
- if (this.logger)
16632
- this.logger.debug("Calling operation SchemaClient#updateView.");
16633
- const operationName = "updateView";
16634
- const apiReferenceLink = "";
16635
- const pathParams = {
16636
- "{aiDataPlatformId}": updateViewRequest.aiDataPlatformId,
16637
- "{viewKey}": updateViewRequest.viewKey,
16638
- };
16639
-
16640
- const queryParams = {
16641
- };
16642
-
16643
- let headerParams = {
16644
- "Content-Type": common.Constants.APPLICATION_JSON,
16645
- 'should-update-recent': updateViewRequest.shouldUpdateRecent,'if-match': updateViewRequest.ifMatch,'opc-request-id': updateViewRequest.opcRequestId,
16646
- };
16647
-
16648
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
16649
- const retrier = GenericRetrier.createPreferredRetrier(
16650
- this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
16651
- updateViewRequest.retryConfiguration,
16652
- specRetryConfiguration
16653
- );
16654
- if (this.logger) retrier.logger = this.logger;
16655
- const request = await composeRequest({
16656
- baseEndpoint: this._endpoint,
16657
- defaultHeaders: this._defaultHeaders,
16658
- path: '/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}',
16659
- method: 'PUT',
16660
- bodyContent: common.ObjectSerializer.serialize(updateViewRequest.updateViewDetails, "UpdateViewDetails"
16661
- , model.UpdateViewDetails.getJsonObj)
16662
- ,
16663
- pathParams: pathParams,
16664
- headerParams: headerParams,
16665
- queryParams: queryParams
16666
- });
16667
- try {
16668
- const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
16669
- const sdkResponse = composeResponse({
16670
- responseObject: <responses.UpdateViewResponse>{},
16671
- body: await response.json(),
16672
- bodyKey: "view",
16673
- bodyModel: model.View,
16674
- type: "model.View",
16675
- responseHeaders: [
16676
- {
16677
- value: response.headers.get("etag"),
16678
- key: "etag",
16679
- dataType: "string"
16680
- },
16681
- {
16682
- value: response.headers.get("opc-request-id"),
16683
- key: "opcRequestId",
16684
- dataType: "string"
16685
- },
16686
- ]
16687
- });
16688
-
16689
- return sdkResponse;
16690
- }
16691
- catch (err) {
16692
- throw err;
16693
- }
16694
- }
16695
-
16696
- }
16697
- export enum SemanticCatalogApiKeys {
16698
- }
16699
- /**
16700
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
16701
- */
16702
- export class SemanticCatalogClient {
16703
- protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
16704
- protected static endpointServiceName = '';
16705
- protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
16706
- protected "_endpoint" : string = '';
16707
- protected "_defaultHeaders" : any = {};
16708
- protected "_clientConfiguration": common.ClientConfiguration;
16709
- protected _circuitBreaker: typeof Breaker | null = null;
16710
- protected _httpOptions: any = undefined;
16711
- protected _bodyDuplexMode: any = undefined;
16712
- public targetService = "SemanticCatalog";
16713
- protected _regionId : string = '';
16714
- protected "_region" : common.Region;
16715
- protected _lastSetRegionOrRegionId : string = "";
16716
-
16717
- protected _httpClient: common.HttpClient;
16718
- protected _authProvider: common.AuthenticationDetailsProvider | undefined;
16719
-
16720
- constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
16721
- const requestSigner = params.authenticationDetailsProvider
16722
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
16723
- : null;
16724
- this._authProvider = params.authenticationDetailsProvider;
16725
- if (clientConfiguration) {
16726
- this._clientConfiguration = clientConfiguration;
16727
- this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
16728
- this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
16729
- this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
16730
- }
16731
-
16732
- if (!developerToolConfiguration.isServiceEnabled("aidp"))
16733
- {
16734
- let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
16735
- throw errmsg.concat("aidp");
16736
- }
16737
-
16738
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
16739
- const specCircuitBreakerEnabled = true;
16740
- if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
16741
- this._circuitBreaker = new common.CircuitBreaker().circuit;
16742
- }
16743
- this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
16744
-
16745
- if (params.authenticationDetailsProvider &&
16746
- common.isRegionProvider(params.authenticationDetailsProvider)) {
16747
- const provider: common.RegionProvider = params.authenticationDetailsProvider;
16748
- if (provider.getRegion()) {
16749
- this.region = provider.getRegion();
16750
- }
16751
- }
16752
- }
16753
-
16754
- /**
16755
- * Get the endpoint that is being used to call (ex, https://www.example.com).
16756
- */
16757
- public get endpoint() {
16758
- return this._endpoint;
16759
- }
16760
-
16761
- /**
16762
- * Sets the endpoint to call (ex, https://www.example.com).
16763
- * @param endpoint The endpoint of the service.
16764
- */
16765
- public set endpoint(endpoint: string) {
16766
- this._endpoint = endpoint;
16767
- this._endpoint = this._endpoint + '/20260430';
16768
- if (this.logger)
16769
- this.logger.info(`SemanticCatalogClient endpoint set to ${this._endpoint}`);
16770
- }
16771
-
16772
- public get logger() {
16773
- return common.LOG.logger;
16774
- }
16775
-
16776
- /**
16777
- * Determines whether realm specific endpoint should be used or not.
16778
- * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
16779
- * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
16780
- */
16781
- public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
16782
- this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
16783
- if (this.logger)
16784
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
16785
- if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
16786
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
16787
- SemanticCatalogClient.serviceEndpointTemplate,
16788
- this._region,
16789
- SemanticCatalogClient.endpointServiceName,
16790
-
16791
- );
16792
- } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
16793
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
16794
- SemanticCatalogClient.serviceEndpointTemplate,
16795
- this._regionId,
16796
- SemanticCatalogClient.endpointServiceName,
16797
-
16798
- );
16799
- }
16800
- }
16801
-
16802
- /**
16803
- * Sets the region to call (ex, Region.US_PHOENIX_1).
16804
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
16805
- * @param region The region of the service.
16806
- */
16807
- public set region(region: common.Region) {
16808
- this._region = region;
16809
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
16810
- SemanticCatalogClient.serviceEndpointTemplate,
16811
- region,
16812
- SemanticCatalogClient.endpointServiceName,
16813
-
16814
- );
16815
- this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
16816
- }
16817
-
16818
- /**
16819
- * Sets the regionId to call (ex, 'us-phoenix-1').
16820
- *
16821
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
16822
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
16823
- * and then call {@link #endpoint(String) endpoint}.
16824
- * @param regionId The public region ID.
16825
- */
16826
- public set regionId(regionId: string) {
16827
- this._regionId = regionId;
16828
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
16829
- SemanticCatalogClient.serviceEndpointTemplate,
16830
- regionId,
16831
- SemanticCatalogClient.endpointServiceName,
16832
-
16833
- );
16834
- this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
16835
- }
16836
-
16837
-
16838
-
16839
- /**
16840
- * Shutdown the circuit breaker used by the client when it is no longer needed
16841
- */
16842
- public shutdownCircuitBreaker() {
16843
- if (this._circuitBreaker) {
16844
- this._circuitBreaker.shutdown();
16845
- }
16846
- }
16847
-
16848
- /**
16849
- * Close the provider if possible which in turn shuts down any associated circuit breaker
16850
- */
16851
- public closeProvider() {
16852
- if (this._authProvider) {
16853
- if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
16854
- (<common.AbstractRequestingAuthenticationDetailsProvider>this._authProvider).closeProvider();
17053
+ return sdkResponse;
17054
+ }
17055
+ catch (err) {
17056
+ throw err;
16855
17057
  }
16856
17058
  }
16857
17059
 
16858
17060
  /**
16859
- * Close the client once it is no longer needed
16860
- */
16861
- public close() {
16862
- this.shutdownCircuitBreaker();
16863
- this.closeProvider();
16864
- }
16865
-
16866
- /**
16867
- * (Preview) Returns complete lineage for the provided anchor node in CSV format.
16868
- *
17061
+ * Updates a schema.
16869
17062
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16870
- * @param ExportLineageRequest
16871
- * @return ExportLineageResponse
17063
+ * @param UpdateSchemaRequest
17064
+ * @return UpdateSchemaResponse
16872
17065
  * @throws OciError when an error occurs
16873
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ExportLineage.ts.html |here} to see how to use ExportLineage API.
17066
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateSchema.ts.html |here} to see how to use UpdateSchema API.
16874
17067
  */
16875
- public async exportLineage (exportLineageRequest: requests.ExportLineageRequest) : Promise<responses.ExportLineageResponse> {
17068
+ public async updateSchema (updateSchemaRequest: requests.UpdateSchemaRequest) : Promise<responses.UpdateSchemaResponse> {
16876
17069
  if (this.logger)
16877
- this.logger.debug("Calling operation SemanticCatalogClient#exportLineage.");
16878
- const operationName = "exportLineage";
17070
+ this.logger.debug("Calling operation SchemaClient#updateSchema.");
17071
+ const operationName = "updateSchema";
16879
17072
  const apiReferenceLink = "";
16880
17073
  const pathParams = {
16881
- "{aiDataPlatformId}": exportLineageRequest.aiDataPlatformId,
17074
+ "{aiDataPlatformId}": updateSchemaRequest.aiDataPlatformId,
17075
+ "{schemaKey}": updateSchemaRequest.schemaKey,
16882
17076
  };
16883
17077
 
16884
17078
  const queryParams = {
@@ -16886,23 +17080,23 @@ export class SemanticCatalogClient {
16886
17080
 
16887
17081
  let headerParams = {
16888
17082
  "Content-Type": common.Constants.APPLICATION_JSON,
16889
- 'opc-retry-token': exportLineageRequest.opcRetryToken,'opc-request-id': exportLineageRequest.opcRequestId,'if-match': exportLineageRequest.ifMatch,
17083
+ 'should-update-recent': updateSchemaRequest.shouldUpdateRecent,'if-match': updateSchemaRequest.ifMatch,'opc-request-id': updateSchemaRequest.opcRequestId,
16890
17084
  };
16891
17085
 
16892
17086
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
16893
17087
  const retrier = GenericRetrier.createPreferredRetrier(
16894
17088
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
16895
- exportLineageRequest.retryConfiguration,
17089
+ updateSchemaRequest.retryConfiguration,
16896
17090
  specRetryConfiguration
16897
17091
  );
16898
17092
  if (this.logger) retrier.logger = this.logger;
16899
17093
  const request = await composeRequest({
16900
17094
  baseEndpoint: this._endpoint,
16901
17095
  defaultHeaders: this._defaultHeaders,
16902
- path: '/aiDataPlatforms/{aiDataPlatformId}/actions/exportLineage',
16903
- method: 'POST',
16904
- bodyContent: common.ObjectSerializer.serialize(exportLineageRequest.exportLineageDetails, "ExportLineageDetails"
16905
- , model.ExportLineageDetails.getJsonObj)
17096
+ path: '/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}',
17097
+ method: 'PUT',
17098
+ bodyContent: common.ObjectSerializer.serialize(updateSchemaRequest.updateSchemaDetails, "UpdateSchemaDetails"
17099
+ , model.UpdateSchemaDetails.getJsonObj)
16906
17100
  ,
16907
17101
  pathParams: pathParams,
16908
17102
  headerParams: headerParams,
@@ -16911,20 +17105,25 @@ export class SemanticCatalogClient {
16911
17105
  try {
16912
17106
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
16913
17107
  const sdkResponse = composeResponse({
16914
- responseObject: <responses.ExportLineageResponse>{},
16915
-
16916
- body: response.body!,
16917
- bodyKey: "value",
16918
- bodyModel: "string",
17108
+ responseObject: <responses.UpdateSchemaResponse>{},
17109
+ body: await response.json(),
17110
+ bodyKey: "schema",
17111
+ bodyModel: model.Schema,
17112
+ type: "model.Schema",
16919
17113
  responseHeaders: [
17114
+ {
17115
+ value: response.headers.get("opc-work-request-id"),
17116
+ key: "opcWorkRequestId",
17117
+ dataType: "string"
17118
+ },
16920
17119
  {
16921
17120
  value: response.headers.get("opc-request-id"),
16922
17121
  key: "opcRequestId",
16923
17122
  dataType: "string"
16924
17123
  },
16925
17124
  {
16926
- value: response.headers.get("Content-Disposition"),
16927
- key: "contentDisposition",
17125
+ value: response.headers.get("etag"),
17126
+ key: "etag",
16928
17127
  dataType: "string"
16929
17128
  },
16930
17129
  ]
@@ -16938,46 +17137,45 @@ export class SemanticCatalogClient {
16938
17137
  }
16939
17138
 
16940
17139
  /**
16941
- * (Preview) Returns lineage for a given entity object.
17140
+ * Updates a table with provided details.
16942
17141
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16943
- * @param FetchEntityLineageRequest
16944
- * @return FetchEntityLineageResponse
17142
+ * @param UpdateTableRequest
17143
+ * @return UpdateTableResponse
16945
17144
  * @throws OciError when an error occurs
16946
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchEntityLineage.ts.html |here} to see how to use FetchEntityLineage API.
17145
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateTable.ts.html |here} to see how to use UpdateTable API.
16947
17146
  */
16948
- public async fetchEntityLineage (fetchEntityLineageRequest: requests.FetchEntityLineageRequest) : Promise<responses.FetchEntityLineageResponse> {
17147
+ public async updateTable (updateTableRequest: requests.UpdateTableRequest) : Promise<responses.UpdateTableResponse> {
16949
17148
  if (this.logger)
16950
- this.logger.debug("Calling operation SemanticCatalogClient#fetchEntityLineage.");
16951
- const operationName = "fetchEntityLineage";
17149
+ this.logger.debug("Calling operation SchemaClient#updateTable.");
17150
+ const operationName = "updateTable";
16952
17151
  const apiReferenceLink = "";
16953
17152
  const pathParams = {
16954
- "{aiDataPlatformId}": fetchEntityLineageRequest.aiDataPlatformId,
17153
+ "{aiDataPlatformId}": updateTableRequest.aiDataPlatformId,
17154
+ "{tableKey}": updateTableRequest.tableKey,
16955
17155
  };
16956
17156
 
16957
17157
  const queryParams = {
16958
- 'limit': fetchEntityLineageRequest.limit,
16959
- 'page': fetchEntityLineageRequest.page,
16960
17158
  };
16961
17159
 
16962
17160
  let headerParams = {
16963
17161
  "Content-Type": common.Constants.APPLICATION_JSON,
16964
- 'opc-retry-token': fetchEntityLineageRequest.opcRetryToken,'opc-request-id': fetchEntityLineageRequest.opcRequestId,'if-match': fetchEntityLineageRequest.ifMatch,
17162
+ 'should-update-recent': updateTableRequest.shouldUpdateRecent,'if-match': updateTableRequest.ifMatch,'opc-request-id': updateTableRequest.opcRequestId,
16965
17163
  };
16966
17164
 
16967
17165
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
16968
17166
  const retrier = GenericRetrier.createPreferredRetrier(
16969
17167
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
16970
- fetchEntityLineageRequest.retryConfiguration,
17168
+ updateTableRequest.retryConfiguration,
16971
17169
  specRetryConfiguration
16972
17170
  );
16973
17171
  if (this.logger) retrier.logger = this.logger;
16974
17172
  const request = await composeRequest({
16975
17173
  baseEndpoint: this._endpoint,
16976
17174
  defaultHeaders: this._defaultHeaders,
16977
- path: '/aiDataPlatforms/{aiDataPlatformId}/actions/fetchLineage',
16978
- method: 'POST',
16979
- bodyContent: common.ObjectSerializer.serialize(fetchEntityLineageRequest.fetchEntityLineageDetails, "FetchEntityLineageDetails"
16980
- , model.FetchEntityLineageDetails.getJsonObj)
17175
+ path: '/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}',
17176
+ method: 'PUT',
17177
+ bodyContent: common.ObjectSerializer.serialize(updateTableRequest.updateTableDetails, "UpdateTableDetails"
17178
+ , model.UpdateTableDetails.getJsonObj)
16981
17179
  ,
16982
17180
  pathParams: pathParams,
16983
17181
  headerParams: headerParams,
@@ -16986,20 +17184,90 @@ export class SemanticCatalogClient {
16986
17184
  try {
16987
17185
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
16988
17186
  const sdkResponse = composeResponse({
16989
- responseObject: <responses.FetchEntityLineageResponse>{},
16990
- body: await response.json(),
16991
- bodyKey: "entityLineage",
16992
- bodyModel: model.EntityLineage,
16993
- type: "model.EntityLineage",
17187
+ responseObject: <responses.UpdateTableResponse>{},
16994
17188
  responseHeaders: [
17189
+ {
17190
+ value: response.headers.get("aidp-async-operation-key"),
17191
+ key: "aidpAsyncOperationKey",
17192
+ dataType: "string"
17193
+ },
16995
17194
  {
16996
17195
  value: response.headers.get("opc-request-id"),
16997
17196
  key: "opcRequestId",
16998
17197
  dataType: "string"
16999
17198
  },
17199
+ ]
17200
+ });
17201
+
17202
+ return sdkResponse;
17203
+ }
17204
+ catch (err) {
17205
+ throw err;
17206
+ }
17207
+ }
17208
+
17209
+ /**
17210
+ * Updates a view with given information.
17211
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
17212
+ * @param UpdateViewRequest
17213
+ * @return UpdateViewResponse
17214
+ * @throws OciError when an error occurs
17215
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateView.ts.html |here} to see how to use UpdateView API.
17216
+ */
17217
+ public async updateView (updateViewRequest: requests.UpdateViewRequest) : Promise<responses.UpdateViewResponse> {
17218
+ if (this.logger)
17219
+ this.logger.debug("Calling operation SchemaClient#updateView.");
17220
+ const operationName = "updateView";
17221
+ const apiReferenceLink = "";
17222
+ const pathParams = {
17223
+ "{aiDataPlatformId}": updateViewRequest.aiDataPlatformId,
17224
+ "{viewKey}": updateViewRequest.viewKey,
17225
+ };
17226
+
17227
+ const queryParams = {
17228
+ };
17229
+
17230
+ let headerParams = {
17231
+ "Content-Type": common.Constants.APPLICATION_JSON,
17232
+ 'should-update-recent': updateViewRequest.shouldUpdateRecent,'if-match': updateViewRequest.ifMatch,'opc-request-id': updateViewRequest.opcRequestId,
17233
+ };
17234
+
17235
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
17236
+ const retrier = GenericRetrier.createPreferredRetrier(
17237
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
17238
+ updateViewRequest.retryConfiguration,
17239
+ specRetryConfiguration
17240
+ );
17241
+ if (this.logger) retrier.logger = this.logger;
17242
+ const request = await composeRequest({
17243
+ baseEndpoint: this._endpoint,
17244
+ defaultHeaders: this._defaultHeaders,
17245
+ path: '/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}',
17246
+ method: 'PUT',
17247
+ bodyContent: common.ObjectSerializer.serialize(updateViewRequest.updateViewDetails, "UpdateViewDetails"
17248
+ , model.UpdateViewDetails.getJsonObj)
17249
+ ,
17250
+ pathParams: pathParams,
17251
+ headerParams: headerParams,
17252
+ queryParams: queryParams
17253
+ });
17254
+ try {
17255
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
17256
+ const sdkResponse = composeResponse({
17257
+ responseObject: <responses.UpdateViewResponse>{},
17258
+ body: await response.json(),
17259
+ bodyKey: "view",
17260
+ bodyModel: model.View,
17261
+ type: "model.View",
17262
+ responseHeaders: [
17263
+ {
17264
+ value: response.headers.get("etag"),
17265
+ key: "etag",
17266
+ dataType: "string"
17267
+ },
17000
17268
  {
17001
- value: response.headers.get("opc-next-page"),
17002
- key: "opcNextPage",
17269
+ value: response.headers.get("opc-request-id"),
17270
+ key: "opcRequestId",
17003
17271
  dataType: "string"
17004
17272
  },
17005
17273
  ]
@@ -18696,16 +18964,95 @@ export class VolumeClient {
18696
18964
  * @param UpdateVolumeRequest
18697
18965
  * @return UpdateVolumeResponse
18698
18966
  * @throws OciError when an error occurs
18699
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateVolume.ts.html |here} to see how to use UpdateVolume API.
18967
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateVolume.ts.html |here} to see how to use UpdateVolume API.
18968
+ */
18969
+ public async updateVolume (updateVolumeRequest: requests.UpdateVolumeRequest) : Promise<responses.UpdateVolumeResponse> {
18970
+ if (this.logger)
18971
+ this.logger.debug("Calling operation VolumeClient#updateVolume.");
18972
+ const operationName = "updateVolume";
18973
+ const apiReferenceLink = "";
18974
+ const pathParams = {
18975
+ "{aiDataPlatformId}": updateVolumeRequest.aiDataPlatformId,
18976
+ "{volumeKey}": updateVolumeRequest.volumeKey,
18977
+ };
18978
+
18979
+ const queryParams = {
18980
+ };
18981
+
18982
+ let headerParams = {
18983
+ "Content-Type": common.Constants.APPLICATION_JSON,
18984
+ 'should-update-recent': updateVolumeRequest.shouldUpdateRecent,'if-match': updateVolumeRequest.ifMatch,'opc-request-id': updateVolumeRequest.opcRequestId,
18985
+ };
18986
+
18987
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
18988
+ const retrier = GenericRetrier.createPreferredRetrier(
18989
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
18990
+ updateVolumeRequest.retryConfiguration,
18991
+ specRetryConfiguration
18992
+ );
18993
+ if (this.logger) retrier.logger = this.logger;
18994
+ const request = await composeRequest({
18995
+ baseEndpoint: this._endpoint,
18996
+ defaultHeaders: this._defaultHeaders,
18997
+ path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}',
18998
+ method: 'PUT',
18999
+ bodyContent: common.ObjectSerializer.serialize(updateVolumeRequest.updateVolumeDetails, "UpdateVolumeDetails"
19000
+ , model.UpdateVolumeDetails.getJsonObj)
19001
+ ,
19002
+ pathParams: pathParams,
19003
+ headerParams: headerParams,
19004
+ queryParams: queryParams
19005
+ });
19006
+ try {
19007
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
19008
+ const sdkResponse = composeResponse({
19009
+ responseObject: <responses.UpdateVolumeResponse>{},
19010
+ body: await response.json(),
19011
+ bodyKey: "volume",
19012
+ bodyModel: model.Volume,
19013
+ type: "model.Volume",
19014
+ responseHeaders: [
19015
+ {
19016
+ value: response.headers.get("opc-work-request-id"),
19017
+ key: "opcWorkRequestId",
19018
+ dataType: "string"
19019
+ },
19020
+ {
19021
+ value: response.headers.get("opc-request-id"),
19022
+ key: "opcRequestId",
19023
+ dataType: "string"
19024
+ },
19025
+ {
19026
+ value: response.headers.get("etag"),
19027
+ key: "etag",
19028
+ dataType: "string"
19029
+ },
19030
+ ]
19031
+ });
19032
+
19033
+ return sdkResponse;
19034
+ }
19035
+ catch (err) {
19036
+ throw err;
19037
+ }
19038
+ }
19039
+
19040
+ /**
19041
+ * Creates or updates an asynchronous volume ZIP upload and extraction operation. CREATE returns a PAR URL for uploading the ZIP bytes and an async operation key. UPDATE records the uploaded ZIP metadata so extraction can continue.
19042
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
19043
+ * @param UploadAndExtractVolumeZipRequest
19044
+ * @return UploadAndExtractVolumeZipResponse
19045
+ * @throws OciError when an error occurs
19046
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UploadAndExtractVolumeZip.ts.html |here} to see how to use UploadAndExtractVolumeZip API.
18700
19047
  */
18701
- public async updateVolume (updateVolumeRequest: requests.UpdateVolumeRequest) : Promise<responses.UpdateVolumeResponse> {
19048
+ public async uploadAndExtractVolumeZip (uploadAndExtractVolumeZipRequest: requests.UploadAndExtractVolumeZipRequest) : Promise<responses.UploadAndExtractVolumeZipResponse> {
18702
19049
  if (this.logger)
18703
- this.logger.debug("Calling operation VolumeClient#updateVolume.");
18704
- const operationName = "updateVolume";
19050
+ this.logger.debug("Calling operation VolumeClient#uploadAndExtractVolumeZip.");
19051
+ const operationName = "uploadAndExtractVolumeZip";
18705
19052
  const apiReferenceLink = "";
18706
19053
  const pathParams = {
18707
- "{aiDataPlatformId}": updateVolumeRequest.aiDataPlatformId,
18708
- "{volumeKey}": updateVolumeRequest.volumeKey,
19054
+ "{aiDataPlatformId}": uploadAndExtractVolumeZipRequest.aiDataPlatformId,
19055
+ "{volumeKey}": uploadAndExtractVolumeZipRequest.volumeKey,
18709
19056
  };
18710
19057
 
18711
19058
  const queryParams = {
@@ -18713,23 +19060,23 @@ export class VolumeClient {
18713
19060
 
18714
19061
  let headerParams = {
18715
19062
  "Content-Type": common.Constants.APPLICATION_JSON,
18716
- 'should-update-recent': updateVolumeRequest.shouldUpdateRecent,'if-match': updateVolumeRequest.ifMatch,'opc-request-id': updateVolumeRequest.opcRequestId,
19063
+ 'opc-retry-token': uploadAndExtractVolumeZipRequest.opcRetryToken,'opc-request-id': uploadAndExtractVolumeZipRequest.opcRequestId,
18717
19064
  };
18718
19065
 
18719
19066
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
18720
19067
  const retrier = GenericRetrier.createPreferredRetrier(
18721
19068
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
18722
- updateVolumeRequest.retryConfiguration,
19069
+ uploadAndExtractVolumeZipRequest.retryConfiguration,
18723
19070
  specRetryConfiguration
18724
19071
  );
18725
19072
  if (this.logger) retrier.logger = this.logger;
18726
19073
  const request = await composeRequest({
18727
19074
  baseEndpoint: this._endpoint,
18728
19075
  defaultHeaders: this._defaultHeaders,
18729
- path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}',
18730
- method: 'PUT',
18731
- bodyContent: common.ObjectSerializer.serialize(updateVolumeRequest.updateVolumeDetails, "UpdateVolumeDetails"
18732
- , model.UpdateVolumeDetails.getJsonObj)
19076
+ path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}/actions/uploadAndExtractZip',
19077
+ method: 'POST',
19078
+ bodyContent: common.ObjectSerializer.serialize(uploadAndExtractVolumeZipRequest.uploadAndExtractZipDetails, "UploadAndExtractZipDetails"
19079
+ , model.UploadAndExtractZipDetails.getJsonObj)
18733
19080
  ,
18734
19081
  pathParams: pathParams,
18735
19082
  headerParams: headerParams,
@@ -18738,15 +19085,15 @@ export class VolumeClient {
18738
19085
  try {
18739
19086
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
18740
19087
  const sdkResponse = composeResponse({
18741
- responseObject: <responses.UpdateVolumeResponse>{},
19088
+ responseObject: <responses.UploadAndExtractVolumeZipResponse>{},
18742
19089
  body: await response.json(),
18743
- bodyKey: "volume",
18744
- bodyModel: model.Volume,
18745
- type: "model.Volume",
19090
+ bodyKey: "uploadAndExtractZipResult",
19091
+ bodyModel: model.UploadAndExtractZipResult,
19092
+ type: "model.UploadAndExtractZipResult",
18746
19093
  responseHeaders: [
18747
19094
  {
18748
- value: response.headers.get("opc-work-request-id"),
18749
- key: "opcWorkRequestId",
19095
+ value: response.headers.get("aidp-async-operation-key"),
19096
+ key: "aidpAsyncOperationKey",
18750
19097
  dataType: "string"
18751
19098
  },
18752
19099
  {
@@ -18754,11 +19101,6 @@ export class VolumeClient {
18754
19101
  key: "opcRequestId",
18755
19102
  dataType: "string"
18756
19103
  },
18757
- {
18758
- value: response.headers.get("etag"),
18759
- key: "etag",
18760
- dataType: "string"
18761
- },
18762
19104
  ]
18763
19105
  });
18764
19106
 
@@ -18939,6 +19281,80 @@ export class VolumeClient {
18939
19281
  }
18940
19282
  }
18941
19283
 
19284
+ /**
19285
+ * Starts asynchronous creation of a ZIP archive for a volume folder. The response includes a PAR URL for downloading the archive after the operation succeeds.
19286
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
19287
+ * @param ZipAndDownloadVolumeFolderRequest
19288
+ * @return ZipAndDownloadVolumeFolderResponse
19289
+ * @throws OciError when an error occurs
19290
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ZipAndDownloadVolumeFolder.ts.html |here} to see how to use ZipAndDownloadVolumeFolder API.
19291
+ */
19292
+ public async zipAndDownloadVolumeFolder (zipAndDownloadVolumeFolderRequest: requests.ZipAndDownloadVolumeFolderRequest) : Promise<responses.ZipAndDownloadVolumeFolderResponse> {
19293
+ if (this.logger)
19294
+ this.logger.debug("Calling operation VolumeClient#zipAndDownloadVolumeFolder.");
19295
+ const operationName = "zipAndDownloadVolumeFolder";
19296
+ const apiReferenceLink = "";
19297
+ const pathParams = {
19298
+ "{aiDataPlatformId}": zipAndDownloadVolumeFolderRequest.aiDataPlatformId,
19299
+ "{volumeKey}": zipAndDownloadVolumeFolderRequest.volumeKey,
19300
+ };
19301
+
19302
+ const queryParams = {
19303
+ };
19304
+
19305
+ let headerParams = {
19306
+ "Content-Type": common.Constants.APPLICATION_JSON,
19307
+ 'opc-retry-token': zipAndDownloadVolumeFolderRequest.opcRetryToken,'opc-request-id': zipAndDownloadVolumeFolderRequest.opcRequestId,
19308
+ };
19309
+
19310
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
19311
+ const retrier = GenericRetrier.createPreferredRetrier(
19312
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
19313
+ zipAndDownloadVolumeFolderRequest.retryConfiguration,
19314
+ specRetryConfiguration
19315
+ );
19316
+ if (this.logger) retrier.logger = this.logger;
19317
+ const request = await composeRequest({
19318
+ baseEndpoint: this._endpoint,
19319
+ defaultHeaders: this._defaultHeaders,
19320
+ path: '/aiDataPlatforms/{aiDataPlatformId}/volumes/{volumeKey}/actions/zipAndDownloadFolder',
19321
+ method: 'POST',
19322
+ bodyContent: common.ObjectSerializer.serialize(zipAndDownloadVolumeFolderRequest.zipAndDownloadFolderDetails, "ZipAndDownloadFolderDetails"
19323
+ , model.ZipAndDownloadFolderDetails.getJsonObj)
19324
+ ,
19325
+ pathParams: pathParams,
19326
+ headerParams: headerParams,
19327
+ queryParams: queryParams
19328
+ });
19329
+ try {
19330
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
19331
+ const sdkResponse = composeResponse({
19332
+ responseObject: <responses.ZipAndDownloadVolumeFolderResponse>{},
19333
+ body: await response.json(),
19334
+ bodyKey: "zipAndDownloadFolderResult",
19335
+ bodyModel: model.ZipAndDownloadFolderResult,
19336
+ type: "model.ZipAndDownloadFolderResult",
19337
+ responseHeaders: [
19338
+ {
19339
+ value: response.headers.get("aidp-async-operation-key"),
19340
+ key: "aidpAsyncOperationKey",
19341
+ dataType: "string"
19342
+ },
19343
+ {
19344
+ value: response.headers.get("opc-request-id"),
19345
+ key: "opcRequestId",
19346
+ dataType: "string"
19347
+ },
19348
+ ]
19349
+ });
19350
+
19351
+ return sdkResponse;
19352
+ }
19353
+ catch (err) {
19354
+ throw err;
19355
+ }
19356
+ }
19357
+
18942
19358
  }
18943
19359
  export enum WorkflowApiKeys {
18944
19360
  }
@@ -19884,6 +20300,7 @@ export class WorkflowClient {
19884
20300
  };
19885
20301
 
19886
20302
  const queryParams = {
20303
+ 'shouldIncludeTaskRunRetries': getTaskRunRequest.shouldIncludeTaskRunRetries,
19887
20304
  };
19888
20305
 
19889
20306
  let headerParams = {
@@ -20265,6 +20682,89 @@ export class WorkflowClient {
20265
20682
  }
20266
20683
  }
20267
20684
 
20685
+ /**
20686
+ * Returns detailed information about retries of a task run with a given task run key.
20687
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
20688
+ * @param ListTaskRunRetriesRequest
20689
+ * @return ListTaskRunRetriesResponse
20690
+ * @throws OciError when an error occurs
20691
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListTaskRunRetries.ts.html |here} to see how to use ListTaskRunRetries API.
20692
+ */
20693
+ public async listTaskRunRetries (listTaskRunRetriesRequest: requests.ListTaskRunRetriesRequest) : Promise<responses.ListTaskRunRetriesResponse> {
20694
+ if (this.logger)
20695
+ this.logger.debug("Calling operation WorkflowClient#listTaskRunRetries.");
20696
+ const operationName = "listTaskRunRetries";
20697
+ const apiReferenceLink = "";
20698
+ const pathParams = {
20699
+ "{aiDataPlatformId}": listTaskRunRetriesRequest.aiDataPlatformId,
20700
+ "{workspaceKey}": listTaskRunRetriesRequest.workspaceKey,
20701
+ "{taskRunKey}": listTaskRunRetriesRequest.taskRunKey,
20702
+ };
20703
+
20704
+ const queryParams = {
20705
+ 'displayName': listTaskRunRetriesRequest.displayName,
20706
+ 'status': listTaskRunRetriesRequest.status,
20707
+ 'limit': listTaskRunRetriesRequest.limit,
20708
+ 'page': listTaskRunRetriesRequest.page,
20709
+ 'sortOrder': listTaskRunRetriesRequest.sortOrder,
20710
+ 'sortBy': listTaskRunRetriesRequest.sortBy,
20711
+ };
20712
+
20713
+ let headerParams = {
20714
+ "Content-Type": common.Constants.APPLICATION_JSON,
20715
+ 'opc-request-id': listTaskRunRetriesRequest.opcRequestId,
20716
+ };
20717
+
20718
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
20719
+ const retrier = GenericRetrier.createPreferredRetrier(
20720
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
20721
+ listTaskRunRetriesRequest.retryConfiguration,
20722
+ specRetryConfiguration
20723
+ );
20724
+ if (this.logger) retrier.logger = this.logger;
20725
+ const request = await composeRequest({
20726
+ baseEndpoint: this._endpoint,
20727
+ defaultHeaders: this._defaultHeaders,
20728
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns/{taskRunKey}/retries',
20729
+ method: 'GET',
20730
+ pathParams: pathParams,
20731
+ headerParams: headerParams,
20732
+ queryParams: queryParams
20733
+ });
20734
+ try {
20735
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
20736
+ const sdkResponse = composeResponse({
20737
+ responseObject: <responses.ListTaskRunRetriesResponse>{},
20738
+ body: await response.json(),
20739
+ bodyKey: "taskRunRetryCollection",
20740
+ bodyModel: model.TaskRunRetryCollection,
20741
+ type: "model.TaskRunRetryCollection",
20742
+ responseHeaders: [
20743
+ {
20744
+ value: response.headers.get("opc-request-id"),
20745
+ key: "opcRequestId",
20746
+ dataType: "string"
20747
+ },
20748
+ {
20749
+ value: response.headers.get("opc-next-page"),
20750
+ key: "opcNextPage",
20751
+ dataType: "string"
20752
+ },
20753
+ {
20754
+ value: response.headers.get("opc-prev-page"),
20755
+ key: "opcPrevPage",
20756
+ dataType: "string"
20757
+ },
20758
+ ]
20759
+ });
20760
+
20761
+ return sdkResponse;
20762
+ }
20763
+ catch (err) {
20764
+ throw err;
20765
+ }
20766
+ }
20767
+
20268
20768
  /**
20269
20769
  * Returns a list of task runs.
20270
20770
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -22759,6 +23259,81 @@ export class WorkspaceObjectClient {
22759
23259
  }
22760
23260
  }
22761
23261
 
23262
+ /**
23263
+ * Creates or updates an asynchronous workspace ZIP upload and extraction operation. CREATE returns a PAR URL for uploading the ZIP bytes and an async operation key. UPDATE records the uploaded ZIP metadata so extraction can continue.
23264
+ *
23265
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
23266
+ * @param UploadAndExtractWorkspaceZipRequest
23267
+ * @return UploadAndExtractWorkspaceZipResponse
23268
+ * @throws OciError when an error occurs
23269
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UploadAndExtractWorkspaceZip.ts.html |here} to see how to use UploadAndExtractWorkspaceZip API.
23270
+ */
23271
+ public async uploadAndExtractWorkspaceZip (uploadAndExtractWorkspaceZipRequest: requests.UploadAndExtractWorkspaceZipRequest) : Promise<responses.UploadAndExtractWorkspaceZipResponse> {
23272
+ if (this.logger)
23273
+ this.logger.debug("Calling operation WorkspaceObjectClient#uploadAndExtractWorkspaceZip.");
23274
+ const operationName = "uploadAndExtractWorkspaceZip";
23275
+ const apiReferenceLink = "";
23276
+ const pathParams = {
23277
+ "{aiDataPlatformId}": uploadAndExtractWorkspaceZipRequest.aiDataPlatformId,
23278
+ "{workspaceKey}": uploadAndExtractWorkspaceZipRequest.workspaceKey,
23279
+ };
23280
+
23281
+ const queryParams = {
23282
+ };
23283
+
23284
+ let headerParams = {
23285
+ "Content-Type": common.Constants.APPLICATION_JSON,
23286
+ 'opc-retry-token': uploadAndExtractWorkspaceZipRequest.opcRetryToken,'opc-request-id': uploadAndExtractWorkspaceZipRequest.opcRequestId,
23287
+ };
23288
+
23289
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
23290
+ const retrier = GenericRetrier.createPreferredRetrier(
23291
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
23292
+ uploadAndExtractWorkspaceZipRequest.retryConfiguration,
23293
+ specRetryConfiguration
23294
+ );
23295
+ if (this.logger) retrier.logger = this.logger;
23296
+ const request = await composeRequest({
23297
+ baseEndpoint: this._endpoint,
23298
+ defaultHeaders: this._defaultHeaders,
23299
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/uploadAndExtractZip',
23300
+ method: 'POST',
23301
+ bodyContent: common.ObjectSerializer.serialize(uploadAndExtractWorkspaceZipRequest.uploadAndExtractZipDetails, "UploadAndExtractZipDetails"
23302
+ , model.UploadAndExtractZipDetails.getJsonObj)
23303
+ ,
23304
+ pathParams: pathParams,
23305
+ headerParams: headerParams,
23306
+ queryParams: queryParams
23307
+ });
23308
+ try {
23309
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
23310
+ const sdkResponse = composeResponse({
23311
+ responseObject: <responses.UploadAndExtractWorkspaceZipResponse>{},
23312
+ body: await response.json(),
23313
+ bodyKey: "uploadAndExtractZipResult",
23314
+ bodyModel: model.UploadAndExtractZipResult,
23315
+ type: "model.UploadAndExtractZipResult",
23316
+ responseHeaders: [
23317
+ {
23318
+ value: response.headers.get("aidp-async-operation-key"),
23319
+ key: "aidpAsyncOperationKey",
23320
+ dataType: "string"
23321
+ },
23322
+ {
23323
+ value: response.headers.get("opc-request-id"),
23324
+ key: "opcRequestId",
23325
+ dataType: "string"
23326
+ },
23327
+ ]
23328
+ });
23329
+
23330
+ return sdkResponse;
23331
+ }
23332
+ catch (err) {
23333
+ throw err;
23334
+ }
23335
+ }
23336
+
22762
23337
  /**
22763
23338
  * Creates a workspace file by generating PAR or updates the metadata by close file. If file exists, then it will be updated.
22764
23339
  *
@@ -22858,4 +23433,78 @@ export class WorkspaceObjectClient {
22858
23433
  }
22859
23434
  }
22860
23435
 
23436
+ /**
23437
+ * Starts asynchronous creation of a ZIP archive for a workspace folder. The response includes a PAR URL for downloading the archive after the operation succeeds.
23438
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
23439
+ * @param ZipAndDownloadWorkspaceFolderRequest
23440
+ * @return ZipAndDownloadWorkspaceFolderResponse
23441
+ * @throws OciError when an error occurs
23442
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ZipAndDownloadWorkspaceFolder.ts.html |here} to see how to use ZipAndDownloadWorkspaceFolder API.
23443
+ */
23444
+ public async zipAndDownloadWorkspaceFolder (zipAndDownloadWorkspaceFolderRequest: requests.ZipAndDownloadWorkspaceFolderRequest) : Promise<responses.ZipAndDownloadWorkspaceFolderResponse> {
23445
+ if (this.logger)
23446
+ this.logger.debug("Calling operation WorkspaceObjectClient#zipAndDownloadWorkspaceFolder.");
23447
+ const operationName = "zipAndDownloadWorkspaceFolder";
23448
+ const apiReferenceLink = "";
23449
+ const pathParams = {
23450
+ "{aiDataPlatformId}": zipAndDownloadWorkspaceFolderRequest.aiDataPlatformId,
23451
+ "{workspaceKey}": zipAndDownloadWorkspaceFolderRequest.workspaceKey,
23452
+ };
23453
+
23454
+ const queryParams = {
23455
+ };
23456
+
23457
+ let headerParams = {
23458
+ "Content-Type": common.Constants.APPLICATION_JSON,
23459
+ 'opc-retry-token': zipAndDownloadWorkspaceFolderRequest.opcRetryToken,'opc-request-id': zipAndDownloadWorkspaceFolderRequest.opcRequestId,
23460
+ };
23461
+
23462
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
23463
+ const retrier = GenericRetrier.createPreferredRetrier(
23464
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
23465
+ zipAndDownloadWorkspaceFolderRequest.retryConfiguration,
23466
+ specRetryConfiguration
23467
+ );
23468
+ if (this.logger) retrier.logger = this.logger;
23469
+ const request = await composeRequest({
23470
+ baseEndpoint: this._endpoint,
23471
+ defaultHeaders: this._defaultHeaders,
23472
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/zipAndDownloadFolder',
23473
+ method: 'POST',
23474
+ bodyContent: common.ObjectSerializer.serialize(zipAndDownloadWorkspaceFolderRequest.zipAndDownloadFolderDetails, "ZipAndDownloadFolderDetails"
23475
+ , model.ZipAndDownloadFolderDetails.getJsonObj)
23476
+ ,
23477
+ pathParams: pathParams,
23478
+ headerParams: headerParams,
23479
+ queryParams: queryParams
23480
+ });
23481
+ try {
23482
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
23483
+ const sdkResponse = composeResponse({
23484
+ responseObject: <responses.ZipAndDownloadWorkspaceFolderResponse>{},
23485
+ body: await response.json(),
23486
+ bodyKey: "zipAndDownloadFolderResult",
23487
+ bodyModel: model.ZipAndDownloadFolderResult,
23488
+ type: "model.ZipAndDownloadFolderResult",
23489
+ responseHeaders: [
23490
+ {
23491
+ value: response.headers.get("aidp-async-operation-key"),
23492
+ key: "aidpAsyncOperationKey",
23493
+ dataType: "string"
23494
+ },
23495
+ {
23496
+ value: response.headers.get("opc-request-id"),
23497
+ key: "opcRequestId",
23498
+ dataType: "string"
23499
+ },
23500
+ ]
23501
+ });
23502
+
23503
+ return sdkResponse;
23504
+ }
23505
+ catch (err) {
23506
+ throw err;
23507
+ }
23508
+ }
23509
+
22861
23510
  }