oci-datascience 2.50.2 → 2.50.3

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 (271) hide show
  1. package/lib/client.d.ts +279 -69
  2. package/lib/client.js +1290 -156
  3. package/lib/client.js.map +1 -1
  4. package/lib/datascience-waiter.d.ts +16 -0
  5. package/lib/datascience-waiter.js +24 -0
  6. package/lib/datascience-waiter.js.map +1 -1
  7. package/lib/model/change-pipeline-compartment-details.d.ts +27 -0
  8. package/lib/model/change-pipeline-compartment-details.js +30 -0
  9. package/lib/model/change-pipeline-compartment-details.js.map +1 -0
  10. package/lib/model/change-pipeline-run-compartment-details.d.ts +27 -0
  11. package/lib/model/change-pipeline-run-compartment-details.js +30 -0
  12. package/lib/model/change-pipeline-run-compartment-details.js.map +1 -0
  13. package/lib/model/create-pipeline-details.d.ts +64 -0
  14. package/lib/model/create-pipeline-details.js +80 -0
  15. package/lib/model/create-pipeline-details.js.map +1 -0
  16. package/lib/model/create-pipeline-run-details.d.ts +73 -0
  17. package/lib/model/create-pipeline-run-details.js +74 -0
  18. package/lib/model/create-pipeline-run-details.js.map +1 -0
  19. package/lib/model/index.d.ts +58 -0
  20. package/lib/model/index.js +61 -2
  21. package/lib/model/index.js.map +1 -1
  22. package/lib/model/pipeline-configuration-details.d.ts +23 -0
  23. package/lib/model/pipeline-configuration-details.js +69 -0
  24. package/lib/model/pipeline-configuration-details.js.map +1 -0
  25. package/lib/model/pipeline-custom-script-step-details.d.ts +30 -0
  26. package/lib/model/pipeline-custom-script-step-details.js +63 -0
  27. package/lib/model/pipeline-custom-script-step-details.js.map +1 -0
  28. package/lib/model/pipeline-custom-script-step-run.d.ts +25 -0
  29. package/lib/model/pipeline-custom-script-step-run.js +55 -0
  30. package/lib/model/pipeline-custom-script-step-run.js.map +1 -0
  31. package/lib/model/pipeline-custom-script-step-update-details.d.ts +25 -0
  32. package/lib/model/pipeline-custom-script-step-update-details.js +55 -0
  33. package/lib/model/pipeline-custom-script-step-update-details.js.map +1 -0
  34. package/lib/model/pipeline-default-configuration-details.d.ts +40 -0
  35. package/lib/model/pipeline-default-configuration-details.js +55 -0
  36. package/lib/model/pipeline-default-configuration-details.js.map +1 -0
  37. package/lib/model/pipeline-infrastructure-configuration-details.d.ts +33 -0
  38. package/lib/model/pipeline-infrastructure-configuration-details.js +58 -0
  39. package/lib/model/pipeline-infrastructure-configuration-details.js.map +1 -0
  40. package/lib/model/pipeline-lifecycle-state.d.ts +32 -0
  41. package/lib/model/pipeline-lifecycle-state.js +43 -0
  42. package/lib/model/pipeline-lifecycle-state.js.map +1 -0
  43. package/lib/model/pipeline-log-configuration-details.d.ts +38 -0
  44. package/lib/model/pipeline-log-configuration-details.js +30 -0
  45. package/lib/model/pipeline-log-configuration-details.js.map +1 -0
  46. package/lib/model/pipeline-ml-job-step-details.d.ts +29 -0
  47. package/lib/model/pipeline-ml-job-step-details.js +55 -0
  48. package/lib/model/pipeline-ml-job-step-details.js.map +1 -0
  49. package/lib/model/pipeline-ml-job-step-run.d.ts +29 -0
  50. package/lib/model/pipeline-ml-job-step-run.js +53 -0
  51. package/lib/model/pipeline-ml-job-step-run.js.map +1 -0
  52. package/lib/model/pipeline-ml-job-step-update-details.d.ts +25 -0
  53. package/lib/model/pipeline-ml-job-step-update-details.js +55 -0
  54. package/lib/model/pipeline-ml-job-step-update-details.js.map +1 -0
  55. package/lib/model/pipeline-run-lifecycle-state.d.ts +35 -0
  56. package/lib/model/pipeline-run-lifecycle-state.js +46 -0
  57. package/lib/model/pipeline-run-lifecycle-state.js.map +1 -0
  58. package/lib/model/pipeline-run-log-details.d.ts +30 -0
  59. package/lib/model/pipeline-run-log-details.js +30 -0
  60. package/lib/model/pipeline-run-log-details.js.map +1 -0
  61. package/lib/model/pipeline-run-summary.d.ts +99 -0
  62. package/lib/model/pipeline-run-summary.js +30 -0
  63. package/lib/model/pipeline-run-summary.js.map +1 -0
  64. package/lib/model/pipeline-run.d.ts +111 -0
  65. package/lib/model/pipeline-run.js +96 -0
  66. package/lib/model/pipeline-run.js.map +1 -0
  67. package/lib/model/pipeline-shape-config-details.d.ts +32 -0
  68. package/lib/model/pipeline-shape-config-details.js +30 -0
  69. package/lib/model/pipeline-shape-config-details.js.map +1 -0
  70. package/lib/model/pipeline-step-configuration-details.d.ts +36 -0
  71. package/lib/model/pipeline-step-configuration-details.js +30 -0
  72. package/lib/model/pipeline-step-configuration-details.js.map +1 -0
  73. package/lib/model/pipeline-step-details.d.ts +37 -0
  74. package/lib/model/pipeline-step-details.js +81 -0
  75. package/lib/model/pipeline-step-details.js.map +1 -0
  76. package/lib/model/pipeline-step-override-details.d.ts +28 -0
  77. package/lib/model/pipeline-step-override-details.js +58 -0
  78. package/lib/model/pipeline-step-override-details.js.map +1 -0
  79. package/lib/model/pipeline-step-run.d.ts +59 -0
  80. package/lib/model/pipeline-step-run.js +90 -0
  81. package/lib/model/pipeline-step-run.js.map +1 -0
  82. package/lib/model/pipeline-step-update-details.d.ts +33 -0
  83. package/lib/model/pipeline-step-update-details.js +81 -0
  84. package/lib/model/pipeline-step-update-details.js.map +1 -0
  85. package/lib/model/pipeline-summary.d.ts +87 -0
  86. package/lib/model/pipeline-summary.js +30 -0
  87. package/lib/model/pipeline-summary.js.map +1 -0
  88. package/lib/model/pipeline.d.ts +102 -0
  89. package/lib/model/pipeline.js +80 -0
  90. package/lib/model/pipeline.js.map +1 -0
  91. package/lib/model/update-pipeline-details.d.ts +55 -0
  92. package/lib/model/update-pipeline-details.js +74 -0
  93. package/lib/model/update-pipeline-details.js.map +1 -0
  94. package/lib/model/update-pipeline-run-details.d.ts +44 -0
  95. package/lib/model/update-pipeline-run-details.js +30 -0
  96. package/lib/model/update-pipeline-run-details.js.map +1 -0
  97. package/lib/model/work-request-operation-type.d.ts +5 -0
  98. package/lib/model/work-request-operation-type.js +5 -0
  99. package/lib/model/work-request-operation-type.js.map +1 -1
  100. package/lib/request/activate-model-deployment-request.d.ts +1 -1
  101. package/lib/request/activate-model-request.d.ts +1 -1
  102. package/lib/request/activate-notebook-session-request.d.ts +1 -1
  103. package/lib/request/cancel-job-run-request.d.ts +1 -1
  104. package/lib/request/cancel-pipeline-run-request.d.ts +41 -0
  105. package/lib/request/cancel-pipeline-run-request.js +15 -0
  106. package/lib/request/cancel-pipeline-run-request.js.map +1 -0
  107. package/lib/request/cancel-work-request-request.d.ts +1 -1
  108. package/lib/request/change-job-compartment-request.d.ts +1 -1
  109. package/lib/request/change-job-run-compartment-request.d.ts +1 -1
  110. package/lib/request/change-model-compartment-request.d.ts +1 -1
  111. package/lib/request/change-model-deployment-compartment-request.d.ts +1 -1
  112. package/lib/request/change-model-version-set-compartment-request.d.ts +1 -1
  113. package/lib/request/change-notebook-session-compartment-request.d.ts +1 -1
  114. package/lib/request/change-pipeline-compartment-request.d.ts +41 -0
  115. package/lib/request/change-pipeline-compartment-request.js +15 -0
  116. package/lib/request/change-pipeline-compartment-request.js.map +1 -0
  117. package/lib/request/change-pipeline-run-compartment-request.d.ts +41 -0
  118. package/lib/request/change-pipeline-run-compartment-request.js +15 -0
  119. package/lib/request/change-pipeline-run-compartment-request.js.map +1 -0
  120. package/lib/request/change-project-compartment-request.d.ts +1 -1
  121. package/lib/request/create-job-artifact-request.d.ts +1 -1
  122. package/lib/request/create-job-request.d.ts +1 -1
  123. package/lib/request/create-job-run-request.d.ts +1 -1
  124. package/lib/request/create-model-artifact-request.d.ts +1 -1
  125. package/lib/request/create-model-deployment-request.d.ts +1 -1
  126. package/lib/request/create-model-provenance-request.d.ts +1 -1
  127. package/lib/request/create-model-request.d.ts +1 -1
  128. package/lib/request/create-model-version-set-request.d.ts +1 -1
  129. package/lib/request/create-notebook-session-request.d.ts +1 -1
  130. package/lib/request/create-pipeline-request.d.ts +33 -0
  131. package/lib/request/create-pipeline-request.js +15 -0
  132. package/lib/request/create-pipeline-request.js.map +1 -0
  133. package/lib/request/create-pipeline-run-request.d.ts +33 -0
  134. package/lib/request/create-pipeline-run-request.js +15 -0
  135. package/lib/request/create-pipeline-run-request.js.map +1 -0
  136. package/lib/request/create-project-request.d.ts +1 -1
  137. package/lib/request/create-step-artifact-request.d.ts +57 -0
  138. package/lib/request/create-step-artifact-request.js +15 -0
  139. package/lib/request/create-step-artifact-request.js.map +1 -0
  140. package/lib/request/deactivate-model-deployment-request.d.ts +1 -1
  141. package/lib/request/deactivate-model-request.d.ts +1 -1
  142. package/lib/request/deactivate-notebook-session-request.d.ts +1 -1
  143. package/lib/request/delete-job-request.d.ts +1 -1
  144. package/lib/request/delete-job-run-request.d.ts +1 -1
  145. package/lib/request/delete-model-deployment-request.d.ts +1 -1
  146. package/lib/request/delete-model-request.d.ts +1 -1
  147. package/lib/request/delete-model-version-set-request.d.ts +1 -1
  148. package/lib/request/delete-notebook-session-request.d.ts +1 -1
  149. package/lib/request/delete-pipeline-request.d.ts +44 -0
  150. package/lib/request/delete-pipeline-request.js +15 -0
  151. package/lib/request/delete-pipeline-request.js.map +1 -0
  152. package/lib/request/delete-pipeline-run-request.d.ts +40 -0
  153. package/lib/request/delete-pipeline-run-request.js +15 -0
  154. package/lib/request/delete-pipeline-run-request.js.map +1 -0
  155. package/lib/request/delete-project-request.d.ts +1 -1
  156. package/lib/request/export-model-artifact-request.d.ts +1 -1
  157. package/lib/request/get-job-artifact-content-request.d.ts +1 -1
  158. package/lib/request/get-job-request.d.ts +1 -1
  159. package/lib/request/get-job-run-request.d.ts +1 -1
  160. package/lib/request/get-model-artifact-content-request.d.ts +1 -1
  161. package/lib/request/get-model-deployment-request.d.ts +1 -1
  162. package/lib/request/get-model-provenance-request.d.ts +1 -1
  163. package/lib/request/get-model-request.d.ts +1 -1
  164. package/lib/request/get-model-version-set-request.d.ts +1 -1
  165. package/lib/request/get-notebook-session-request.d.ts +1 -1
  166. package/lib/request/get-pipeline-request.d.ts +27 -0
  167. package/lib/request/get-pipeline-request.js +15 -0
  168. package/lib/request/get-pipeline-request.js.map +1 -0
  169. package/lib/request/get-pipeline-run-request.d.ts +27 -0
  170. package/lib/request/get-pipeline-run-request.js +15 -0
  171. package/lib/request/get-pipeline-run-request.js.map +1 -0
  172. package/lib/request/get-project-request.d.ts +1 -1
  173. package/lib/request/get-step-artifact-content-request.d.ts +37 -0
  174. package/lib/request/get-step-artifact-content-request.js +15 -0
  175. package/lib/request/get-step-artifact-content-request.js.map +1 -0
  176. package/lib/request/get-work-request-request.d.ts +1 -1
  177. package/lib/request/head-job-artifact-request.d.ts +1 -1
  178. package/lib/request/head-model-artifact-request.d.ts +1 -1
  179. package/lib/request/head-step-artifact-request.d.ts +31 -0
  180. package/lib/request/head-step-artifact-request.js +15 -0
  181. package/lib/request/head-step-artifact-request.js.map +1 -0
  182. package/lib/request/import-model-artifact-request.d.ts +1 -1
  183. package/lib/request/index.d.ts +32 -0
  184. package/lib/request/index.js +5 -1
  185. package/lib/request/index.js.map +1 -1
  186. package/lib/request/list-fast-launch-job-configs-request.d.ts +1 -1
  187. package/lib/request/list-job-runs-request.d.ts +1 -1
  188. package/lib/request/list-job-shapes-request.d.ts +1 -1
  189. package/lib/request/list-jobs-request.d.ts +1 -1
  190. package/lib/request/list-model-deployment-shapes-request.d.ts +1 -1
  191. package/lib/request/list-model-deployments-request.d.ts +1 -1
  192. package/lib/request/list-model-version-sets-request.d.ts +1 -1
  193. package/lib/request/list-models-request.d.ts +1 -1
  194. package/lib/request/list-notebook-session-shapes-request.d.ts +1 -1
  195. package/lib/request/list-notebook-sessions-request.d.ts +1 -1
  196. package/lib/request/list-pipeline-runs-request.d.ts +90 -0
  197. package/lib/request/list-pipeline-runs-request.js +29 -0
  198. package/lib/request/list-pipeline-runs-request.js.map +1 -0
  199. package/lib/request/list-pipelines-request.d.ts +90 -0
  200. package/lib/request/list-pipelines-request.js +29 -0
  201. package/lib/request/list-pipelines-request.js.map +1 -0
  202. package/lib/request/list-projects-request.d.ts +1 -1
  203. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  204. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  205. package/lib/request/list-work-requests-request.d.ts +7 -2
  206. package/lib/request/list-work-requests-request.js +5 -0
  207. package/lib/request/list-work-requests-request.js.map +1 -1
  208. package/lib/request/update-job-request.d.ts +1 -1
  209. package/lib/request/update-job-run-request.d.ts +1 -1
  210. package/lib/request/update-model-deployment-request.d.ts +1 -1
  211. package/lib/request/update-model-provenance-request.d.ts +1 -1
  212. package/lib/request/update-model-request.d.ts +1 -1
  213. package/lib/request/update-model-version-set-request.d.ts +1 -1
  214. package/lib/request/update-notebook-session-request.d.ts +1 -1
  215. package/lib/request/update-pipeline-request.d.ts +41 -0
  216. package/lib/request/update-pipeline-request.js +15 -0
  217. package/lib/request/update-pipeline-request.js.map +1 -0
  218. package/lib/request/update-pipeline-run-request.d.ts +41 -0
  219. package/lib/request/update-pipeline-run-request.js +15 -0
  220. package/lib/request/update-pipeline-run-request.js.map +1 -0
  221. package/lib/request/update-project-request.d.ts +1 -1
  222. package/lib/response/cancel-pipeline-run-response.d.ts +20 -0
  223. package/lib/response/cancel-pipeline-run-response.js +15 -0
  224. package/lib/response/cancel-pipeline-run-response.js.map +1 -0
  225. package/lib/response/change-pipeline-compartment-response.d.ts +20 -0
  226. package/lib/response/change-pipeline-compartment-response.js +15 -0
  227. package/lib/response/change-pipeline-compartment-response.js.map +1 -0
  228. package/lib/response/change-pipeline-run-compartment-response.d.ts +20 -0
  229. package/lib/response/change-pipeline-run-compartment-response.js +15 -0
  230. package/lib/response/change-pipeline-run-compartment-response.js.map +1 -0
  231. package/lib/response/create-pipeline-response.d.ts +30 -0
  232. package/lib/response/create-pipeline-response.js +15 -0
  233. package/lib/response/create-pipeline-response.js.map +1 -0
  234. package/lib/response/create-pipeline-run-response.d.ts +35 -0
  235. package/lib/response/create-pipeline-run-response.js +15 -0
  236. package/lib/response/create-pipeline-run-response.js.map +1 -0
  237. package/lib/response/create-step-artifact-response.d.ts +20 -0
  238. package/lib/response/create-step-artifact-response.js +15 -0
  239. package/lib/response/create-step-artifact-response.js.map +1 -0
  240. package/lib/response/delete-pipeline-response.d.ts +26 -0
  241. package/lib/response/delete-pipeline-response.js +15 -0
  242. package/lib/response/delete-pipeline-response.js.map +1 -0
  243. package/lib/response/delete-pipeline-run-response.d.ts +20 -0
  244. package/lib/response/delete-pipeline-run-response.js +15 -0
  245. package/lib/response/delete-pipeline-run-response.js.map +1 -0
  246. package/lib/response/get-pipeline-response.d.ts +30 -0
  247. package/lib/response/get-pipeline-response.js +15 -0
  248. package/lib/response/get-pipeline-response.js.map +1 -0
  249. package/lib/response/get-pipeline-run-response.d.ts +30 -0
  250. package/lib/response/get-pipeline-run-response.js +15 -0
  251. package/lib/response/get-pipeline-run-response.js.map +1 -0
  252. package/lib/response/get-step-artifact-content-response.d.ts +52 -0
  253. package/lib/response/get-step-artifact-content-response.js +15 -0
  254. package/lib/response/get-step-artifact-content-response.js.map +1 -0
  255. package/lib/response/head-step-artifact-response.d.ts +46 -0
  256. package/lib/response/head-step-artifact-response.js +15 -0
  257. package/lib/response/head-step-artifact-response.js.map +1 -0
  258. package/lib/response/index.d.ts +32 -0
  259. package/lib/response/list-pipeline-runs-response.d.ts +35 -0
  260. package/lib/response/list-pipeline-runs-response.js +15 -0
  261. package/lib/response/list-pipeline-runs-response.js.map +1 -0
  262. package/lib/response/list-pipelines-response.d.ts +35 -0
  263. package/lib/response/list-pipelines-response.js +15 -0
  264. package/lib/response/list-pipelines-response.js.map +1 -0
  265. package/lib/response/update-pipeline-response.d.ts +30 -0
  266. package/lib/response/update-pipeline-response.js +15 -0
  267. package/lib/response/update-pipeline-response.js.map +1 -0
  268. package/lib/response/update-pipeline-run-response.d.ts +30 -0
  269. package/lib/response/update-pipeline-run-response.js +15 -0
  270. package/lib/response/update-pipeline-run-response.js.map +1 -0
  271. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -158,7 +158,7 @@ class DataScienceClient {
158
158
  * @param ActivateModelRequest
159
159
  * @return ActivateModelResponse
160
160
  * @throws OciError when an error occurs
161
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ActivateModel.ts.html |here} to see how to use ActivateModel API.
161
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ActivateModel.ts.html |here} to see how to use ActivateModel API.
162
162
  */
