/**
 * Data Science API
 * Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).

 * OpenAPI spec version: 20190101
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import common = require ( "oci-common" ) ; import * as requests from "./request" ; import * as model from "./model" ; import * as responses from "./response" ; import { paginateRecords , paginateResponses } from "oci-common" ; import { DataScienceWaiter } from "./datascience-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum DataScienceApiKeys { } /**
 * This service client uses  common . CircuitBreaker . DefaultConfiguration for all the operations by default if no circuit breaker configuration is defined by the user.
  export class DataScienceClient { protected static serviceEndpointTemplate = "https://datascience.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : DataScienceWaiter ; protected "_clientConfiguration" : common . ClientConfiguration ; protected _circuitBreaker = null ; protected _httpClient : common . HttpClient ; constructor ( params , clientConfiguration ? ) { const requestSigner = params . authenticationDetailsProvider ? new common . DefaultRequestSigner ( params . authenticationDetailsProvider ) : null ; if ( clientConfiguration ) { this . _clientConfiguration = clientConfiguration ; this . _circuitBreaker = clientConfiguration . circuitBreaker ? clientConfiguration . circuitBreaker ! . circuit : null ; } const specCircuitBreakerEnabled = true ; if ( ! this . _circuitBreaker && common . utils . isCircuitBreakerSystemEnabled ( clientConfiguration ! ) && ( specCircuitBreakerEnabled || common . CircuitBreaker . DefaultCircuitBreakerOverriden ) ) { this . _circuitBreaker = new common . CircuitBreaker ( ) . circuit ; } this . _httpClient = params . httpClient || new common . FetchHttpClient ( requestSigner , this . _circuitBreaker ) ; if ( params . authenticationDetailsProvider && common . isRegionProvider ( params . authenticationDetailsProvider ) ) { const provider = params . authenticationDetailsProvider ; if ( provider . getRegion ( ) ) { this . region = provider . getRegion ( ) ; } } } /**
     * Get the endpoint that is being used to call (ex, https://www.example.com).
     */ public get endpoint ( ) { return this . _endpoint ; } param endpoint public set endpoint ( endpoint ) { this . _endpoint = endpoint ; this . _endpoint = this . _endpoint + "/20190101" ; if ( this . logger ) this . logger . info ( `DataScienceClient endpoint set to ${ this . _endpoint }` ) ; } public get logger ( ) { return common . LOG . logger ; } /**
     * Sets the region to call (ex, Region.US_PHOENIX_1).
     * Note, this will call  {@link #endpoint(String) endpoint} after resolving the endpoint.
     *  param region public set region ( region ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegion ( DataScienceClient . serviceEndpointTemplate , region ) ; } /**
     * Sets the regionId to call (ex, 'us-phoenix-1').
     *
     * Note, this will first try to map the region ID to a known Region and call  {@link #region(Region) region} .
     * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
     * and then call  {@link #endpoint(String) endpoint} .
     *  param regionId public set regionId ( regionId ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegionId ( DataScienceClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new DataScienceWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ActivateModelRequest return throws example Click  https to see how to use ActivateModel API.
      public async activateModel ( activateModelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#activateModel." ) ; const pathParams = { "{modelId}" : activateModelRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : activateModelRequest . ifMatch , "opc-request-id" : activateModelRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateModelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/actions/activate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateModelResponse > { } , body : await response . json ( ) , bodyKey : "model" , bodyModel : model . Model , type : "model.Model" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ActivateModelDeploymentRequest return throws example Click  https to see how to use ActivateModelDeployment API.
      public async activateModelDeployment ( activateModelDeploymentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#activateModelDeployment." ) ; const pathParams = { "{modelDeploymentId}" : activateModelDeploymentRequest . modelDeploymentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : activateModelDeploymentRequest . ifMatch , "opc-request-id" : activateModelDeploymentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateModelDeploymentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments/{modelDeploymentId}/actions/activate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateModelDeploymentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ActivateNotebookSessionRequest return throws example Click  https to see how to use ActivateNotebookSession API.
      public async activateNotebookSession ( activateNotebookSessionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#activateNotebookSession." ) ; const pathParams = { "{notebookSessionId}" : activateNotebookSessionRequest . notebookSessionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : activateNotebookSessionRequest . ifMatch , "opc-request-id" : activateNotebookSessionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , activateNotebookSessionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions/{notebookSessionId}/actions/activate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ActivateNotebookSessionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CancelJobRunRequest return throws example Click  https to see how to use CancelJobRun API.
      public async cancelJobRun ( cancelJobRunRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#cancelJobRun." ) ; const pathParams = { "{jobRunId}" : cancelJobRunRequest . jobRunId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : cancelJobRunRequest . opcRequestId , "if-match" : cancelJobRunRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , cancelJobRunRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns/{jobRunId}/actions/cancelJobRun" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CancelJobRunResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CancelWorkRequestRequest return throws example Click  https to see how to use CancelWorkRequest API.
      public async cancelWorkRequest ( cancelWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#cancelWorkRequest." ) ; const pathParams = { "{workRequestId}" : cancelWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : cancelWorkRequestRequest . ifMatch , "opc-request-id" : cancelWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , cancelWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CancelWorkRequestResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeJobCompartmentRequest return throws example Click  https to see how to use ChangeJobCompartment API.
      public async changeJobCompartment ( changeJobCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#changeJobCompartment." ) ; const pathParams = { "{jobId}" : changeJobCompartmentRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeJobCompartmentRequest . ifMatch , "opc-request-id" : changeJobCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeJobCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeJobCompartmentRequest . changeJobCompartmentDetails , "ChangeJobCompartmentDetails" , model . ChangeJobCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeJobCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeJobRunCompartmentRequest return throws example Click  https to see how to use ChangeJobRunCompartment API.
      public async changeJobRunCompartment ( changeJobRunCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#changeJobRunCompartment." ) ; const pathParams = { "{jobRunId}" : changeJobRunCompartmentRequest . jobRunId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeJobRunCompartmentRequest . ifMatch , "opc-request-id" : changeJobRunCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeJobRunCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns/{jobRunId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeJobRunCompartmentRequest . changeJobRunCompartmentDetails , "ChangeJobRunCompartmentDetails" , model . ChangeJobRunCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeJobRunCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeModelCompartmentRequest return throws example Click  https to see how to use ChangeModelCompartment API.
      public async changeModelCompartment ( changeModelCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#changeModelCompartment." ) ; const pathParams = { "{modelId}" : changeModelCompartmentRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeModelCompartmentRequest . ifMatch , "opc-request-id" : changeModelCompartmentRequest . opcRequestId , "opc-retry-token" : changeModelCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeModelCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeModelCompartmentRequest . changeModelCompartmentDetails , "ChangeModelCompartmentDetails" , model . ChangeModelCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeModelCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeModelDeploymentCompartmentRequest return throws example Click  https to see how to use ChangeModelDeploymentCompartment API.
      public async changeModelDeploymentCompartment ( changeModelDeploymentCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#changeModelDeploymentCompartment." ) ; const pathParams = { "{modelDeploymentId}" : changeModelDeploymentCompartmentRequest . modelDeploymentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeModelDeploymentCompartmentRequest . ifMatch , "opc-request-id" : changeModelDeploymentCompartmentRequest . opcRequestId , "opc-retry-token" : changeModelDeploymentCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeModelDeploymentCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments/{modelDeploymentId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeModelDeploymentCompartmentRequest . changeModelDeploymentCompartmentDetails , "ChangeModelDeploymentCompartmentDetails" , model . ChangeModelDeploymentCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeModelDeploymentCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeNotebookSessionCompartmentRequest return throws example Click  https to see how to use ChangeNotebookSessionCompartment API.
      public async changeNotebookSessionCompartment ( changeNotebookSessionCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#changeNotebookSessionCompartment." ) ; const pathParams = { "{notebookSessionId}" : changeNotebookSessionCompartmentRequest . notebookSessionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeNotebookSessionCompartmentRequest . ifMatch , "opc-request-id" : changeNotebookSessionCompartmentRequest . opcRequestId , "opc-retry-token" : changeNotebookSessionCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeNotebookSessionCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions/{notebookSessionId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeNotebookSessionCompartmentRequest . changeNotebookSessionCompartmentDetails , "ChangeNotebookSessionCompartmentDetails" , model . ChangeNotebookSessionCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeNotebookSessionCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeProjectCompartmentRequest return throws example Click  https to see how to use ChangeProjectCompartment API.
      public async changeProjectCompartment ( changeProjectCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#changeProjectCompartment." ) ; const pathParams = { "{projectId}" : changeProjectCompartmentRequest . projectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeProjectCompartmentRequest . ifMatch , "opc-request-id" : changeProjectCompartmentRequest . opcRequestId , "opc-retry-token" : changeProjectCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeProjectCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/projects/{projectId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeProjectCompartmentRequest . changeProjectCompartmentDetails , "ChangeProjectCompartmentDetails" , model . ChangeProjectCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeProjectCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateJobRequest return throws example Click  https to see how to use CreateJob API.
      public async createJob ( createJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createJob." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createJobRequest . opcRequestId , "opc-retry-token" : createJobRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createJobRequest . createJobDetails , "CreateJobDetails" , model . CreateJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateJobArtifactRequest return throws example Click  https to see how to use CreateJobArtifact API.
      public async createJobArtifact ( createJobArtifactRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createJobArtifact." ) ; const pathParams = { "{jobId}" : createJobArtifactRequest . jobId } ; const queryParams = { } ; let headerParams = { "opc-request-id" : createJobArtifactRequest . opcRequestId , "opc-retry-token" : createJobArtifactRequest . opcRetryToken , "content-length" : createJobArtifactRequest . contentLength , "content-disposition" : createJobArtifactRequest . contentDisposition } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createJobArtifactRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/artifact" , method : "POST" , bodyContent : createJobArtifactRequest . jobArtifact , pathParams : pathParams , headerParams : headerParams , backupBinaryBody : retrier . backUpBinaryBody , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request , true ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateJobArtifactResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateJobRunRequest return throws example Click  https to see how to use CreateJobRun API.
      public async createJobRun ( createJobRunRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createJobRun." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createJobRunRequest . opcRequestId , "opc-retry-token" : createJobRunRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createJobRunRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createJobRunRequest . createJobRunDetails , "CreateJobRunDetails" , model . CreateJobRunDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateJobRunResponse > { } , body : await response . json ( ) , bodyKey : "jobRun" , bodyModel : model . JobRun , type : "model.JobRun" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateModelRequest return throws example Click  https to see how to use CreateModel API.
      public async createModel ( createModelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createModel." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createModelRequest . opcRequestId , "opc-retry-token" : createModelRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createModelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createModelRequest . createModelDetails , "CreateModelDetails" , model . CreateModelDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateModelResponse > { } , body : await response . json ( ) , bodyKey : "model" , bodyModel : model . Model , type : "model.Model" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateModelArtifactRequest return throws example Click  https to see how to use CreateModelArtifact API.
      public async createModelArtifact ( createModelArtifactRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createModelArtifact." ) ; const pathParams = { "{modelId}" : createModelArtifactRequest . modelId } ; const queryParams = { } ; let headerParams = { "opc-request-id" : createModelArtifactRequest . opcRequestId , "opc-retry-token" : createModelArtifactRequest . opcRetryToken , "content-length" : createModelArtifactRequest . contentLength , "content-disposition" : createModelArtifactRequest . contentDisposition } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createModelArtifactRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/artifact" , method : "POST" , bodyContent : createModelArtifactRequest . modelArtifact , pathParams : pathParams , headerParams : headerParams , backupBinaryBody : retrier . backUpBinaryBody , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request , true ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateModelArtifactResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateModelDeploymentRequest return throws example Click  https to see how to use CreateModelDeployment API.
      public async createModelDeployment ( createModelDeploymentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createModelDeployment." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createModelDeploymentRequest . opcRequestId , "opc-retry-token" : createModelDeploymentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createModelDeploymentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createModelDeploymentRequest . createModelDeploymentDetails , "CreateModelDeploymentDetails" , model . CreateModelDeploymentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateModelDeploymentResponse > { } , body : await response . json ( ) , bodyKey : "modelDeployment" , bodyModel : model . ModelDeployment , type : "model.ModelDeployment" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateModelProvenanceRequest return throws example Click  https to see how to use CreateModelProvenance API.
      public async createModelProvenance ( createModelProvenanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createModelProvenance." ) ; const pathParams = { "{modelId}" : createModelProvenanceRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createModelProvenanceRequest . opcRequestId , "opc-retry-token" : createModelProvenanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createModelProvenanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/provenance" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createModelProvenanceRequest . createModelProvenanceDetails , "CreateModelProvenanceDetails" , model . CreateModelProvenanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateModelProvenanceResponse > { } , body : await response . json ( ) , bodyKey : "modelProvenance" , bodyModel : model . ModelProvenance , type : "model.ModelProvenance" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateNotebookSessionRequest return throws example Click  https to see how to use CreateNotebookSession API.
      public async createNotebookSession ( createNotebookSessionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createNotebookSession." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createNotebookSessionRequest . opcRequestId , "opc-retry-token" : createNotebookSessionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createNotebookSessionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createNotebookSessionRequest . createNotebookSessionDetails , "CreateNotebookSessionDetails" , model . CreateNotebookSessionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateNotebookSessionResponse > { } , body : await response . json ( ) , bodyKey : "notebookSession" , bodyModel : model . NotebookSession , type : "model.NotebookSession" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateProjectRequest return throws example Click  https to see how to use CreateProject API.
      public async createProject ( createProjectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#createProject." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createProjectRequest . opcRequestId , "opc-retry-token" : createProjectRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createProjectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/projects" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createProjectRequest . createProjectDetails , "CreateProjectDetails" , model . CreateProjectDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateProjectResponse > { } , body : await response . json ( ) , bodyKey : "project" , bodyModel : model . Project , type : "model.Project" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeactivateModelRequest return throws example Click  https to see how to use DeactivateModel API.
      public async deactivateModel ( deactivateModelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deactivateModel." ) ; const pathParams = { "{modelId}" : deactivateModelRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deactivateModelRequest . ifMatch , "opc-request-id" : deactivateModelRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deactivateModelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/actions/deactivate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeactivateModelResponse > { } , body : await response . json ( ) , bodyKey : "model" , bodyModel : model . Model , type : "model.Model" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeactivateModelDeploymentRequest return throws example Click  https to see how to use DeactivateModelDeployment API.
      public async deactivateModelDeployment ( deactivateModelDeploymentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deactivateModelDeployment." ) ; const pathParams = { "{modelDeploymentId}" : deactivateModelDeploymentRequest . modelDeploymentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deactivateModelDeploymentRequest . ifMatch , "opc-request-id" : deactivateModelDeploymentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deactivateModelDeploymentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments/{modelDeploymentId}/actions/deactivate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeactivateModelDeploymentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeactivateNotebookSessionRequest return throws example Click  https to see how to use DeactivateNotebookSession API.
      public async deactivateNotebookSession ( deactivateNotebookSessionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deactivateNotebookSession." ) ; const pathParams = { "{notebookSessionId}" : deactivateNotebookSessionRequest . notebookSessionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deactivateNotebookSessionRequest . ifMatch , "opc-request-id" : deactivateNotebookSessionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deactivateNotebookSessionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions/{notebookSessionId}/actions/deactivate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeactivateNotebookSessionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteJobRequest return throws example Click  https to see how to use DeleteJob API.
      public async deleteJob ( deleteJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deleteJob." ) ; const pathParams = { "{jobId}" : deleteJobRequest . jobId } ; const queryParams = { "deleteRelatedJobRuns" : deleteJobRequest . deleteRelatedJobRuns } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteJobRequest . ifMatch , "opc-request-id" : deleteJobRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteJobResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteJobRunRequest return throws example Click  https to see how to use DeleteJobRun API.
      public async deleteJobRun ( deleteJobRunRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deleteJobRun." ) ; const pathParams = { "{jobRunId}" : deleteJobRunRequest . jobRunId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteJobRunRequest . ifMatch , "opc-request-id" : deleteJobRunRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteJobRunRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns/{jobRunId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteJobRunResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteModelRequest return throws example Click  https to see how to use DeleteModel API.
      public async deleteModel ( deleteModelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deleteModel." ) ; const pathParams = { "{modelId}" : deleteModelRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteModelRequest . ifMatch , "opc-request-id" : deleteModelRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteModelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteModelResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteModelDeploymentRequest return throws example Click  https to see how to use DeleteModelDeployment API.
      public async deleteModelDeployment ( deleteModelDeploymentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deleteModelDeployment." ) ; const pathParams = { "{modelDeploymentId}" : deleteModelDeploymentRequest . modelDeploymentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteModelDeploymentRequest . ifMatch , "opc-request-id" : deleteModelDeploymentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteModelDeploymentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments/{modelDeploymentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteModelDeploymentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteNotebookSessionRequest return throws example Click  https to see how to use DeleteNotebookSession API.
      public async deleteNotebookSession ( deleteNotebookSessionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deleteNotebookSession." ) ; const pathParams = { "{notebookSessionId}" : deleteNotebookSessionRequest . notebookSessionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteNotebookSessionRequest . ifMatch , "opc-request-id" : deleteNotebookSessionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteNotebookSessionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions/{notebookSessionId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteNotebookSessionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteProjectRequest return throws example Click  https to see how to use DeleteProject API.
      public async deleteProject ( deleteProjectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#deleteProject." ) ; const pathParams = { "{projectId}" : deleteProjectRequest . projectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteProjectRequest . ifMatch , "opc-request-id" : deleteProjectRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteProjectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/projects/{projectId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteProjectResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobRequest return throws example Click  https to see how to use GetJob API.
      public async getJob ( getJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getJob." ) ; const pathParams = { "{jobId}" : getJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobArtifactContentRequest return throws example Click  https to see how to use GetJobArtifactContent API.
      public async getJobArtifactContent ( getJobArtifactContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getJobArtifactContent." ) ; const pathParams = { "{jobId}" : getJobArtifactContentRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobArtifactContentRequest . opcRequestId , "range" : getJobArtifactContentRequest . range } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobArtifactContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/artifact/content" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobArtifactContentResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } , { value : response . headers . get ( "content-md5" ) , key : "contentMd5" , dataType : "string" } , { value : response . headers . get ( "last-modified" ) , key : "lastModified" , dataType : "Date" } , { value : response . headers . get ( "content-disposition" ) , key : "contentDisposition" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobRunRequest return throws example Click  https to see how to use GetJobRun API.
      public async getJobRun ( getJobRunRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getJobRun." ) ; const pathParams = { "{jobRunId}" : getJobRunRequest . jobRunId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobRunRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobRunRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns/{jobRunId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobRunResponse > { } , body : await response . json ( ) , bodyKey : "jobRun" , bodyModel : model . JobRun , type : "model.JobRun" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetModelRequest return throws example Click  https to see how to use GetModel API.
      public async getModel ( getModelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getModel." ) ; const pathParams = { "{modelId}" : getModelRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getModelRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getModelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetModelResponse > { } , body : await response . json ( ) , bodyKey : "model" , bodyModel : model . Model , type : "model.Model" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetModelArtifactContentRequest return throws example Click  https to see how to use GetModelArtifactContent API.
      public async getModelArtifactContent ( getModelArtifactContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getModelArtifactContent." ) ; const pathParams = { "{modelId}" : getModelArtifactContentRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getModelArtifactContentRequest . opcRequestId , "range" : getModelArtifactContentRequest . range } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getModelArtifactContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/artifact/content" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetModelArtifactContentResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } , { value : response . headers . get ( "content-disposition" ) , key : "contentDisposition" , dataType : "string" } , { value : response . headers . get ( "content-md5" ) , key : "contentMd5" , dataType : "string" } , { value : response . headers . get ( "last-modified" ) , key : "lastModified" , dataType : "Date" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetModelDeploymentRequest return throws example Click  https to see how to use GetModelDeployment API.
      public async getModelDeployment ( getModelDeploymentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getModelDeployment." ) ; const pathParams = { "{modelDeploymentId}" : getModelDeploymentRequest . modelDeploymentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getModelDeploymentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getModelDeploymentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments/{modelDeploymentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetModelDeploymentResponse > { } , body : await response . json ( ) , bodyKey : "modelDeployment" , bodyModel : model . ModelDeployment , type : "model.ModelDeployment" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetModelProvenanceRequest return throws example Click  https to see how to use GetModelProvenance API.
      public async getModelProvenance ( getModelProvenanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getModelProvenance." ) ; const pathParams = { "{modelId}" : getModelProvenanceRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getModelProvenanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getModelProvenanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/provenance" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetModelProvenanceResponse > { } , body : await response . json ( ) , bodyKey : "modelProvenance" , bodyModel : model . ModelProvenance , type : "model.ModelProvenance" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetNotebookSessionRequest return throws example Click  https to see how to use GetNotebookSession API.
      public async getNotebookSession ( getNotebookSessionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getNotebookSession." ) ; const pathParams = { "{notebookSessionId}" : getNotebookSessionRequest . notebookSessionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getNotebookSessionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getNotebookSessionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions/{notebookSessionId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetNotebookSessionResponse > { } , body : await response . json ( ) , bodyKey : "notebookSession" , bodyModel : model . NotebookSession , type : "model.NotebookSession" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetProjectRequest return throws example Click  https to see how to use GetProject API.
      public async getProject ( getProjectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getProject." ) ; const pathParams = { "{projectId}" : getProjectRequest . projectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getProjectRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getProjectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/projects/{projectId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetProjectResponse > { } , body : await response . json ( ) , bodyKey : "project" , bodyModel : model . Project , type : "model.Project" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWorkRequestRequest return throws example Click  https to see how to use GetWorkRequest API.
      public async getWorkRequest ( getWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param HeadJobArtifactRequest return throws example Click  https to see how to use HeadJobArtifact API.
      public async headJobArtifact ( headJobArtifactRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#headJobArtifact." ) ; const pathParams = { "{jobId}" : headJobArtifactRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : headJobArtifactRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , headJobArtifactRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/artifact/content" , method : "HEAD" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . HeadJobArtifactResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } , { value : response . headers . get ( "content-md5" ) , key : "contentMd5" , dataType : "string" } , { value : response . headers . get ( "content-disposition" ) , key : "contentDisposition" , dataType : "string" } , { value : response . headers . get ( "last-modified" ) , key : "lastModified" , dataType : "Date" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param HeadModelArtifactRequest return throws example Click  https to see how to use HeadModelArtifact API.
      public async headModelArtifact ( headModelArtifactRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#headModelArtifact." ) ; const pathParams = { "{modelId}" : headModelArtifactRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : headModelArtifactRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , headModelArtifactRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/artifact/content" , method : "HEAD" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . HeadModelArtifactResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "content-length" ) , key : "contentLength" , dataType : "number" } , { value : response . headers . get ( "content-disposition" ) , key : "contentDisposition" , dataType : "string" } , { value : response . headers . get ( "content-md5" ) , key : "contentMd5" , dataType : "string" } , { value : response . headers . get ( "last-modified" ) , key : "lastModified" , dataType : "Date" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListJobRunsRequest return throws example Click  https to see how to use ListJobRuns API.
      public async listJobRuns ( listJobRunsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listJobRuns." ) ; const pathParams = { } ; const queryParams = { "id" : listJobRunsRequest . id , "jobId" : listJobRunsRequest . jobId , "compartmentId" : listJobRunsRequest . compartmentId , "createdBy" : listJobRunsRequest . createdBy , "displayName" : listJobRunsRequest . displayName , "limit" : listJobRunsRequest . limit , "page" : listJobRunsRequest . page , "sortOrder" : listJobRunsRequest . sortOrder , "sortBy" : listJobRunsRequest . sortBy , "lifecycleState" : listJobRunsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobRunsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobRunsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobRunsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . JobRunSummary , type : "Array<model.JobRunSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllJobRuns ( request ) { return paginateRecords ( request , req => this . listJobRuns ( req ) ) ; } param request public listAllJobRunsResponses ( request ) { return paginateResponses ( request , req => this . listJobRuns ( req ) ) ; } param request public listJobRunsRecordIterator ( request ) { return paginateRecords ( request , req => this . listJobRuns ( req ) ) ; } param request public listJobRunsResponseIterator ( request ) { return paginateResponses ( request , req => this . listJobRuns ( req ) ) ; } param ListJobShapesRequest return throws example Click  https to see how to use ListJobShapes API.
      public async listJobShapes ( listJobShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listJobShapes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listJobShapesRequest . compartmentId , "limit" : listJobShapesRequest . limit , "page" : listJobShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . JobShapeSummary , type : "Array<model.JobShapeSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllJobShapes ( request ) { return paginateRecords ( request , req => this . listJobShapes ( req ) ) ; } param request public listAllJobShapesResponses ( request ) { return paginateResponses ( request , req => this . listJobShapes ( req ) ) ; } param request public listJobShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listJobShapes ( req ) ) ; } param request public listJobShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listJobShapes ( req ) ) ; } param ListJobsRequest return throws example Click  https to see how to use ListJobs API.
      public async listJobs ( listJobsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listJobs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listJobsRequest . compartmentId , "projectId" : listJobsRequest . projectId , "id" : listJobsRequest . id , "displayName" : listJobsRequest . displayName , "lifecycleState" : listJobsRequest . lifecycleState , "createdBy" : listJobsRequest . createdBy , "limit" : listJobsRequest . limit , "page" : listJobsRequest . page , "sortOrder" : listJobsRequest . sortOrder , "sortBy" : listJobsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . JobSummary , type : "Array<model.JobSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllJobs ( request ) { return paginateRecords ( request , req => this . listJobs ( req ) ) ; } param request public listAllJobsResponses ( request ) { return paginateResponses ( request , req => this . listJobs ( req ) ) ; } param request public listJobsRecordIterator ( request ) { return paginateRecords ( request , req => this . listJobs ( req ) ) ; } param request public listJobsResponseIterator ( request ) { return paginateResponses ( request , req => this . listJobs ( req ) ) ; } param ListModelDeploymentShapesRequest return throws example Click  https to see how to use ListModelDeploymentShapes API.
      public async listModelDeploymentShapes ( listModelDeploymentShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listModelDeploymentShapes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listModelDeploymentShapesRequest . compartmentId , "limit" : listModelDeploymentShapesRequest . limit , "page" : listModelDeploymentShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listModelDeploymentShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listModelDeploymentShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeploymentShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListModelDeploymentShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ModelDeploymentShapeSummary , type : "Array<model.ModelDeploymentShapeSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllModelDeploymentShapes ( request ) { return paginateRecords ( request , req => this . listModelDeploymentShapes ( req ) ) ; } param request public listAllModelDeploymentShapesResponses ( request ) { return paginateResponses ( request , req => this . listModelDeploymentShapes ( req ) ) ; } param request public listModelDeploymentShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listModelDeploymentShapes ( req ) ) ; } param request public listModelDeploymentShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listModelDeploymentShapes ( req ) ) ; } param ListModelDeploymentsRequest return throws example Click  https to see how to use ListModelDeployments API.
      public async listModelDeployments ( listModelDeploymentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listModelDeployments." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listModelDeploymentsRequest . compartmentId , "id" : listModelDeploymentsRequest . id , "projectId" : listModelDeploymentsRequest . projectId , "displayName" : listModelDeploymentsRequest . displayName , "lifecycleState" : listModelDeploymentsRequest . lifecycleState , "createdBy" : listModelDeploymentsRequest . createdBy , "limit" : listModelDeploymentsRequest . limit , "page" : listModelDeploymentsRequest . page , "sortOrder" : listModelDeploymentsRequest . sortOrder , "sortBy" : listModelDeploymentsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listModelDeploymentsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listModelDeploymentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListModelDeploymentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ModelDeploymentSummary , type : "Array<model.ModelDeploymentSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllModelDeployments ( request ) { return paginateRecords ( request , req => this . listModelDeployments ( req ) ) ; } param request public listAllModelDeploymentsResponses ( request ) { return paginateResponses ( request , req => this . listModelDeployments ( req ) ) ; } param request public listModelDeploymentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listModelDeployments ( req ) ) ; } param request public listModelDeploymentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listModelDeployments ( req ) ) ; } param ListModelsRequest return throws example Click  https to see how to use ListModels API.
      public async listModels ( listModelsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listModels." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listModelsRequest . compartmentId , "id" : listModelsRequest . id , "projectId" : listModelsRequest . projectId , "displayName" : listModelsRequest . displayName , "lifecycleState" : listModelsRequest . lifecycleState , "createdBy" : listModelsRequest . createdBy , "limit" : listModelsRequest . limit , "page" : listModelsRequest . page , "sortOrder" : listModelsRequest . sortOrder , "sortBy" : listModelsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listModelsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listModelsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListModelsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ModelSummary , type : "Array<model.ModelSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllModels ( request ) { return paginateRecords ( request , req => this . listModels ( req ) ) ; } param request public listAllModelsResponses ( request ) { return paginateResponses ( request , req => this . listModels ( req ) ) ; } param request public listModelsRecordIterator ( request ) { return paginateRecords ( request , req => this . listModels ( req ) ) ; } param request public listModelsResponseIterator ( request ) { return paginateResponses ( request , req => this . listModels ( req ) ) ; } param ListNotebookSessionShapesRequest return throws example Click  https to see how to use ListNotebookSessionShapes API.
      public async listNotebookSessionShapes ( listNotebookSessionShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listNotebookSessionShapes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listNotebookSessionShapesRequest . compartmentId , "limit" : listNotebookSessionShapesRequest . limit , "page" : listNotebookSessionShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listNotebookSessionShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNotebookSessionShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessionShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNotebookSessionShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . NotebookSessionShapeSummary , type : "Array<model.NotebookSessionShapeSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllNotebookSessionShapes ( request ) { return paginateRecords ( request , req => this . listNotebookSessionShapes ( req ) ) ; } param request public listAllNotebookSessionShapesResponses ( request ) { return paginateResponses ( request , req => this . listNotebookSessionShapes ( req ) ) ; } param request public listNotebookSessionShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listNotebookSessionShapes ( req ) ) ; } param request public listNotebookSessionShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listNotebookSessionShapes ( req ) ) ; } param ListNotebookSessionsRequest return throws example Click  https to see how to use ListNotebookSessions API.
      public async listNotebookSessions ( listNotebookSessionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listNotebookSessions." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listNotebookSessionsRequest . compartmentId , "id" : listNotebookSessionsRequest . id , "projectId" : listNotebookSessionsRequest . projectId , "displayName" : listNotebookSessionsRequest . displayName , "lifecycleState" : listNotebookSessionsRequest . lifecycleState , "createdBy" : listNotebookSessionsRequest . createdBy , "limit" : listNotebookSessionsRequest . limit , "page" : listNotebookSessionsRequest . page , "sortOrder" : listNotebookSessionsRequest . sortOrder , "sortBy" : listNotebookSessionsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listNotebookSessionsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNotebookSessionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNotebookSessionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . NotebookSessionSummary , type : "Array<model.NotebookSessionSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllNotebookSessions ( request ) { return paginateRecords ( request , req => this . listNotebookSessions ( req ) ) ; } param request public listAllNotebookSessionsResponses ( request ) { return paginateResponses ( request , req => this . listNotebookSessions ( req ) ) ; } param request public listNotebookSessionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listNotebookSessions ( req ) ) ; } param request public listNotebookSessionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listNotebookSessions ( req ) ) ; } param ListProjectsRequest return throws example Click  https to see how to use ListProjects API.
      public async listProjects ( listProjectsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listProjects." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listProjectsRequest . compartmentId , "id" : listProjectsRequest . id , "displayName" : listProjectsRequest . displayName , "lifecycleState" : listProjectsRequest . lifecycleState , "createdBy" : listProjectsRequest . createdBy , "limit" : listProjectsRequest . limit , "page" : listProjectsRequest . page , "sortOrder" : listProjectsRequest . sortOrder , "sortBy" : listProjectsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listProjectsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listProjectsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/projects" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListProjectsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ProjectSummary , type : "Array<model.ProjectSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllProjects ( request ) { return paginateRecords ( request , req => this . listProjects ( req ) ) ; } param request public listAllProjectsResponses ( request ) { return paginateResponses ( request , req => this . listProjects ( req ) ) ; } param request public listProjectsRecordIterator ( request ) { return paginateRecords ( request , req => this . listProjects ( req ) ) ; } param request public listProjectsResponseIterator ( request ) { return paginateResponses ( request , req => this . listProjects ( req ) ) ; } param ListWorkRequestErrorsRequest return throws example Click  https to see how to use ListWorkRequestErrors API.
      public async listWorkRequestErrors ( listWorkRequestErrorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestError , type : "Array<model.WorkRequestError>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListWorkRequestLogsRequest return throws example Click  https to see how to use ListWorkRequestLogs API.
      public async listWorkRequestLogs ( listWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestLogEntry , type : "Array<model.WorkRequestLogEntry>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListWorkRequestsRequest return throws example Click  https to see how to use ListWorkRequests API.
      public async listWorkRequests ( listWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "id" : listWorkRequestsRequest . id , "operationType" : listWorkRequestsRequest . operationType , "status" : listWorkRequestsRequest . status , "limit" : listWorkRequestsRequest . limit , "page" : listWorkRequestsRequest . page , "sortOrder" : listWorkRequestsRequest . sortOrder , "sortBy" : listWorkRequestsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestSummary , type : "Array<model.WorkRequestSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-prev-page" ) , key : "opcPrevPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequests ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listAllWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param UpdateJobRequest return throws example Click  https to see how to use UpdateJob API.
      public async updateJob ( updateJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateJob." ) ; const pathParams = { "{jobId}" : updateJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateJobRequest . opcRequestId , "if-match" : updateJobRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateJobRequest . updateJobDetails , "UpdateJobDetails" , model . UpdateJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateJobRunRequest return throws example Click  https to see how to use UpdateJobRun API.
      public async updateJobRun ( updateJobRunRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateJobRun." ) ; const pathParams = { "{jobRunId}" : updateJobRunRequest . jobRunId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateJobRunRequest . opcRequestId , "if-match" : updateJobRunRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateJobRunRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns/{jobRunId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateJobRunRequest . updateJobRunDetails , "UpdateJobRunDetails" , model . UpdateJobRunDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateJobRunResponse > { } , body : await response . json ( ) , bodyKey : "jobRun" , bodyModel : model . JobRun , type : "model.JobRun" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateModelRequest return throws example Click  https to see how to use UpdateModel API.
      public async updateModel ( updateModelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateModel." ) ; const pathParams = { "{modelId}" : updateModelRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateModelRequest . ifMatch , "opc-request-id" : updateModelRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateModelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateModelRequest . updateModelDetails , "UpdateModelDetails" , model . UpdateModelDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateModelResponse > { } , body : await response . json ( ) , bodyKey : "model" , bodyModel : model . Model , type : "model.Model" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateModelDeploymentRequest return throws example Click  https to see how to use UpdateModelDeployment API.
      public async updateModelDeployment ( updateModelDeploymentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateModelDeployment." ) ; const pathParams = { "{modelDeploymentId}" : updateModelDeploymentRequest . modelDeploymentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateModelDeploymentRequest . ifMatch , "opc-request-id" : updateModelDeploymentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateModelDeploymentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/modelDeployments/{modelDeploymentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateModelDeploymentRequest . updateModelDeploymentDetails , "UpdateModelDeploymentDetails" , model . UpdateModelDeploymentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateModelDeploymentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateModelProvenanceRequest return throws example Click  https to see how to use UpdateModelProvenance API.
      public async updateModelProvenance ( updateModelProvenanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateModelProvenance." ) ; const pathParams = { "{modelId}" : updateModelProvenanceRequest . modelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateModelProvenanceRequest . opcRequestId , "if-match" : updateModelProvenanceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateModelProvenanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/models/{modelId}/provenance" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateModelProvenanceRequest . updateModelProvenanceDetails , "UpdateModelProvenanceDetails" , model . UpdateModelProvenanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateModelProvenanceResponse > { } , body : await response . json ( ) , bodyKey : "modelProvenance" , bodyModel : model . ModelProvenance , type : "model.ModelProvenance" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateNotebookSessionRequest return throws example Click  https to see how to use UpdateNotebookSession API.
      public async updateNotebookSession ( updateNotebookSessionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateNotebookSession." ) ; const pathParams = { "{notebookSessionId}" : updateNotebookSessionRequest . notebookSessionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateNotebookSessionRequest . ifMatch , "opc-request-id" : updateNotebookSessionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateNotebookSessionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/notebookSessions/{notebookSessionId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateNotebookSessionRequest . updateNotebookSessionDetails , "UpdateNotebookSessionDetails" , model . UpdateNotebookSessionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateNotebookSessionResponse > { } , body : await response . json ( ) , bodyKey : "notebookSession" , bodyModel : model . NotebookSession , type : "model.NotebookSession" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateProjectRequest return throws example Click  https to see how to use UpdateProject API.
      public async updateProject ( updateProjectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DataScienceClient#updateProject." ) ; const pathParams = { "{projectId}" : updateProjectRequest . projectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateProjectRequest . ifMatch , "opc-request-id" : updateProjectRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateProjectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/projects/{projectId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateProjectRequest . updateProjectDetails , "UpdateProjectDetails" , model . UpdateProjectDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateProjectResponse > { } , body : await response . json ( ) , bodyKey : "project" , bodyModel : model . Project , type : "model.Project" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } }