@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class DataScienceAsyncClient extends Object implements DataScienceAsync
Async client implementation for DataScience service.
There are two ways to use async client:
InputStream
, like
getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else,
because the stream will be closed right after the AsyncHandler is invoked. Modifier and Type | Class and Description |
---|---|
static class |
DataScienceAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
static Service |
SERVICE
Service instance for DataScience.
|
Constructor and Description |
---|
DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
public static final Service SERVICE
Service instance for DataScience.
public DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider
- The authentication details provider, required.public DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.public DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)restClientFactoryBuilder
- the builder for the RestClientFactory
public static DataScienceAsyncClient.Builder builder()
Create a builder for this client.
public void refreshClient()
DataScienceAsync
Rebuilds the client from scratch. Useful to refresh certificates.
refreshClient
in interface DataScienceAsync
public void setEndpoint(String endpoint)
DataScienceAsync
Sets the endpoint to call (ex, https://www.example.com).
setEndpoint
in interface DataScienceAsync
endpoint
- The endpoint of the serice.public String getEndpoint()
DataScienceAsync
Gets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint
in interface DataScienceAsync
public void setRegion(Region region)
DataScienceAsync
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 DataScienceAsync
region
- The region of the service.public void setRegion(String regionId)
DataScienceAsync
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 DataScienceAsync
regionId
- The public region ID.public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template. The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
useRealmSpecificEndpointTemplate
in interface DataScienceAsync
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic void close()
close
in interface AutoCloseable
public Future<ActivateModelResponse> activateModel(ActivateModelRequest request, AsyncHandler<ActivateModelRequest,ActivateModelResponse> handler)
DataScienceAsync
Activates the model.
activateModel
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ActivateModelDeploymentResponse> activateModelDeployment(ActivateModelDeploymentRequest request, AsyncHandler<ActivateModelDeploymentRequest,ActivateModelDeploymentResponse> handler)
DataScienceAsync
Activates the model deployment.
activateModelDeployment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ActivateNotebookSessionResponse> activateNotebookSession(ActivateNotebookSessionRequest request, AsyncHandler<ActivateNotebookSessionRequest,ActivateNotebookSessionResponse> handler)
DataScienceAsync
Activates the notebook session.
activateNotebookSession
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelJobRunResponse> cancelJobRun(CancelJobRunRequest request, AsyncHandler<CancelJobRunRequest,CancelJobRunResponse> handler)
DataScienceAsync
Cancels an IN_PROGRESS job run.
cancelJobRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelPipelineRunResponse> cancelPipelineRun(CancelPipelineRunRequest request, AsyncHandler<CancelPipelineRunRequest,CancelPipelineRunResponse> handler)
DataScienceAsync
Cancel a PipelineRun.
cancelPipelineRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
DataScienceAsync
Cancels a work request that has not started.
cancelWorkRequest
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDataSciencePrivateEndpointCompartmentResponse> changeDataSciencePrivateEndpointCompartment(ChangeDataSciencePrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDataSciencePrivateEndpointCompartmentRequest,ChangeDataSciencePrivateEndpointCompartmentResponse> handler)
DataScienceAsync
Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeDataSciencePrivateEndpointCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeJobCompartmentResponse> changeJobCompartment(ChangeJobCompartmentRequest request, AsyncHandler<ChangeJobCompartmentRequest,ChangeJobCompartmentResponse> handler)
DataScienceAsync
Changes a job’s compartment
changeJobCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeJobRunCompartmentResponse> changeJobRunCompartment(ChangeJobRunCompartmentRequest request, AsyncHandler<ChangeJobRunCompartmentRequest,ChangeJobRunCompartmentResponse> handler)
DataScienceAsync
Changes a job run’s compartment
changeJobRunCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeModelCompartmentResponse> changeModelCompartment(ChangeModelCompartmentRequest request, AsyncHandler<ChangeModelCompartmentRequest,ChangeModelCompartmentResponse> handler)
DataScienceAsync
Moves a model resource into a different compartment.
changeModelCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeModelDeploymentCompartmentResponse> changeModelDeploymentCompartment(ChangeModelDeploymentCompartmentRequest request, AsyncHandler<ChangeModelDeploymentCompartmentRequest,ChangeModelDeploymentCompartmentResponse> handler)
DataScienceAsync
Moves a model deployment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeModelDeploymentCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeModelVersionSetCompartmentResponse> changeModelVersionSetCompartment(ChangeModelVersionSetCompartmentRequest request, AsyncHandler<ChangeModelVersionSetCompartmentRequest,ChangeModelVersionSetCompartmentResponse> handler)
DataScienceAsync
Moves a modelVersionSet resource into a different compartment.
changeModelVersionSetCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeNotebookSessionCompartmentResponse> changeNotebookSessionCompartment(ChangeNotebookSessionCompartmentRequest request, AsyncHandler<ChangeNotebookSessionCompartmentRequest,ChangeNotebookSessionCompartmentResponse> handler)
DataScienceAsync
Moves a notebook session resource into a different compartment.
changeNotebookSessionCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangePipelineCompartmentResponse> changePipelineCompartment(ChangePipelineCompartmentRequest request, AsyncHandler<ChangePipelineCompartmentRequest,ChangePipelineCompartmentResponse> handler)
DataScienceAsync
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changePipelineCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangePipelineRunCompartmentResponse> changePipelineRunCompartment(ChangePipelineRunCompartmentRequest request, AsyncHandler<ChangePipelineRunCompartmentRequest,ChangePipelineRunCompartmentResponse> handler)
DataScienceAsync
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changePipelineRunCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeProjectCompartmentResponse> changeProjectCompartment(ChangeProjectCompartmentRequest request, AsyncHandler<ChangeProjectCompartmentRequest,ChangeProjectCompartmentResponse> handler)
DataScienceAsync
Moves a project resource into a different compartment.
changeProjectCompartment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDataSciencePrivateEndpointResponse> createDataSciencePrivateEndpoint(CreateDataSciencePrivateEndpointRequest request, AsyncHandler<CreateDataSciencePrivateEndpointRequest,CreateDataSciencePrivateEndpointResponse> handler)
DataScienceAsync
Creates a Data Science private endpoint to be used by a Data Science resource.
createDataSciencePrivateEndpoint
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateJobResponse> createJob(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResponse> handler)
DataScienceAsync
Creates a job.
createJob
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateJobArtifactResponse> createJobArtifact(CreateJobArtifactRequest request, AsyncHandler<CreateJobArtifactRequest,CreateJobArtifactResponse> handler)
DataScienceAsync
Uploads a job artifact.
createJobArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateJobRunResponse> createJobRun(CreateJobRunRequest request, AsyncHandler<CreateJobRunRequest,CreateJobRunResponse> handler)
DataScienceAsync
Creates a job run.
createJobRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateModelResponse> createModel(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResponse> handler)
DataScienceAsync
Creates a new model.
createModel
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateModelArtifactResponse> createModelArtifact(CreateModelArtifactRequest request, AsyncHandler<CreateModelArtifactRequest,CreateModelArtifactResponse> handler)
DataScienceAsync
Creates model artifact for specified model.
createModelArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateModelDeploymentResponse> createModelDeployment(CreateModelDeploymentRequest request, AsyncHandler<CreateModelDeploymentRequest,CreateModelDeploymentResponse> handler)
DataScienceAsync
Creates a new model deployment.
createModelDeployment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateModelProvenanceResponse> createModelProvenance(CreateModelProvenanceRequest request, AsyncHandler<CreateModelProvenanceRequest,CreateModelProvenanceResponse> handler)
DataScienceAsync
Creates provenance information for the specified model.
createModelProvenance
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateModelVersionSetResponse> createModelVersionSet(CreateModelVersionSetRequest request, AsyncHandler<CreateModelVersionSetRequest,CreateModelVersionSetResponse> handler)
DataScienceAsync
Creates a new modelVersionSet.
createModelVersionSet
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateNotebookSessionResponse> createNotebookSession(CreateNotebookSessionRequest request, AsyncHandler<CreateNotebookSessionRequest,CreateNotebookSessionResponse> handler)
DataScienceAsync
Creates a new notebook session.
createNotebookSession
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreatePipelineResponse> createPipeline(CreatePipelineRequest request, AsyncHandler<CreatePipelineRequest,CreatePipelineResponse> handler)
DataScienceAsync
Creates a new Pipeline.
createPipeline
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreatePipelineRunResponse> createPipelineRun(CreatePipelineRunRequest request, AsyncHandler<CreatePipelineRunRequest,CreatePipelineRunResponse> handler)
DataScienceAsync
Creates a new PipelineRun.
createPipelineRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateProjectResponse> createProject(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResponse> handler)
DataScienceAsync
Creates a new project.
createProject
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateStepArtifactResponse> createStepArtifact(CreateStepArtifactRequest request, AsyncHandler<CreateStepArtifactRequest,CreateStepArtifactResponse> handler)
DataScienceAsync
Upload the artifact for a step in the pipeline.
createStepArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeactivateModelResponse> deactivateModel(DeactivateModelRequest request, AsyncHandler<DeactivateModelRequest,DeactivateModelResponse> handler)
DataScienceAsync
Deactivates the model.
deactivateModel
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeactivateModelDeploymentResponse> deactivateModelDeployment(DeactivateModelDeploymentRequest request, AsyncHandler<DeactivateModelDeploymentRequest,DeactivateModelDeploymentResponse> handler)
DataScienceAsync
Deactivates the model deployment.
deactivateModelDeployment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeactivateNotebookSessionResponse> deactivateNotebookSession(DeactivateNotebookSessionRequest request, AsyncHandler<DeactivateNotebookSessionRequest,DeactivateNotebookSessionResponse> handler)
DataScienceAsync
Deactivates the notebook session.
deactivateNotebookSession
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDataSciencePrivateEndpointResponse> deleteDataSciencePrivateEndpoint(DeleteDataSciencePrivateEndpointRequest request, AsyncHandler<DeleteDataSciencePrivateEndpointRequest,DeleteDataSciencePrivateEndpointResponse> handler)
DataScienceAsync
Deletes a private endpoint using privateEndpointId
.
deleteDataSciencePrivateEndpoint
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteJobResponse> deleteJob(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
DataScienceAsync
Deletes a job.
deleteJob
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteJobRunResponse> deleteJobRun(DeleteJobRunRequest request, AsyncHandler<DeleteJobRunRequest,DeleteJobRunResponse> handler)
DataScienceAsync
Deletes a job run.
deleteJobRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteModelResponse> deleteModel(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,DeleteModelResponse> handler)
DataScienceAsync
Deletes the specified model.
deleteModel
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteModelDeploymentResponse> deleteModelDeployment(DeleteModelDeploymentRequest request, AsyncHandler<DeleteModelDeploymentRequest,DeleteModelDeploymentResponse> handler)
DataScienceAsync
Deletes the specified model deployment. Any unsaved work in this model deployment is lost.
deleteModelDeployment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteModelVersionSetResponse> deleteModelVersionSet(DeleteModelVersionSetRequest request, AsyncHandler<DeleteModelVersionSetRequest,DeleteModelVersionSetResponse> handler)
DataScienceAsync
Deletes the specified modelVersionSet.
deleteModelVersionSet
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteNotebookSessionResponse> deleteNotebookSession(DeleteNotebookSessionRequest request, AsyncHandler<DeleteNotebookSessionRequest,DeleteNotebookSessionResponse> handler)
DataScienceAsync
Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
deleteNotebookSession
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeletePipelineResponse> deletePipeline(DeletePipelineRequest request, AsyncHandler<DeletePipelineRequest,DeletePipelineResponse> handler)
DataScienceAsync
Deletes a Pipeline resource by identifier.
deletePipeline
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeletePipelineRunResponse> deletePipelineRun(DeletePipelineRunRequest request, AsyncHandler<DeletePipelineRunRequest,DeletePipelineRunResponse> handler)
DataScienceAsync
Deletes a PipelineRun resource by identifier.
deletePipelineRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteProjectResponse> deleteProject(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResponse> handler)
DataScienceAsync
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 DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExportModelArtifactResponse> exportModelArtifact(ExportModelArtifactRequest request, AsyncHandler<ExportModelArtifactRequest,ExportModelArtifactResponse> handler)
DataScienceAsync
Export model artifact from source to the service bucket
exportModelArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataSciencePrivateEndpointResponse> getDataSciencePrivateEndpoint(GetDataSciencePrivateEndpointRequest request, AsyncHandler<GetDataSciencePrivateEndpointRequest,GetDataSciencePrivateEndpointResponse> handler)
DataScienceAsync
Retrieves an private endpoint using a privateEndpointId
.
getDataSciencePrivateEndpoint
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetJobResponse> getJob(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResponse> handler)
DataScienceAsync
Gets a job.
getJob
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetJobArtifactContentResponse> getJobArtifactContent(GetJobArtifactContentRequest request, AsyncHandler<GetJobArtifactContentRequest,GetJobArtifactContentResponse> handler)
DataScienceAsync
Downloads job artifact content for specified job.
getJobArtifactContent
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetJobRunResponse> getJobRun(GetJobRunRequest request, AsyncHandler<GetJobRunRequest,GetJobRunResponse> handler)
DataScienceAsync
Gets a job run.
getJobRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetModelResponse> getModel(GetModelRequest request, AsyncHandler<GetModelRequest,GetModelResponse> handler)
DataScienceAsync
Gets the specified model’s information.
getModel
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetModelArtifactContentResponse> getModelArtifactContent(GetModelArtifactContentRequest request, AsyncHandler<GetModelArtifactContentRequest,GetModelArtifactContentResponse> handler)
DataScienceAsync
Downloads model artifact content for specified model.
getModelArtifactContent
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetModelDeploymentResponse> getModelDeployment(GetModelDeploymentRequest request, AsyncHandler<GetModelDeploymentRequest,GetModelDeploymentResponse> handler)
DataScienceAsync
Retrieves the model deployment for the specified modelDeploymentId
.
getModelDeployment
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetModelProvenanceResponse> getModelProvenance(GetModelProvenanceRequest request, AsyncHandler<GetModelProvenanceRequest,GetModelProvenanceResponse> handler)
DataScienceAsync
Gets provenance information for specified model.
getModelProvenance
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetModelVersionSetResponse> getModelVersionSet(GetModelVersionSetRequest request, AsyncHandler<GetModelVersionSetRequest,GetModelVersionSetResponse> handler)
DataScienceAsync
Gets the specified model version set information.
getModelVersionSet
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNotebookSessionResponse> getNotebookSession(GetNotebookSessionRequest request, AsyncHandler<GetNotebookSessionRequest,GetNotebookSessionResponse> handler)
DataScienceAsync
Gets the specified notebook session’s information.
getNotebookSession
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPipelineResponse> getPipeline(GetPipelineRequest request, AsyncHandler<GetPipelineRequest,GetPipelineResponse> handler)
DataScienceAsync
Gets a Pipeline by identifier.
getPipeline
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPipelineRunResponse> getPipelineRun(GetPipelineRunRequest request, AsyncHandler<GetPipelineRunRequest,GetPipelineRunResponse> handler)
DataScienceAsync
Gets a PipelineRun by identifier.
getPipelineRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetProjectResponse> getProject(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResponse> handler)
DataScienceAsync
Gets the specified project’s information.
getProject
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetStepArtifactContentResponse> getStepArtifactContent(GetStepArtifactContentRequest request, AsyncHandler<GetStepArtifactContentRequest,GetStepArtifactContentResponse> handler)
DataScienceAsync
Download the artifact for a step in the pipeline.
getStepArtifactContent
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
DataScienceAsync
Gets the specified work request’s information.
getWorkRequest
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<HeadJobArtifactResponse> headJobArtifact(HeadJobArtifactRequest request, AsyncHandler<HeadJobArtifactRequest,HeadJobArtifactResponse> handler)
DataScienceAsync
Gets job artifact metadata.
headJobArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<HeadModelArtifactResponse> headModelArtifact(HeadModelArtifactRequest request, AsyncHandler<HeadModelArtifactRequest,HeadModelArtifactResponse> handler)
DataScienceAsync
Gets model artifact metadata for specified model.
headModelArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<HeadStepArtifactResponse> headStepArtifact(HeadStepArtifactRequest request, AsyncHandler<HeadStepArtifactRequest,HeadStepArtifactResponse> handler)
DataScienceAsync
Get the artifact metadata for a step in the pipeline.
headStepArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ImportModelArtifactResponse> importModelArtifact(ImportModelArtifactRequest request, AsyncHandler<ImportModelArtifactRequest,ImportModelArtifactResponse> handler)
DataScienceAsync
Import model artifact from service bucket
importModelArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataSciencePrivateEndpointsResponse> listDataSciencePrivateEndpoints(ListDataSciencePrivateEndpointsRequest request, AsyncHandler<ListDataSciencePrivateEndpointsRequest,ListDataSciencePrivateEndpointsResponse> handler)
DataScienceAsync
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 DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFastLaunchJobConfigsResponse> listFastLaunchJobConfigs(ListFastLaunchJobConfigsRequest request, AsyncHandler<ListFastLaunchJobConfigsRequest,ListFastLaunchJobConfigsResponse> handler)
DataScienceAsync
List fast launch capable job configs in the specified compartment.
listFastLaunchJobConfigs
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListJobRunsResponse> listJobRuns(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResponse> handler)
DataScienceAsync
List out job runs.
listJobRuns
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListJobShapesResponse> listJobShapes(ListJobShapesRequest request, AsyncHandler<ListJobShapesRequest,ListJobShapesResponse> handler)
DataScienceAsync
List job shapes available in the specified compartment.
listJobShapes
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListJobsResponse> listJobs(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
DataScienceAsync
List jobs in the specified compartment.
listJobs
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListModelDeploymentShapesResponse> listModelDeploymentShapes(ListModelDeploymentShapesRequest request, AsyncHandler<ListModelDeploymentShapesRequest,ListModelDeploymentShapesResponse> handler)
DataScienceAsync
Lists the valid model deployment shapes.
listModelDeploymentShapes
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListModelDeploymentsResponse> listModelDeployments(ListModelDeploymentsRequest request, AsyncHandler<ListModelDeploymentsRequest,ListModelDeploymentsResponse> handler)
DataScienceAsync
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 DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListModelVersionSetsResponse> listModelVersionSets(ListModelVersionSetsRequest request, AsyncHandler<ListModelVersionSetsRequest,ListModelVersionSetsResponse> handler)
DataScienceAsync
Lists model version sets in the specified compartment.
listModelVersionSets
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListModelsResponse> listModels(ListModelsRequest request, AsyncHandler<ListModelsRequest,ListModelsResponse> handler)
DataScienceAsync
Lists models in the specified compartment.
listModels
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNotebookSessionShapesResponse> listNotebookSessionShapes(ListNotebookSessionShapesRequest request, AsyncHandler<ListNotebookSessionShapesRequest,ListNotebookSessionShapesResponse> handler)
DataScienceAsync
Lists the valid notebook session shapes.
listNotebookSessionShapes
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNotebookSessionsResponse> listNotebookSessions(ListNotebookSessionsRequest request, AsyncHandler<ListNotebookSessionsRequest,ListNotebookSessionsResponse> handler)
DataScienceAsync
Lists the notebook sessions in the specified compartment.
listNotebookSessions
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPipelineRunsResponse> listPipelineRuns(ListPipelineRunsRequest request, AsyncHandler<ListPipelineRunsRequest,ListPipelineRunsResponse> handler)
DataScienceAsync
Returns a list of PipelineRuns.
listPipelineRuns
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPipelinesResponse> listPipelines(ListPipelinesRequest request, AsyncHandler<ListPipelinesRequest,ListPipelinesResponse> handler)
DataScienceAsync
Returns a list of Pipelines.
listPipelines
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProjectsResponse> listProjects(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResponse> handler)
DataScienceAsync
Lists projects in the specified compartment.
listProjects
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
DataScienceAsync
Lists work request errors for the specified work request.
listWorkRequestErrors
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
DataScienceAsync
Lists work request logs for the specified work request.
listWorkRequestLogs
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
DataScienceAsync
Lists work requests in the specified compartment.
listWorkRequests
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RestoreArchivedModelArtifactResponse> restoreArchivedModelArtifact(RestoreArchivedModelArtifactRequest request, AsyncHandler<RestoreArchivedModelArtifactRequest,RestoreArchivedModelArtifactResponse> handler)
DataScienceAsync
Restore archived model artifact
restoreArchivedModelArtifact
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDataSciencePrivateEndpointResponse> updateDataSciencePrivateEndpoint(UpdateDataSciencePrivateEndpointRequest request, AsyncHandler<UpdateDataSciencePrivateEndpointRequest,UpdateDataSciencePrivateEndpointResponse> handler)
DataScienceAsync
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 DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateJobResponse> updateJob(UpdateJobRequest request, AsyncHandler<UpdateJobRequest,UpdateJobResponse> handler)
DataScienceAsync
Updates a job.
updateJob
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateJobRunResponse> updateJobRun(UpdateJobRunRequest request, AsyncHandler<UpdateJobRunRequest,UpdateJobRunResponse> handler)
DataScienceAsync
Updates a job run.
updateJobRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateModelResponse> updateModel(UpdateModelRequest request, AsyncHandler<UpdateModelRequest,UpdateModelResponse> handler)
DataScienceAsync
Updates the properties of a model. You can update the displayName
, description
, freeformTags
, and definedTags
properties.
updateModel
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateModelDeploymentResponse> updateModelDeployment(UpdateModelDeploymentRequest request, AsyncHandler<UpdateModelDeploymentRequest,UpdateModelDeploymentResponse> handler)
DataScienceAsync
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 DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateModelProvenanceResponse> updateModelProvenance(UpdateModelProvenanceRequest request, AsyncHandler<UpdateModelProvenanceRequest,UpdateModelProvenanceResponse> handler)
DataScienceAsync
Updates the provenance information for the specified model.
updateModelProvenance
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateModelVersionSetResponse> updateModelVersionSet(UpdateModelVersionSetRequest request, AsyncHandler<UpdateModelVersionSetRequest,UpdateModelVersionSetResponse> handler)
DataScienceAsync
Updates the properties of a model version set. User can update the description
property.
updateModelVersionSet
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateNotebookSessionResponse> updateNotebookSession(UpdateNotebookSessionRequest request, AsyncHandler<UpdateNotebookSessionRequest,UpdateNotebookSessionResponse> handler)
DataScienceAsync
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 DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdatePipelineResponse> updatePipeline(UpdatePipelineRequest request, AsyncHandler<UpdatePipelineRequest,UpdatePipelineResponse> handler)
DataScienceAsync
Updates the Pipeline.
updatePipeline
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdatePipelineRunResponse> updatePipelineRun(UpdatePipelineRunRequest request, AsyncHandler<UpdatePipelineRunRequest,UpdatePipelineRunResponse> handler)
DataScienceAsync
Updates the PipelineRun.
updatePipelineRun
in interface DataScienceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateProjectResponse> updateProject(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResponse> handler)
DataScienceAsync
Updates the properties of a project. You can update the displayName
, description
, freeformTags
, and definedTags
properties.
updateProject
in interface DataScienceAsync
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.