163
163
  activateModel(activateModelRequest) {
164
164
  return __awaiter(this, void 0, void 0, function* () {
@@ -222,7 +222,7 @@ class DataScienceClient {
222
222
  * @param ActivateModelDeploymentRequest
223
223
  * @return ActivateModelDeploymentResponse
224
224
  * @throws OciError when an error occurs
225
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ActivateModelDeployment.ts.html |here} to see how to use ActivateModelDeployment API.
225
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ActivateModelDeployment.ts.html |here} to see how to use ActivateModelDeployment API.
226
226
  */
227
227
  activateModelDeployment(activateModelDeploymentRequest) {
228
228
  return __awaiter(this, void 0, void 0, function* () {
@@ -282,7 +282,7 @@ class DataScienceClient {
282
282
  * @param ActivateNotebookSessionRequest
283
283
  * @return ActivateNotebookSessionResponse
284
284
  * @throws OciError when an error occurs
285
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ActivateNotebookSession.ts.html |here} to see how to use ActivateNotebookSession API.
285
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ActivateNotebookSession.ts.html |here} to see how to use ActivateNotebookSession API.
286
286
  */
287
287
  activateNotebookSession(activateNotebookSessionRequest) {
288
288
  return __awaiter(this, void 0, void 0, function* () {
@@ -342,7 +342,7 @@ class DataScienceClient {
342
342
  * @param CancelJobRunRequest
343
343
  * @return CancelJobRunResponse
344
344
  * @throws OciError when an error occurs
345
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CancelJobRun.ts.html |here} to see how to use CancelJobRun API.
345
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CancelJobRun.ts.html |here} to see how to use CancelJobRun API.
346
346
  */
347
347
  cancelJobRun(cancelJobRunRequest) {
348
348
  return __awaiter(this, void 0, void 0, function* () {
@@ -391,13 +391,69 @@ class DataScienceClient {
391
391
  }
392
392
  });
393
393
  }
394
+ /**
395
+ * Cancel a PipelineRun.
396
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
397
+ * @param CancelPipelineRunRequest
398
+ * @return CancelPipelineRunResponse
399
+ * @throws OciError when an error occurs
400
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CancelPipelineRun.ts.html |here} to see how to use CancelPipelineRun API.
401
+ */
402
+ cancelPipelineRun(cancelPipelineRunRequest) {
403
+ return __awaiter(this, void 0, void 0, function* () {
404
+ if (this.logger)
405
+ this.logger.debug("Calling operation DataScienceClient#cancelPipelineRun.");
406
+ const operationName = "cancelPipelineRun";
407
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/CancelPipelineRun";
408
+ const pathParams = {
409
+ "{pipelineRunId}": cancelPipelineRunRequest.pipelineRunId
410
+ };
411
+ const queryParams = {};
412
+ let headerParams = {
413
+ "Content-Type": common.Constants.APPLICATION_JSON,
414
+ "opc-request-id": cancelPipelineRunRequest.opcRequestId,
415
+ "opc-retry-token": cancelPipelineRunRequest.opcRetryToken,
416
+ "if-match": cancelPipelineRunRequest.ifMatch
417
+ };
418
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
419
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelPipelineRunRequest.retryConfiguration, specRetryConfiguration);
420
+ if (this.logger)
421
+ retrier.logger = this.logger;
422
+ const request = yield oci_common_2.composeRequest({
423
+ baseEndpoint: this._endpoint,
424
+ defaultHeaders: this._defaultHeaders,
425
+ path: "/pipelineRuns/{pipelineRunId}/actions/cancelPipelineRun",
426
+ method: "POST",
427
+ pathParams: pathParams,
428
+ headerParams: headerParams,
429
+ queryParams: queryParams
430
+ });
431
+ try {
432
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
433
+ const sdkResponse = oci_common_2.composeResponse({
434
+ responseObject: {},
435
+ responseHeaders: [
436
+ {
437
+ value: response.headers.get("opc-request-id"),
438
+ key: "opcRequestId",
439
+ dataType: "string"
440
+ }
441
+ ]
442
+ });
443
+ return sdkResponse;
444
+ }
445
+ catch (err) {
446
+ throw err;
447
+ }
448
+ });
449
+ }
394
450
  /**
395
451
  * Cancels a work request that has not started.
396
452
  * This operation does not retry by default if the user has not defined a retry configuration.
397
453
  * @param CancelWorkRequestRequest
398
454
  * @return CancelWorkRequestResponse
399
455
  * @throws OciError when an error occurs
400
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
456
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
401
457
  */
402
458
  cancelWorkRequest(cancelWorkRequestRequest) {
403
459
  return __awaiter(this, void 0, void 0, function* () {
@@ -452,7 +508,7 @@ class DataScienceClient {
452
508
  * @param ChangeJobCompartmentRequest
453
509
  * @return ChangeJobCompartmentResponse
454
510
  * @throws OciError when an error occurs
455
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
511
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
456
512
  */
457
513
  changeJobCompartment(changeJobCompartmentRequest) {
458
514
  return __awaiter(this, void 0, void 0, function* () {
@@ -508,7 +564,7 @@ class DataScienceClient {
508
564
  * @param ChangeJobRunCompartmentRequest
509
565
  * @return ChangeJobRunCompartmentResponse
510
566
  * @throws OciError when an error occurs
511
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
567
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
512
568
  */
513
569
  changeJobRunCompartment(changeJobRunCompartmentRequest) {
514
570
  return __awaiter(this, void 0, void 0, function* () {
@@ -564,7 +620,7 @@ class DataScienceClient {
564
620
  * @param ChangeModelCompartmentRequest
565
621
  * @return ChangeModelCompartmentResponse
566
622
  * @throws OciError when an error occurs
567
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
623
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
568
624
  */
569
625
  changeModelCompartment(changeModelCompartmentRequest) {
570
626
  return __awaiter(this, void 0, void 0, function* () {
@@ -621,7 +677,7 @@ class DataScienceClient {
621
677
  * @param ChangeModelDeploymentCompartmentRequest
622
678
  * @return ChangeModelDeploymentCompartmentResponse
623
679
  * @throws OciError when an error occurs
624
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
680
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
625
681
  */
626
682
  changeModelDeploymentCompartment(changeModelDeploymentCompartmentRequest) {
627
683
  return __awaiter(this, void 0, void 0, function* () {
@@ -678,7 +734,7 @@ class DataScienceClient {
678
734
  * @param ChangeModelVersionSetCompartmentRequest
679
735
  * @return ChangeModelVersionSetCompartmentResponse
680
736
  * @throws OciError when an error occurs
681
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeModelVersionSetCompartment.ts.html |here} to see how to use ChangeModelVersionSetCompartment API.
737
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeModelVersionSetCompartment.ts.html |here} to see how to use ChangeModelVersionSetCompartment API.
682
738
  */
683
739
  changeModelVersionSetCompartment(changeModelVersionSetCompartmentRequest) {
684
740
  return __awaiter(this, void 0, void 0, function* () {
@@ -740,7 +796,7 @@ class DataScienceClient {
740
796
  * @param ChangeNotebookSessionCompartmentRequest
741
797
  * @return ChangeNotebookSessionCompartmentResponse
742
798
  * @throws OciError when an error occurs
743
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
799
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
744
800
  */
745
801
  changeNotebookSessionCompartment(changeNotebookSessionCompartmentRequest) {
746
802
  return __awaiter(this, void 0, void 0, function* () {
@@ -791,13 +847,125 @@ class DataScienceClient {
791
847
  }
792
848
  });
793
849
  }
850
+ /**
851
+ * Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
852
+ * This operation does not retry by default if the user has not defined a retry configuration.
853
+ * @param ChangePipelineCompartmentRequest
854
+ * @return ChangePipelineCompartmentResponse
855
+ * @throws OciError when an error occurs
856
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangePipelineCompartment.ts.html |here} to see how to use ChangePipelineCompartment API.
857
+ */
858
+ changePipelineCompartment(changePipelineCompartmentRequest) {
859
+ return __awaiter(this, void 0, void 0, function* () {
860
+ if (this.logger)
861
+ this.logger.debug("Calling operation DataScienceClient#changePipelineCompartment.");
862
+ const operationName = "changePipelineCompartment";
863
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/ChangePipelineCompartment";
864
+ const pathParams = {
865
+ "{pipelineId}": changePipelineCompartmentRequest.pipelineId
866
+ };
867
+ const queryParams = {};
868
+ let headerParams = {
869
+ "Content-Type": common.Constants.APPLICATION_JSON,
870
+ "opc-request-id": changePipelineCompartmentRequest.opcRequestId,
871
+ "if-match": changePipelineCompartmentRequest.ifMatch
872
+ };
873
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
874
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePipelineCompartmentRequest.retryConfiguration, specRetryConfiguration);
875
+ if (this.logger)
876
+ retrier.logger = this.logger;
877
+ const request = yield oci_common_2.composeRequest({
878
+ baseEndpoint: this._endpoint,
879
+ defaultHeaders: this._defaultHeaders,
880
+ path: "/pipelines/{pipelineId}/actions/changeCompartment",
881
+ method: "POST",
882
+ bodyContent: common.ObjectSerializer.serialize(changePipelineCompartmentRequest.changePipelineCompartmentDetails, "ChangePipelineCompartmentDetails", model.ChangePipelineCompartmentDetails.getJsonObj),
883
+ pathParams: pathParams,
884
+ headerParams: headerParams,
885
+ queryParams: queryParams
886
+ });
887
+ try {
888
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
889
+ const sdkResponse = oci_common_2.composeResponse({
890
+ responseObject: {},
891
+ responseHeaders: [
892
+ {
893
+ value: response.headers.get("opc-request-id"),
894
+ key: "opcRequestId",
895
+ dataType: "string"
896
+ }
897
+ ]
898
+ });
899
+ return sdkResponse;
900
+ }
901
+ catch (err) {
902
+ throw err;
903
+ }
904
+ });
905
+ }
906
+ /**
907
+ * Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
908
+ * This operation does not retry by default if the user has not defined a retry configuration.
909
+ * @param ChangePipelineRunCompartmentRequest
910
+ * @return ChangePipelineRunCompartmentResponse
911
+ * @throws OciError when an error occurs
912
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangePipelineRunCompartment.ts.html |here} to see how to use ChangePipelineRunCompartment API.
913
+ */
914
+ changePipelineRunCompartment(changePipelineRunCompartmentRequest) {
915
+ return __awaiter(this, void 0, void 0, function* () {
916
+ if (this.logger)
917
+ this.logger.debug("Calling operation DataScienceClient#changePipelineRunCompartment.");
918
+ const operationName = "changePipelineRunCompartment";
919
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/ChangePipelineRunCompartment";
920
+ const pathParams = {
921
+ "{pipelineRunId}": changePipelineRunCompartmentRequest.pipelineRunId
922
+ };
923
+ const queryParams = {};
924
+ let headerParams = {
925
+ "Content-Type": common.Constants.APPLICATION_JSON,
926
+ "opc-request-id": changePipelineRunCompartmentRequest.opcRequestId,
927
+ "if-match": changePipelineRunCompartmentRequest.ifMatch
928
+ };
929
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
930
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePipelineRunCompartmentRequest.retryConfiguration, specRetryConfiguration);
931
+ if (this.logger)
932
+ retrier.logger = this.logger;
933
+ const request = yield oci_common_2.composeRequest({
934
+ baseEndpoint: this._endpoint,
935
+ defaultHeaders: this._defaultHeaders,
936
+ path: "/pipelineRuns/{pipelineRunId}/actions/changeCompartment",
937
+ method: "POST",
938
+ bodyContent: common.ObjectSerializer.serialize(changePipelineRunCompartmentRequest.changePipelineRunCompartmentDetails, "ChangePipelineRunCompartmentDetails", model.ChangePipelineRunCompartmentDetails.getJsonObj),
939
+ pathParams: pathParams,
940
+ headerParams: headerParams,
941
+ queryParams: queryParams
942
+ });
943
+ try {
944
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
945
+ const sdkResponse = oci_common_2.composeResponse({
946
+ responseObject: {},
947
+ responseHeaders: [
948
+ {
949
+ value: response.headers.get("opc-request-id"),
950
+ key: "opcRequestId",
951
+ dataType: "string"
952
+ }
953
+ ]
954
+ });
955
+ return sdkResponse;
956
+ }
957
+ catch (err) {
958
+ throw err;
959
+ }
960
+ });
961
+ }
794
962
  /**
795
963
  * Moves a project resource into a different compartment.
796
964
  * This operation does not retry by default if the user has not defined a retry configuration.
797
965
  * @param ChangeProjectCompartmentRequest
798
966
  * @return ChangeProjectCompartmentResponse
799
967
  * @throws OciError when an error occurs
800
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
968
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
801
969
  */
802
970
  changeProjectCompartment(changeProjectCompartmentRequest) {
803
971
  return __awaiter(this, void 0, void 0, function* () {
@@ -854,7 +1022,7 @@ class DataScienceClient {
854
1022
  * @param CreateJobRequest
855
1023
  * @return CreateJobResponse
856
1024
  * @throws OciError when an error occurs
857
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
1025
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
858
1026
  */
859
1027
  createJob(createJobRequest) {
860
1028
  return __awaiter(this, void 0, void 0, function* () {
@@ -917,7 +1085,7 @@ class DataScienceClient {
917
1085
  * @param CreateJobArtifactRequest
918
1086
  * @return CreateJobArtifactResponse
919
1087
  * @throws OciError when an error occurs
920
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
1088
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
921
1089
  */
922
1090
  createJobArtifact(createJobArtifactRequest) {
923
1091
  return __awaiter(this, void 0, void 0, function* () {
@@ -980,7 +1148,7 @@ class DataScienceClient {
980
1148
  * @param CreateJobRunRequest
981
1149
  * @return CreateJobRunResponse
982
1150
  * @throws OciError when an error occurs
983
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
1151
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
984
1152
  */
985
1153
  createJobRun(createJobRunRequest) {
986
1154
  return __awaiter(this, void 0, void 0, function* () {
@@ -1043,7 +1211,7 @@ class DataScienceClient {
1043
1211
  * @param CreateModelRequest
1044
1212
  * @return CreateModelResponse
1045
1213
  * @throws OciError when an error occurs
1046
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
1214
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
1047
1215
  */
1048
1216
  createModel(createModelRequest) {
1049
1217
  return __awaiter(this, void 0, void 0, function* () {
@@ -1106,7 +1274,7 @@ class DataScienceClient {
1106
1274
  * @param CreateModelArtifactRequest
1107
1275
  * @return CreateModelArtifactResponse
1108
1276
  * @throws OciError when an error occurs
1109
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
1277
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
1110
1278
  */
1111
1279
  createModelArtifact(createModelArtifactRequest) {
1112
1280
  return __awaiter(this, void 0, void 0, function* () {
@@ -1170,7 +1338,7 @@ class DataScienceClient {
1170
1338
  * @param CreateModelDeploymentRequest
1171
1339
  * @return CreateModelDeploymentResponse
1172
1340
  * @throws OciError when an error occurs
1173
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
1341
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
1174
1342
  */
1175
1343
  createModelDeployment(createModelDeploymentRequest) {
1176
1344
  return __awaiter(this, void 0, void 0, function* () {
@@ -1243,7 +1411,7 @@ class DataScienceClient {
1243
1411
  * @param CreateModelProvenanceRequest
1244
1412
  * @return CreateModelProvenanceResponse
1245
1413
  * @throws OciError when an error occurs
1246
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
1414
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
1247
1415
  */
1248
1416
  createModelProvenance(createModelProvenanceRequest) {
1249
1417
  return __awaiter(this, void 0, void 0, function* () {
@@ -1308,7 +1476,7 @@ class DataScienceClient {
1308
1476
  * @param CreateModelVersionSetRequest
1309
1477
  * @return CreateModelVersionSetResponse
1310
1478
  * @throws OciError when an error occurs
1311
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateModelVersionSet.ts.html |here} to see how to use CreateModelVersionSet API.
1479
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateModelVersionSet.ts.html |here} to see how to use CreateModelVersionSet API.
1312
1480
  */
1313
1481
  createModelVersionSet(createModelVersionSetRequest) {
1314
1482
  return __awaiter(this, void 0, void 0, function* () {
@@ -1371,7 +1539,7 @@ class DataScienceClient {
1371
1539
  * @param CreateNotebookSessionRequest
1372
1540
  * @return CreateNotebookSessionResponse
1373
1541
  * @throws OciError when an error occurs
1374
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
1542
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
1375
1543
  */
1376
1544
  createNotebookSession(createNotebookSessionRequest) {
1377
1545
  return __awaiter(this, void 0, void 0, function* () {
@@ -1439,36 +1607,37 @@ class DataScienceClient {
1439
1607
  });
1440
1608
  }
1441
1609
  /**
1442
- * Creates a new project.
1610
+ * Creates a new Pipeline.
1611
+ *
1443
1612
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1444
- * @param CreateProjectRequest
1445
- * @return CreateProjectResponse
1613
+ * @param CreatePipelineRequest
1614
+ * @return CreatePipelineResponse
1446
1615
  * @throws OciError when an error occurs
1447
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
1616
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreatePipeline.ts.html |here} to see how to use CreatePipeline API.
1448
1617
  */
1449
- createProject(createProjectRequest) {
1618
+ createPipeline(createPipelineRequest) {
1450
1619
  return __awaiter(this, void 0, void 0, function* () {
1451
1620
  if (this.logger)
1452
- this.logger.debug("Calling operation DataScienceClient#createProject.");
1453
- const operationName = "createProject";
1454
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Project/CreateProject";
1621
+ this.logger.debug("Calling operation DataScienceClient#createPipeline.");
1622
+ const operationName = "createPipeline";
1623
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/CreatePipeline";
1455
1624
  const pathParams = {};
1456
1625
  const queryParams = {};
1457
1626
  let headerParams = {
1458
1627
  "Content-Type": common.Constants.APPLICATION_JSON,
1459
- "opc-request-id": createProjectRequest.opcRequestId,
1460
- "opc-retry-token": createProjectRequest.opcRetryToken
1628
+ "opc-retry-token": createPipelineRequest.opcRetryToken,
1629
+ "opc-request-id": createPipelineRequest.opcRequestId
1461
1630
  };
1462
1631
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1463
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
1632
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPipelineRequest.retryConfiguration, specRetryConfiguration);
1464
1633
  if (this.logger)
1465
1634
  retrier.logger = this.logger;
1466
1635
  const request = yield oci_common_2.composeRequest({
1467
1636
  baseEndpoint: this._endpoint,
1468
1637
  defaultHeaders: this._defaultHeaders,
1469
- path: "/projects",
1638
+ path: "/pipelines",
1470
1639
  method: "POST",
1471
- bodyContent: common.ObjectSerializer.serialize(createProjectRequest.createProjectDetails, "CreateProjectDetails", model.CreateProjectDetails.getJsonObj),
1640
+ bodyContent: common.ObjectSerializer.serialize(createPipelineRequest.createPipelineDetails, "CreatePipelineDetails", model.CreatePipelineDetails.getJsonObj),
1472
1641
  pathParams: pathParams,
1473
1642
  headerParams: headerParams,
1474
1643
  queryParams: queryParams
@@ -1478,9 +1647,9 @@ class DataScienceClient {
1478
1647
  const sdkResponse = oci_common_2.composeResponse({
1479
1648
  responseObject: {},
1480
1649
  body: yield response.json(),
1481
- bodyKey: "project",
1482
- bodyModel: model.Project,
1483
- type: "model.Project",
1650
+ bodyKey: "pipeline",
1651
+ bodyModel: model.Pipeline,
1652
+ type: "model.Pipeline",
1484
1653
  responseHeaders: [
1485
1654
  {
1486
1655
  value: response.headers.get("etag"),
@@ -1502,37 +1671,37 @@ class DataScienceClient {
1502
1671
  });
1503
1672
  }
1504
1673
  /**
1505
- * Deactivates the model.
1674
+ * Creates a new PipelineRun.
1675
+ *
1506
1676
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1507
- * @param DeactivateModelRequest
1508
- * @return DeactivateModelResponse
1677
+ * @param CreatePipelineRunRequest
1678
+ * @return CreatePipelineRunResponse
1509
1679
  * @throws OciError when an error occurs
1510
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
1680
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreatePipelineRun.ts.html |here} to see how to use CreatePipelineRun API.
1511
1681
  */
1512
- deactivateModel(deactivateModelRequest) {
1682
+ createPipelineRun(createPipelineRunRequest) {
1513
1683
  return __awaiter(this, void 0, void 0, function* () {
1514
1684
  if (this.logger)
1515
- this.logger.debug("Calling operation DataScienceClient#deactivateModel.");
1516
- const operationName = "deactivateModel";
1517
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/DeactivateModel";
1518
- const pathParams = {
1519
- "{modelId}": deactivateModelRequest.modelId
1520
- };
1685
+ this.logger.debug("Calling operation DataScienceClient#createPipelineRun.");
1686
+ const operationName = "createPipelineRun";
1687
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/CreatePipelineRun";
1688
+ const pathParams = {};
1521
1689
  const queryParams = {};
1522
1690
  let headerParams = {
1523
1691
  "Content-Type": common.Constants.APPLICATION_JSON,
1524
- "if-match": deactivateModelRequest.ifMatch,
1525
- "opc-request-id": deactivateModelRequest.opcRequestId
1692
+ "opc-retry-token": createPipelineRunRequest.opcRetryToken,
1693
+ "opc-request-id": createPipelineRunRequest.opcRequestId
1526
1694
  };
1527
1695
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1528
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelRequest.retryConfiguration, specRetryConfiguration);
1696
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPipelineRunRequest.retryConfiguration, specRetryConfiguration);
1529
1697
  if (this.logger)
1530
1698
  retrier.logger = this.logger;
1531
1699
  const request = yield oci_common_2.composeRequest({
1532
1700
  baseEndpoint: this._endpoint,
1533
1701
  defaultHeaders: this._defaultHeaders,
1534
- path: "/models/{modelId}/actions/deactivate",
1702
+ path: "/pipelineRuns",
1535
1703
  method: "POST",
1704
+ bodyContent: common.ObjectSerializer.serialize(createPipelineRunRequest.createPipelineRunDetails, "CreatePipelineRunDetails", model.CreatePipelineRunDetails.getJsonObj),
1536
1705
  pathParams: pathParams,
1537
1706
  headerParams: headerParams,
1538
1707
  queryParams: queryParams
@@ -1542,15 +1711,20 @@ class DataScienceClient {
1542
1711
  const sdkResponse = oci_common_2.composeResponse({
1543
1712
  responseObject: {},
1544
1713
  body: yield response.json(),
1545
- bodyKey: "model",
1546
- bodyModel: model.Model,
1547
- type: "model.Model",
1714
+ bodyKey: "pipelineRun",
1715
+ bodyModel: model.PipelineRun,
1716
+ type: "model.PipelineRun",
1548
1717
  responseHeaders: [
1549
1718
  {
1550
1719
  value: response.headers.get("etag"),
1551
1720
  key: "etag",
1552
1721
  dataType: "string"
1553
1722
  },
1723
+ {
1724
+ value: response.headers.get("location"),
1725
+ key: "location",
1726
+ dataType: "string"
1727
+ },
1554
1728
  {
1555
1729
  value: response.headers.get("opc-request-id"),
1556
1730
  key: "opcRequestId",
@@ -1566,37 +1740,36 @@ class DataScienceClient {
1566
1740
  });
1567
1741
  }
1568
1742
  /**
1569
- * Deactivates the model deployment.
1570
- * This operation does not retry by default if the user has not defined a retry configuration.
1571
- * @param DeactivateModelDeploymentRequest
1572
- * @return DeactivateModelDeploymentResponse
1743
+ * Creates a new project.
1744
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1745
+ * @param CreateProjectRequest
1746
+ * @return CreateProjectResponse
1573
1747
  * @throws OciError when an error occurs
1574
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
1748
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
1575
1749
  */
1576
- deactivateModelDeployment(deactivateModelDeploymentRequest) {
1750
+ createProject(createProjectRequest) {
1577
1751
  return __awaiter(this, void 0, void 0, function* () {
1578
1752
  if (this.logger)
1579
- this.logger.debug("Calling operation DataScienceClient#deactivateModelDeployment.");
1580
- const operationName = "deactivateModelDeployment";
1581
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelDeployment/DeactivateModelDeployment";
1582
- const pathParams = {
1583
- "{modelDeploymentId}": deactivateModelDeploymentRequest.modelDeploymentId
1584
- };
1753
+ this.logger.debug("Calling operation DataScienceClient#createProject.");
1754
+ const operationName = "createProject";
1755
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Project/CreateProject";
1756
+ const pathParams = {};
1585
1757
  const queryParams = {};
1586
1758
  let headerParams = {
1587
1759
  "Content-Type": common.Constants.APPLICATION_JSON,
1588
- "if-match": deactivateModelDeploymentRequest.ifMatch,
1589
- "opc-request-id": deactivateModelDeploymentRequest.opcRequestId
1760
+ "opc-request-id": createProjectRequest.opcRequestId,
1761
+ "opc-retry-token": createProjectRequest.opcRetryToken
1590
1762
  };
1591
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
1592
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
1763
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1764
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
1593
1765
  if (this.logger)
1594
1766
  retrier.logger = this.logger;
1595
1767
  const request = yield oci_common_2.composeRequest({
1596
1768
  baseEndpoint: this._endpoint,
1597
1769
  defaultHeaders: this._defaultHeaders,
1598
- path: "/modelDeployments/{modelDeploymentId}/actions/deactivate",
1770
+ path: "/projects",
1599
1771
  method: "POST",
1772
+ bodyContent: common.ObjectSerializer.serialize(createProjectRequest.createProjectDetails, "CreateProjectDetails", model.CreateProjectDetails.getJsonObj),
1600
1773
  pathParams: pathParams,
1601
1774
  headerParams: headerParams,
1602
1775
  queryParams: queryParams
@@ -1605,10 +1778,14 @@ class DataScienceClient {
1605
1778
  const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1606
1779
  const sdkResponse = oci_common_2.composeResponse({
1607
1780
  responseObject: {},
1781
+ body: yield response.json(),
1782
+ bodyKey: "project",
1783
+ bodyModel: model.Project,
1784
+ type: "model.Project",
1608
1785
  responseHeaders: [
1609
1786
  {
1610
- value: response.headers.get("opc-work-request-id"),
1611
- key: "opcWorkRequestId",
1787
+ value: response.headers.get("etag"),
1788
+ key: "etag",
1612
1789
  dataType: "string"
1613
1790
  },
1614
1791
  {
@@ -1626,51 +1803,50 @@ class DataScienceClient {
1626
1803
  });
1627
1804
  }
1628
1805
  /**
1629
- * Deactivates the notebook session.
1806
+ * Upload the artifact for a step in the pipeline.
1630
1807
  * This operation does not retry by default if the user has not defined a retry configuration.
1631
- * @param DeactivateNotebookSessionRequest
1632
- * @return DeactivateNotebookSessionResponse
1808
+ * @param CreateStepArtifactRequest
1809
+ * @return CreateStepArtifactResponse
1633
1810
  * @throws OciError when an error occurs
1634
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
1811
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/CreateStepArtifact.ts.html |here} to see how to use CreateStepArtifact API.
1635
1812
  */
1636
- deactivateNotebookSession(deactivateNotebookSessionRequest) {
1813
+ createStepArtifact(createStepArtifactRequest) {
1637
1814
  return __awaiter(this, void 0, void 0, function* () {
1638
1815
  if (this.logger)
1639
- this.logger.debug("Calling operation DataScienceClient#deactivateNotebookSession.");
1640
- const operationName = "deactivateNotebookSession";
1641
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/NotebookSession/DeactivateNotebookSession";
1816
+ this.logger.debug("Calling operation DataScienceClient#createStepArtifact.");
1817
+ const operationName = "createStepArtifact";
1818
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/CreateStepArtifact";
1642
1819
  const pathParams = {
1643
- "{notebookSessionId}": deactivateNotebookSessionRequest.notebookSessionId
1820
+ "{pipelineId}": createStepArtifactRequest.pipelineId,
1821
+ "{stepName}": createStepArtifactRequest.stepName
1644
1822
  };
1645
1823
  const queryParams = {};
1646
1824
  let headerParams = {
1647
- "Content-Type": common.Constants.APPLICATION_JSON,
1648
- "if-match": deactivateNotebookSessionRequest.ifMatch,
1649
- "opc-request-id": deactivateNotebookSessionRequest.opcRequestId
1825
+ "opc-request-id": createStepArtifactRequest.opcRequestId,
1826
+ "opc-retry-token": createStepArtifactRequest.opcRetryToken,
1827
+ "content-length": createStepArtifactRequest.contentLength,
1828
+ "content-disposition": createStepArtifactRequest.contentDisposition
1650
1829
  };
1651
1830
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1652
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
1831
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStepArtifactRequest.retryConfiguration, specRetryConfiguration);
1653
1832
  if (this.logger)
1654
1833
  retrier.logger = this.logger;
1655
1834
  const request = yield oci_common_2.composeRequest({
1656
1835
  baseEndpoint: this._endpoint,
1657
1836
  defaultHeaders: this._defaultHeaders,
1658
- path: "/notebookSessions/{notebookSessionId}/actions/deactivate",
1837
+ path: "/pipelines/{pipelineId}/steps/{stepName}/artifact",
1659
1838
  method: "POST",
1839
+ bodyContent: createStepArtifactRequest.stepArtifact,
1660
1840
  pathParams: pathParams,
1661
1841
  headerParams: headerParams,
1842
+ backupBinaryBody: retrier.backUpBinaryBody,
1662
1843
  queryParams: queryParams
1663
1844
  });
1664
1845
  try {
1665
- const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1846
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink, true);
1666
1847
  const sdkResponse = oci_common_2.composeResponse({
1667
1848
  responseObject: {},
1668
1849
  responseHeaders: [
1669
- {
1670
- value: response.headers.get("opc-work-request-id"),
1671
- key: "opcWorkRequestId",
1672
- dataType: "string"
1673
- },
1674
1850
  {
1675
1851
  value: response.headers.get("opc-request-id"),
1676
1852
  key: "opcRequestId",
@@ -1686,39 +1862,223 @@ class DataScienceClient {
1686
1862
  });
1687
1863
  }
1688
1864
  /**
1689
- * Deletes a job.
1865
+ * Deactivates the model.
1690
1866
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1691
- * @param DeleteJobRequest
1692
- * @return DeleteJobResponse
1867
+ * @param DeactivateModelRequest
1868
+ * @return DeactivateModelResponse
1693
1869
  * @throws OciError when an error occurs
1694
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
1870
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
1695
1871
  */
1696
- deleteJob(deleteJobRequest) {
1872
+ deactivateModel(deactivateModelRequest) {
1697
1873
  return __awaiter(this, void 0, void 0, function* () {
1698
1874
  if (this.logger)
1699
- this.logger.debug("Calling operation DataScienceClient#deleteJob.");
1700
- const operationName = "deleteJob";
1701
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Job/DeleteJob";
1875
+ this.logger.debug("Calling operation DataScienceClient#deactivateModel.");
1876
+ const operationName = "deactivateModel";
1877
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Model/DeactivateModel";
1702
1878
  const pathParams = {
1703
- "{jobId}": deleteJobRequest.jobId
1704
- };
1705
- const queryParams = {
1706
- "deleteRelatedJobRuns": deleteJobRequest.deleteRelatedJobRuns
1879
+ "{modelId}": deactivateModelRequest.modelId
1707
1880
  };
1881
+ const queryParams = {};
1708
1882
  let headerParams = {
1709
1883
  "Content-Type": common.Constants.APPLICATION_JSON,
1710
- "if-match": deleteJobRequest.ifMatch,
1711
- "opc-request-id": deleteJobRequest.opcRequestId
1884
+ "if-match": deactivateModelRequest.ifMatch,
1885
+ "opc-request-id": deactivateModelRequest.opcRequestId
1712
1886
  };
1713
1887
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1714
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJobRequest.retryConfiguration, specRetryConfiguration);
1888
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelRequest.retryConfiguration, specRetryConfiguration);
1715
1889
  if (this.logger)
1716
1890
  retrier.logger = this.logger;
1717
1891
  const request = yield oci_common_2.composeRequest({
1718
1892
  baseEndpoint: this._endpoint,
1719
1893
  defaultHeaders: this._defaultHeaders,
1720
- path: "/jobs/{jobId}",
1721
- method: "DELETE",
1894
+ path: "/models/{modelId}/actions/deactivate",
1895
+ method: "POST",
1896
+ pathParams: pathParams,
1897
+ headerParams: headerParams,
1898
+ queryParams: queryParams
1899
+ });
1900
+ try {
1901
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1902
+ const sdkResponse = oci_common_2.composeResponse({
1903
+ responseObject: {},
1904
+ body: yield response.json(),
1905
+ bodyKey: "model",
1906
+ bodyModel: model.Model,
1907
+ type: "model.Model",
1908
+ responseHeaders: [
1909
+ {
1910
+ value: response.headers.get("etag"),
1911
+ key: "etag",
1912
+ dataType: "string"
1913
+ },
1914
+ {
1915
+ value: response.headers.get("opc-request-id"),
1916
+ key: "opcRequestId",
1917
+ dataType: "string"
1918
+ }
1919
+ ]
1920
+ });
1921
+ return sdkResponse;
1922
+ }
1923
+ catch (err) {
1924
+ throw err;
1925
+ }
1926
+ });
1927
+ }
1928
+ /**
1929
+ * Deactivates the model deployment.
1930
+ * This operation does not retry by default if the user has not defined a retry configuration.
1931
+ * @param DeactivateModelDeploymentRequest
1932
+ * @return DeactivateModelDeploymentResponse
1933
+ * @throws OciError when an error occurs
1934
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
1935
+ */
1936
+ deactivateModelDeployment(deactivateModelDeploymentRequest) {
1937
+ return __awaiter(this, void 0, void 0, function* () {
1938
+ if (this.logger)
1939
+ this.logger.debug("Calling operation DataScienceClient#deactivateModelDeployment.");
1940
+ const operationName = "deactivateModelDeployment";
1941
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ModelDeployment/DeactivateModelDeployment";
1942
+ const pathParams = {
1943
+ "{modelDeploymentId}": deactivateModelDeploymentRequest.modelDeploymentId
1944
+ };
1945
+ const queryParams = {};
1946
+ let headerParams = {
1947
+ "Content-Type": common.Constants.APPLICATION_JSON,
1948
+ "if-match": deactivateModelDeploymentRequest.ifMatch,
1949
+ "opc-request-id": deactivateModelDeploymentRequest.opcRequestId
1950
+ };
1951
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1952
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateModelDeploymentRequest.retryConfiguration, specRetryConfiguration);
1953
+ if (this.logger)
1954
+ retrier.logger = this.logger;
1955
+ const request = yield oci_common_2.composeRequest({
1956
+ baseEndpoint: this._endpoint,
1957
+ defaultHeaders: this._defaultHeaders,
1958
+ path: "/modelDeployments/{modelDeploymentId}/actions/deactivate",
1959
+ method: "POST",
1960
+ pathParams: pathParams,
1961
+ headerParams: headerParams,
1962
+ queryParams: queryParams
1963
+ });
1964
+ try {
1965
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1966
+ const sdkResponse = oci_common_2.composeResponse({
1967
+ responseObject: {},
1968
+ responseHeaders: [
1969
+ {
1970
+ value: response.headers.get("opc-work-request-id"),
1971
+ key: "opcWorkRequestId",
1972
+ dataType: "string"
1973
+ },
1974
+ {
1975
+ value: response.headers.get("opc-request-id"),
1976
+ key: "opcRequestId",
1977
+ dataType: "string"
1978
+ }
1979
+ ]
1980
+ });
1981
+ return sdkResponse;
1982
+ }
1983
+ catch (err) {
1984
+ throw err;
1985
+ }
1986
+ });
1987
+ }
1988
+ /**
1989
+ * Deactivates the notebook session.
1990
+ * This operation does not retry by default if the user has not defined a retry configuration.
1991
+ * @param DeactivateNotebookSessionRequest
1992
+ * @return DeactivateNotebookSessionResponse
1993
+ * @throws OciError when an error occurs
1994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
1995
+ */
1996
+ deactivateNotebookSession(deactivateNotebookSessionRequest) {
1997
+ return __awaiter(this, void 0, void 0, function* () {
1998
+ if (this.logger)
1999
+ this.logger.debug("Calling operation DataScienceClient#deactivateNotebookSession.");
2000
+ const operationName = "deactivateNotebookSession";
2001
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/NotebookSession/DeactivateNotebookSession";
2002
+ const pathParams = {
2003
+ "{notebookSessionId}": deactivateNotebookSessionRequest.notebookSessionId
2004
+ };
2005
+ const queryParams = {};
2006
+ let headerParams = {
2007
+ "Content-Type": common.Constants.APPLICATION_JSON,
2008
+ "if-match": deactivateNotebookSessionRequest.ifMatch,
2009
+ "opc-request-id": deactivateNotebookSessionRequest.opcRequestId
2010
+ };
2011
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2012
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateNotebookSessionRequest.retryConfiguration, specRetryConfiguration);
2013
+ if (this.logger)
2014
+ retrier.logger = this.logger;
2015
+ const request = yield oci_common_2.composeRequest({
2016
+ baseEndpoint: this._endpoint,
2017
+ defaultHeaders: this._defaultHeaders,
2018
+ path: "/notebookSessions/{notebookSessionId}/actions/deactivate",
2019
+ method: "POST",
2020
+ pathParams: pathParams,
2021
+ headerParams: headerParams,
2022
+ queryParams: queryParams
2023
+ });
2024
+ try {
2025
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2026
+ const sdkResponse = oci_common_2.composeResponse({
2027
+ responseObject: {},
2028
+ responseHeaders: [
2029
+ {
2030
+ value: response.headers.get("opc-work-request-id"),
2031
+ key: "opcWorkRequestId",
2032
+ dataType: "string"
2033
+ },
2034
+ {
2035
+ value: response.headers.get("opc-request-id"),
2036
+ key: "opcRequestId",
2037
+ dataType: "string"
2038
+ }
2039
+ ]
2040
+ });
2041
+ return sdkResponse;
2042
+ }
2043
+ catch (err) {
2044
+ throw err;
2045
+ }
2046
+ });
2047
+ }
2048
+ /**
2049
+ * Deletes a job.
2050
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2051
+ * @param DeleteJobRequest
2052
+ * @return DeleteJobResponse
2053
+ * @throws OciError when an error occurs
2054
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
2055
+ */
2056
+ deleteJob(deleteJobRequest) {
2057
+ return __awaiter(this, void 0, void 0, function* () {
2058
+ if (this.logger)
2059
+ this.logger.debug("Calling operation DataScienceClient#deleteJob.");
2060
+ const operationName = "deleteJob";
2061
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Job/DeleteJob";
2062
+ const pathParams = {
2063
+ "{jobId}": deleteJobRequest.jobId
2064
+ };
2065
+ const queryParams = {
2066
+ "deleteRelatedJobRuns": deleteJobRequest.deleteRelatedJobRuns
2067
+ };
2068
+ let headerParams = {
2069
+ "Content-Type": common.Constants.APPLICATION_JSON,
2070
+ "if-match": deleteJobRequest.ifMatch,
2071
+ "opc-request-id": deleteJobRequest.opcRequestId
2072
+ };
2073
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2074
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteJobRequest.retryConfiguration, specRetryConfiguration);
2075
+ if (this.logger)
2076
+ retrier.logger = this.logger;
2077
+ const request = yield oci_common_2.composeRequest({
2078
+ baseEndpoint: this._endpoint,
2079
+ defaultHeaders: this._defaultHeaders,
2080
+ path: "/jobs/{jobId}",
2081
+ method: "DELETE",
1722
2082
  pathParams: pathParams,
1723
2083
  headerParams: headerParams,
1724
2084
  queryParams: queryParams
@@ -1753,7 +2113,7 @@ class DataScienceClient {
1753
2113
  * @param DeleteJobRunRequest
1754
2114
  * @return DeleteJobRunResponse
1755
2115
  * @throws OciError when an error occurs
1756
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
2116
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
1757
2117
  */
1758
2118
  deleteJobRun(deleteJobRunRequest) {
1759
2119
  return __awaiter(this, void 0, void 0, function* () {
@@ -1808,7 +2168,7 @@ class DataScienceClient {
1808
2168
  * @param DeleteModelRequest
1809
2169
  * @return DeleteModelResponse
1810
2170
  * @throws OciError when an error occurs
1811
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
2171
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
1812
2172
  */
1813
2173
  deleteModel(deleteModelRequest) {
1814
2174
  return __awaiter(this, void 0, void 0, function* () {
@@ -1863,7 +2223,7 @@ class DataScienceClient {
1863
2223
  * @param DeleteModelDeploymentRequest
1864
2224
  * @return DeleteModelDeploymentResponse
1865
2225
  * @throws OciError when an error occurs
1866
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
2226
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
1867
2227
  */
1868
2228
  deleteModelDeployment(deleteModelDeploymentRequest) {
1869
2229
  return __awaiter(this, void 0, void 0, function* () {
@@ -1923,7 +2283,7 @@ class DataScienceClient {
1923
2283
  * @param DeleteModelVersionSetRequest
1924
2284
  * @return DeleteModelVersionSetResponse
1925
2285
  * @throws OciError when an error occurs
1926
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteModelVersionSet.ts.html |here} to see how to use DeleteModelVersionSet API.
2286
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteModelVersionSet.ts.html |here} to see how to use DeleteModelVersionSet API.
1927
2287
  */
1928
2288
  deleteModelVersionSet(deleteModelVersionSetRequest) {
1929
2289
  return __awaiter(this, void 0, void 0, function* () {
@@ -1985,7 +2345,7 @@ class DataScienceClient {
1985
2345
  * @param DeleteNotebookSessionRequest
1986
2346
  * @return DeleteNotebookSessionResponse
1987
2347
  * @throws OciError when an error occurs
1988
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
2348
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
1989
2349
  */
1990
2350
  deleteNotebookSession(deleteNotebookSessionRequest) {
1991
2351
  return __awaiter(this, void 0, void 0, function* () {
@@ -2039,13 +2399,133 @@ class DataScienceClient {
2039
2399
  }
2040
2400
  });
2041
2401
  }
2402
+ /**
2403
+ * Deletes a Pipeline resource by identifier.
2404
+ * This operation does not retry by default if the user has not defined a retry configuration.
2405
+ * @param DeletePipelineRequest
2406
+ * @return DeletePipelineResponse
2407
+ * @throws OciError when an error occurs
2408
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeletePipeline.ts.html |here} to see how to use DeletePipeline API.
2409
+ */
2410
+ deletePipeline(deletePipelineRequest) {
2411
+ return __awaiter(this, void 0, void 0, function* () {
2412
+ if (this.logger)
2413
+ this.logger.debug("Calling operation DataScienceClient#deletePipeline.");
2414
+ const operationName = "deletePipeline";
2415
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/DeletePipeline";
2416
+ const pathParams = {
2417
+ "{pipelineId}": deletePipelineRequest.pipelineId
2418
+ };
2419
+ const queryParams = {
2420
+ "deleteRelatedPipelineRuns": deletePipelineRequest.deleteRelatedPipelineRuns,
2421
+ "deleteRelatedJobRuns": deletePipelineRequest.deleteRelatedJobRuns
2422
+ };
2423
+ let headerParams = {
2424
+ "Content-Type": common.Constants.APPLICATION_JSON,
2425
+ "if-match": deletePipelineRequest.ifMatch,
2426
+ "opc-request-id": deletePipelineRequest.opcRequestId
2427
+ };
2428
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2429
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePipelineRequest.retryConfiguration, specRetryConfiguration);
2430
+ if (this.logger)
2431
+ retrier.logger = this.logger;
2432
+ const request = yield oci_common_2.composeRequest({
2433
+ baseEndpoint: this._endpoint,
2434
+ defaultHeaders: this._defaultHeaders,
2435
+ path: "/pipelines/{pipelineId}",
2436
+ method: "DELETE",
2437
+ pathParams: pathParams,
2438
+ headerParams: headerParams,
2439
+ queryParams: queryParams
2440
+ });
2441
+ try {
2442
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2443
+ const sdkResponse = oci_common_2.composeResponse({
2444
+ responseObject: {},
2445
+ responseHeaders: [
2446
+ {
2447
+ value: response.headers.get("opc-work-request-id"),
2448
+ key: "opcWorkRequestId",
2449
+ dataType: "string"
2450
+ },
2451
+ {
2452
+ value: response.headers.get("opc-request-id"),
2453
+ key: "opcRequestId",
2454
+ dataType: "string"
2455
+ }
2456
+ ]
2457
+ });
2458
+ return sdkResponse;
2459
+ }
2460
+ catch (err) {
2461
+ throw err;
2462
+ }
2463
+ });
2464
+ }
2465
+ /**
2466
+ * Deletes a PipelineRun resource by identifier.
2467
+ * This operation does not retry by default if the user has not defined a retry configuration.
2468
+ * @param DeletePipelineRunRequest
2469
+ * @return DeletePipelineRunResponse
2470
+ * @throws OciError when an error occurs
2471
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeletePipelineRun.ts.html |here} to see how to use DeletePipelineRun API.
2472
+ */
2473
+ deletePipelineRun(deletePipelineRunRequest) {
2474
+ return __awaiter(this, void 0, void 0, function* () {
2475
+ if (this.logger)
2476
+ this.logger.debug("Calling operation DataScienceClient#deletePipelineRun.");
2477
+ const operationName = "deletePipelineRun";
2478
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/DeletePipelineRun";
2479
+ const pathParams = {
2480
+ "{pipelineRunId}": deletePipelineRunRequest.pipelineRunId
2481
+ };
2482
+ const queryParams = {
2483
+ "deleteRelatedJobRuns": deletePipelineRunRequest.deleteRelatedJobRuns
2484
+ };
2485
+ let headerParams = {
2486
+ "Content-Type": common.Constants.APPLICATION_JSON,
2487
+ "if-match": deletePipelineRunRequest.ifMatch,
2488
+ "opc-request-id": deletePipelineRunRequest.opcRequestId
2489
+ };
2490
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2491
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePipelineRunRequest.retryConfiguration, specRetryConfiguration);
2492
+ if (this.logger)
2493
+ retrier.logger = this.logger;
2494
+ const request = yield oci_common_2.composeRequest({
2495
+ baseEndpoint: this._endpoint,
2496
+ defaultHeaders: this._defaultHeaders,
2497
+ path: "/pipelineRuns/{pipelineRunId}",
2498
+ method: "DELETE",
2499
+ pathParams: pathParams,
2500
+ headerParams: headerParams,
2501
+ queryParams: queryParams
2502
+ });
2503
+ try {
2504
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2505
+ const sdkResponse = oci_common_2.composeResponse({
2506
+ responseObject: {},
2507
+ responseHeaders: [
2508
+ {
2509
+ value: response.headers.get("opc-request-id"),
2510
+ key: "opcRequestId",
2511
+ dataType: "string"
2512
+ }
2513
+ ]
2514
+ });
2515
+ return sdkResponse;
2516
+ }
2517
+ catch (err) {
2518
+ throw err;
2519
+ }
2520
+ });
2521
+ }
2042
2522
  /**
2043
2523
  * Deletes the specified project. This operation fails unless all associated resources (notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
2044
2524
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2045
2525
  * @param DeleteProjectRequest
2046
2526
  * @return DeleteProjectResponse
2047
2527
  * @throws OciError when an error occurs
2048
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
2528
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
2049
2529
  */
2050
2530
  deleteProject(deleteProjectRequest) {
2051
2531
  return __awaiter(this, void 0, void 0, function* () {
@@ -2105,7 +2585,7 @@ class DataScienceClient {
2105
2585
  * @param ExportModelArtifactRequest
2106
2586
  * @return ExportModelArtifactResponse
2107
2587
  * @throws OciError when an error occurs
2108
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ExportModelArtifact.ts.html |here} to see how to use ExportModelArtifact API.
2588
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ExportModelArtifact.ts.html |here} to see how to use ExportModelArtifact API.
2109
2589
  */
2110
2590
  exportModelArtifact(exportModelArtifactRequest) {
2111
2591
  return __awaiter(this, void 0, void 0, function* () {
@@ -2167,7 +2647,7 @@ class DataScienceClient {
2167
2647
  * @param GetJobRequest
2168
2648
  * @return GetJobResponse
2169
2649
  * @throws OciError when an error occurs
2170
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetJob.ts.html |here} to see how to use GetJob API.
2650
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetJob.ts.html |here} to see how to use GetJob API.
2171
2651
  */
2172
2652
  getJob(getJobRequest) {
2173
2653
  return __awaiter(this, void 0, void 0, function* () {
@@ -2230,7 +2710,7 @@ class DataScienceClient {
2230
2710
  * @param GetJobArtifactContentRequest
2231
2711
  * @return GetJobArtifactContentResponse
2232
2712
  * @throws OciError when an error occurs
2233
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
2713
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
2234
2714
  */
2235
2715
  getJobArtifactContent(getJobArtifactContentRequest) {
2236
2716
  return __awaiter(this, void 0, void 0, function* () {
@@ -2313,7 +2793,7 @@ class DataScienceClient {
2313
2793
  * @param GetJobRunRequest
2314
2794
  * @return GetJobRunResponse
2315
2795
  * @throws OciError when an error occurs
2316
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
2796
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
2317
2797
  */
2318
2798
  getJobRun(getJobRunRequest) {
2319
2799
  return __awaiter(this, void 0, void 0, function* () {
@@ -2376,7 +2856,7 @@ class DataScienceClient {
2376
2856
  * @param GetModelRequest
2377
2857
  * @return GetModelResponse
2378
2858
  * @throws OciError when an error occurs
2379
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetModel.ts.html |here} to see how to use GetModel API.
2859
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModel.ts.html |here} to see how to use GetModel API.
2380
2860
  */
2381
2861
  getModel(getModelRequest) {
2382
2862
  return __awaiter(this, void 0, void 0, function* () {
@@ -2439,7 +2919,7 @@ class DataScienceClient {
2439
2919
  * @param GetModelArtifactContentRequest
2440
2920
  * @return GetModelArtifactContentResponse
2441
2921
  * @throws OciError when an error occurs
2442
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
2922
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
2443
2923
  */
2444
2924
  getModelArtifactContent(getModelArtifactContentRequest) {
2445
2925
  return __awaiter(this, void 0, void 0, function* () {
@@ -2522,7 +3002,7 @@ class DataScienceClient {
2522
3002
  * @param GetModelDeploymentRequest
2523
3003
  * @return GetModelDeploymentResponse
2524
3004
  * @throws OciError when an error occurs
2525
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
3005
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
2526
3006
  */
2527
3007
  getModelDeployment(getModelDeploymentRequest) {
2528
3008
  return __awaiter(this, void 0, void 0, function* () {
@@ -2585,7 +3065,7 @@ class DataScienceClient {
2585
3065
  * @param GetModelProvenanceRequest
2586
3066
  * @return GetModelProvenanceResponse
2587
3067
  * @throws OciError when an error occurs
2588
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
3068
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
2589
3069
  */
2590
3070
  getModelProvenance(getModelProvenanceRequest) {
2591
3071
  return __awaiter(this, void 0, void 0, function* () {
@@ -2648,7 +3128,7 @@ class DataScienceClient {
2648
3128
  * @param GetModelVersionSetRequest
2649
3129
  * @return GetModelVersionSetResponse
2650
3130
  * @throws OciError when an error occurs
2651
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetModelVersionSet.ts.html |here} to see how to use GetModelVersionSet API.
3131
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetModelVersionSet.ts.html |here} to see how to use GetModelVersionSet API.
2652
3132
  */
2653
3133
  getModelVersionSet(getModelVersionSetRequest) {
2654
3134
  return __awaiter(this, void 0, void 0, function* () {
@@ -2711,7 +3191,7 @@ class DataScienceClient {
2711
3191
  * @param GetNotebookSessionRequest
2712
3192
  * @return GetNotebookSessionResponse
2713
3193
  * @throws OciError when an error occurs
2714
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
3194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
2715
3195
  */
2716
3196
  getNotebookSession(getNotebookSessionRequest) {
2717
3197
  return __awaiter(this, void 0, void 0, function* () {
@@ -2768,13 +3248,139 @@ class DataScienceClient {
2768
3248
  }
2769
3249
  });
2770
3250
  }
3251
+ /**
3252
+ * Gets a Pipeline by identifier.
3253
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3254
+ * @param GetPipelineRequest
3255
+ * @return GetPipelineResponse
3256
+ * @throws OciError when an error occurs
3257
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetPipeline.ts.html |here} to see how to use GetPipeline API.
3258
+ */
3259
+ getPipeline(getPipelineRequest) {
3260
+ return __awaiter(this, void 0, void 0, function* () {
3261
+ if (this.logger)
3262
+ this.logger.debug("Calling operation DataScienceClient#getPipeline.");
3263
+ const operationName = "getPipeline";
3264
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/GetPipeline";
3265
+ const pathParams = {
3266
+ "{pipelineId}": getPipelineRequest.pipelineId
3267
+ };
3268
+ const queryParams = {};
3269
+ let headerParams = {
3270
+ "Content-Type": common.Constants.APPLICATION_JSON,
3271
+ "opc-request-id": getPipelineRequest.opcRequestId
3272
+ };
3273
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3274
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPipelineRequest.retryConfiguration, specRetryConfiguration);
3275
+ if (this.logger)
3276
+ retrier.logger = this.logger;
3277
+ const request = yield oci_common_2.composeRequest({
3278
+ baseEndpoint: this._endpoint,
3279
+ defaultHeaders: this._defaultHeaders,
3280
+ path: "/pipelines/{pipelineId}",
3281
+ method: "GET",
3282
+ pathParams: pathParams,
3283
+ headerParams: headerParams,
3284
+ queryParams: queryParams
3285
+ });
3286
+ try {
3287
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3288
+ const sdkResponse = oci_common_2.composeResponse({
3289
+ responseObject: {},
3290
+ body: yield response.json(),
3291
+ bodyKey: "pipeline",
3292
+ bodyModel: model.Pipeline,
3293
+ type: "model.Pipeline",
3294
+ responseHeaders: [
3295
+ {
3296
+ value: response.headers.get("etag"),
3297
+ key: "etag",
3298
+ dataType: "string"
3299
+ },
3300
+ {
3301
+ value: response.headers.get("opc-request-id"),
3302
+ key: "opcRequestId",
3303
+ dataType: "string"
3304
+ }
3305
+ ]
3306
+ });
3307
+ return sdkResponse;
3308
+ }
3309
+ catch (err) {
3310
+ throw err;
3311
+ }
3312
+ });
3313
+ }
3314
+ /**
3315
+ * Gets a PipelineRun by identifier.
3316
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3317
+ * @param GetPipelineRunRequest
3318
+ * @return GetPipelineRunResponse
3319
+ * @throws OciError when an error occurs
3320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetPipelineRun.ts.html |here} to see how to use GetPipelineRun API.
3321
+ */
3322
+ getPipelineRun(getPipelineRunRequest) {
3323
+ return __awaiter(this, void 0, void 0, function* () {
3324
+ if (this.logger)
3325
+ this.logger.debug("Calling operation DataScienceClient#getPipelineRun.");
3326
+ const operationName = "getPipelineRun";
3327
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/GetPipelineRun";
3328
+ const pathParams = {
3329
+ "{pipelineRunId}": getPipelineRunRequest.pipelineRunId
3330
+ };
3331
+ const queryParams = {};
3332
+ let headerParams = {
3333
+ "Content-Type": common.Constants.APPLICATION_JSON,
3334
+ "opc-request-id": getPipelineRunRequest.opcRequestId
3335
+ };
3336
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3337
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPipelineRunRequest.retryConfiguration, specRetryConfiguration);
3338
+ if (this.logger)
3339
+ retrier.logger = this.logger;
3340
+ const request = yield oci_common_2.composeRequest({
3341
+ baseEndpoint: this._endpoint,
3342
+ defaultHeaders: this._defaultHeaders,
3343
+ path: "/pipelineRuns/{pipelineRunId}",
3344
+ method: "GET",
3345
+ pathParams: pathParams,
3346
+ headerParams: headerParams,
3347
+ queryParams: queryParams
3348
+ });
3349
+ try {
3350
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3351
+ const sdkResponse = oci_common_2.composeResponse({
3352
+ responseObject: {},
3353
+ body: yield response.json(),
3354
+ bodyKey: "pipelineRun",
3355
+ bodyModel: model.PipelineRun,
3356
+ type: "model.PipelineRun",
3357
+ responseHeaders: [
3358
+ {
3359
+ value: response.headers.get("etag"),
3360
+ key: "etag",
3361
+ dataType: "string"
3362
+ },
3363
+ {
3364
+ value: response.headers.get("opc-request-id"),
3365
+ key: "opcRequestId",
3366
+ dataType: "string"
3367
+ }
3368
+ ]
3369
+ });
3370
+ return sdkResponse;
3371
+ }
3372
+ catch (err) {
3373
+ throw err;
3374
+ }
3375
+ });
3376
+ }
2771
3377
  /**
2772
3378
  * Gets the specified project's information.
2773
3379
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2774
3380
  * @param GetProjectRequest
2775
3381
  * @return GetProjectResponse
2776
3382
  * @throws OciError when an error occurs
2777
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetProject.ts.html |here} to see how to use GetProject API.
3383
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetProject.ts.html |here} to see how to use GetProject API.
2778
3384
  */
2779
3385
  getProject(getProjectRequest) {
2780
3386
  return __awaiter(this, void 0, void 0, function* () {
@@ -2831,13 +3437,97 @@ class DataScienceClient {
2831
3437
  }
2832
3438
  });
2833
3439
  }
3440
+ /**
3441
+ * Download the artifact for a step in the pipeline.
3442
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3443
+ * @param GetStepArtifactContentRequest
3444
+ * @return GetStepArtifactContentResponse
3445
+ * @throws OciError when an error occurs
3446
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetStepArtifactContent.ts.html |here} to see how to use GetStepArtifactContent API.
3447
+ */
3448
+ getStepArtifactContent(getStepArtifactContentRequest) {
3449
+ return __awaiter(this, void 0, void 0, function* () {
3450
+ if (this.logger)
3451
+ this.logger.debug("Calling operation DataScienceClient#getStepArtifactContent.");
3452
+ const operationName = "getStepArtifactContent";
3453
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/GetStepArtifactContent";
3454
+ const pathParams = {
3455
+ "{pipelineId}": getStepArtifactContentRequest.pipelineId,
3456
+ "{stepName}": getStepArtifactContentRequest.stepName
3457
+ };
3458
+ const queryParams = {};
3459
+ let headerParams = {
3460
+ "Content-Type": common.Constants.APPLICATION_JSON,
3461
+ "opc-request-id": getStepArtifactContentRequest.opcRequestId,
3462
+ "range": getStepArtifactContentRequest.range
3463
+ };
3464
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3465
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStepArtifactContentRequest.retryConfiguration, specRetryConfiguration);
3466
+ if (this.logger)
3467
+ retrier.logger = this.logger;
3468
+ const request = yield oci_common_2.composeRequest({
3469
+ baseEndpoint: this._endpoint,
3470
+ defaultHeaders: this._defaultHeaders,
3471
+ path: "/pipelines/{pipelineId}/steps/{stepName}/artifact/content",
3472
+ method: "GET",
3473
+ pathParams: pathParams,
3474
+ headerParams: headerParams,
3475
+ queryParams: queryParams
3476
+ });
3477
+ try {
3478
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink, true);
3479
+ const sdkResponse = oci_common_2.composeResponse({
3480
+ responseObject: {},
3481
+ body: response.body,
3482
+ bodyKey: "value",
3483
+ bodyModel: "string",
3484
+ responseHeaders: [
3485
+ {
3486
+ value: response.headers.get("etag"),
3487
+ key: "etag",
3488
+ dataType: "string"
3489
+ },
3490
+ {
3491
+ value: response.headers.get("opc-request-id"),
3492
+ key: "opcRequestId",
3493
+ dataType: "string"
3494
+ },
3495
+ {
3496
+ value: response.headers.get("content-length"),
3497
+ key: "contentLength",
3498
+ dataType: "number"
3499
+ },
3500
+ {
3501
+ value: response.headers.get("content-md5"),
3502
+ key: "contentMd5",
3503
+ dataType: "string"
3504
+ },
3505
+ {
3506
+ value: response.headers.get("last-modified"),
3507
+ key: "lastModified",
3508
+ dataType: "Date"
3509
+ },
3510
+ {
3511
+ value: response.headers.get("content-disposition"),
3512
+ key: "contentDisposition",
3513
+ dataType: "string"
3514
+ }
3515
+ ]
3516
+ });
3517
+ return sdkResponse;
3518
+ }
3519
+ catch (err) {
3520
+ throw err;
3521
+ }
3522
+ });
3523
+ }
2834
3524
  /**
2835
3525
  * Gets the specified work request's information.
2836
3526
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2837
3527
  * @param GetWorkRequestRequest
2838
3528
  * @return GetWorkRequestResponse
2839
3529
  * @throws OciError when an error occurs
2840
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
3530
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
2841
3531
  */
2842
3532
  getWorkRequest(getWorkRequestRequest) {
2843
3533
  return __awaiter(this, void 0, void 0, function* () {
@@ -2905,7 +3595,7 @@ class DataScienceClient {
2905
3595
  * @param HeadJobArtifactRequest
2906
3596
  * @return HeadJobArtifactResponse
2907
3597
  * @throws OciError when an error occurs
2908
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
3598
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
2909
3599
  */
2910
3600
  headJobArtifact(headJobArtifactRequest) {
2911
3601
  return __awaiter(this, void 0, void 0, function* () {
@@ -2984,7 +3674,7 @@ class DataScienceClient {
2984
3674
  * @param HeadModelArtifactRequest
2985
3675
  * @return HeadModelArtifactResponse
2986
3676
  * @throws OciError when an error occurs
2987
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
3677
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
2988
3678
  */
2989
3679
  headModelArtifact(headModelArtifactRequest) {
2990
3680
  return __awaiter(this, void 0, void 0, function* () {
@@ -3039,8 +3729,88 @@ class DataScienceClient {
3039
3729
  dataType: "string"
3040
3730
  },
3041
3731
  {
3042
- value: response.headers.get("content-md5"),
3043
- key: "contentMd5",
3732
+ value: response.headers.get("content-md5"),
3733
+ key: "contentMd5",
3734
+ dataType: "string"
3735
+ },
3736
+ {
3737
+ value: response.headers.get("last-modified"),
3738
+ key: "lastModified",
3739
+ dataType: "Date"
3740
+ }
3741
+ ]
3742
+ });
3743
+ return sdkResponse;
3744
+ }
3745
+ catch (err) {
3746
+ throw err;
3747
+ }
3748
+ });
3749
+ }
3750
+ /**
3751
+ * Get the artifact metadata for a step in the pipeline.
3752
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3753
+ * @param HeadStepArtifactRequest
3754
+ * @return HeadStepArtifactResponse
3755
+ * @throws OciError when an error occurs
3756
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/HeadStepArtifact.ts.html |here} to see how to use HeadStepArtifact API.
3757
+ */
3758
+ headStepArtifact(headStepArtifactRequest) {
3759
+ return __awaiter(this, void 0, void 0, function* () {
3760
+ if (this.logger)
3761
+ this.logger.debug("Calling operation DataScienceClient#headStepArtifact.");
3762
+ const operationName = "headStepArtifact";
3763
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/HeadStepArtifact";
3764
+ const pathParams = {
3765
+ "{pipelineId}": headStepArtifactRequest.pipelineId,
3766
+ "{stepName}": headStepArtifactRequest.stepName
3767
+ };
3768
+ const queryParams = {};
3769
+ let headerParams = {
3770
+ "Content-Type": common.Constants.APPLICATION_JSON,
3771
+ "opc-request-id": headStepArtifactRequest.opcRequestId
3772
+ };
3773
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3774
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headStepArtifactRequest.retryConfiguration, specRetryConfiguration);
3775
+ if (this.logger)
3776
+ retrier.logger = this.logger;
3777
+ const request = yield oci_common_2.composeRequest({
3778
+ baseEndpoint: this._endpoint,
3779
+ defaultHeaders: this._defaultHeaders,
3780
+ path: "/pipelines/{pipelineId}/steps/{stepName}/artifact/content",
3781
+ method: "HEAD",
3782
+ pathParams: pathParams,
3783
+ headerParams: headerParams,
3784
+ queryParams: queryParams
3785
+ });
3786
+ try {
3787
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3788
+ const sdkResponse = oci_common_2.composeResponse({
3789
+ responseObject: {},
3790
+ responseHeaders: [
3791
+ {
3792
+ value: response.headers.get("etag"),
3793
+ key: "etag",
3794
+ dataType: "string"
3795
+ },
3796
+ {
3797
+ value: response.headers.get("opc-request-id"),
3798
+ key: "opcRequestId",
3799
+ dataType: "string"
3800
+ },
3801
+ {
3802
+ value: response.headers.get("content-length"),
3803
+ key: "contentLength",
3804
+ dataType: "number"
3805
+ },
3806
+ {
3807
+ value: response.headers.get("content-md5"),
3808
+ key: "contentMd5",
3809
+ dataType: "string"
3810
+ },
3811
+ {
3812
+ value: response.headers.get("content-disposition"),
3813
+ key: "contentDisposition",
3044
3814
  dataType: "string"
3045
3815
  },
3046
3816
  {
@@ -3063,7 +3833,7 @@ class DataScienceClient {
3063
3833
  * @param ImportModelArtifactRequest
3064
3834
  * @return ImportModelArtifactResponse
3065
3835
  * @throws OciError when an error occurs
3066
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ImportModelArtifact.ts.html |here} to see how to use ImportModelArtifact API.
3836
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ImportModelArtifact.ts.html |here} to see how to use ImportModelArtifact API.
3067
3837
  */
3068
3838
  importModelArtifact(importModelArtifactRequest) {
3069
3839
  return __awaiter(this, void 0, void 0, function* () {
@@ -3124,7 +3894,7 @@ class DataScienceClient {
3124
3894
  * @param ListFastLaunchJobConfigsRequest
3125
3895
  * @return ListFastLaunchJobConfigsResponse
3126
3896
  * @throws OciError when an error occurs
3127
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListFastLaunchJobConfigs.ts.html |here} to see how to use ListFastLaunchJobConfigs API.
3897
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListFastLaunchJobConfigs.ts.html |here} to see how to use ListFastLaunchJobConfigs API.
3128
3898
  */
3129
3899
  listFastLaunchJobConfigs(listFastLaunchJobConfigsRequest) {
3130
3900
  return __awaiter(this, void 0, void 0, function* () {
@@ -3234,7 +4004,7 @@ class DataScienceClient {
3234
4004
  * @param ListJobRunsRequest
3235
4005
  * @return ListJobRunsResponse
3236
4006
  * @throws OciError when an error occurs
3237
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
4007
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
3238
4008
  */
3239
4009
  listJobRuns(listJobRunsRequest) {
3240
4010
  return __awaiter(this, void 0, void 0, function* () {
@@ -3351,7 +4121,7 @@ class DataScienceClient {
3351
4121
  * @param ListJobShapesRequest
3352
4122
  * @return ListJobShapesResponse
3353
4123
  * @throws OciError when an error occurs
3354
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
4124
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
3355
4125
  */
3356
4126
  listJobShapes(listJobShapesRequest) {
3357
4127
  return __awaiter(this, void 0, void 0, function* () {
@@ -3461,7 +4231,7 @@ class DataScienceClient {
3461
4231
  * @param ListJobsRequest
3462
4232
  * @return ListJobsResponse
3463
4233
  * @throws OciError when an error occurs
3464
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
4234
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
3465
4235
  */
3466
4236
  listJobs(listJobsRequest) {
3467
4237
  return __awaiter(this, void 0, void 0, function* () {
@@ -3578,7 +4348,7 @@ class DataScienceClient {
3578
4348
  * @param ListModelDeploymentShapesRequest
3579
4349
  * @return ListModelDeploymentShapesResponse
3580
4350
  * @throws OciError when an error occurs
3581
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
4351
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
3582
4352
  */
3583
4353
  listModelDeploymentShapes(listModelDeploymentShapesRequest) {
3584
4354
  return __awaiter(this, void 0, void 0, function* () {
@@ -3689,7 +4459,7 @@ class DataScienceClient {
3689
4459
  * @param ListModelDeploymentsRequest
3690
4460
  * @return ListModelDeploymentsResponse
3691
4461
  * @throws OciError when an error occurs
3692
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
4462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
3693
4463
  */
3694
4464
  listModelDeployments(listModelDeploymentsRequest) {
3695
4465
  return __awaiter(this, void 0, void 0, function* () {
@@ -3806,7 +4576,7 @@ class DataScienceClient {
3806
4576
  * @param ListModelVersionSetsRequest
3807
4577
  * @return ListModelVersionSetsResponse
3808
4578
  * @throws OciError when an error occurs
3809
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListModelVersionSets.ts.html |here} to see how to use ListModelVersionSets API.
4579
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModelVersionSets.ts.html |here} to see how to use ListModelVersionSets API.
3810
4580
  */
3811
4581
  listModelVersionSets(listModelVersionSetsRequest) {
3812
4582
  return __awaiter(this, void 0, void 0, function* () {
@@ -3923,7 +4693,7 @@ class DataScienceClient {
3923
4693
  * @param ListModelsRequest
3924
4694
  * @return ListModelsResponse
3925
4695
  * @throws OciError when an error occurs
3926
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListModels.ts.html |here} to see how to use ListModels API.
4696
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListModels.ts.html |here} to see how to use ListModels API.
3927
4697
  */
3928
4698
  listModels(listModelsRequest) {
3929
4699
  return __awaiter(this, void 0, void 0, function* () {
@@ -4042,7 +4812,7 @@ class DataScienceClient {
4042
4812
  * @param ListNotebookSessionShapesRequest
4043
4813
  * @return ListNotebookSessionShapesResponse
4044
4814
  * @throws OciError when an error occurs
4045
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
4815
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
4046
4816
  */
4047
4817
  listNotebookSessionShapes(listNotebookSessionShapesRequest) {
4048
4818
  return __awaiter(this, void 0, void 0, function* () {
@@ -4152,7 +4922,7 @@ class DataScienceClient {
4152
4922
  * @param ListNotebookSessionsRequest
4153
4923
  * @return ListNotebookSessionsResponse
4154
4924
  * @throws OciError when an error occurs
4155
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
4925
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
4156
4926
  */
4157
4927
  listNotebookSessions(listNotebookSessionsRequest) {
4158
4928
  return __awaiter(this, void 0, void 0, function* () {
@@ -4263,13 +5033,247 @@ class DataScienceClient {
4263
5033
  listNotebookSessionsResponseIterator(request) {
4264
5034
  return oci_common_1.paginateResponses(request, req => this.listNotebookSessions(req));
4265
5035
  }
5036
+ /**
5037
+ * Returns a list of PipelineRuns.
5038
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5039
+ * @param ListPipelineRunsRequest
5040
+ * @return ListPipelineRunsResponse
5041
+ * @throws OciError when an error occurs
5042
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListPipelineRuns.ts.html |here} to see how to use ListPipelineRuns API.
5043
+ */
5044
+ listPipelineRuns(listPipelineRunsRequest) {
5045
+ return __awaiter(this, void 0, void 0, function* () {
5046
+ if (this.logger)
5047
+ this.logger.debug("Calling operation DataScienceClient#listPipelineRuns.");
5048
+ const operationName = "listPipelineRuns";
5049
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/ListPipelineRuns";
5050
+ const pathParams = {};
5051
+ const queryParams = {
5052
+ "id": listPipelineRunsRequest.id,
5053
+ "pipelineId": listPipelineRunsRequest.pipelineId,
5054
+ "compartmentId": listPipelineRunsRequest.compartmentId,
5055
+ "displayName": listPipelineRunsRequest.displayName,
5056
+ "lifecycleState": listPipelineRunsRequest.lifecycleState,
5057
+ "createdBy": listPipelineRunsRequest.createdBy,
5058
+ "limit": listPipelineRunsRequest.limit,
5059
+ "page": listPipelineRunsRequest.page,
5060
+ "sortOrder": listPipelineRunsRequest.sortOrder,
5061
+ "sortBy": listPipelineRunsRequest.sortBy
5062
+ };
5063
+ let headerParams = {
5064
+ "Content-Type": common.Constants.APPLICATION_JSON,
5065
+ "opc-request-id": listPipelineRunsRequest.opcRequestId
5066
+ };
5067
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5068
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPipelineRunsRequest.retryConfiguration, specRetryConfiguration);
5069
+ if (this.logger)
5070
+ retrier.logger = this.logger;
5071
+ const request = yield oci_common_2.composeRequest({
5072
+ baseEndpoint: this._endpoint,
5073
+ defaultHeaders: this._defaultHeaders,
5074
+ path: "/pipelineRuns",
5075
+ method: "GET",
5076
+ pathParams: pathParams,
5077
+ headerParams: headerParams,
5078
+ queryParams: queryParams
5079
+ });
5080
+ try {
5081
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5082
+ const sdkResponse = oci_common_2.composeResponse({
5083
+ responseObject: {},
5084
+ body: yield response.json(),
5085
+ bodyKey: "items",
5086
+ bodyModel: model.PipelineRunSummary,
5087
+ type: "Array<model.PipelineRunSummary>",
5088
+ responseHeaders: [
5089
+ {
5090
+ value: response.headers.get("opc-request-id"),
5091
+ key: "opcRequestId",
5092
+ dataType: "string"
5093
+ },
5094
+ {
5095
+ value: response.headers.get("opc-next-page"),
5096
+ key: "opcNextPage",
5097
+ dataType: "string"
5098
+ },
5099
+ {
5100
+ value: response.headers.get("opc-prev-page"),
5101
+ key: "opcPrevPage",
5102
+ dataType: "string"
5103
+ }
5104
+ ]
5105
+ });
5106
+ return sdkResponse;
5107
+ }
5108
+ catch (err) {
5109
+ throw err;
5110
+ }
5111
+ });
5112
+ }
5113
+ /**
5114
+ * NOTE: This function is deprecated in favor of listPipelineRunsRecordIterator function.
5115
+ * Creates a new async iterator which will iterate over the models.PipelineRunSummary objects
5116
+ * contained in responses from the listPipelineRuns operation. This iterator will fetch more data from the
5117
+ * server as needed.
5118
+ *
5119
+ * @param request a request which can be sent to the service operation
5120
+ */
5121
+ listAllPipelineRuns(request) {
5122
+ return oci_common_1.paginateRecords(request, req => this.listPipelineRuns(req));
5123
+ }
5124
+ /**
5125
+ * NOTE: This function is deprecated in favor of listPipelineRunsResponseIterator function.
5126
+ * Creates a new async iterator which will iterate over the responses received from the listPipelineRuns operation. This iterator
5127
+ * will fetch more data from the server as needed.
5128
+ *
5129
+ * @param request a request which can be sent to the service operation
5130
+ */
5131
+ listAllPipelineRunsResponses(request) {
5132
+ return oci_common_1.paginateResponses(request, req => this.listPipelineRuns(req));
5133
+ }
5134
+ /**
5135
+ * Creates a new async iterator which will iterate over the models.PipelineRunSummary objects
5136
+ * contained in responses from the listPipelineRuns operation. This iterator will fetch more data from the
5137
+ * server as needed.
5138
+ *
5139
+ * @param request a request which can be sent to the service operation
5140
+ */
5141
+ listPipelineRunsRecordIterator(request) {
5142
+ return oci_common_1.paginateRecords(request, req => this.listPipelineRuns(req));
5143
+ }
5144
+ /**
5145
+ * Creates a new async iterator which will iterate over the responses received from the listPipelineRuns operation. This iterator
5146
+ * will fetch more data from the server as needed.
5147
+ *
5148
+ * @param request a request which can be sent to the service operation
5149
+ */
5150
+ listPipelineRunsResponseIterator(request) {
5151
+ return oci_common_1.paginateResponses(request, req => this.listPipelineRuns(req));
5152
+ }
5153
+ /**
5154
+ * Returns a list of Pipelines.
5155
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5156
+ * @param ListPipelinesRequest
5157
+ * @return ListPipelinesResponse
5158
+ * @throws OciError when an error occurs
5159
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListPipelines.ts.html |here} to see how to use ListPipelines API.
5160
+ */
5161
+ listPipelines(listPipelinesRequest) {
5162
+ return __awaiter(this, void 0, void 0, function* () {
5163
+ if (this.logger)
5164
+ this.logger.debug("Calling operation DataScienceClient#listPipelines.");
5165
+ const operationName = "listPipelines";
5166
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/ListPipelines";
5167
+ const pathParams = {};
5168
+ const queryParams = {
5169
+ "compartmentId": listPipelinesRequest.compartmentId,
5170
+ "projectId": listPipelinesRequest.projectId,
5171
+ "id": listPipelinesRequest.id,
5172
+ "displayName": listPipelinesRequest.displayName,
5173
+ "lifecycleState": listPipelinesRequest.lifecycleState,
5174
+ "createdBy": listPipelinesRequest.createdBy,
5175
+ "limit": listPipelinesRequest.limit,
5176
+ "page": listPipelinesRequest.page,
5177
+ "sortOrder": listPipelinesRequest.sortOrder,
5178
+ "sortBy": listPipelinesRequest.sortBy
5179
+ };
5180
+ let headerParams = {
5181
+ "Content-Type": common.Constants.APPLICATION_JSON,
5182
+ "opc-request-id": listPipelinesRequest.opcRequestId
5183
+ };
5184
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5185
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPipelinesRequest.retryConfiguration, specRetryConfiguration);
5186
+ if (this.logger)
5187
+ retrier.logger = this.logger;
5188
+ const request = yield oci_common_2.composeRequest({
5189
+ baseEndpoint: this._endpoint,
5190
+ defaultHeaders: this._defaultHeaders,
5191
+ path: "/pipelines",
5192
+ method: "GET",
5193
+ pathParams: pathParams,
5194
+ headerParams: headerParams,
5195
+ queryParams: queryParams
5196
+ });
5197
+ try {
5198
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5199
+ const sdkResponse = oci_common_2.composeResponse({
5200
+ responseObject: {},
5201
+ body: yield response.json(),
5202
+ bodyKey: "items",
5203
+ bodyModel: model.PipelineSummary,
5204
+ type: "Array<model.PipelineSummary>",
5205
+ responseHeaders: [
5206
+ {
5207
+ value: response.headers.get("opc-request-id"),
5208
+ key: "opcRequestId",
5209
+ dataType: "string"
5210
+ },
5211
+ {
5212
+ value: response.headers.get("opc-next-page"),
5213
+ key: "opcNextPage",
5214
+ dataType: "string"
5215
+ },
5216
+ {
5217
+ value: response.headers.get("opc-prev-page"),
5218
+ key: "opcPrevPage",
5219
+ dataType: "string"
5220
+ }
5221
+ ]
5222
+ });
5223
+ return sdkResponse;
5224
+ }
5225
+ catch (err) {
5226
+ throw err;
5227
+ }
5228
+ });
5229
+ }
5230
+ /**
5231
+ * NOTE: This function is deprecated in favor of listPipelinesRecordIterator function.
5232
+ * Creates a new async iterator which will iterate over the models.PipelineSummary objects
5233
+ * contained in responses from the listPipelines operation. This iterator will fetch more data from the
5234
+ * server as needed.
5235
+ *
5236
+ * @param request a request which can be sent to the service operation
5237
+ */
5238
+ listAllPipelines(request) {
5239
+ return oci_common_1.paginateRecords(request, req => this.listPipelines(req));
5240
+ }
5241
+ /**
5242
+ * NOTE: This function is deprecated in favor of listPipelinesResponseIterator function.
5243
+ * Creates a new async iterator which will iterate over the responses received from the listPipelines operation. This iterator
5244
+ * will fetch more data from the server as needed.
5245
+ *
5246
+ * @param request a request which can be sent to the service operation
5247
+ */
5248
+ listAllPipelinesResponses(request) {
5249
+ return oci_common_1.paginateResponses(request, req => this.listPipelines(req));
5250
+ }
5251
+ /**
5252
+ * Creates a new async iterator which will iterate over the models.PipelineSummary objects
5253
+ * contained in responses from the listPipelines operation. This iterator will fetch more data from the
5254
+ * server as needed.
5255
+ *
5256
+ * @param request a request which can be sent to the service operation
5257
+ */
5258
+ listPipelinesRecordIterator(request) {
5259
+ return oci_common_1.paginateRecords(request, req => this.listPipelines(req));
5260
+ }
5261
+ /**
5262
+ * Creates a new async iterator which will iterate over the responses received from the listPipelines operation. This iterator
5263
+ * will fetch more data from the server as needed.
5264
+ *
5265
+ * @param request a request which can be sent to the service operation
5266
+ */
5267
+ listPipelinesResponseIterator(request) {
5268
+ return oci_common_1.paginateResponses(request, req => this.listPipelines(req));
5269
+ }
4266
5270
  /**
4267
5271
  * Lists projects in the specified compartment.
4268
5272
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4269
5273
  * @param ListProjectsRequest
4270
5274
  * @return ListProjectsResponse
4271
5275
  * @throws OciError when an error occurs
4272
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
5276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
4273
5277
  */
4274
5278
  listProjects(listProjectsRequest) {
4275
5279
  return __awaiter(this, void 0, void 0, function* () {
@@ -4385,7 +5389,7 @@ class DataScienceClient {
4385
5389
  * @param ListWorkRequestErrorsRequest
4386
5390
  * @return ListWorkRequestErrorsResponse
4387
5391
  * @throws OciError when an error occurs
4388
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
5392
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4389
5393
  */
4390
5394
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
4391
5395
  return __awaiter(this, void 0, void 0, function* () {
@@ -4443,7 +5447,7 @@ class DataScienceClient {
4443
5447
  * @param ListWorkRequestLogsRequest
4444
5448
  * @return ListWorkRequestLogsResponse
4445
5449
  * @throws OciError when an error occurs
4446
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
5450
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4447
5451
  */
4448
5452
  listWorkRequestLogs(listWorkRequestLogsRequest) {
4449
5453
  return __awaiter(this, void 0, void 0, function* () {
@@ -4501,7 +5505,7 @@ class DataScienceClient {
4501
5505
  * @param ListWorkRequestsRequest
4502
5506
  * @return ListWorkRequestsResponse
4503
5507
  * @throws OciError when an error occurs
4504
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
5508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4505
5509
  */
4506
5510
  listWorkRequests(listWorkRequestsRequest) {
4507
5511
  return __awaiter(this, void 0, void 0, function* () {
@@ -4616,7 +5620,7 @@ class DataScienceClient {
4616
5620
  * @param UpdateJobRequest
4617
5621
  * @return UpdateJobResponse
4618
5622
  * @throws OciError when an error occurs
4619
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
5623
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
4620
5624
  */
4621
5625
  updateJob(updateJobRequest) {
4622
5626
  return __awaiter(this, void 0, void 0, function* () {
@@ -4681,7 +5685,7 @@ class DataScienceClient {
4681
5685
  * @param UpdateJobRunRequest
4682
5686
  * @return UpdateJobRunResponse
4683
5687
  * @throws OciError when an error occurs
4684
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
5688
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
4685
5689
  */
4686
5690
  updateJobRun(updateJobRunRequest) {
4687
5691
  return __awaiter(this, void 0, void 0, function* () {
@@ -4746,7 +5750,7 @@ class DataScienceClient {
4746
5750
  * @param UpdateModelRequest
4747
5751
  * @return UpdateModelResponse
4748
5752
  * @throws OciError when an error occurs
4749
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
5753
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
4750
5754
  */
4751
5755
  updateModel(updateModelRequest) {
4752
5756
  return __awaiter(this, void 0, void 0, function* () {
@@ -4815,7 +5819,7 @@ class DataScienceClient {
4815
5819
  * @param UpdateModelDeploymentRequest
4816
5820
  * @return UpdateModelDeploymentResponse
4817
5821
  * @throws OciError when an error occurs
4818
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
5822
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
4819
5823
  */
4820
5824
  updateModelDeployment(updateModelDeploymentRequest) {
4821
5825
  return __awaiter(this, void 0, void 0, function* () {
@@ -4876,7 +5880,7 @@ class DataScienceClient {
4876
5880
  * @param UpdateModelProvenanceRequest
4877
5881
  * @return UpdateModelProvenanceResponse
4878
5882
  * @throws OciError when an error occurs
4879
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
5883
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
4880
5884
  */
4881
5885
  updateModelProvenance(updateModelProvenanceRequest) {
4882
5886
  return __awaiter(this, void 0, void 0, function* () {
@@ -4941,7 +5945,7 @@ class DataScienceClient {
4941
5945
  * @param UpdateModelVersionSetRequest
4942
5946
  * @return UpdateModelVersionSetResponse
4943
5947
  * @throws OciError when an error occurs
4944
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateModelVersionSet.ts.html |here} to see how to use UpdateModelVersionSet API.
5948
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateModelVersionSet.ts.html |here} to see how to use UpdateModelVersionSet API.
4945
5949
  */
4946
5950
  updateModelVersionSet(updateModelVersionSetRequest) {
4947
5951
  return __awaiter(this, void 0, void 0, function* () {
@@ -5009,7 +6013,7 @@ class DataScienceClient {
5009
6013
  * @param UpdateNotebookSessionRequest
5010
6014
  * @return UpdateNotebookSessionResponse
5011
6015
  * @throws OciError when an error occurs
5012
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
6016
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
5013
6017
  */
5014
6018
  updateNotebookSession(updateNotebookSessionRequest) {
5015
6019
  return __awaiter(this, void 0, void 0, function* () {
@@ -5068,13 +6072,143 @@ class DataScienceClient {
5068
6072
  }
5069
6073
  });
5070
6074
  }
6075
+ /**
6076
+ * Updates the Pipeline.
6077
+ * This operation does not retry by default if the user has not defined a retry configuration.
6078
+ * @param UpdatePipelineRequest
6079
+ * @return UpdatePipelineResponse
6080
+ * @throws OciError when an error occurs
6081
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdatePipeline.ts.html |here} to see how to use UpdatePipeline API.
6082
+ */
6083
+ updatePipeline(updatePipelineRequest) {
6084
+ return __awaiter(this, void 0, void 0, function* () {
6085
+ if (this.logger)
6086
+ this.logger.debug("Calling operation DataScienceClient#updatePipeline.");
6087
+ const operationName = "updatePipeline";
6088
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/Pipeline/UpdatePipeline";
6089
+ const pathParams = {
6090
+ "{pipelineId}": updatePipelineRequest.pipelineId
6091
+ };
6092
+ const queryParams = {};
6093
+ let headerParams = {
6094
+ "Content-Type": common.Constants.APPLICATION_JSON,
6095
+ "if-match": updatePipelineRequest.ifMatch,
6096
+ "opc-request-id": updatePipelineRequest.opcRequestId
6097
+ };
6098
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6099
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePipelineRequest.retryConfiguration, specRetryConfiguration);
6100
+ if (this.logger)
6101
+ retrier.logger = this.logger;
6102
+ const request = yield oci_common_2.composeRequest({
6103
+ baseEndpoint: this._endpoint,
6104
+ defaultHeaders: this._defaultHeaders,
6105
+ path: "/pipelines/{pipelineId}",
6106
+ method: "PUT",
6107
+ bodyContent: common.ObjectSerializer.serialize(updatePipelineRequest.updatePipelineDetails, "UpdatePipelineDetails", model.UpdatePipelineDetails.getJsonObj),
6108
+ pathParams: pathParams,
6109
+ headerParams: headerParams,
6110
+ queryParams: queryParams
6111
+ });
6112
+ try {
6113
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6114
+ const sdkResponse = oci_common_2.composeResponse({
6115
+ responseObject: {},
6116
+ body: yield response.json(),
6117
+ bodyKey: "pipeline",
6118
+ bodyModel: model.Pipeline,
6119
+ type: "model.Pipeline",
6120
+ responseHeaders: [
6121
+ {
6122
+ value: response.headers.get("etag"),
6123
+ key: "etag",
6124
+ dataType: "string"
6125
+ },
6126
+ {
6127
+ value: response.headers.get("opc-request-id"),
6128
+ key: "opcRequestId",
6129
+ dataType: "string"
6130
+ }
6131
+ ]
6132
+ });
6133
+ return sdkResponse;
6134
+ }
6135
+ catch (err) {
6136
+ throw err;
6137
+ }
6138
+ });
6139
+ }
6140
+ /**
6141
+ * Updates the PipelineRun.
6142
+ * This operation does not retry by default if the user has not defined a retry configuration.
6143
+ * @param UpdatePipelineRunRequest
6144
+ * @return UpdatePipelineRunResponse
6145
+ * @throws OciError when an error occurs
6146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdatePipelineRun.ts.html |here} to see how to use UpdatePipelineRun API.
6147
+ */
6148
+ updatePipelineRun(updatePipelineRunRequest) {
6149
+ return __awaiter(this, void 0, void 0, function* () {
6150
+ if (this.logger)
6151
+ this.logger.debug("Calling operation DataScienceClient#updatePipelineRun.");
6152
+ const operationName = "updatePipelineRun";
6153
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/PipelineRun/UpdatePipelineRun";
6154
+ const pathParams = {
6155
+ "{pipelineRunId}": updatePipelineRunRequest.pipelineRunId
6156
+ };
6157
+ const queryParams = {};
6158
+ let headerParams = {
6159
+ "Content-Type": common.Constants.APPLICATION_JSON,
6160
+ "if-match": updatePipelineRunRequest.ifMatch,
6161
+ "opc-request-id": updatePipelineRunRequest.opcRequestId
6162
+ };
6163
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6164
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePipelineRunRequest.retryConfiguration, specRetryConfiguration);
6165
+ if (this.logger)
6166
+ retrier.logger = this.logger;
6167
+ const request = yield oci_common_2.composeRequest({
6168
+ baseEndpoint: this._endpoint,
6169
+ defaultHeaders: this._defaultHeaders,
6170
+ path: "/pipelineRuns/{pipelineRunId}",
6171
+ method: "PUT",
6172
+ bodyContent: common.ObjectSerializer.serialize(updatePipelineRunRequest.updatePipelineRunDetails, "UpdatePipelineRunDetails", model.UpdatePipelineRunDetails.getJsonObj),
6173
+ pathParams: pathParams,
6174
+ headerParams: headerParams,
6175
+ queryParams: queryParams
6176
+ });
6177
+ try {
6178
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6179
+ const sdkResponse = oci_common_2.composeResponse({
6180
+ responseObject: {},
6181
+ body: yield response.json(),
6182
+ bodyKey: "pipelineRun",
6183
+ bodyModel: model.PipelineRun,
6184
+ type: "model.PipelineRun",
6185
+ responseHeaders: [
6186
+ {
6187
+ value: response.headers.get("etag"),
6188
+ key: "etag",
6189
+ dataType: "string"
6190
+ },
6191
+ {
6192
+ value: response.headers.get("opc-request-id"),
6193
+ key: "opcRequestId",
6194
+ dataType: "string"
6195
+ }
6196
+ ]
6197
+ });
6198
+ return sdkResponse;
6199
+ }
6200
+ catch (err) {
6201
+ throw err;
6202
+ }
6203
+ });
6204
+ }
5071
6205
  /**
5072
6206
  * Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
5073
6207
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5074
6208
  * @param UpdateProjectRequest
5075
6209
  * @return UpdateProjectResponse
5076
6210
  * @throws OciError when an error occurs
5077
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.2/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
6211
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.50.3/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
5078
6212
  */
5079
6213
  updateProject(updateProjectRequest) {
5080
6214
  return __awaiter(this, void 0, void 0, function* () {