oci-datascience 2.70.2 → 2.70.4

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 (169) hide show
  1. package/lib/client.d.ts +243 -85
  2. package/lib/client.js +645 -87
  3. package/lib/client.js.map +1 -1
  4. package/lib/datascience-waiter.d.ts +8 -0
  5. package/lib/datascience-waiter.js +12 -0
  6. package/lib/datascience-waiter.js.map +1 -1
  7. package/lib/model/change-data-science-private-endpoint-compartment-details.d.ts +27 -0
  8. package/lib/model/change-data-science-private-endpoint-compartment-details.js +30 -0
  9. package/lib/model/change-data-science-private-endpoint-compartment-details.js.map +1 -0
  10. package/lib/model/create-data-science-private-endpoint-details.d.ts +74 -0
  11. package/lib/model/create-data-science-private-endpoint-details.js +30 -0
  12. package/lib/model/create-data-science-private-endpoint-details.js.map +1 -0
  13. package/lib/model/data-science-private-endpoint-lifecycle-state.d.ts +35 -0
  14. package/lib/model/data-science-private-endpoint-lifecycle-state.js +46 -0
  15. package/lib/model/data-science-private-endpoint-lifecycle-state.js.map +1 -0
  16. package/lib/model/data-science-private-endpoint-summary.d.ts +99 -0
  17. package/lib/model/data-science-private-endpoint-summary.js +30 -0
  18. package/lib/model/data-science-private-endpoint-summary.js.map +1 -0
  19. package/lib/model/data-science-private-endpoint.d.ts +104 -0
  20. package/lib/model/data-science-private-endpoint.js +30 -0
  21. package/lib/model/data-science-private-endpoint.js.map +1 -0
  22. package/lib/model/data-science-resource-type.d.ts +28 -0
  23. package/lib/model/data-science-resource-type.js +39 -0
  24. package/lib/model/data-science-resource-type.js.map +1 -0
  25. package/lib/model/index.d.ts +14 -0
  26. package/lib/model/index.js +17 -3
  27. package/lib/model/index.js.map +1 -1
  28. package/lib/model/model-configuration-details.d.ts +1 -1
  29. package/lib/model/notebook-session-config-details.d.ts +5 -0
  30. package/lib/model/notebook-session-config-details.js.map +1 -1
  31. package/lib/model/notebook-session-configuration-details.d.ts +5 -0
  32. package/lib/model/notebook-session-configuration-details.js.map +1 -1
  33. package/lib/model/update-data-science-private-endpoint-details.d.ts +56 -0
  34. package/lib/model/update-data-science-private-endpoint-details.js +30 -0
  35. package/lib/model/update-data-science-private-endpoint-details.js.map +1 -0
  36. package/lib/model/update-model-configuration-details.d.ts +1 -1
  37. package/lib/model/work-request-operation-type.d.ts +4 -0
  38. package/lib/model/work-request-operation-type.js +4 -0
  39. package/lib/model/work-request-operation-type.js.map +1 -1
  40. package/lib/request/activate-model-deployment-request.d.ts +1 -1
  41. package/lib/request/activate-model-request.d.ts +1 -1
  42. package/lib/request/activate-notebook-session-request.d.ts +1 -1
  43. package/lib/request/cancel-job-run-request.d.ts +1 -1
  44. package/lib/request/cancel-pipeline-run-request.d.ts +1 -1
  45. package/lib/request/cancel-work-request-request.d.ts +1 -1
  46. package/lib/request/change-data-science-private-endpoint-compartment-request.d.ts +48 -0
  47. package/lib/request/change-data-science-private-endpoint-compartment-request.js +15 -0
  48. package/lib/request/change-data-science-private-endpoint-compartment-request.js.map +1 -0
  49. package/lib/request/change-job-compartment-request.d.ts +1 -1
  50. package/lib/request/change-job-run-compartment-request.d.ts +1 -1
  51. package/lib/request/change-model-compartment-request.d.ts +1 -1
  52. package/lib/request/change-model-deployment-compartment-request.d.ts +1 -1
  53. package/lib/request/change-model-version-set-compartment-request.d.ts +1 -1
  54. package/lib/request/change-notebook-session-compartment-request.d.ts +1 -1
  55. package/lib/request/change-pipeline-compartment-request.d.ts +1 -1
  56. package/lib/request/change-pipeline-run-compartment-request.d.ts +1 -1
  57. package/lib/request/change-project-compartment-request.d.ts +1 -1
  58. package/lib/request/create-data-science-private-endpoint-request.d.ts +34 -0
  59. package/lib/request/create-data-science-private-endpoint-request.js +15 -0
  60. package/lib/request/create-data-science-private-endpoint-request.js.map +1 -0
  61. package/lib/request/create-job-artifact-request.d.ts +1 -1
  62. package/lib/request/create-job-request.d.ts +1 -1
  63. package/lib/request/create-job-run-request.d.ts +1 -1
  64. package/lib/request/create-model-artifact-request.d.ts +1 -1
  65. package/lib/request/create-model-deployment-request.d.ts +1 -1
  66. package/lib/request/create-model-provenance-request.d.ts +1 -1
  67. package/lib/request/create-model-request.d.ts +1 -1
  68. package/lib/request/create-model-version-set-request.d.ts +1 -1
  69. package/lib/request/create-notebook-session-request.d.ts +1 -1
  70. package/lib/request/create-pipeline-request.d.ts +1 -1
  71. package/lib/request/create-pipeline-run-request.d.ts +1 -1
  72. package/lib/request/create-project-request.d.ts +1 -1
  73. package/lib/request/create-step-artifact-request.d.ts +1 -1
  74. package/lib/request/deactivate-model-deployment-request.d.ts +1 -1
  75. package/lib/request/deactivate-model-request.d.ts +1 -1
  76. package/lib/request/deactivate-notebook-session-request.d.ts +1 -1
  77. package/lib/request/delete-data-science-private-endpoint-request.d.ts +37 -0
  78. package/lib/request/delete-data-science-private-endpoint-request.js +15 -0
  79. package/lib/request/delete-data-science-private-endpoint-request.js.map +1 -0
  80. package/lib/request/delete-job-request.d.ts +1 -1
  81. package/lib/request/delete-job-run-request.d.ts +1 -1
  82. package/lib/request/delete-model-deployment-request.d.ts +1 -1
  83. package/lib/request/delete-model-request.d.ts +1 -1
  84. package/lib/request/delete-model-version-set-request.d.ts +1 -1
  85. package/lib/request/delete-notebook-session-request.d.ts +1 -1
  86. package/lib/request/delete-pipeline-request.d.ts +1 -1
  87. package/lib/request/delete-pipeline-run-request.d.ts +1 -1
  88. package/lib/request/delete-project-request.d.ts +1 -1
  89. package/lib/request/export-model-artifact-request.d.ts +1 -1
  90. package/lib/request/get-data-science-private-endpoint-request.d.ts +28 -0
  91. package/lib/request/get-data-science-private-endpoint-request.js +15 -0
  92. package/lib/request/get-data-science-private-endpoint-request.js.map +1 -0
  93. package/lib/request/get-job-artifact-content-request.d.ts +1 -1
  94. package/lib/request/get-job-request.d.ts +1 -1
  95. package/lib/request/get-job-run-request.d.ts +1 -1
  96. package/lib/request/get-model-artifact-content-request.d.ts +1 -1
  97. package/lib/request/get-model-deployment-request.d.ts +1 -1
  98. package/lib/request/get-model-provenance-request.d.ts +1 -1
  99. package/lib/request/get-model-request.d.ts +1 -1
  100. package/lib/request/get-model-version-set-request.d.ts +1 -1
  101. package/lib/request/get-notebook-session-request.d.ts +1 -1
  102. package/lib/request/get-pipeline-request.d.ts +1 -1
  103. package/lib/request/get-pipeline-run-request.d.ts +1 -1
  104. package/lib/request/get-project-request.d.ts +1 -1
  105. package/lib/request/get-step-artifact-content-request.d.ts +1 -1
  106. package/lib/request/get-work-request-request.d.ts +1 -1
  107. package/lib/request/head-job-artifact-request.d.ts +1 -1
  108. package/lib/request/head-model-artifact-request.d.ts +1 -1
  109. package/lib/request/head-step-artifact-request.d.ts +1 -1
  110. package/lib/request/import-model-artifact-request.d.ts +1 -1
  111. package/lib/request/index.d.ts +12 -0
  112. package/lib/request/index.js +3 -1
  113. package/lib/request/index.js.map +1 -1
  114. package/lib/request/list-data-science-private-endpoints-request.d.ts +83 -0
  115. package/lib/request/list-data-science-private-endpoints-request.js +28 -0
  116. package/lib/request/list-data-science-private-endpoints-request.js.map +1 -0
  117. package/lib/request/list-fast-launch-job-configs-request.d.ts +1 -1
  118. package/lib/request/list-job-runs-request.d.ts +1 -1
  119. package/lib/request/list-job-shapes-request.d.ts +1 -1
  120. package/lib/request/list-jobs-request.d.ts +1 -1
  121. package/lib/request/list-model-deployment-shapes-request.d.ts +1 -1
  122. package/lib/request/list-model-deployments-request.d.ts +1 -1
  123. package/lib/request/list-model-version-sets-request.d.ts +1 -1
  124. package/lib/request/list-models-request.d.ts +1 -1
  125. package/lib/request/list-notebook-session-shapes-request.d.ts +1 -1
  126. package/lib/request/list-notebook-sessions-request.d.ts +1 -1
  127. package/lib/request/list-pipeline-runs-request.d.ts +1 -1
  128. package/lib/request/list-pipelines-request.d.ts +1 -1
  129. package/lib/request/list-projects-request.d.ts +1 -1
  130. package/lib/request/list-work-request-errors-request.d.ts +19 -1
  131. package/lib/request/list-work-request-logs-request.d.ts +19 -1
  132. package/lib/request/list-work-requests-request.d.ts +6 -2
  133. package/lib/request/list-work-requests-request.js +4 -0
  134. package/lib/request/list-work-requests-request.js.map +1 -1
  135. package/lib/request/update-data-science-private-endpoint-request.d.ts +43 -0
  136. package/lib/request/update-data-science-private-endpoint-request.js +15 -0
  137. package/lib/request/update-data-science-private-endpoint-request.js.map +1 -0
  138. package/lib/request/update-job-request.d.ts +1 -1
  139. package/lib/request/update-job-run-request.d.ts +1 -1
  140. package/lib/request/update-model-deployment-request.d.ts +1 -1
  141. package/lib/request/update-model-provenance-request.d.ts +1 -1
  142. package/lib/request/update-model-request.d.ts +1 -1
  143. package/lib/request/update-model-version-set-request.d.ts +1 -1
  144. package/lib/request/update-notebook-session-request.d.ts +1 -1
  145. package/lib/request/update-pipeline-request.d.ts +1 -1
  146. package/lib/request/update-pipeline-run-request.d.ts +1 -1
  147. package/lib/request/update-project-request.d.ts +1 -1
  148. package/lib/response/change-data-science-private-endpoint-compartment-response.d.ts +26 -0
  149. package/lib/response/change-data-science-private-endpoint-compartment-response.js +15 -0
  150. package/lib/response/change-data-science-private-endpoint-compartment-response.js.map +1 -0
  151. package/lib/response/create-data-science-private-endpoint-response.d.ts +41 -0
  152. package/lib/response/create-data-science-private-endpoint-response.js +15 -0
  153. package/lib/response/create-data-science-private-endpoint-response.js.map +1 -0
  154. package/lib/response/delete-data-science-private-endpoint-response.d.ts +26 -0
  155. package/lib/response/delete-data-science-private-endpoint-response.js +15 -0
  156. package/lib/response/delete-data-science-private-endpoint-response.js.map +1 -0
  157. package/lib/response/get-data-science-private-endpoint-response.d.ts +30 -0
  158. package/lib/response/get-data-science-private-endpoint-response.js +15 -0
  159. package/lib/response/get-data-science-private-endpoint-response.js.map +1 -0
  160. package/lib/response/index.d.ts +12 -0
  161. package/lib/response/list-data-science-private-endpoints-response.d.ts +35 -0
  162. package/lib/response/list-data-science-private-endpoints-response.js +15 -0
  163. package/lib/response/list-data-science-private-endpoints-response.js.map +1 -0
  164. package/lib/response/list-work-request-errors-response.d.ts +10 -0
  165. package/lib/response/list-work-request-logs-response.d.ts +10 -0
  166. package/lib/response/update-data-science-private-endpoint-response.d.ts +36 -0
  167. package/lib/response/update-data-science-private-endpoint-response.js +15 -0
  168. package/lib/response/update-data-science-private-endpoint-response.js.map +1 -0
  169. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -185,7 +185,7 @@ class DataScienceClient {
185
185
  * @param ActivateModelRequest
186
186
  * @return ActivateModelResponse
187
187
  * @throws OciError when an error occurs
188
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ActivateModel.ts.html |here} to see how to use ActivateModel API.
188
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ActivateModel.ts.html |here} to see how to use ActivateModel API.
189
189
  */
