@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public interface DataScienceAsync extends AutoCloseable
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.
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
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.
region
- The region of the service.void setRegion(String regionId)
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
.
regionId
- The public region ID.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateFuture<ActivateModelResponse> activateModel(ActivateModelRequest request, AsyncHandler<ActivateModelRequest,ActivateModelResponse> handler)
Activates the model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ActivateModelDeploymentResponse> activateModelDeployment(ActivateModelDeploymentRequest request, AsyncHandler<ActivateModelDeploymentRequest,ActivateModelDeploymentResponse> handler)
Activates the model deployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ActivateNotebookSessionResponse> activateNotebookSession(ActivateNotebookSessionRequest request, AsyncHandler<ActivateNotebookSessionRequest,ActivateNotebookSessionResponse> handler)
Activates the notebook session.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CancelJobRunResponse> cancelJobRun(CancelJobRunRequest request, AsyncHandler<CancelJobRunRequest,CancelJobRunResponse> handler)
Cancels an IN_PROGRESS job run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CancelPipelineRunResponse> cancelPipelineRun(CancelPipelineRunRequest request, AsyncHandler<CancelPipelineRunRequest,CancelPipelineRunResponse> handler)
Cancel a PipelineRun.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
Cancels a work request that has not started.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeDataSciencePrivateEndpointCompartmentResponse> changeDataSciencePrivateEndpointCompartment(ChangeDataSciencePrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDataSciencePrivateEndpointCompartmentRequest,ChangeDataSciencePrivateEndpointCompartmentResponse> handler)
Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeJobCompartmentResponse> changeJobCompartment(ChangeJobCompartmentRequest request, AsyncHandler<ChangeJobCompartmentRequest,ChangeJobCompartmentResponse> handler)
Changes a job’s compartment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeJobRunCompartmentResponse> changeJobRunCompartment(ChangeJobRunCompartmentRequest request, AsyncHandler<ChangeJobRunCompartmentRequest,ChangeJobRunCompartmentResponse> handler)
Changes a job run’s compartment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeModelCompartmentResponse> changeModelCompartment(ChangeModelCompartmentRequest request, AsyncHandler<ChangeModelCompartmentRequest,ChangeModelCompartmentResponse> handler)
Moves a model resource into a different compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeModelDeploymentCompartmentResponse> changeModelDeploymentCompartment(ChangeModelDeploymentCompartmentRequest request, AsyncHandler<ChangeModelDeploymentCompartmentRequest,ChangeModelDeploymentCompartmentResponse> handler)
Moves a model deployment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeModelVersionSetCompartmentResponse> changeModelVersionSetCompartment(ChangeModelVersionSetCompartmentRequest request, AsyncHandler<ChangeModelVersionSetCompartmentRequest,ChangeModelVersionSetCompartmentResponse> handler)
Moves a modelVersionSet resource into a different compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeNotebookSessionCompartmentResponse> changeNotebookSessionCompartment(ChangeNotebookSessionCompartmentRequest request, AsyncHandler<ChangeNotebookSessionCompartmentRequest,ChangeNotebookSessionCompartmentResponse> handler)
Moves a notebook session resource into a different compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangePipelineCompartmentResponse> changePipelineCompartment(ChangePipelineCompartmentRequest request, AsyncHandler<ChangePipelineCompartmentRequest,ChangePipelineCompartmentResponse> handler)
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangePipelineRunCompartmentResponse> changePipelineRunCompartment(ChangePipelineRunCompartmentRequest request, AsyncHandler<ChangePipelineRunCompartmentRequest,ChangePipelineRunCompartmentResponse> handler)
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeProjectCompartmentResponse> changeProjectCompartment(ChangeProjectCompartmentRequest request, AsyncHandler<ChangeProjectCompartmentRequest,ChangeProjectCompartmentResponse> handler)
Moves a project resource into a different compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDataSciencePrivateEndpointResponse> createDataSciencePrivateEndpoint(CreateDataSciencePrivateEndpointRequest request, AsyncHandler<CreateDataSciencePrivateEndpointRequest,CreateDataSciencePrivateEndpointResponse> handler)
Creates a Data Science private endpoint to be used by a Data Science resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateJobResponse> createJob(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResponse> handler)
Creates a job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateJobArtifactResponse> createJobArtifact(CreateJobArtifactRequest request, AsyncHandler<CreateJobArtifactRequest,CreateJobArtifactResponse> handler)
Uploads a job artifact.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateJobRunResponse> createJobRun(CreateJobRunRequest request, AsyncHandler<CreateJobRunRequest,CreateJobRunResponse> handler)
Creates a job run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateModelResponse> createModel(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResponse> handler)
Creates a new model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateModelArtifactResponse> createModelArtifact(CreateModelArtifactRequest request, AsyncHandler<CreateModelArtifactRequest,CreateModelArtifactResponse> handler)
Creates model artifact for specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateModelDeploymentResponse> createModelDeployment(CreateModelDeploymentRequest request, AsyncHandler<CreateModelDeploymentRequest,CreateModelDeploymentResponse> handler)
Creates a new model deployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateModelProvenanceResponse> createModelProvenance(CreateModelProvenanceRequest request, AsyncHandler<CreateModelProvenanceRequest,CreateModelProvenanceResponse> handler)
Creates provenance information for the specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateModelVersionSetResponse> createModelVersionSet(CreateModelVersionSetRequest request, AsyncHandler<CreateModelVersionSetRequest,CreateModelVersionSetResponse> handler)
Creates a new modelVersionSet.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateNotebookSessionResponse> createNotebookSession(CreateNotebookSessionRequest request, AsyncHandler<CreateNotebookSessionRequest,CreateNotebookSessionResponse> handler)
Creates a new notebook session.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreatePipelineResponse> createPipeline(CreatePipelineRequest request, AsyncHandler<CreatePipelineRequest,CreatePipelineResponse> handler)
Creates a new Pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreatePipelineRunResponse> createPipelineRun(CreatePipelineRunRequest request, AsyncHandler<CreatePipelineRunRequest,CreatePipelineRunResponse> handler)
Creates a new PipelineRun.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateProjectResponse> createProject(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResponse> handler)
Creates a new project.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateStepArtifactResponse> createStepArtifact(CreateStepArtifactRequest request, AsyncHandler<CreateStepArtifactRequest,CreateStepArtifactResponse> handler)
Upload the artifact for a step in the pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeactivateModelResponse> deactivateModel(DeactivateModelRequest request, AsyncHandler<DeactivateModelRequest,DeactivateModelResponse> handler)
Deactivates the model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeactivateModelDeploymentResponse> deactivateModelDeployment(DeactivateModelDeploymentRequest request, AsyncHandler<DeactivateModelDeploymentRequest,DeactivateModelDeploymentResponse> handler)
Deactivates the model deployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeactivateNotebookSessionResponse> deactivateNotebookSession(DeactivateNotebookSessionRequest request, AsyncHandler<DeactivateNotebookSessionRequest,DeactivateNotebookSessionResponse> handler)
Deactivates the notebook session.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDataSciencePrivateEndpointResponse> deleteDataSciencePrivateEndpoint(DeleteDataSciencePrivateEndpointRequest request, AsyncHandler<DeleteDataSciencePrivateEndpointRequest,DeleteDataSciencePrivateEndpointResponse> handler)
Deletes a private endpoint using privateEndpointId
.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteJobResponse> deleteJob(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
Deletes a job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteJobRunResponse> deleteJobRun(DeleteJobRunRequest request, AsyncHandler<DeleteJobRunRequest,DeleteJobRunResponse> handler)
Deletes a job run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteModelResponse> deleteModel(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,DeleteModelResponse> handler)
Deletes the specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteModelDeploymentResponse> deleteModelDeployment(DeleteModelDeploymentRequest request, AsyncHandler<DeleteModelDeploymentRequest,DeleteModelDeploymentResponse> handler)
Deletes the specified model deployment. Any unsaved work in this model deployment is lost.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteModelVersionSetResponse> deleteModelVersionSet(DeleteModelVersionSetRequest request, AsyncHandler<DeleteModelVersionSetRequest,DeleteModelVersionSetResponse> handler)
Deletes the specified modelVersionSet.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteNotebookSessionResponse> deleteNotebookSession(DeleteNotebookSessionRequest request, AsyncHandler<DeleteNotebookSessionRequest,DeleteNotebookSessionResponse> handler)
Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePipelineResponse> deletePipeline(DeletePipelineRequest request, AsyncHandler<DeletePipelineRequest,DeletePipelineResponse> handler)
Deletes a Pipeline resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePipelineRunResponse> deletePipelineRun(DeletePipelineRunRequest request, AsyncHandler<DeletePipelineRunRequest,DeletePipelineRunResponse> handler)
Deletes a PipelineRun resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteProjectResponse> deleteProject(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResponse> handler)
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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ExportModelArtifactResponse> exportModelArtifact(ExportModelArtifactRequest request, AsyncHandler<ExportModelArtifactRequest,ExportModelArtifactResponse> handler)
Export model artifact from source to the service bucket
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDataSciencePrivateEndpointResponse> getDataSciencePrivateEndpoint(GetDataSciencePrivateEndpointRequest request, AsyncHandler<GetDataSciencePrivateEndpointRequest,GetDataSciencePrivateEndpointResponse> handler)
Retrieves an private endpoint using a privateEndpointId
.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetJobResponse> getJob(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResponse> handler)
Gets a job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetJobArtifactContentResponse> getJobArtifactContent(GetJobArtifactContentRequest request, AsyncHandler<GetJobArtifactContentRequest,GetJobArtifactContentResponse> handler)
Downloads job artifact content for specified job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetJobRunResponse> getJobRun(GetJobRunRequest request, AsyncHandler<GetJobRunRequest,GetJobRunResponse> handler)
Gets a job run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetModelResponse> getModel(GetModelRequest request, AsyncHandler<GetModelRequest,GetModelResponse> handler)
Gets the specified model’s information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetModelArtifactContentResponse> getModelArtifactContent(GetModelArtifactContentRequest request, AsyncHandler<GetModelArtifactContentRequest,GetModelArtifactContentResponse> handler)
Downloads model artifact content for specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetModelDeploymentResponse> getModelDeployment(GetModelDeploymentRequest request, AsyncHandler<GetModelDeploymentRequest,GetModelDeploymentResponse> handler)
Retrieves the model deployment for the specified modelDeploymentId
.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetModelProvenanceResponse> getModelProvenance(GetModelProvenanceRequest request, AsyncHandler<GetModelProvenanceRequest,GetModelProvenanceResponse> handler)
Gets provenance information for specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetModelVersionSetResponse> getModelVersionSet(GetModelVersionSetRequest request, AsyncHandler<GetModelVersionSetRequest,GetModelVersionSetResponse> handler)
Gets the specified model version set information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetNotebookSessionResponse> getNotebookSession(GetNotebookSessionRequest request, AsyncHandler<GetNotebookSessionRequest,GetNotebookSessionResponse> handler)
Gets the specified notebook session’s information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPipelineResponse> getPipeline(GetPipelineRequest request, AsyncHandler<GetPipelineRequest,GetPipelineResponse> handler)
Gets a Pipeline by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPipelineRunResponse> getPipelineRun(GetPipelineRunRequest request, AsyncHandler<GetPipelineRunRequest,GetPipelineRunResponse> handler)
Gets a PipelineRun by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetProjectResponse> getProject(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResponse> handler)
Gets the specified project’s information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetStepArtifactContentResponse> getStepArtifactContent(GetStepArtifactContentRequest request, AsyncHandler<GetStepArtifactContentRequest,GetStepArtifactContentResponse> handler)
Download the artifact for a step in the pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the specified work request’s information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<HeadJobArtifactResponse> headJobArtifact(HeadJobArtifactRequest request, AsyncHandler<HeadJobArtifactRequest,HeadJobArtifactResponse> handler)
Gets job artifact metadata.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<HeadModelArtifactResponse> headModelArtifact(HeadModelArtifactRequest request, AsyncHandler<HeadModelArtifactRequest,HeadModelArtifactResponse> handler)
Gets model artifact metadata for specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<HeadStepArtifactResponse> headStepArtifact(HeadStepArtifactRequest request, AsyncHandler<HeadStepArtifactRequest,HeadStepArtifactResponse> handler)
Get the artifact metadata for a step in the pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ImportModelArtifactResponse> importModelArtifact(ImportModelArtifactRequest request, AsyncHandler<ImportModelArtifactRequest,ImportModelArtifactResponse> handler)
Import model artifact from service bucket
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDataSciencePrivateEndpointsResponse> listDataSciencePrivateEndpoints(ListDataSciencePrivateEndpointsRequest request, AsyncHandler<ListDataSciencePrivateEndpointsRequest,ListDataSciencePrivateEndpointsResponse> handler)
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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListFastLaunchJobConfigsResponse> listFastLaunchJobConfigs(ListFastLaunchJobConfigsRequest request, AsyncHandler<ListFastLaunchJobConfigsRequest,ListFastLaunchJobConfigsResponse> handler)
List fast launch capable job configs in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListJobRunsResponse> listJobRuns(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResponse> handler)
List out job runs.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListJobShapesResponse> listJobShapes(ListJobShapesRequest request, AsyncHandler<ListJobShapesRequest,ListJobShapesResponse> handler)
List job shapes available in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListJobsResponse> listJobs(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
List jobs in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListModelDeploymentShapesResponse> listModelDeploymentShapes(ListModelDeploymentShapesRequest request, AsyncHandler<ListModelDeploymentShapesRequest,ListModelDeploymentShapesResponse> handler)
Lists the valid model deployment shapes.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListModelDeploymentsResponse> listModelDeployments(ListModelDeploymentsRequest request, AsyncHandler<ListModelDeploymentsRequest,ListModelDeploymentsResponse> handler)
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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListModelVersionSetsResponse> listModelVersionSets(ListModelVersionSetsRequest request, AsyncHandler<ListModelVersionSetsRequest,ListModelVersionSetsResponse> handler)
Lists model version sets in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListModelsResponse> listModels(ListModelsRequest request, AsyncHandler<ListModelsRequest,ListModelsResponse> handler)
Lists models in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNotebookSessionShapesResponse> listNotebookSessionShapes(ListNotebookSessionShapesRequest request, AsyncHandler<ListNotebookSessionShapesRequest,ListNotebookSessionShapesResponse> handler)
Lists the valid notebook session shapes.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListNotebookSessionsResponse> listNotebookSessions(ListNotebookSessionsRequest request, AsyncHandler<ListNotebookSessionsRequest,ListNotebookSessionsResponse> handler)
Lists the notebook sessions in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPipelineRunsResponse> listPipelineRuns(ListPipelineRunsRequest request, AsyncHandler<ListPipelineRunsRequest,ListPipelineRunsResponse> handler)
Returns a list of PipelineRuns.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPipelinesResponse> listPipelines(ListPipelinesRequest request, AsyncHandler<ListPipelinesRequest,ListPipelinesResponse> handler)
Returns a list of Pipelines.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListProjectsResponse> listProjects(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResponse> handler)
Lists projects in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Lists work request errors for the specified work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Lists work request logs for the specified work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists work requests in the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<RestoreArchivedModelArtifactResponse> restoreArchivedModelArtifact(RestoreArchivedModelArtifactRequest request, AsyncHandler<RestoreArchivedModelArtifactRequest,RestoreArchivedModelArtifactResponse> handler)
Restore archived model artifact
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDataSciencePrivateEndpointResponse> updateDataSciencePrivateEndpoint(UpdateDataSciencePrivateEndpointRequest request, AsyncHandler<UpdateDataSciencePrivateEndpointRequest,UpdateDataSciencePrivateEndpointResponse> handler)
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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateJobResponse> updateJob(UpdateJobRequest request, AsyncHandler<UpdateJobRequest,UpdateJobResponse> handler)
Updates a job.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateJobRunResponse> updateJobRun(UpdateJobRunRequest request, AsyncHandler<UpdateJobRunRequest,UpdateJobRunResponse> handler)
Updates a job run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateModelResponse> updateModel(UpdateModelRequest request, AsyncHandler<UpdateModelRequest,UpdateModelResponse> handler)
Updates the properties of a model. You can update the displayName
, description
,
freeformTags
, and definedTags
properties.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateModelDeploymentResponse> updateModelDeployment(UpdateModelDeploymentRequest request, AsyncHandler<UpdateModelDeploymentRequest,UpdateModelDeploymentResponse> handler)
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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateModelProvenanceResponse> updateModelProvenance(UpdateModelProvenanceRequest request, AsyncHandler<UpdateModelProvenanceRequest,UpdateModelProvenanceResponse> handler)
Updates the provenance information for the specified model.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateModelVersionSetResponse> updateModelVersionSet(UpdateModelVersionSetRequest request, AsyncHandler<UpdateModelVersionSetRequest,UpdateModelVersionSetResponse> handler)
Updates the properties of a model version set. User can update the description
property.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateNotebookSessionResponse> updateNotebookSession(UpdateNotebookSessionRequest request, AsyncHandler<UpdateNotebookSessionRequest,UpdateNotebookSessionResponse> handler)
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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePipelineResponse> updatePipeline(UpdatePipelineRequest request, AsyncHandler<UpdatePipelineRequest,UpdatePipelineResponse> handler)
Updates the Pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePipelineRunResponse> updatePipelineRun(UpdatePipelineRunRequest request, AsyncHandler<UpdatePipelineRunRequest,UpdatePipelineRunResponse> handler)
Updates the PipelineRun.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateProjectResponse> updateProject(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResponse> handler)
Updates the properties of a project. You can update the displayName
, description
,
freeformTags
, and definedTags
properties.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2024. All rights reserved.