@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class DataScienceClient extends BaseSyncClient implements DataScience
Modifier and Type | Class and Description |
---|---|
static class |
DataScienceClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for DataScience.
|
Constructor and Description |
---|
DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for DataScience.
public final String clientCommonLibraryVersion
@Deprecated public DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- DataScienceClient.Builder.executorService
public static DataScienceClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
DataScience
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this Region, however, an
IllegalArgumentException will be raised.
setRegion
in interface DataScience
region
- The region of the service.public void setRegion(String regionId)
DataScience
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
setRegion
in interface DataScience
regionId
- The public region ID.public ActivateModelResponse activateModel(ActivateModelRequest request)
DataScience
Activates the model.
activateModel
in interface DataScience
request
- The request object containing the details to sendpublic ActivateModelDeploymentResponse activateModelDeployment(ActivateModelDeploymentRequest request)
DataScience
Activates the model deployment.
activateModelDeployment
in interface DataScience
request
- The request object containing the details to sendpublic ActivateNotebookSessionResponse activateNotebookSession(ActivateNotebookSessionRequest request)
DataScience
Activates the notebook session.
activateNotebookSession
in interface DataScience
request
- The request object containing the details to sendpublic CancelJobRunResponse cancelJobRun(CancelJobRunRequest request)
DataScience
Cancels an IN_PROGRESS job run.
cancelJobRun
in interface DataScience
request
- The request object containing the details to sendpublic CancelPipelineRunResponse cancelPipelineRun(CancelPipelineRunRequest request)
DataScience
Cancel a PipelineRun.
cancelPipelineRun
in interface DataScience
request
- The request object containing the details to sendpublic CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
DataScience
Cancels a work request that has not started.
cancelWorkRequest
in interface DataScience
request
- The request object containing the details to sendpublic ChangeDataSciencePrivateEndpointCompartmentResponse changeDataSciencePrivateEndpointCompartment(ChangeDataSciencePrivateEndpointCompartmentRequest request)
DataScience
Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeDataSciencePrivateEndpointCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeJobCompartmentResponse changeJobCompartment(ChangeJobCompartmentRequest request)
DataScience
Changes a job’s compartment
changeJobCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeJobRunCompartmentResponse changeJobRunCompartment(ChangeJobRunCompartmentRequest request)
DataScience
Changes a job run’s compartment
changeJobRunCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeModelCompartmentResponse changeModelCompartment(ChangeModelCompartmentRequest request)
DataScience
Moves a model resource into a different compartment.
changeModelCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeModelDeploymentCompartmentResponse changeModelDeploymentCompartment(ChangeModelDeploymentCompartmentRequest request)
DataScience
Moves a model deployment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeModelDeploymentCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeModelVersionSetCompartmentResponse changeModelVersionSetCompartment(ChangeModelVersionSetCompartmentRequest request)
DataScience
Moves a modelVersionSet resource into a different compartment.
changeModelVersionSetCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeNotebookSessionCompartmentResponse changeNotebookSessionCompartment(ChangeNotebookSessionCompartmentRequest request)
DataScience
Moves a notebook session resource into a different compartment.
changeNotebookSessionCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangePipelineCompartmentResponse changePipelineCompartment(ChangePipelineCompartmentRequest request)
DataScience
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changePipelineCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangePipelineRunCompartmentResponse changePipelineRunCompartment(ChangePipelineRunCompartmentRequest request)
DataScience
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changePipelineRunCompartment
in interface DataScience
request
- The request object containing the details to sendpublic ChangeProjectCompartmentResponse changeProjectCompartment(ChangeProjectCompartmentRequest request)
DataScience
Moves a project resource into a different compartment.
changeProjectCompartment
in interface DataScience
request
- The request object containing the details to sendpublic CreateDataSciencePrivateEndpointResponse createDataSciencePrivateEndpoint(CreateDataSciencePrivateEndpointRequest request)
DataScience
Creates a Data Science private endpoint to be used by a Data Science resource.
createDataSciencePrivateEndpoint
in interface DataScience
request
- The request object containing the details to sendpublic CreateJobResponse createJob(CreateJobRequest request)
DataScience
Creates a job.
createJob
in interface DataScience
request
- The request object containing the details to sendpublic CreateJobArtifactResponse createJobArtifact(CreateJobArtifactRequest request)
DataScience
Uploads a job artifact.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.reset()
, when a retry is necessary, the stream is reset so it starts at
the beginning (or whatever the stream's position was at the time this operation is called}.
Note this means that if the caller has used InputStream.mark(int)
before,
then the mark will not be the same anymore after this operation, and a subsequent call to
InputStream.reset()
by the caller will reset the stream not to the caller's
mark, but to the position the stream was in when this operation was called.
If the stream is a FileInputStream
, and the stream's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be
buffered in memory, as described below.
If the stream does not support InputStream.mark(int)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, which means the entire contents may be buffered in memory. Then
the same procedure as above is followed.
The contents of the stream, except when the stream is a FileInputStream
whose FileChannel
position can be changed, should be less than 2
GiB in size if retries are used. This is because streams 2 GiB in size or larger do no
guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in
retries and manage retries yourself.
createJobArtifact
in interface DataScience
request
- The request object containing the details to sendpublic CreateJobRunResponse createJobRun(CreateJobRunRequest request)
DataScience
Creates a job run.
createJobRun
in interface DataScience
request
- The request object containing the details to sendpublic CreateModelResponse createModel(CreateModelRequest request)
DataScience
Creates a new model.
createModel
in interface DataScience
request
- The request object containing the details to sendpublic CreateModelArtifactResponse createModelArtifact(CreateModelArtifactRequest request)
DataScience
Creates model artifact for specified model.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.reset()
, when a retry is necessary, the stream is reset so it starts at
the beginning (or whatever the stream's position was at the time this operation is called}.
Note this means that if the caller has used InputStream.mark(int)
before,
then the mark will not be the same anymore after this operation, and a subsequent call to
InputStream.reset()
by the caller will reset the stream not to the caller's
mark, but to the position the stream was in when this operation was called.
If the stream is a FileInputStream
, and the stream's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be
buffered in memory, as described below.
If the stream does not support InputStream.mark(int)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, which means the entire contents may be buffered in memory. Then
the same procedure as above is followed.
The contents of the stream, except when the stream is a FileInputStream
whose FileChannel
position can be changed, should be less than 2
GiB in size if retries are used. This is because streams 2 GiB in size or larger do no
guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in
retries and manage retries yourself.
createModelArtifact
in interface DataScience
request
- The request object containing the details to sendpublic CreateModelDeploymentResponse createModelDeployment(CreateModelDeploymentRequest request)
DataScience
Creates a new model deployment.
createModelDeployment
in interface DataScience
request
- The request object containing the details to sendpublic CreateModelProvenanceResponse createModelProvenance(CreateModelProvenanceRequest request)
DataScience
Creates provenance information for the specified model.
createModelProvenance
in interface DataScience
request
- The request object containing the details to sendpublic CreateModelVersionSetResponse createModelVersionSet(CreateModelVersionSetRequest request)
DataScience
Creates a new modelVersionSet.
createModelVersionSet
in interface DataScience
request
- The request object containing the details to sendpublic CreateNotebookSessionResponse createNotebookSession(CreateNotebookSessionRequest request)
DataScience
Creates a new notebook session.
createNotebookSession
in interface DataScience
request
- The request object containing the details to sendpublic CreatePipelineResponse createPipeline(CreatePipelineRequest request)
DataScience
Creates a new Pipeline.
createPipeline
in interface DataScience
request
- The request object containing the details to sendpublic CreatePipelineRunResponse createPipelineRun(CreatePipelineRunRequest request)
DataScience
Creates a new PipelineRun.
createPipelineRun
in interface DataScience
request
- The request object containing the details to sendpublic CreateProjectResponse createProject(CreateProjectRequest request)
DataScience
Creates a new project.
createProject
in interface DataScience
request
- The request object containing the details to sendpublic CreateStepArtifactResponse createStepArtifact(CreateStepArtifactRequest request)
DataScience
Upload the artifact for a step in the pipeline.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.reset()
, when a retry is necessary, the stream is reset so it starts at
the beginning (or whatever the stream's position was at the time this operation is called}.
Note this means that if the caller has used InputStream.mark(int)
before,
then the mark will not be the same anymore after this operation, and a subsequent call to
InputStream.reset()
by the caller will reset the stream not to the caller's
mark, but to the position the stream was in when this operation was called.
If the stream is a FileInputStream
, and the stream's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be
buffered in memory, as described below.
If the stream does not support InputStream.mark(int)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, which means the entire contents may be buffered in memory. Then
the same procedure as above is followed.
The contents of the stream, except when the stream is a FileInputStream
whose FileChannel
position can be changed, should be less than 2
GiB in size if retries are used. This is because streams 2 GiB in size or larger do no
guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in
retries and manage retries yourself.
createStepArtifact
in interface DataScience
request
- The request object containing the details to sendpublic DeactivateModelResponse deactivateModel(DeactivateModelRequest request)
DataScience
Deactivates the model.
deactivateModel
in interface DataScience
request
- The request object containing the details to sendpublic DeactivateModelDeploymentResponse deactivateModelDeployment(DeactivateModelDeploymentRequest request)
DataScience
Deactivates the model deployment.
deactivateModelDeployment
in interface DataScience
request
- The request object containing the details to sendpublic DeactivateNotebookSessionResponse deactivateNotebookSession(DeactivateNotebookSessionRequest request)
DataScience
Deactivates the notebook session.
deactivateNotebookSession
in interface DataScience
request
- The request object containing the details to sendpublic DeleteDataSciencePrivateEndpointResponse deleteDataSciencePrivateEndpoint(DeleteDataSciencePrivateEndpointRequest request)
DataScience
Deletes a private endpoint using privateEndpointId
.
deleteDataSciencePrivateEndpoint
in interface DataScience
request
- The request object containing the details to sendpublic DeleteJobResponse deleteJob(DeleteJobRequest request)
DataScience
Deletes a job.
deleteJob
in interface DataScience
request
- The request object containing the details to sendpublic DeleteJobRunResponse deleteJobRun(DeleteJobRunRequest request)
DataScience
Deletes a job run.
deleteJobRun
in interface DataScience
request
- The request object containing the details to sendpublic DeleteModelResponse deleteModel(DeleteModelRequest request)
DataScience
Deletes the specified model.
deleteModel
in interface DataScience
request
- The request object containing the details to sendpublic DeleteModelDeploymentResponse deleteModelDeployment(DeleteModelDeploymentRequest request)
DataScience
Deletes the specified model deployment. Any unsaved work in this model deployment is lost.
deleteModelDeployment
in interface DataScience
request
- The request object containing the details to sendpublic DeleteModelVersionSetResponse deleteModelVersionSet(DeleteModelVersionSetRequest request)
DataScience
Deletes the specified modelVersionSet.
deleteModelVersionSet
in interface DataScience
request
- The request object containing the details to sendpublic DeleteNotebookSessionResponse deleteNotebookSession(DeleteNotebookSessionRequest request)
DataScience
Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
deleteNotebookSession
in interface DataScience
request
- The request object containing the details to sendpublic DeletePipelineResponse deletePipeline(DeletePipelineRequest request)
DataScience
Deletes a Pipeline resource by identifier.
deletePipeline
in interface DataScience
request
- The request object containing the details to sendpublic DeletePipelineRunResponse deletePipelineRun(DeletePipelineRunRequest request)
DataScience
Deletes a PipelineRun resource by identifier.
deletePipelineRun
in interface DataScience
request
- The request object containing the details to sendpublic DeleteProjectResponse deleteProject(DeleteProjectRequest request)
DataScience
Deletes the specified project. This operation fails unless all associated resources (notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
deleteProject
in interface DataScience
request
- The request object containing the details to sendpublic ExportModelArtifactResponse exportModelArtifact(ExportModelArtifactRequest request)
DataScience
Export model artifact from source to the service bucket
exportModelArtifact
in interface DataScience
request
- The request object containing the details to sendpublic GetDataSciencePrivateEndpointResponse getDataSciencePrivateEndpoint(GetDataSciencePrivateEndpointRequest request)
DataScience
Retrieves an private endpoint using a privateEndpointId
.
getDataSciencePrivateEndpoint
in interface DataScience
request
- The request object containing the details to sendpublic GetJobResponse getJob(GetJobRequest request)
DataScience
Gets a job.
getJob
in interface DataScience
request
- The request object containing the details to sendpublic GetJobArtifactContentResponse getJobArtifactContent(GetJobArtifactContentRequest request)
DataScience
Downloads job artifact content for specified job.
getJobArtifactContent
in interface DataScience
request
- The request object containing the details to sendpublic GetJobRunResponse getJobRun(GetJobRunRequest request)
DataScience
Gets a job run.
getJobRun
in interface DataScience
request
- The request object containing the details to sendpublic GetModelResponse getModel(GetModelRequest request)
DataScience
Gets the specified model’s information.
getModel
in interface DataScience
request
- The request object containing the details to sendpublic GetModelArtifactContentResponse getModelArtifactContent(GetModelArtifactContentRequest request)
DataScience
Downloads model artifact content for specified model.
getModelArtifactContent
in interface DataScience
request
- The request object containing the details to sendpublic GetModelDeploymentResponse getModelDeployment(GetModelDeploymentRequest request)
DataScience
Retrieves the model deployment for the specified modelDeploymentId
.
getModelDeployment
in interface DataScience
request
- The request object containing the details to sendpublic GetModelProvenanceResponse getModelProvenance(GetModelProvenanceRequest request)
DataScience
Gets provenance information for specified model.
getModelProvenance
in interface DataScience
request
- The request object containing the details to sendpublic GetModelVersionSetResponse getModelVersionSet(GetModelVersionSetRequest request)
DataScience
Gets the specified model version set information.
getModelVersionSet
in interface DataScience
request
- The request object containing the details to sendpublic GetNotebookSessionResponse getNotebookSession(GetNotebookSessionRequest request)
DataScience
Gets the specified notebook session’s information.
getNotebookSession
in interface DataScience
request
- The request object containing the details to sendpublic GetPipelineResponse getPipeline(GetPipelineRequest request)
DataScience
Gets a Pipeline by identifier.
getPipeline
in interface DataScience
request
- The request object containing the details to sendpublic GetPipelineRunResponse getPipelineRun(GetPipelineRunRequest request)
DataScience
Gets a PipelineRun by identifier.
getPipelineRun
in interface DataScience
request
- The request object containing the details to sendpublic GetProjectResponse getProject(GetProjectRequest request)
DataScience
Gets the specified project’s information.
getProject
in interface DataScience
request
- The request object containing the details to sendpublic GetStepArtifactContentResponse getStepArtifactContent(GetStepArtifactContentRequest request)
DataScience
Download the artifact for a step in the pipeline.
getStepArtifactContent
in interface DataScience
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
DataScience
Gets the specified work request’s information.
getWorkRequest
in interface DataScience
request
- The request object containing the details to sendpublic HeadJobArtifactResponse headJobArtifact(HeadJobArtifactRequest request)
DataScience
Gets job artifact metadata.
headJobArtifact
in interface DataScience
request
- The request object containing the details to sendpublic HeadModelArtifactResponse headModelArtifact(HeadModelArtifactRequest request)
DataScience
Gets model artifact metadata for specified model.
headModelArtifact
in interface DataScience
request
- The request object containing the details to sendpublic HeadStepArtifactResponse headStepArtifact(HeadStepArtifactRequest request)
DataScience
Get the artifact metadata for a step in the pipeline.
headStepArtifact
in interface DataScience
request
- The request object containing the details to sendpublic ImportModelArtifactResponse importModelArtifact(ImportModelArtifactRequest request)
DataScience
Import model artifact from service bucket
importModelArtifact
in interface DataScience
request
- The request object containing the details to sendpublic ListDataSciencePrivateEndpointsResponse listDataSciencePrivateEndpoints(ListDataSciencePrivateEndpointsRequest request)
DataScience
Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn’t include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned.
listDataSciencePrivateEndpoints
in interface DataScience
request
- The request object containing the details to sendpublic ListFastLaunchJobConfigsResponse listFastLaunchJobConfigs(ListFastLaunchJobConfigsRequest request)
DataScience
List fast launch capable job configs in the specified compartment.
listFastLaunchJobConfigs
in interface DataScience
request
- The request object containing the details to sendpublic ListJobRunsResponse listJobRuns(ListJobRunsRequest request)
DataScience
List out job runs.
listJobRuns
in interface DataScience
request
- The request object containing the details to sendpublic ListJobShapesResponse listJobShapes(ListJobShapesRequest request)
DataScience
List job shapes available in the specified compartment.
listJobShapes
in interface DataScience
request
- The request object containing the details to sendpublic ListJobsResponse listJobs(ListJobsRequest request)
DataScience
List jobs in the specified compartment.
listJobs
in interface DataScience
request
- The request object containing the details to sendpublic ListModelDeploymentShapesResponse listModelDeploymentShapes(ListModelDeploymentShapesRequest request)
DataScience
Lists the valid model deployment shapes.
listModelDeploymentShapes
in interface DataScience
request
- The request object containing the details to sendpublic ListModelDeploymentsResponse listModelDeployments(ListModelDeploymentsRequest request)
DataScience
Lists all model deployments in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
listModelDeployments
in interface DataScience
request
- The request object containing the details to sendpublic ListModelVersionSetsResponse listModelVersionSets(ListModelVersionSetsRequest request)
DataScience
Lists model version sets in the specified compartment.
listModelVersionSets
in interface DataScience
request
- The request object containing the details to sendpublic ListModelsResponse listModels(ListModelsRequest request)
DataScience
Lists models in the specified compartment.
listModels
in interface DataScience
request
- The request object containing the details to sendpublic ListNotebookSessionShapesResponse listNotebookSessionShapes(ListNotebookSessionShapesRequest request)
DataScience
Lists the valid notebook session shapes.
listNotebookSessionShapes
in interface DataScience
request
- The request object containing the details to sendpublic ListNotebookSessionsResponse listNotebookSessions(ListNotebookSessionsRequest request)
DataScience
Lists the notebook sessions in the specified compartment.
listNotebookSessions
in interface DataScience
request
- The request object containing the details to sendpublic ListPipelineRunsResponse listPipelineRuns(ListPipelineRunsRequest request)
DataScience
Returns a list of PipelineRuns.
listPipelineRuns
in interface DataScience
request
- The request object containing the details to sendpublic ListPipelinesResponse listPipelines(ListPipelinesRequest request)
DataScience
Returns a list of Pipelines.
listPipelines
in interface DataScience
request
- The request object containing the details to sendpublic ListProjectsResponse listProjects(ListProjectsRequest request)
DataScience
Lists projects in the specified compartment.
listProjects
in interface DataScience
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
DataScience
Lists work request errors for the specified work request.
listWorkRequestErrors
in interface DataScience
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
DataScience
Lists work request logs for the specified work request.
listWorkRequestLogs
in interface DataScience
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
DataScience
Lists work requests in the specified compartment.
listWorkRequests
in interface DataScience
request
- The request object containing the details to sendpublic RestoreArchivedModelArtifactResponse restoreArchivedModelArtifact(RestoreArchivedModelArtifactRequest request)
DataScience
Restore archived model artifact
restoreArchivedModelArtifact
in interface DataScience
request
- The request object containing the details to sendpublic UpdateDataSciencePrivateEndpointResponse updateDataSciencePrivateEndpoint(UpdateDataSciencePrivateEndpointRequest request)
DataScience
Updates a private endpoint using a privateEndpointId
. If changes to a private endpoint
match a previously defined private endpoint, then a 409 status code is returned. This
indicates that a conflict has been detected.
updateDataSciencePrivateEndpoint
in interface DataScience
request
- The request object containing the details to sendpublic UpdateJobResponse updateJob(UpdateJobRequest request)
DataScience
Updates a job.
updateJob
in interface DataScience
request
- The request object containing the details to sendpublic UpdateJobRunResponse updateJobRun(UpdateJobRunRequest request)
DataScience
Updates a job run.
updateJobRun
in interface DataScience
request
- The request object containing the details to sendpublic UpdateModelResponse updateModel(UpdateModelRequest request)
DataScience
Updates the properties of a model. You can update the displayName
, description
,
freeformTags
, and definedTags
properties.
updateModel
in interface DataScience
request
- The request object containing the details to sendpublic UpdateModelDeploymentResponse updateModelDeployment(UpdateModelDeploymentRequest request)
DataScience
Updates the properties of a model deployment. Some of the properties of
modelDeploymentConfigurationDetails
or CategoryLogDetails
can also be updated with zero
down time when the model deployment’s lifecycle state is ACTIVE or NEEDS_ATTENTION i.e
instanceShapeName
, instanceCount
and modelId
, separately loadBalancerShape
or
CategoryLogDetails
can also be updated independently. All of the fields can be updated when
the deployment is in the INACTIVE lifecycle state. Changes will take effect the next time the
model deployment is activated.
updateModelDeployment
in interface DataScience
request
- The request object containing the details to sendpublic UpdateModelProvenanceResponse updateModelProvenance(UpdateModelProvenanceRequest request)
DataScience
Updates the provenance information for the specified model.
updateModelProvenance
in interface DataScience
request
- The request object containing the details to sendpublic UpdateModelVersionSetResponse updateModelVersionSet(UpdateModelVersionSetRequest request)
DataScience
Updates the properties of a model version set. User can update the description
property.
updateModelVersionSet
in interface DataScience
request
- The request object containing the details to sendpublic UpdateNotebookSessionResponse updateNotebookSession(UpdateNotebookSessionRequest request)
DataScience
Updates the properties of a notebook session. You can update the displayName
,
freeformTags
, and definedTags
properties. When the notebook session is in the INACTIVE
lifecycle state, you can update notebookSessionConfigurationDetails
and change shape
,
subnetId
, and blockStorageSizeInGBs
. Changes to the notebookSessionConfigurationDetails
take effect the next time the ActivateNotebookSession
action is invoked on the notebook
session resource.
updateNotebookSession
in interface DataScience
request
- The request object containing the details to sendpublic UpdatePipelineResponse updatePipeline(UpdatePipelineRequest request)
DataScience
Updates the Pipeline.
updatePipeline
in interface DataScience
request
- The request object containing the details to sendpublic UpdatePipelineRunResponse updatePipelineRun(UpdatePipelineRunRequest request)
DataScience
Updates the PipelineRun.
updatePipelineRun
in interface DataScience
request
- The request object containing the details to sendpublic UpdateProjectResponse updateProject(UpdateProjectRequest request)
DataScience
Updates the properties of a project. You can update the displayName
, description
,
freeformTags
, and definedTags
properties.
updateProject
in interface DataScience
request
- The request object containing the details to sendpublic DataScienceWaiters getWaiters()
DataScience
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface DataScience
public DataSciencePaginators getPaginators()
DataScience
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface DataScience
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.