190
190
  activateModel(activateModelRequest) {
191
191
  return __awaiter(this, void 0, void 0, function* () {
@@ -249,7 +249,7 @@ class DataScienceClient {
249
249
  * @param ActivateModelDeploymentRequest
250
250
  * @return ActivateModelDeploymentResponse
251
251
  * @throws OciError when an error occurs
252
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ActivateModelDeployment.ts.html |here} to see how to use ActivateModelDeployment API.
252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ActivateModelDeployment.ts.html |here} to see how to use ActivateModelDeployment API.
253
253
  */
254
254
  activateModelDeployment(activateModelDeploymentRequest) {
255
255
  return __awaiter(this, void 0, void 0, function* () {
@@ -309,7 +309,7 @@ class DataScienceClient {
309
309
  * @param ActivateNotebookSessionRequest
310
310
  * @return ActivateNotebookSessionResponse
311
311
  * @throws OciError when an error occurs
312
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ActivateNotebookSession.ts.html |here} to see how to use ActivateNotebookSession API.
312
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ActivateNotebookSession.ts.html |here} to see how to use ActivateNotebookSession API.
313
313
  */
314
314
  activateNotebookSession(activateNotebookSessionRequest) {
315
315
  return __awaiter(this, void 0, void 0, function* () {
@@ -369,7 +369,7 @@ class DataScienceClient {
369
369
  * @param CancelJobRunRequest
370
370
  * @return CancelJobRunResponse
371
371
  * @throws OciError when an error occurs
372
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CancelJobRun.ts.html |here} to see how to use CancelJobRun API.
372
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CancelJobRun.ts.html |here} to see how to use CancelJobRun API.
373
373
  */
374
374
  cancelJobRun(cancelJobRunRequest) {
375
375
  return __awaiter(this, void 0, void 0, function* () {
@@ -424,7 +424,7 @@ class DataScienceClient {
424
424
  * @param CancelPipelineRunRequest
425
425
  * @return CancelPipelineRunResponse
426
426
  * @throws OciError when an error occurs
427
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CancelPipelineRun.ts.html |here} to see how to use CancelPipelineRun API.
427
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CancelPipelineRun.ts.html |here} to see how to use CancelPipelineRun API.
428
428
  */
429
429
  cancelPipelineRun(cancelPipelineRunRequest) {
430
430
  return __awaiter(this, void 0, void 0, function* () {
@@ -480,7 +480,7 @@ class DataScienceClient {
480
480
  * @param CancelWorkRequestRequest
481
481
  * @return CancelWorkRequestResponse
482
482
  * @throws OciError when an error occurs
483
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
483
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
484
484
  */
485
485
  cancelWorkRequest(cancelWorkRequestRequest) {
486
486
  return __awaiter(this, void 0, void 0, function* () {
@@ -529,13 +529,76 @@ class DataScienceClient {
529
529
  }
530
530
  });
531
531
  }
532
+ /**
533
+ * Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
534
+ *
535
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
536
+ * @param ChangeDataSciencePrivateEndpointCompartmentRequest
537
+ * @return ChangeDataSciencePrivateEndpointCompartmentResponse
538
+ * @throws OciError when an error occurs
539
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeDataSciencePrivateEndpointCompartment.ts.html |here} to see how to use ChangeDataSciencePrivateEndpointCompartment API.
540
+ */
541
+ changeDataSciencePrivateEndpointCompartment(changeDataSciencePrivateEndpointCompartmentRequest) {
542
+ return __awaiter(this, void 0, void 0, function* () {
543
+ if (this.logger)
544
+ this.logger.debug("Calling operation DataScienceClient#changeDataSciencePrivateEndpointCompartment.");
545
+ const operationName = "changeDataSciencePrivateEndpointCompartment";
546
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/DataSciencePrivateEndpoint/ChangeDataSciencePrivateEndpointCompartment";
547
+ const pathParams = {
548
+ "{dataSciencePrivateEndpointId}": changeDataSciencePrivateEndpointCompartmentRequest.dataSciencePrivateEndpointId
549
+ };
550
+ const queryParams = {};
551
+ let headerParams = {
552
+ "Content-Type": common.Constants.APPLICATION_JSON,
553
+ "opc-request-id": changeDataSciencePrivateEndpointCompartmentRequest.opcRequestId,
554
+ "if-match": changeDataSciencePrivateEndpointCompartmentRequest.ifMatch,
555
+ "opc-retry-token": changeDataSciencePrivateEndpointCompartmentRequest.opcRetryToken
556
+ };
557
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
558
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDataSciencePrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
559
+ if (this.logger)
560
+ retrier.logger = this.logger;
561
+ const request = yield oci_common_2.composeRequest({
562
+ baseEndpoint: this._endpoint,
563
+ defaultHeaders: this._defaultHeaders,
564
+ path: "/dataSciencePrivateEndpoints/{dataSciencePrivateEndpointId}/actions/changeCompartment",
565
+ method: "POST",
566
+ bodyContent: common.ObjectSerializer.serialize(changeDataSciencePrivateEndpointCompartmentRequest.changeDataSciencePrivateEndpointCompartmentDetails, "ChangeDataSciencePrivateEndpointCompartmentDetails", model.ChangeDataSciencePrivateEndpointCompartmentDetails.getJsonObj),
567
+ pathParams: pathParams,
568
+ headerParams: headerParams,
569
+ queryParams: queryParams
570
+ });
571
+ try {
572
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
573
+ const sdkResponse = oci_common_2.composeResponse({
574
+ responseObject: {},
575
+ responseHeaders: [
576
+ {
577
+ value: response.headers.get("opc-request-id"),
578
+ key: "opcRequestId",
579
+ dataType: "string"
580
+ },
581
+ {
582
+ value: response.headers.get("opc-work-request-id"),
583
+ key: "opcWorkRequestId",
584
+ dataType: "string"
585
+ }
586
+ ]
587
+ });
588
+ return sdkResponse;
589
+ }
590
+ catch (err) {
591
+ throw err;
592
+ }
593
+ });
594
+ }
532
595
  /**
533
596
  * Changes a job's compartment
534
597
  * This operation does not retry by default if the user has not defined a retry configuration.
535
598
  * @param ChangeJobCompartmentRequest
536
599
  * @return ChangeJobCompartmentResponse
537
600
  * @throws OciError when an error occurs
538
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
601
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
539
602
  */
540
603
  changeJobCompartment(changeJobCompartmentRequest) {
541
604
  return __awaiter(this, void 0, void 0, function* () {
@@ -591,7 +654,7 @@ class DataScienceClient {
591
654
  * @param ChangeJobRunCompartmentRequest
592
655
  * @return ChangeJobRunCompartmentResponse
593
656
  * @throws OciError when an error occurs
594
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
657
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeJobRunCompartment.ts.html |here} to see how to use ChangeJobRunCompartment API.
595
658
  */
596
659
  changeJobRunCompartment(changeJobRunCompartmentRequest) {
597
660
  return __awaiter(this, void 0, void 0, function* () {
@@ -647,7 +710,7 @@ class DataScienceClient {
647
710
  * @param ChangeModelCompartmentRequest
648
711
  * @return ChangeModelCompartmentResponse
649
712
  * @throws OciError when an error occurs
650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
713
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
651
714
  */
652
715
  changeModelCompartment(changeModelCompartmentRequest) {
653
716
  return __awaiter(this, void 0, void 0, function* () {
@@ -704,7 +767,7 @@ class DataScienceClient {
704
767
  * @param ChangeModelDeploymentCompartmentRequest
705
768
  * @return ChangeModelDeploymentCompartmentResponse
706
769
  * @throws OciError when an error occurs
707
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
770
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeModelDeploymentCompartment.ts.html |here} to see how to use ChangeModelDeploymentCompartment API.
708
771
  */
709
772
  changeModelDeploymentCompartment(changeModelDeploymentCompartmentRequest) {
710
773
  return __awaiter(this, void 0, void 0, function* () {
@@ -761,7 +824,7 @@ class DataScienceClient {
761
824
  * @param ChangeModelVersionSetCompartmentRequest
762
825
  * @return ChangeModelVersionSetCompartmentResponse
763
826
  * @throws OciError when an error occurs
764
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeModelVersionSetCompartment.ts.html |here} to see how to use ChangeModelVersionSetCompartment API.
827
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeModelVersionSetCompartment.ts.html |here} to see how to use ChangeModelVersionSetCompartment API.
765
828
  */
766
829
  changeModelVersionSetCompartment(changeModelVersionSetCompartmentRequest) {
767
830
  return __awaiter(this, void 0, void 0, function* () {
@@ -823,7 +886,7 @@ class DataScienceClient {
823
886
  * @param ChangeNotebookSessionCompartmentRequest
824
887
  * @return ChangeNotebookSessionCompartmentResponse
825
888
  * @throws OciError when an error occurs
826
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
889
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeNotebookSessionCompartment.ts.html |here} to see how to use ChangeNotebookSessionCompartment API.
827
890
  */
828
891
  changeNotebookSessionCompartment(changeNotebookSessionCompartmentRequest) {
829
892
  return __awaiter(this, void 0, void 0, function* () {
@@ -880,7 +943,7 @@ class DataScienceClient {
880
943
  * @param ChangePipelineCompartmentRequest
881
944
  * @return ChangePipelineCompartmentResponse
882
945
  * @throws OciError when an error occurs
883
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangePipelineCompartment.ts.html |here} to see how to use ChangePipelineCompartment API.
946
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangePipelineCompartment.ts.html |here} to see how to use ChangePipelineCompartment API.
884
947
  */
885
948
  changePipelineCompartment(changePipelineCompartmentRequest) {
886
949
  return __awaiter(this, void 0, void 0, function* () {
@@ -936,7 +999,7 @@ class DataScienceClient {
936
999
  * @param ChangePipelineRunCompartmentRequest
937
1000
  * @return ChangePipelineRunCompartmentResponse
938
1001
  * @throws OciError when an error occurs
939
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangePipelineRunCompartment.ts.html |here} to see how to use ChangePipelineRunCompartment API.
1002
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangePipelineRunCompartment.ts.html |here} to see how to use ChangePipelineRunCompartment API.
940
1003
  */
941
1004
  changePipelineRunCompartment(changePipelineRunCompartmentRequest) {
942
1005
  return __awaiter(this, void 0, void 0, function* () {
@@ -992,7 +1055,7 @@ class DataScienceClient {
992
1055
  * @param ChangeProjectCompartmentRequest
993
1056
  * @return ChangeProjectCompartmentResponse
994
1057
  * @throws OciError when an error occurs
995
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
1058
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
996
1059
  */
997
1060
  changeProjectCompartment(changeProjectCompartmentRequest) {
998
1061
  return __awaiter(this, void 0, void 0, function* () {
@@ -1043,13 +1106,87 @@ class DataScienceClient {
1043
1106
  }
1044
1107
  });
1045
1108
  }
1109
+ /**
1110
+ * Creates a Data Science private endpoint to be used by a Data Science resource.
1111
+ *
1112
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1113
+ * @param CreateDataSciencePrivateEndpointRequest
1114
+ * @return CreateDataSciencePrivateEndpointResponse
1115
+ * @throws OciError when an error occurs
1116
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateDataSciencePrivateEndpoint.ts.html |here} to see how to use CreateDataSciencePrivateEndpoint API.
1117
+ */
1118
+ createDataSciencePrivateEndpoint(createDataSciencePrivateEndpointRequest) {
1119
+ return __awaiter(this, void 0, void 0, function* () {
1120
+ if (this.logger)
1121
+ this.logger.debug("Calling operation DataScienceClient#createDataSciencePrivateEndpoint.");
1122
+ const operationName = "createDataSciencePrivateEndpoint";
1123
+ const apiReferenceLink = "";
1124
+ const pathParams = {};
1125
+ const queryParams = {};
1126
+ let headerParams = {
1127
+ "Content-Type": common.Constants.APPLICATION_JSON,
1128
+ "opc-retry-token": createDataSciencePrivateEndpointRequest.opcRetryToken,
1129
+ "opc-request-id": createDataSciencePrivateEndpointRequest.opcRequestId
1130
+ };
1131
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1132
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDataSciencePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
1133
+ if (this.logger)
1134
+ retrier.logger = this.logger;
1135
+ const request = yield oci_common_2.composeRequest({
1136
+ baseEndpoint: this._endpoint,
1137
+ defaultHeaders: this._defaultHeaders,
1138
+ path: "/dataSciencePrivateEndpoints",
1139
+ method: "POST",
1140
+ bodyContent: common.ObjectSerializer.serialize(createDataSciencePrivateEndpointRequest.createDataSciencePrivateEndpointDetails, "CreateDataSciencePrivateEndpointDetails", model.CreateDataSciencePrivateEndpointDetails.getJsonObj),
1141
+ pathParams: pathParams,
1142
+ headerParams: headerParams,
1143
+ queryParams: queryParams
1144
+ });
1145
+ try {
1146
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1147
+ const sdkResponse = oci_common_2.composeResponse({
1148
+ responseObject: {},
1149
+ body: yield response.json(),
1150
+ bodyKey: "dataSciencePrivateEndpoint",
1151
+ bodyModel: model.DataSciencePrivateEndpoint,
1152
+ type: "model.DataSciencePrivateEndpoint",
1153
+ responseHeaders: [
1154
+ {
1155
+ value: response.headers.get("etag"),
1156
+ key: "etag",
1157
+ dataType: "string"
1158
+ },
1159
+ {
1160
+ value: response.headers.get("opc-request-id"),
1161
+ key: "opcRequestId",
1162
+ dataType: "string"
1163
+ },
1164
+ {
1165
+ value: response.headers.get("opc-work-request-id"),
1166
+ key: "opcWorkRequestId",
1167
+ dataType: "string"
1168
+ },
1169
+ {
1170
+ value: response.headers.get("Location"),
1171
+ key: "location",
1172
+ dataType: "string"
1173
+ }
1174
+ ]
1175
+ });
1176
+ return sdkResponse;
1177
+ }
1178
+ catch (err) {
1179
+ throw err;
1180
+ }
1181
+ });
1182
+ }
1046
1183
  /**
1047
1184
  * Creates a job.
1048
1185
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1049
1186
  * @param CreateJobRequest
1050
1187
  * @return CreateJobResponse
1051
1188
  * @throws OciError when an error occurs
1052
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
1189
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateJob.ts.html |here} to see how to use CreateJob API.
1053
1190
  */
1054
1191
  createJob(createJobRequest) {
1055
1192
  return __awaiter(this, void 0, void 0, function* () {
@@ -1112,7 +1249,7 @@ class DataScienceClient {
1112
1249
  * @param CreateJobArtifactRequest
1113
1250
  * @return CreateJobArtifactResponse
1114
1251
  * @throws OciError when an error occurs
1115
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
1252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateJobArtifact.ts.html |here} to see how to use CreateJobArtifact API.
1116
1253
  */
1117
1254
  createJobArtifact(createJobArtifactRequest) {
1118
1255
  return __awaiter(this, void 0, void 0, function* () {
@@ -1175,7 +1312,7 @@ class DataScienceClient {
1175
1312
  * @param CreateJobRunRequest
1176
1313
  * @return CreateJobRunResponse
1177
1314
  * @throws OciError when an error occurs
1178
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
1315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateJobRun.ts.html |here} to see how to use CreateJobRun API.
1179
1316
  */
1180
1317
  createJobRun(createJobRunRequest) {
1181
1318
  return __awaiter(this, void 0, void 0, function* () {
@@ -1238,7 +1375,7 @@ class DataScienceClient {
1238
1375
  * @param CreateModelRequest
1239
1376
  * @return CreateModelResponse
1240
1377
  * @throws OciError when an error occurs
1241
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
1378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateModel.ts.html |here} to see how to use CreateModel API.
1242
1379
  */
1243
1380
  createModel(createModelRequest) {
1244
1381
  return __awaiter(this, void 0, void 0, function* () {
@@ -1301,7 +1438,7 @@ class DataScienceClient {
1301
1438
  * @param CreateModelArtifactRequest
1302
1439
  * @return CreateModelArtifactResponse
1303
1440
  * @throws OciError when an error occurs
1304
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
1441
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateModelArtifact.ts.html |here} to see how to use CreateModelArtifact API.
1305
1442
  */
1306
1443
  createModelArtifact(createModelArtifactRequest) {
1307
1444
  return __awaiter(this, void 0, void 0, function* () {
@@ -1365,7 +1502,7 @@ class DataScienceClient {
1365
1502
  * @param CreateModelDeploymentRequest
1366
1503
  * @return CreateModelDeploymentResponse
1367
1504
  * @throws OciError when an error occurs
1368
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
1505
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateModelDeployment.ts.html |here} to see how to use CreateModelDeployment API.
1369
1506
  */
1370
1507
  createModelDeployment(createModelDeploymentRequest) {
1371
1508
  return __awaiter(this, void 0, void 0, function* () {
@@ -1438,7 +1575,7 @@ class DataScienceClient {
1438
1575
  * @param CreateModelProvenanceRequest
1439
1576
  * @return CreateModelProvenanceResponse
1440
1577
  * @throws OciError when an error occurs
1441
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
1578
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateModelProvenance.ts.html |here} to see how to use CreateModelProvenance API.
1442
1579
  */
1443
1580
  createModelProvenance(createModelProvenanceRequest) {
1444
1581
  return __awaiter(this, void 0, void 0, function* () {
@@ -1503,7 +1640,7 @@ class DataScienceClient {
1503
1640
  * @param CreateModelVersionSetRequest
1504
1641
  * @return CreateModelVersionSetResponse
1505
1642
  * @throws OciError when an error occurs
1506
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateModelVersionSet.ts.html |here} to see how to use CreateModelVersionSet API.
1643
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateModelVersionSet.ts.html |here} to see how to use CreateModelVersionSet API.
1507
1644
  */
1508
1645
  createModelVersionSet(createModelVersionSetRequest) {
1509
1646
  return __awaiter(this, void 0, void 0, function* () {
@@ -1566,7 +1703,7 @@ class DataScienceClient {
1566
1703
  * @param CreateNotebookSessionRequest
1567
1704
  * @return CreateNotebookSessionResponse
1568
1705
  * @throws OciError when an error occurs
1569
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
1706
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateNotebookSession.ts.html |here} to see how to use CreateNotebookSession API.
1570
1707
  */
1571
1708
  createNotebookSession(createNotebookSessionRequest) {
1572
1709
  return __awaiter(this, void 0, void 0, function* () {
@@ -1640,7 +1777,7 @@ class DataScienceClient {
1640
1777
  * @param CreatePipelineRequest
1641
1778
  * @return CreatePipelineResponse
1642
1779
  * @throws OciError when an error occurs
1643
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreatePipeline.ts.html |here} to see how to use CreatePipeline API.
1780
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreatePipeline.ts.html |here} to see how to use CreatePipeline API.
1644
1781
  */
1645
1782
  createPipeline(createPipelineRequest) {
1646
1783
  return __awaiter(this, void 0, void 0, function* () {
@@ -1704,7 +1841,7 @@ class DataScienceClient {
1704
1841
  * @param CreatePipelineRunRequest
1705
1842
  * @return CreatePipelineRunResponse
1706
1843
  * @throws OciError when an error occurs
1707
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreatePipelineRun.ts.html |here} to see how to use CreatePipelineRun API.
1844
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreatePipelineRun.ts.html |here} to see how to use CreatePipelineRun API.
1708
1845
  */
1709
1846
  createPipelineRun(createPipelineRunRequest) {
1710
1847
  return __awaiter(this, void 0, void 0, function* () {
@@ -1772,7 +1909,7 @@ class DataScienceClient {
1772
1909
  * @param CreateProjectRequest
1773
1910
  * @return CreateProjectResponse
1774
1911
  * @throws OciError when an error occurs
1775
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
1912
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateProject.ts.html |here} to see how to use CreateProject API.
1776
1913
  */
1777
1914
  createProject(createProjectRequest) {
1778
1915
  return __awaiter(this, void 0, void 0, function* () {
@@ -1835,7 +1972,7 @@ class DataScienceClient {
1835
1972
  * @param CreateStepArtifactRequest
1836
1973
  * @return CreateStepArtifactResponse
1837
1974
  * @throws OciError when an error occurs
1838
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/CreateStepArtifact.ts.html |here} to see how to use CreateStepArtifact API.
1975
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/CreateStepArtifact.ts.html |here} to see how to use CreateStepArtifact API.
1839
1976
  */
1840
1977
  createStepArtifact(createStepArtifactRequest) {
1841
1978
  return __awaiter(this, void 0, void 0, function* () {
@@ -1894,7 +2031,7 @@ class DataScienceClient {
1894
2031
  * @param DeactivateModelRequest
1895
2032
  * @return DeactivateModelResponse
1896
2033
  * @throws OciError when an error occurs
1897
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
2034
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeactivateModel.ts.html |here} to see how to use DeactivateModel API.
1898
2035
  */
1899
2036
  deactivateModel(deactivateModelRequest) {
1900
2037
  return __awaiter(this, void 0, void 0, function* () {
@@ -1958,7 +2095,7 @@ class DataScienceClient {
1958
2095
  * @param DeactivateModelDeploymentRequest
1959
2096
  * @return DeactivateModelDeploymentResponse
1960
2097
  * @throws OciError when an error occurs
1961
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
2098
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeactivateModelDeployment.ts.html |here} to see how to use DeactivateModelDeployment API.
1962
2099
  */
1963
2100
  deactivateModelDeployment(deactivateModelDeploymentRequest) {
1964
2101
  return __awaiter(this, void 0, void 0, function* () {
@@ -2018,7 +2155,7 @@ class DataScienceClient {
2018
2155
  * @param DeactivateNotebookSessionRequest
2019
2156
  * @return DeactivateNotebookSessionResponse
2020
2157
  * @throws OciError when an error occurs
2021
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
2158
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeactivateNotebookSession.ts.html |here} to see how to use DeactivateNotebookSession API.
2022
2159
  */
2023
2160
  deactivateNotebookSession(deactivateNotebookSessionRequest) {
2024
2161
  return __awaiter(this, void 0, void 0, function* () {
@@ -2072,13 +2209,74 @@ class DataScienceClient {
2072
2209
  }
2073
2210
  });
2074
2211
  }
2212
+ /**
2213
+ * Deletes a private endpoint using `privateEndpointId`.
2214
+ *
2215
+ * This operation does not retry by default if the user has not defined a retry configuration.
2216
+ * @param DeleteDataSciencePrivateEndpointRequest
2217
+ * @return DeleteDataSciencePrivateEndpointResponse
2218
+ * @throws OciError when an error occurs
2219
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteDataSciencePrivateEndpoint.ts.html |here} to see how to use DeleteDataSciencePrivateEndpoint API.
2220
+ */
2221
+ deleteDataSciencePrivateEndpoint(deleteDataSciencePrivateEndpointRequest) {
2222
+ return __awaiter(this, void 0, void 0, function* () {
2223
+ if (this.logger)
2224
+ this.logger.debug("Calling operation DataScienceClient#deleteDataSciencePrivateEndpoint.");
2225
+ const operationName = "deleteDataSciencePrivateEndpoint";
2226
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/DataSciencePrivateEndpoint/DeleteDataSciencePrivateEndpoint";
2227
+ const pathParams = {
2228
+ "{dataSciencePrivateEndpointId}": deleteDataSciencePrivateEndpointRequest.dataSciencePrivateEndpointId
2229
+ };
2230
+ const queryParams = {};
2231
+ let headerParams = {
2232
+ "Content-Type": common.Constants.APPLICATION_JSON,
2233
+ "opc-request-id": deleteDataSciencePrivateEndpointRequest.opcRequestId,
2234
+ "if-match": deleteDataSciencePrivateEndpointRequest.ifMatch
2235
+ };
2236
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2237
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDataSciencePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
2238
+ if (this.logger)
2239
+ retrier.logger = this.logger;
2240
+ const request = yield oci_common_2.composeRequest({
2241
+ baseEndpoint: this._endpoint,
2242
+ defaultHeaders: this._defaultHeaders,
2243
+ path: "/dataSciencePrivateEndpoints/{dataSciencePrivateEndpointId}",
2244
+ method: "DELETE",
2245
+ pathParams: pathParams,
2246
+ headerParams: headerParams,
2247
+ queryParams: queryParams
2248
+ });
2249
+ try {
2250
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2251
+ const sdkResponse = oci_common_2.composeResponse({
2252
+ responseObject: {},
2253
+ responseHeaders: [
2254
+ {
2255
+ value: response.headers.get("opc-request-id"),
2256
+ key: "opcRequestId",
2257
+ dataType: "string"
2258
+ },
2259
+ {
2260
+ value: response.headers.get("opc-work-request-id"),
2261
+ key: "opcWorkRequestId",
2262
+ dataType: "string"
2263
+ }
2264
+ ]
2265
+ });
2266
+ return sdkResponse;
2267
+ }
2268
+ catch (err) {
2269
+ throw err;
2270
+ }
2271
+ });
2272
+ }
2075
2273
  /**
2076
2274
  * Deletes a job.
2077
2275
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2078
2276
  * @param DeleteJobRequest
2079
2277
  * @return DeleteJobResponse
2080
2278
  * @throws OciError when an error occurs
2081
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
2279
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteJob.ts.html |here} to see how to use DeleteJob API.
2082
2280
  */
2083
2281
  deleteJob(deleteJobRequest) {
2084
2282
  return __awaiter(this, void 0, void 0, function* () {
@@ -2140,7 +2338,7 @@ class DataScienceClient {
2140
2338
  * @param DeleteJobRunRequest
2141
2339
  * @return DeleteJobRunResponse
2142
2340
  * @throws OciError when an error occurs
2143
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
2341
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteJobRun.ts.html |here} to see how to use DeleteJobRun API.
2144
2342
  */
2145
2343
  deleteJobRun(deleteJobRunRequest) {
2146
2344
  return __awaiter(this, void 0, void 0, function* () {
@@ -2195,7 +2393,7 @@ class DataScienceClient {
2195
2393
  * @param DeleteModelRequest
2196
2394
  * @return DeleteModelResponse
2197
2395
  * @throws OciError when an error occurs
2198
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
2396
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteModel.ts.html |here} to see how to use DeleteModel API.
2199
2397
  */
2200
2398
  deleteModel(deleteModelRequest) {
2201
2399
  return __awaiter(this, void 0, void 0, function* () {
@@ -2250,7 +2448,7 @@ class DataScienceClient {
2250
2448
  * @param DeleteModelDeploymentRequest
2251
2449
  * @return DeleteModelDeploymentResponse
2252
2450
  * @throws OciError when an error occurs
2253
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
2451
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteModelDeployment.ts.html |here} to see how to use DeleteModelDeployment API.
2254
2452
  */
2255
2453
  deleteModelDeployment(deleteModelDeploymentRequest) {
2256
2454
  return __awaiter(this, void 0, void 0, function* () {
@@ -2310,7 +2508,7 @@ class DataScienceClient {
2310
2508
  * @param DeleteModelVersionSetRequest
2311
2509
  * @return DeleteModelVersionSetResponse
2312
2510
  * @throws OciError when an error occurs
2313
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteModelVersionSet.ts.html |here} to see how to use DeleteModelVersionSet API.
2511
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteModelVersionSet.ts.html |here} to see how to use DeleteModelVersionSet API.
2314
2512
  */
2315
2513
  deleteModelVersionSet(deleteModelVersionSetRequest) {
2316
2514
  return __awaiter(this, void 0, void 0, function* () {
@@ -2372,7 +2570,7 @@ class DataScienceClient {
2372
2570
  * @param DeleteNotebookSessionRequest
2373
2571
  * @return DeleteNotebookSessionResponse
2374
2572
  * @throws OciError when an error occurs
2375
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
2573
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteNotebookSession.ts.html |here} to see how to use DeleteNotebookSession API.
2376
2574
  */
2377
2575
  deleteNotebookSession(deleteNotebookSessionRequest) {
2378
2576
  return __awaiter(this, void 0, void 0, function* () {
@@ -2432,7 +2630,7 @@ class DataScienceClient {
2432
2630
  * @param DeletePipelineRequest
2433
2631
  * @return DeletePipelineResponse
2434
2632
  * @throws OciError when an error occurs
2435
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeletePipeline.ts.html |here} to see how to use DeletePipeline API.
2633
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeletePipeline.ts.html |here} to see how to use DeletePipeline API.
2436
2634
  */
2437
2635
  deletePipeline(deletePipelineRequest) {
2438
2636
  return __awaiter(this, void 0, void 0, function* () {
@@ -2495,7 +2693,7 @@ class DataScienceClient {
2495
2693
  * @param DeletePipelineRunRequest
2496
2694
  * @return DeletePipelineRunResponse
2497
2695
  * @throws OciError when an error occurs
2498
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeletePipelineRun.ts.html |here} to see how to use DeletePipelineRun API.
2696
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeletePipelineRun.ts.html |here} to see how to use DeletePipelineRun API.
2499
2697
  */
2500
2698
  deletePipelineRun(deletePipelineRunRequest) {
2501
2699
  return __awaiter(this, void 0, void 0, function* () {
@@ -2552,7 +2750,7 @@ class DataScienceClient {
2552
2750
  * @param DeleteProjectRequest
2553
2751
  * @return DeleteProjectResponse
2554
2752
  * @throws OciError when an error occurs
2555
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
2753
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/DeleteProject.ts.html |here} to see how to use DeleteProject API.
2556
2754
  */
2557
2755
  deleteProject(deleteProjectRequest) {
2558
2756
  return __awaiter(this, void 0, void 0, function* () {
@@ -2612,7 +2810,7 @@ class DataScienceClient {
2612
2810
  * @param ExportModelArtifactRequest
2613
2811
  * @return ExportModelArtifactResponse
2614
2812
  * @throws OciError when an error occurs
2615
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ExportModelArtifact.ts.html |here} to see how to use ExportModelArtifact API.
2813
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ExportModelArtifact.ts.html |here} to see how to use ExportModelArtifact API.
2616
2814
  */
2617
2815
  exportModelArtifact(exportModelArtifactRequest) {
2618
2816
  return __awaiter(this, void 0, void 0, function* () {
@@ -2668,13 +2866,77 @@ class DataScienceClient {
2668
2866
  }
2669
2867
  });
2670
2868
  }
2869
+ /**
2870
+ * Retrieves an private endpoint using a `privateEndpointId`.
2871
+ *
2872
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2873
+ * @param GetDataSciencePrivateEndpointRequest
2874
+ * @return GetDataSciencePrivateEndpointResponse
2875
+ * @throws OciError when an error occurs
2876
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetDataSciencePrivateEndpoint.ts.html |here} to see how to use GetDataSciencePrivateEndpoint API.
2877
+ */
2878
+ getDataSciencePrivateEndpoint(getDataSciencePrivateEndpointRequest) {
2879
+ return __awaiter(this, void 0, void 0, function* () {
2880
+ if (this.logger)
2881
+ this.logger.debug("Calling operation DataScienceClient#getDataSciencePrivateEndpoint.");
2882
+ const operationName = "getDataSciencePrivateEndpoint";
2883
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/DataSciencePrivateEndpoint/GetDataSciencePrivateEndpoint";
2884
+ const pathParams = {
2885
+ "{dataSciencePrivateEndpointId}": getDataSciencePrivateEndpointRequest.dataSciencePrivateEndpointId
2886
+ };
2887
+ const queryParams = {};
2888
+ let headerParams = {
2889
+ "Content-Type": common.Constants.APPLICATION_JSON,
2890
+ "opc-request-id": getDataSciencePrivateEndpointRequest.opcRequestId
2891
+ };
2892
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2893
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDataSciencePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
2894
+ if (this.logger)
2895
+ retrier.logger = this.logger;
2896
+ const request = yield oci_common_2.composeRequest({
2897
+ baseEndpoint: this._endpoint,
2898
+ defaultHeaders: this._defaultHeaders,
2899
+ path: "/dataSciencePrivateEndpoints/{dataSciencePrivateEndpointId}",
2900
+ method: "GET",
2901
+ pathParams: pathParams,
2902
+ headerParams: headerParams,
2903
+ queryParams: queryParams
2904
+ });
2905
+ try {
2906
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2907
+ const sdkResponse = oci_common_2.composeResponse({
2908
+ responseObject: {},
2909
+ body: yield response.json(),
2910
+ bodyKey: "dataSciencePrivateEndpoint",
2911
+ bodyModel: model.DataSciencePrivateEndpoint,
2912
+ type: "model.DataSciencePrivateEndpoint",
2913
+ responseHeaders: [
2914
+ {
2915
+ value: response.headers.get("etag"),
2916
+ key: "etag",
2917
+ dataType: "string"
2918
+ },
2919
+ {
2920
+ value: response.headers.get("opc-request-id"),
2921
+ key: "opcRequestId",
2922
+ dataType: "string"
2923
+ }
2924
+ ]
2925
+ });
2926
+ return sdkResponse;
2927
+ }
2928
+ catch (err) {
2929
+ throw err;
2930
+ }
2931
+ });
2932
+ }
2671
2933
  /**
2672
2934
  * Gets a job.
2673
2935
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2674
2936
  * @param GetJobRequest
2675
2937
  * @return GetJobResponse
2676
2938
  * @throws OciError when an error occurs
2677
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetJob.ts.html |here} to see how to use GetJob API.
2939
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetJob.ts.html |here} to see how to use GetJob API.
2678
2940
  */
2679
2941
  getJob(getJobRequest) {
2680
2942
  return __awaiter(this, void 0, void 0, function* () {
@@ -2737,7 +2999,7 @@ class DataScienceClient {
2737
2999
  * @param GetJobArtifactContentRequest
2738
3000
  * @return GetJobArtifactContentResponse
2739
3001
  * @throws OciError when an error occurs
2740
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
3002
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetJobArtifactContent.ts.html |here} to see how to use GetJobArtifactContent API.
2741
3003
  */
2742
3004
  getJobArtifactContent(getJobArtifactContentRequest) {
2743
3005
  return __awaiter(this, void 0, void 0, function* () {
@@ -2820,7 +3082,7 @@ class DataScienceClient {
2820
3082
  * @param GetJobRunRequest
2821
3083
  * @return GetJobRunResponse
2822
3084
  * @throws OciError when an error occurs
2823
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
3085
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetJobRun.ts.html |here} to see how to use GetJobRun API.
2824
3086
  */
2825
3087
  getJobRun(getJobRunRequest) {
2826
3088
  return __awaiter(this, void 0, void 0, function* () {
@@ -2883,7 +3145,7 @@ class DataScienceClient {
2883
3145
  * @param GetModelRequest
2884
3146
  * @return GetModelResponse
2885
3147
  * @throws OciError when an error occurs
2886
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetModel.ts.html |here} to see how to use GetModel API.
3148
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetModel.ts.html |here} to see how to use GetModel API.
2887
3149
  */
2888
3150
  getModel(getModelRequest) {
2889
3151
  return __awaiter(this, void 0, void 0, function* () {
@@ -2946,7 +3208,7 @@ class DataScienceClient {
2946
3208
  * @param GetModelArtifactContentRequest
2947
3209
  * @return GetModelArtifactContentResponse
2948
3210
  * @throws OciError when an error occurs
2949
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
3211
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetModelArtifactContent.ts.html |here} to see how to use GetModelArtifactContent API.
2950
3212
  */
2951
3213
  getModelArtifactContent(getModelArtifactContentRequest) {
2952
3214
  return __awaiter(this, void 0, void 0, function* () {
@@ -3029,7 +3291,7 @@ class DataScienceClient {
3029
3291
  * @param GetModelDeploymentRequest
3030
3292
  * @return GetModelDeploymentResponse
3031
3293
  * @throws OciError when an error occurs
3032
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
3294
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetModelDeployment.ts.html |here} to see how to use GetModelDeployment API.
3033
3295
  */
3034
3296
  getModelDeployment(getModelDeploymentRequest) {
3035
3297
  return __awaiter(this, void 0, void 0, function* () {
@@ -3092,7 +3354,7 @@ class DataScienceClient {
3092
3354
  * @param GetModelProvenanceRequest
3093
3355
  * @return GetModelProvenanceResponse
3094
3356
  * @throws OciError when an error occurs
3095
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
3357
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetModelProvenance.ts.html |here} to see how to use GetModelProvenance API.
3096
3358
  */
3097
3359
  getModelProvenance(getModelProvenanceRequest) {
3098
3360
  return __awaiter(this, void 0, void 0, function* () {
@@ -3155,7 +3417,7 @@ class DataScienceClient {
3155
3417
  * @param GetModelVersionSetRequest
3156
3418
  * @return GetModelVersionSetResponse
3157
3419
  * @throws OciError when an error occurs
3158
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetModelVersionSet.ts.html |here} to see how to use GetModelVersionSet API.
3420
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetModelVersionSet.ts.html |here} to see how to use GetModelVersionSet API.
3159
3421
  */
3160
3422
  getModelVersionSet(getModelVersionSetRequest) {
3161
3423
  return __awaiter(this, void 0, void 0, function* () {
@@ -3218,7 +3480,7 @@ class DataScienceClient {
3218
3480
  * @param GetNotebookSessionRequest
3219
3481
  * @return GetNotebookSessionResponse
3220
3482
  * @throws OciError when an error occurs
3221
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
3483
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetNotebookSession.ts.html |here} to see how to use GetNotebookSession API.
3222
3484
  */
3223
3485
  getNotebookSession(getNotebookSessionRequest) {
3224
3486
  return __awaiter(this, void 0, void 0, function* () {
@@ -3281,7 +3543,7 @@ class DataScienceClient {
3281
3543
  * @param GetPipelineRequest
3282
3544
  * @return GetPipelineResponse
3283
3545
  * @throws OciError when an error occurs
3284
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetPipeline.ts.html |here} to see how to use GetPipeline API.
3546
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetPipeline.ts.html |here} to see how to use GetPipeline API.
3285
3547
  */
3286
3548
  getPipeline(getPipelineRequest) {
3287
3549
  return __awaiter(this, void 0, void 0, function* () {
@@ -3344,7 +3606,7 @@ class DataScienceClient {
3344
3606
  * @param GetPipelineRunRequest
3345
3607
  * @return GetPipelineRunResponse
3346
3608
  * @throws OciError when an error occurs
3347
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetPipelineRun.ts.html |here} to see how to use GetPipelineRun API.
3609
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetPipelineRun.ts.html |here} to see how to use GetPipelineRun API.
3348
3610
  */
3349
3611
  getPipelineRun(getPipelineRunRequest) {
3350
3612
  return __awaiter(this, void 0, void 0, function* () {
@@ -3407,7 +3669,7 @@ class DataScienceClient {
3407
3669
  * @param GetProjectRequest
3408
3670
  * @return GetProjectResponse
3409
3671
  * @throws OciError when an error occurs
3410
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetProject.ts.html |here} to see how to use GetProject API.
3672
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetProject.ts.html |here} to see how to use GetProject API.
3411
3673
  */
3412
3674
  getProject(getProjectRequest) {
3413
3675
  return __awaiter(this, void 0, void 0, function* () {
@@ -3470,7 +3732,7 @@ class DataScienceClient {
3470
3732
  * @param GetStepArtifactContentRequest
3471
3733
  * @return GetStepArtifactContentResponse
3472
3734
  * @throws OciError when an error occurs
3473
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetStepArtifactContent.ts.html |here} to see how to use GetStepArtifactContent API.
3735
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetStepArtifactContent.ts.html |here} to see how to use GetStepArtifactContent API.
3474
3736
  */
3475
3737
  getStepArtifactContent(getStepArtifactContentRequest) {
3476
3738
  return __awaiter(this, void 0, void 0, function* () {
@@ -3554,7 +3816,7 @@ class DataScienceClient {
3554
3816
  * @param GetWorkRequestRequest
3555
3817
  * @return GetWorkRequestResponse
3556
3818
  * @throws OciError when an error occurs
3557
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
3819
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
3558
3820
  */
3559
3821
  getWorkRequest(getWorkRequestRequest) {
3560
3822
  return __awaiter(this, void 0, void 0, function* () {
@@ -3622,7 +3884,7 @@ class DataScienceClient {
3622
3884
  * @param HeadJobArtifactRequest
3623
3885
  * @return HeadJobArtifactResponse
3624
3886
  * @throws OciError when an error occurs
3625
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
3887
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/HeadJobArtifact.ts.html |here} to see how to use HeadJobArtifact API.
3626
3888
  */
3627
3889
  headJobArtifact(headJobArtifactRequest) {
3628
3890
  return __awaiter(this, void 0, void 0, function* () {
@@ -3701,7 +3963,7 @@ class DataScienceClient {
3701
3963
  * @param HeadModelArtifactRequest
3702
3964
  * @return HeadModelArtifactResponse
3703
3965
  * @throws OciError when an error occurs
3704
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
3966
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/HeadModelArtifact.ts.html |here} to see how to use HeadModelArtifact API.
3705
3967
  */
3706
3968
  headModelArtifact(headModelArtifactRequest) {
3707
3969
  return __awaiter(this, void 0, void 0, function* () {
@@ -3780,7 +4042,7 @@ class DataScienceClient {
3780
4042
  * @param HeadStepArtifactRequest
3781
4043
  * @return HeadStepArtifactResponse
3782
4044
  * @throws OciError when an error occurs
3783
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/HeadStepArtifact.ts.html |here} to see how to use HeadStepArtifact API.
4045
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/HeadStepArtifact.ts.html |here} to see how to use HeadStepArtifact API.
3784
4046
  */
3785
4047
  headStepArtifact(headStepArtifactRequest) {
3786
4048
  return __awaiter(this, void 0, void 0, function* () {
@@ -3860,7 +4122,7 @@ class DataScienceClient {
3860
4122
  * @param ImportModelArtifactRequest
3861
4123
  * @return ImportModelArtifactResponse
3862
4124
  * @throws OciError when an error occurs
3863
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ImportModelArtifact.ts.html |here} to see how to use ImportModelArtifact API.
4125
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ImportModelArtifact.ts.html |here} to see how to use ImportModelArtifact API.
3864
4126
  */
3865
4127
  importModelArtifact(importModelArtifactRequest) {
3866
4128
  return __awaiter(this, void 0, void 0, function* () {
@@ -3915,13 +4177,130 @@ class DataScienceClient {
3915
4177
  }
3916
4178
  });
3917
4179
  }
4180
+ /**
4181
+ * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned.
4182
+ *
4183
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4184
+ * @param ListDataSciencePrivateEndpointsRequest
4185
+ * @return ListDataSciencePrivateEndpointsResponse
4186
+ * @throws OciError when an error occurs
4187
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListDataSciencePrivateEndpoints.ts.html |here} to see how to use ListDataSciencePrivateEndpoints API.
4188
+ */
4189
+ listDataSciencePrivateEndpoints(listDataSciencePrivateEndpointsRequest) {
4190
+ return __awaiter(this, void 0, void 0, function* () {
4191
+ if (this.logger)
4192
+ this.logger.debug("Calling operation DataScienceClient#listDataSciencePrivateEndpoints.");
4193
+ const operationName = "listDataSciencePrivateEndpoints";
4194
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/DataSciencePrivateEndpoint/ListDataSciencePrivateEndpoints";
4195
+ const pathParams = {};
4196
+ const queryParams = {
4197
+ "compartmentId": listDataSciencePrivateEndpointsRequest.compartmentId,
4198
+ "limit": listDataSciencePrivateEndpointsRequest.limit,
4199
+ "page": listDataSciencePrivateEndpointsRequest.page,
4200
+ "lifecycleState": listDataSciencePrivateEndpointsRequest.lifecycleState,
4201
+ "sortBy": listDataSciencePrivateEndpointsRequest.sortBy,
4202
+ "sortOrder": listDataSciencePrivateEndpointsRequest.sortOrder,
4203
+ "displayName": listDataSciencePrivateEndpointsRequest.displayName,
4204
+ "createdBy": listDataSciencePrivateEndpointsRequest.createdBy,
4205
+ "dataScienceResourceType": listDataSciencePrivateEndpointsRequest.dataScienceResourceType
4206
+ };
4207
+ let headerParams = {
4208
+ "Content-Type": common.Constants.APPLICATION_JSON,
4209
+ "opc-request-id": listDataSciencePrivateEndpointsRequest.opcRequestId
4210
+ };
4211
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4212
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDataSciencePrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
4213
+ if (this.logger)
4214
+ retrier.logger = this.logger;
4215
+ const request = yield oci_common_2.composeRequest({
4216
+ baseEndpoint: this._endpoint,
4217
+ defaultHeaders: this._defaultHeaders,
4218
+ path: "/dataSciencePrivateEndpoints",
4219
+ method: "GET",
4220
+ pathParams: pathParams,
4221
+ headerParams: headerParams,
4222
+ queryParams: queryParams
4223
+ });
4224
+ try {
4225
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4226
+ const sdkResponse = oci_common_2.composeResponse({
4227
+ responseObject: {},
4228
+ body: yield response.json(),
4229
+ bodyKey: "items",
4230
+ bodyModel: model.DataSciencePrivateEndpointSummary,
4231
+ type: "Array<model.DataSciencePrivateEndpointSummary>",
4232
+ responseHeaders: [
4233
+ {
4234
+ value: response.headers.get("opc-prev-page"),
4235
+ key: "opcPrevPage",
4236
+ dataType: "string"
4237
+ },
4238
+ {
4239
+ value: response.headers.get("opc-next-page"),
4240
+ key: "opcNextPage",
4241
+ dataType: "string"
4242
+ },
4243
+ {
4244
+ value: response.headers.get("opc-request-id"),
4245
+ key: "opcRequestId",
4246
+ dataType: "string"
4247
+ }
4248
+ ]
4249
+ });
4250
+ return sdkResponse;
4251
+ }
4252
+ catch (err) {
4253
+ throw err;
4254
+ }
4255
+ });
4256
+ }
4257
+ /**
4258
+ * NOTE: This function is deprecated in favor of listDataSciencePrivateEndpointsRecordIterator function.
4259
+ * Creates a new async iterator which will iterate over the models.DataSciencePrivateEndpointSummary objects
4260
+ * contained in responses from the listDataSciencePrivateEndpoints operation. This iterator will fetch more data from the
4261
+ * server as needed.
4262
+ *
4263
+ * @param request a request which can be sent to the service operation
4264
+ */
4265
+ listAllDataSciencePrivateEndpoints(request) {
4266
+ return oci_common_1.paginateRecords(request, req => this.listDataSciencePrivateEndpoints(req));
4267
+ }
4268
+ /**
4269
+ * NOTE: This function is deprecated in favor of listDataSciencePrivateEndpointsResponseIterator function.
4270
+ * Creates a new async iterator which will iterate over the responses received from the listDataSciencePrivateEndpoints operation. This iterator
4271
+ * will fetch more data from the server as needed.
4272
+ *
4273
+ * @param request a request which can be sent to the service operation
4274
+ */
4275
+ listAllDataSciencePrivateEndpointsResponses(request) {
4276
+ return oci_common_1.paginateResponses(request, req => this.listDataSciencePrivateEndpoints(req));
4277
+ }
4278
+ /**
4279
+ * Creates a new async iterator which will iterate over the models.DataSciencePrivateEndpointSummary objects
4280
+ * contained in responses from the listDataSciencePrivateEndpoints operation. This iterator will fetch more data from the
4281
+ * server as needed.
4282
+ *
4283
+ * @param request a request which can be sent to the service operation
4284
+ */
4285
+ listDataSciencePrivateEndpointsRecordIterator(request) {
4286
+ return oci_common_1.paginateRecords(request, req => this.listDataSciencePrivateEndpoints(req));
4287
+ }
4288
+ /**
4289
+ * Creates a new async iterator which will iterate over the responses received from the listDataSciencePrivateEndpoints operation. This iterator
4290
+ * will fetch more data from the server as needed.
4291
+ *
4292
+ * @param request a request which can be sent to the service operation
4293
+ */
4294
+ listDataSciencePrivateEndpointsResponseIterator(request) {
4295
+ return oci_common_1.paginateResponses(request, req => this.listDataSciencePrivateEndpoints(req));
4296
+ }
3918
4297
  /**
3919
4298
  * List fast launch capable job configs in the specified compartment.
3920
4299
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3921
4300
  * @param ListFastLaunchJobConfigsRequest
3922
4301
  * @return ListFastLaunchJobConfigsResponse
3923
4302
  * @throws OciError when an error occurs
3924
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListFastLaunchJobConfigs.ts.html |here} to see how to use ListFastLaunchJobConfigs API.
4303
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListFastLaunchJobConfigs.ts.html |here} to see how to use ListFastLaunchJobConfigs API.
3925
4304
  */
3926
4305
  listFastLaunchJobConfigs(listFastLaunchJobConfigsRequest) {
3927
4306
  return __awaiter(this, void 0, void 0, function* () {
@@ -4031,7 +4410,7 @@ class DataScienceClient {
4031
4410
  * @param ListJobRunsRequest
4032
4411
  * @return ListJobRunsResponse
4033
4412
  * @throws OciError when an error occurs
4034
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
4413
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
4035
4414
  */
4036
4415
  listJobRuns(listJobRunsRequest) {
4037
4416
  return __awaiter(this, void 0, void 0, function* () {
@@ -4148,7 +4527,7 @@ class DataScienceClient {
4148
4527
  * @param ListJobShapesRequest
4149
4528
  * @return ListJobShapesResponse
4150
4529
  * @throws OciError when an error occurs
4151
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
4530
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListJobShapes.ts.html |here} to see how to use ListJobShapes API.
4152
4531
  */
4153
4532
  listJobShapes(listJobShapesRequest) {
4154
4533
  return __awaiter(this, void 0, void 0, function* () {
@@ -4258,7 +4637,7 @@ class DataScienceClient {
4258
4637
  * @param ListJobsRequest
4259
4638
  * @return ListJobsResponse
4260
4639
  * @throws OciError when an error occurs
4261
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
4640
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListJobs.ts.html |here} to see how to use ListJobs API.
4262
4641
  */
4263
4642
  listJobs(listJobsRequest) {
4264
4643
  return __awaiter(this, void 0, void 0, function* () {
@@ -4375,7 +4754,7 @@ class DataScienceClient {
4375
4754
  * @param ListModelDeploymentShapesRequest
4376
4755
  * @return ListModelDeploymentShapesResponse
4377
4756
  * @throws OciError when an error occurs
4378
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
4757
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListModelDeploymentShapes.ts.html |here} to see how to use ListModelDeploymentShapes API.
4379
4758
  */
4380
4759
  listModelDeploymentShapes(listModelDeploymentShapesRequest) {
4381
4760
  return __awaiter(this, void 0, void 0, function* () {
@@ -4486,7 +4865,7 @@ class DataScienceClient {
4486
4865
  * @param ListModelDeploymentsRequest
4487
4866
  * @return ListModelDeploymentsResponse
4488
4867
  * @throws OciError when an error occurs
4489
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
4868
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListModelDeployments.ts.html |here} to see how to use ListModelDeployments API.
4490
4869
  */
4491
4870
  listModelDeployments(listModelDeploymentsRequest) {
4492
4871
  return __awaiter(this, void 0, void 0, function* () {
@@ -4603,7 +4982,7 @@ class DataScienceClient {
4603
4982
  * @param ListModelVersionSetsRequest
4604
4983
  * @return ListModelVersionSetsResponse
4605
4984
  * @throws OciError when an error occurs
4606
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListModelVersionSets.ts.html |here} to see how to use ListModelVersionSets API.
4985
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListModelVersionSets.ts.html |here} to see how to use ListModelVersionSets API.
4607
4986
  */
4608
4987
  listModelVersionSets(listModelVersionSetsRequest) {
4609
4988
  return __awaiter(this, void 0, void 0, function* () {
@@ -4720,7 +5099,7 @@ class DataScienceClient {
4720
5099
  * @param ListModelsRequest
4721
5100
  * @return ListModelsResponse
4722
5101
  * @throws OciError when an error occurs
4723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListModels.ts.html |here} to see how to use ListModels API.
5102
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListModels.ts.html |here} to see how to use ListModels API.
4724
5103
  */
4725
5104
  listModels(listModelsRequest) {
4726
5105
  return __awaiter(this, void 0, void 0, function* () {
@@ -4839,7 +5218,7 @@ class DataScienceClient {
4839
5218
  * @param ListNotebookSessionShapesRequest
4840
5219
  * @return ListNotebookSessionShapesResponse
4841
5220
  * @throws OciError when an error occurs
4842
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
5221
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListNotebookSessionShapes.ts.html |here} to see how to use ListNotebookSessionShapes API.
4843
5222
  */
4844
5223
  listNotebookSessionShapes(listNotebookSessionShapesRequest) {
4845
5224
  return __awaiter(this, void 0, void 0, function* () {
@@ -4949,7 +5328,7 @@ class DataScienceClient {
4949
5328
  * @param ListNotebookSessionsRequest
4950
5329
  * @return ListNotebookSessionsResponse
4951
5330
  * @throws OciError when an error occurs
4952
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
5331
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListNotebookSessions.ts.html |here} to see how to use ListNotebookSessions API.
4953
5332
  */
4954
5333
  listNotebookSessions(listNotebookSessionsRequest) {
4955
5334
  return __awaiter(this, void 0, void 0, function* () {
@@ -5066,7 +5445,7 @@ class DataScienceClient {
5066
5445
  * @param ListPipelineRunsRequest
5067
5446
  * @return ListPipelineRunsResponse
5068
5447
  * @throws OciError when an error occurs
5069
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListPipelineRuns.ts.html |here} to see how to use ListPipelineRuns API.
5448
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListPipelineRuns.ts.html |here} to see how to use ListPipelineRuns API.
5070
5449
  */
5071
5450
  listPipelineRuns(listPipelineRunsRequest) {
5072
5451
  return __awaiter(this, void 0, void 0, function* () {
@@ -5183,7 +5562,7 @@ class DataScienceClient {
5183
5562
  * @param ListPipelinesRequest
5184
5563
  * @return ListPipelinesResponse
5185
5564
  * @throws OciError when an error occurs
5186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListPipelines.ts.html |here} to see how to use ListPipelines API.
5565
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListPipelines.ts.html |here} to see how to use ListPipelines API.
5187
5566
  */
5188
5567
  listPipelines(listPipelinesRequest) {
5189
5568
  return __awaiter(this, void 0, void 0, function* () {
@@ -5300,7 +5679,7 @@ class DataScienceClient {
5300
5679
  * @param ListProjectsRequest
5301
5680
  * @return ListProjectsResponse
5302
5681
  * @throws OciError when an error occurs
5303
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
5682
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListProjects.ts.html |here} to see how to use ListProjects API.
5304
5683
  */
5305
5684
  listProjects(listProjectsRequest) {
5306
5685
  return __awaiter(this, void 0, void 0, function* () {
@@ -5416,7 +5795,7 @@ class DataScienceClient {
5416
5795
  * @param ListWorkRequestErrorsRequest
5417
5796
  * @return ListWorkRequestErrorsResponse
5418
5797
  * @throws OciError when an error occurs
5419
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
5798
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
5420
5799
  */
5421
5800
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
5422
5801
  return __awaiter(this, void 0, void 0, function* () {
@@ -5427,7 +5806,10 @@ class DataScienceClient {
5427
5806
  const pathParams = {
5428
5807
  "{workRequestId}": listWorkRequestErrorsRequest.workRequestId
5429
5808
  };
5430
- const queryParams = {};
5809
+ const queryParams = {
5810
+ "limit": listWorkRequestErrorsRequest.limit,
5811
+ "page": listWorkRequestErrorsRequest.page
5812
+ };
5431
5813
  let headerParams = {
5432
5814
  "Content-Type": common.Constants.APPLICATION_JSON,
5433
5815
  "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
@@ -5458,6 +5840,16 @@ class DataScienceClient {
5458
5840
  value: response.headers.get("opc-request-id"),
5459
5841
  key: "opcRequestId",
5460
5842
  dataType: "string"
5843
+ },
5844
+ {
5845
+ value: response.headers.get("opc-next-page"),
5846
+ key: "opcNextPage",
5847
+ dataType: "string"
5848
+ },
5849
+ {
5850
+ value: response.headers.get("opc-prev-page"),
5851
+ key: "opcPrevPage",
5852
+ dataType: "string"
5461
5853
  }
5462
5854
  ]
5463
5855
  });
@@ -5468,13 +5860,53 @@ class DataScienceClient {
5468
5860
  }
5469
5861
  });
5470
5862
  }
5863
+ /**
5864
+ * NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
5865
+ * Creates a new async iterator which will iterate over the models.WorkRequestError objects
5866
+ * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
5867
+ * server as needed.
5868
+ *
5869
+ * @param request a request which can be sent to the service operation
5870
+ */
5871
+ listAllWorkRequestErrors(request) {
5872
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
5873
+ }
5874
+ /**
5875
+ * NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
5876
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
5877
+ * will fetch more data from the server as needed.
5878
+ *
5879
+ * @param request a request which can be sent to the service operation
5880
+ */
5881
+ listAllWorkRequestErrorsResponses(request) {
5882
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
5883
+ }
5884
+ /**
5885
+ * Creates a new async iterator which will iterate over the models.WorkRequestError objects
5886
+ * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
5887
+ * server as needed.
5888
+ *
5889
+ * @param request a request which can be sent to the service operation
5890
+ */
5891
+ listWorkRequestErrorsRecordIterator(request) {
5892
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
5893
+ }
5894
+ /**
5895
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
5896
+ * will fetch more data from the server as needed.
5897
+ *
5898
+ * @param request a request which can be sent to the service operation
5899
+ */
5900
+ listWorkRequestErrorsResponseIterator(request) {
5901
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
5902
+ }
5471
5903
  /**
5472
5904
  * Lists work request logs for the specified work request.
5473
5905
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5474
5906
  * @param ListWorkRequestLogsRequest
5475
5907
  * @return ListWorkRequestLogsResponse
5476
5908
  * @throws OciError when an error occurs
5477
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
5909
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
5478
5910
  */
5479
5911
  listWorkRequestLogs(listWorkRequestLogsRequest) {
5480
5912
  return __awaiter(this, void 0, void 0, function* () {
@@ -5485,7 +5917,10 @@ class DataScienceClient {
5485
5917
  const pathParams = {
5486
5918
  "{workRequestId}": listWorkRequestLogsRequest.workRequestId
5487
5919
  };
5488
- const queryParams = {};
5920
+ const queryParams = {
5921
+ "limit": listWorkRequestLogsRequest.limit,
5922
+ "page": listWorkRequestLogsRequest.page
5923
+ };
5489
5924
  let headerParams = {
5490
5925
  "Content-Type": common.Constants.APPLICATION_JSON,
5491
5926
  "opc-request-id": listWorkRequestLogsRequest.opcRequestId
@@ -5516,6 +5951,16 @@ class DataScienceClient {
5516
5951
  value: response.headers.get("opc-request-id"),
5517
5952
  key: "opcRequestId",
5518
5953
  dataType: "string"
5954
+ },
5955
+ {
5956
+ value: response.headers.get("opc-next-page"),
5957
+ key: "opcNextPage",
5958
+ dataType: "string"
5959
+ },
5960
+ {
5961
+ value: response.headers.get("opc-prev-page"),
5962
+ key: "opcPrevPage",
5963
+ dataType: "string"
5519
5964
  }
5520
5965
  ]
5521
5966
  });
@@ -5526,13 +5971,53 @@ class DataScienceClient {
5526
5971
  }
5527
5972
  });
5528
5973
  }
5974
+ /**
5975
+ * NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
5976
+ * Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
5977
+ * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
5978
+ * server as needed.
5979
+ *
5980
+ * @param request a request which can be sent to the service operation
5981
+ */
5982
+ listAllWorkRequestLogs(request) {
5983
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
5984
+ }
5985
+ /**
5986
+ * NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
5987
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
5988
+ * will fetch more data from the server as needed.
5989
+ *
5990
+ * @param request a request which can be sent to the service operation
5991
+ */
5992
+ listAllWorkRequestLogsResponses(request) {
5993
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
5994
+ }
5995
+ /**
5996
+ * Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
5997
+ * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
5998
+ * server as needed.
5999
+ *
6000
+ * @param request a request which can be sent to the service operation
6001
+ */
6002
+ listWorkRequestLogsRecordIterator(request) {
6003
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
6004
+ }
6005
+ /**
6006
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
6007
+ * will fetch more data from the server as needed.
6008
+ *
6009
+ * @param request a request which can be sent to the service operation
6010
+ */
6011
+ listWorkRequestLogsResponseIterator(request) {
6012
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
6013
+ }
5529
6014
  /**
5530
6015
  * Lists work requests in the specified compartment.
5531
6016
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5532
6017
  * @param ListWorkRequestsRequest
5533
6018
  * @return ListWorkRequestsResponse
5534
6019
  * @throws OciError when an error occurs
5535
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
6020
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
5536
6021
  */
5537
6022
  listWorkRequests(listWorkRequestsRequest) {
5538
6023
  return __awaiter(this, void 0, void 0, function* () {
@@ -5641,13 +6126,86 @@ class DataScienceClient {
5641
6126
  listWorkRequestsResponseIterator(request) {
5642
6127
  return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
5643
6128
  }
6129
+ /**
6130
+ * Updates a private endpoint using a `privateEndpointId`. If changes to a private endpoint match
6131
+ * a previously defined private endpoint, then a 409 status code is returned. This indicates
6132
+ * that a conflict has been detected.
6133
+ *
6134
+ * This operation does not retry by default if the user has not defined a retry configuration.
6135
+ * @param UpdateDataSciencePrivateEndpointRequest
6136
+ * @return UpdateDataSciencePrivateEndpointResponse
6137
+ * @throws OciError when an error occurs
6138
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateDataSciencePrivateEndpoint.ts.html |here} to see how to use UpdateDataSciencePrivateEndpoint API.
6139
+ */
6140
+ updateDataSciencePrivateEndpoint(updateDataSciencePrivateEndpointRequest) {
6141
+ return __awaiter(this, void 0, void 0, function* () {
6142
+ if (this.logger)
6143
+ this.logger.debug("Calling operation DataScienceClient#updateDataSciencePrivateEndpoint.");
6144
+ const operationName = "updateDataSciencePrivateEndpoint";
6145
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/DataSciencePrivateEndpoint/UpdateDataSciencePrivateEndpoint";
6146
+ const pathParams = {
6147
+ "{dataSciencePrivateEndpointId}": updateDataSciencePrivateEndpointRequest.dataSciencePrivateEndpointId
6148
+ };
6149
+ const queryParams = {};
6150
+ let headerParams = {
6151
+ "Content-Type": common.Constants.APPLICATION_JSON,
6152
+ "opc-request-id": updateDataSciencePrivateEndpointRequest.opcRequestId,
6153
+ "if-match": updateDataSciencePrivateEndpointRequest.ifMatch
6154
+ };
6155
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6156
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDataSciencePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
6157
+ if (this.logger)
6158
+ retrier.logger = this.logger;
6159
+ const request = yield oci_common_2.composeRequest({
6160
+ baseEndpoint: this._endpoint,
6161
+ defaultHeaders: this._defaultHeaders,
6162
+ path: "/dataSciencePrivateEndpoints/{dataSciencePrivateEndpointId}",
6163
+ method: "PUT",
6164
+ bodyContent: common.ObjectSerializer.serialize(updateDataSciencePrivateEndpointRequest.updateDataSciencePrivateEndpointDetails, "UpdateDataSciencePrivateEndpointDetails", model.UpdateDataSciencePrivateEndpointDetails.getJsonObj),
6165
+ pathParams: pathParams,
6166
+ headerParams: headerParams,
6167
+ queryParams: queryParams
6168
+ });
6169
+ try {
6170
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6171
+ const sdkResponse = oci_common_2.composeResponse({
6172
+ responseObject: {},
6173
+ body: yield response.json(),
6174
+ bodyKey: "dataSciencePrivateEndpoint",
6175
+ bodyModel: model.DataSciencePrivateEndpoint,
6176
+ type: "model.DataSciencePrivateEndpoint",
6177
+ responseHeaders: [
6178
+ {
6179
+ value: response.headers.get("etag"),
6180
+ key: "etag",
6181
+ dataType: "string"
6182
+ },
6183
+ {
6184
+ value: response.headers.get("opc-request-id"),
6185
+ key: "opcRequestId",
6186
+ dataType: "string"
6187
+ },
6188
+ {
6189
+ value: response.headers.get("opc-work-request-id"),
6190
+ key: "opcWorkRequestId",
6191
+ dataType: "string"
6192
+ }
6193
+ ]
6194
+ });
6195
+ return sdkResponse;
6196
+ }
6197
+ catch (err) {
6198
+ throw err;
6199
+ }
6200
+ });
6201
+ }
5644
6202
  /**
5645
6203
  * Updates a job.
5646
6204
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5647
6205
  * @param UpdateJobRequest
5648
6206
  * @return UpdateJobResponse
5649
6207
  * @throws OciError when an error occurs
5650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
6208
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateJob.ts.html |here} to see how to use UpdateJob API.
5651
6209
  */
5652
6210
  updateJob(updateJobRequest) {
5653
6211
  return __awaiter(this, void 0, void 0, function* () {
@@ -5712,7 +6270,7 @@ class DataScienceClient {
5712
6270
  * @param UpdateJobRunRequest
5713
6271
  * @return UpdateJobRunResponse
5714
6272
  * @throws OciError when an error occurs
5715
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
6273
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateJobRun.ts.html |here} to see how to use UpdateJobRun API.
5716
6274
  */
5717
6275
  updateJobRun(updateJobRunRequest) {
5718
6276
  return __awaiter(this, void 0, void 0, function* () {
@@ -5777,7 +6335,7 @@ class DataScienceClient {
5777
6335
  * @param UpdateModelRequest
5778
6336
  * @return UpdateModelResponse
5779
6337
  * @throws OciError when an error occurs
5780
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
6338
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateModel.ts.html |here} to see how to use UpdateModel API.
5781
6339
  */
5782
6340
  updateModel(updateModelRequest) {
5783
6341
  return __awaiter(this, void 0, void 0, function* () {
@@ -5846,7 +6404,7 @@ class DataScienceClient {
5846
6404
  * @param UpdateModelDeploymentRequest
5847
6405
  * @return UpdateModelDeploymentResponse
5848
6406
  * @throws OciError when an error occurs
5849
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
6407
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateModelDeployment.ts.html |here} to see how to use UpdateModelDeployment API.
5850
6408
  */
5851
6409
  updateModelDeployment(updateModelDeploymentRequest) {
5852
6410
  return __awaiter(this, void 0, void 0, function* () {
@@ -5907,7 +6465,7 @@ class DataScienceClient {
5907
6465
  * @param UpdateModelProvenanceRequest
5908
6466
  * @return UpdateModelProvenanceResponse
5909
6467
  * @throws OciError when an error occurs
5910
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
6468
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateModelProvenance.ts.html |here} to see how to use UpdateModelProvenance API.
5911
6469
  */
5912
6470
  updateModelProvenance(updateModelProvenanceRequest) {
5913
6471
  return __awaiter(this, void 0, void 0, function* () {
@@ -5972,7 +6530,7 @@ class DataScienceClient {
5972
6530
  * @param UpdateModelVersionSetRequest
5973
6531
  * @return UpdateModelVersionSetResponse
5974
6532
  * @throws OciError when an error occurs
5975
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateModelVersionSet.ts.html |here} to see how to use UpdateModelVersionSet API.
6533
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateModelVersionSet.ts.html |here} to see how to use UpdateModelVersionSet API.
5976
6534
  */
5977
6535
  updateModelVersionSet(updateModelVersionSetRequest) {
5978
6536
  return __awaiter(this, void 0, void 0, function* () {
@@ -6040,7 +6598,7 @@ class DataScienceClient {
6040
6598
  * @param UpdateNotebookSessionRequest
6041
6599
  * @return UpdateNotebookSessionResponse
6042
6600
  * @throws OciError when an error occurs
6043
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
6601
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateNotebookSession.ts.html |here} to see how to use UpdateNotebookSession API.
6044
6602
  */
6045
6603
  updateNotebookSession(updateNotebookSessionRequest) {
6046
6604
  return __awaiter(this, void 0, void 0, function* () {
@@ -6105,7 +6663,7 @@ class DataScienceClient {
6105
6663
  * @param UpdatePipelineRequest
6106
6664
  * @return UpdatePipelineResponse
6107
6665
  * @throws OciError when an error occurs
6108
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdatePipeline.ts.html |here} to see how to use UpdatePipeline API.
6666
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdatePipeline.ts.html |here} to see how to use UpdatePipeline API.
6109
6667
  */
6110
6668
  updatePipeline(updatePipelineRequest) {
6111
6669
  return __awaiter(this, void 0, void 0, function* () {
@@ -6170,7 +6728,7 @@ class DataScienceClient {
6170
6728
  * @param UpdatePipelineRunRequest
6171
6729
  * @return UpdatePipelineRunResponse
6172
6730
  * @throws OciError when an error occurs
6173
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdatePipelineRun.ts.html |here} to see how to use UpdatePipelineRun API.
6731
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdatePipelineRun.ts.html |here} to see how to use UpdatePipelineRun API.
6174
6732
  */
6175
6733
  updatePipelineRun(updatePipelineRunRequest) {
6176
6734
  return __awaiter(this, void 0, void 0, function* () {
@@ -6235,7 +6793,7 @@ class DataScienceClient {
6235
6793
  * @param UpdateProjectRequest
6236
6794
  * @return UpdateProjectResponse
6237
6795
  * @throws OciError when an error occurs
6238
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.2/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
6796
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.70.4/datascience/UpdateProject.ts.html |here} to see how to use UpdateProject API.
6239
6797
  */
6240
6798
  updateProject(updateProjectRequest) {
6241
6799
  return __awaiter(this, void 0, void 0, function* () {