Class DataScienceAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.datascience.DataScienceAsyncClient
-
- All Implemented Interfaces:
DataScienceAsync
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class DataScienceAsyncClient extends BaseAsyncClient implements DataScienceAsync
Async client implementation for DataScience service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream
, 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.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataScienceAsyncClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.datascience.DataScienceAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.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)
-
DataScienceAsyncClient
@Deprecated public DataScienceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceAsyncClient.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
-
-
Method Detail
-
builder
public static DataScienceAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface: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.- Specified by:
setRegion
in interfaceDataScienceAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface: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 callsetEndpoint
.- Specified by:
setRegion
in interfaceDataScienceAsync
- Parameters:
regionId
- The public region ID.
-
activateModel
public Future<ActivateModelResponse> activateModel(ActivateModelRequest request, AsyncHandler<ActivateModelRequest,ActivateModelResponse> handler)
Description copied from interface:DataScienceAsync
Activates the model.- Specified by:
activateModel
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
activateModelDeployment
public Future<ActivateModelDeploymentResponse> activateModelDeployment(ActivateModelDeploymentRequest request, AsyncHandler<ActivateModelDeploymentRequest,ActivateModelDeploymentResponse> handler)
Description copied from interface:DataScienceAsync
Activates the model deployment.- Specified by:
activateModelDeployment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
activateNotebookSession
public Future<ActivateNotebookSessionResponse> activateNotebookSession(ActivateNotebookSessionRequest request, AsyncHandler<ActivateNotebookSessionRequest,ActivateNotebookSessionResponse> handler)
Description copied from interface:DataScienceAsync
Activates the notebook session.- Specified by:
activateNotebookSession
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
activateSchedule
public Future<ActivateScheduleResponse> activateSchedule(ActivateScheduleRequest request, AsyncHandler<ActivateScheduleRequest,ActivateScheduleResponse> handler)
Description copied from interface:DataScienceAsync
Activate schedule.- Specified by:
activateSchedule
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelJobRun
public Future<CancelJobRunResponse> cancelJobRun(CancelJobRunRequest request, AsyncHandler<CancelJobRunRequest,CancelJobRunResponse> handler)
Description copied from interface:DataScienceAsync
Cancels an IN_PROGRESS job run.- Specified by:
cancelJobRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelPipelineRun
public Future<CancelPipelineRunResponse> cancelPipelineRun(CancelPipelineRunRequest request, AsyncHandler<CancelPipelineRunRequest,CancelPipelineRunResponse> handler)
Description copied from interface:DataScienceAsync
Cancel a PipelineRun.- Specified by:
cancelPipelineRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelWorkRequest
public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
Description copied from interface:DataScienceAsync
Cancels a work request that has not started.- Specified by:
cancelWorkRequest
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeDataSciencePrivateEndpointCompartment
public Future<ChangeDataSciencePrivateEndpointCompartmentResponse> changeDataSciencePrivateEndpointCompartment(ChangeDataSciencePrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDataSciencePrivateEndpointCompartmentRequest,ChangeDataSciencePrivateEndpointCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a private endpoint into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeDataSciencePrivateEndpointCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeJobCompartment
public Future<ChangeJobCompartmentResponse> changeJobCompartment(ChangeJobCompartmentRequest request, AsyncHandler<ChangeJobCompartmentRequest,ChangeJobCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Changes a job’s compartment- Specified by:
changeJobCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeJobRunCompartment
public Future<ChangeJobRunCompartmentResponse> changeJobRunCompartment(ChangeJobRunCompartmentRequest request, AsyncHandler<ChangeJobRunCompartmentRequest,ChangeJobRunCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Changes a job run’s compartment- Specified by:
changeJobRunCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMlApplicationCompartment
public Future<ChangeMlApplicationCompartmentResponse> changeMlApplicationCompartment(ChangeMlApplicationCompartmentRequest request, AsyncHandler<ChangeMlApplicationCompartmentRequest,ChangeMlApplicationCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a MlApplication resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMlApplicationCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMlApplicationImplementationCompartment
public Future<ChangeMlApplicationImplementationCompartmentResponse> changeMlApplicationImplementationCompartment(ChangeMlApplicationImplementationCompartmentRequest request, AsyncHandler<ChangeMlApplicationImplementationCompartmentRequest,ChangeMlApplicationImplementationCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a MlApplicationImplementation resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMlApplicationImplementationCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMlApplicationInstanceCompartment
public Future<ChangeMlApplicationInstanceCompartmentResponse> changeMlApplicationInstanceCompartment(ChangeMlApplicationInstanceCompartmentRequest request, AsyncHandler<ChangeMlApplicationInstanceCompartmentRequest,ChangeMlApplicationInstanceCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a MlApplicationInstance resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMlApplicationInstanceCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMlApplicationInstanceViewCompartment
public Future<ChangeMlApplicationInstanceViewCompartmentResponse> changeMlApplicationInstanceViewCompartment(ChangeMlApplicationInstanceViewCompartmentRequest request, AsyncHandler<ChangeMlApplicationInstanceViewCompartmentRequest,ChangeMlApplicationInstanceViewCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a MlApplicationInstanceView resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMlApplicationInstanceViewCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeModelCompartment
public Future<ChangeModelCompartmentResponse> changeModelCompartment(ChangeModelCompartmentRequest request, AsyncHandler<ChangeModelCompartmentRequest,ChangeModelCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a model resource into a different compartment.- Specified by:
changeModelCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeModelDeploymentCompartment
public Future<ChangeModelDeploymentCompartmentResponse> changeModelDeploymentCompartment(ChangeModelDeploymentCompartmentRequest request, AsyncHandler<ChangeModelDeploymentCompartmentRequest,ChangeModelDeploymentCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a model deployment into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeModelDeploymentCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeModelVersionSetCompartment
public Future<ChangeModelVersionSetCompartmentResponse> changeModelVersionSetCompartment(ChangeModelVersionSetCompartmentRequest request, AsyncHandler<ChangeModelVersionSetCompartmentRequest,ChangeModelVersionSetCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a modelVersionSet resource into a different compartment.- Specified by:
changeModelVersionSetCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeNotebookSessionCompartment
public Future<ChangeNotebookSessionCompartmentResponse> changeNotebookSessionCompartment(ChangeNotebookSessionCompartmentRequest request, AsyncHandler<ChangeNotebookSessionCompartmentRequest,ChangeNotebookSessionCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a notebook session resource into a different compartment.- Specified by:
changeNotebookSessionCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changePipelineCompartment
public Future<ChangePipelineCompartmentResponse> changePipelineCompartment(ChangePipelineCompartmentRequest request, AsyncHandler<ChangePipelineCompartmentRequest,ChangePipelineCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a resource into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changePipelineCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changePipelineRunCompartment
public Future<ChangePipelineRunCompartmentResponse> changePipelineRunCompartment(ChangePipelineRunCompartmentRequest request, AsyncHandler<ChangePipelineRunCompartmentRequest,ChangePipelineRunCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a resource into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changePipelineRunCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeProjectCompartment
public Future<ChangeProjectCompartmentResponse> changeProjectCompartment(ChangeProjectCompartmentRequest request, AsyncHandler<ChangeProjectCompartmentRequest,ChangeProjectCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a project resource into a different compartment.- Specified by:
changeProjectCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeScheduleCompartment
public Future<ChangeScheduleCompartmentResponse> changeScheduleCompartment(ChangeScheduleCompartmentRequest request, AsyncHandler<ChangeScheduleCompartmentRequest,ChangeScheduleCompartmentResponse> handler)
Description copied from interface:DataScienceAsync
Moves a Schedule resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeScheduleCompartment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDataSciencePrivateEndpoint
public Future<CreateDataSciencePrivateEndpointResponse> createDataSciencePrivateEndpoint(CreateDataSciencePrivateEndpointRequest request, AsyncHandler<CreateDataSciencePrivateEndpointRequest,CreateDataSciencePrivateEndpointResponse> handler)
Description copied from interface:DataScienceAsync
Creates a Data Science private endpoint to be used by a Data Science resource.- Specified by:
createDataSciencePrivateEndpoint
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createJob
public Future<CreateJobResponse> createJob(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResponse> handler)
Description copied from interface:DataScienceAsync
Creates a job.- Specified by:
createJob
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createJobArtifact
public Future<CreateJobArtifactResponse> createJobArtifact(CreateJobArtifactRequest request, AsyncHandler<CreateJobArtifactRequest,CreateJobArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Uploads a job artifact.- Specified by:
createJobArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createJobRun
public Future<CreateJobRunResponse> createJobRun(CreateJobRunRequest request, AsyncHandler<CreateJobRunRequest,CreateJobRunResponse> handler)
Description copied from interface:DataScienceAsync
Creates a job run.- Specified by:
createJobRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMlApplication
public Future<CreateMlApplicationResponse> createMlApplication(CreateMlApplicationRequest request, AsyncHandler<CreateMlApplicationRequest,CreateMlApplicationResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new MlApplication.- Specified by:
createMlApplication
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMlApplicationImplementation
public Future<CreateMlApplicationImplementationResponse> createMlApplicationImplementation(CreateMlApplicationImplementationRequest request, AsyncHandler<CreateMlApplicationImplementationRequest,CreateMlApplicationImplementationResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new MlApplicationImplementation.- Specified by:
createMlApplicationImplementation
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMlApplicationInstance
public Future<CreateMlApplicationInstanceResponse> createMlApplicationInstance(CreateMlApplicationInstanceRequest request, AsyncHandler<CreateMlApplicationInstanceRequest,CreateMlApplicationInstanceResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new MlApplicationInstance.- Specified by:
createMlApplicationInstance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModel
public Future<CreateModelResponse> createModel(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new model.- Specified by:
createModel
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModelArtifact
public Future<CreateModelArtifactResponse> createModelArtifact(CreateModelArtifactRequest request, AsyncHandler<CreateModelArtifactRequest,CreateModelArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Creates model artifact for specified model.- Specified by:
createModelArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModelCustomMetadatumArtifact
public Future<CreateModelCustomMetadatumArtifactResponse> createModelCustomMetadatumArtifact(CreateModelCustomMetadatumArtifactRequest request, AsyncHandler<CreateModelCustomMetadatumArtifactRequest,CreateModelCustomMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Creates model custom metadata artifact for specified model.- Specified by:
createModelCustomMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModelDefinedMetadatumArtifact
public Future<CreateModelDefinedMetadatumArtifactResponse> createModelDefinedMetadatumArtifact(CreateModelDefinedMetadatumArtifactRequest request, AsyncHandler<CreateModelDefinedMetadatumArtifactRequest,CreateModelDefinedMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Creates model defined metadata artifact for specified model.- Specified by:
createModelDefinedMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModelDeployment
public Future<CreateModelDeploymentResponse> createModelDeployment(CreateModelDeploymentRequest request, AsyncHandler<CreateModelDeploymentRequest,CreateModelDeploymentResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new model deployment.- Specified by:
createModelDeployment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModelProvenance
public Future<CreateModelProvenanceResponse> createModelProvenance(CreateModelProvenanceRequest request, AsyncHandler<CreateModelProvenanceRequest,CreateModelProvenanceResponse> handler)
Description copied from interface:DataScienceAsync
Creates provenance information for the specified model.- Specified by:
createModelProvenance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createModelVersionSet
public Future<CreateModelVersionSetResponse> createModelVersionSet(CreateModelVersionSetRequest request, AsyncHandler<CreateModelVersionSetRequest,CreateModelVersionSetResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new modelVersionSet.- Specified by:
createModelVersionSet
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNotebookSession
public Future<CreateNotebookSessionResponse> createNotebookSession(CreateNotebookSessionRequest request, AsyncHandler<CreateNotebookSessionRequest,CreateNotebookSessionResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new notebook session.- Specified by:
createNotebookSession
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPipeline
public Future<CreatePipelineResponse> createPipeline(CreatePipelineRequest request, AsyncHandler<CreatePipelineRequest,CreatePipelineResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new Pipeline.- Specified by:
createPipeline
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPipelineRun
public Future<CreatePipelineRunResponse> createPipelineRun(CreatePipelineRunRequest request, AsyncHandler<CreatePipelineRunRequest,CreatePipelineRunResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new PipelineRun.- Specified by:
createPipelineRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createProject
public Future<CreateProjectResponse> createProject(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new project.- Specified by:
createProject
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createSchedule
public Future<CreateScheduleResponse> createSchedule(CreateScheduleRequest request, AsyncHandler<CreateScheduleRequest,CreateScheduleResponse> handler)
Description copied from interface:DataScienceAsync
Creates a new Schedule.- Specified by:
createSchedule
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStepArtifact
public Future<CreateStepArtifactResponse> createStepArtifact(CreateStepArtifactRequest request, AsyncHandler<CreateStepArtifactRequest,CreateStepArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Upload the artifact for a step in the pipeline.- Specified by:
createStepArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deactivateModel
public Future<DeactivateModelResponse> deactivateModel(DeactivateModelRequest request, AsyncHandler<DeactivateModelRequest,DeactivateModelResponse> handler)
Description copied from interface:DataScienceAsync
Deactivates the model.- Specified by:
deactivateModel
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deactivateModelDeployment
public Future<DeactivateModelDeploymentResponse> deactivateModelDeployment(DeactivateModelDeploymentRequest request, AsyncHandler<DeactivateModelDeploymentRequest,DeactivateModelDeploymentResponse> handler)
Description copied from interface:DataScienceAsync
Deactivates the model deployment.- Specified by:
deactivateModelDeployment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deactivateNotebookSession
public Future<DeactivateNotebookSessionResponse> deactivateNotebookSession(DeactivateNotebookSessionRequest request, AsyncHandler<DeactivateNotebookSessionRequest,DeactivateNotebookSessionResponse> handler)
Description copied from interface:DataScienceAsync
Deactivates the notebook session.- Specified by:
deactivateNotebookSession
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deactivateSchedule
public Future<DeactivateScheduleResponse> deactivateSchedule(DeactivateScheduleRequest request, AsyncHandler<DeactivateScheduleRequest,DeactivateScheduleResponse> handler)
Description copied from interface:DataScienceAsync
Deactivate schedule.- Specified by:
deactivateSchedule
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDataSciencePrivateEndpoint
public Future<DeleteDataSciencePrivateEndpointResponse> deleteDataSciencePrivateEndpoint(DeleteDataSciencePrivateEndpointRequest request, AsyncHandler<DeleteDataSciencePrivateEndpointRequest,DeleteDataSciencePrivateEndpointResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a private endpoint usingprivateEndpointId
.- Specified by:
deleteDataSciencePrivateEndpoint
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteJob
public Future<DeleteJobResponse> deleteJob(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a job.- Specified by:
deleteJob
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteJobRun
public Future<DeleteJobRunResponse> deleteJobRun(DeleteJobRunRequest request, AsyncHandler<DeleteJobRunRequest,DeleteJobRunResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a job run.- Specified by:
deleteJobRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMlApplication
public Future<DeleteMlApplicationResponse> deleteMlApplication(DeleteMlApplicationRequest request, AsyncHandler<DeleteMlApplicationRequest,DeleteMlApplicationResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a MlApplication resource by identifier- Specified by:
deleteMlApplication
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMlApplicationImplementation
public Future<DeleteMlApplicationImplementationResponse> deleteMlApplicationImplementation(DeleteMlApplicationImplementationRequest request, AsyncHandler<DeleteMlApplicationImplementationRequest,DeleteMlApplicationImplementationResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a MlApplicationImplementation resource by identifier- Specified by:
deleteMlApplicationImplementation
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMlApplicationInstance
public Future<DeleteMlApplicationInstanceResponse> deleteMlApplicationInstance(DeleteMlApplicationInstanceRequest request, AsyncHandler<DeleteMlApplicationInstanceRequest,DeleteMlApplicationInstanceResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a MlApplicationInstance resource by identifier- Specified by:
deleteMlApplicationInstance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteModel
public Future<DeleteModelResponse> deleteModel(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,DeleteModelResponse> handler)
Description copied from interface:DataScienceAsync
Deletes the specified model.- Specified by:
deleteModel
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteModelCustomMetadatumArtifact
public Future<DeleteModelCustomMetadatumArtifactResponse> deleteModelCustomMetadatumArtifact(DeleteModelCustomMetadatumArtifactRequest request, AsyncHandler<DeleteModelCustomMetadatumArtifactRequest,DeleteModelCustomMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Deletes model custom metadata artifact for specified model metadata key.- Specified by:
deleteModelCustomMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteModelDefinedMetadatumArtifact
public Future<DeleteModelDefinedMetadatumArtifactResponse> deleteModelDefinedMetadatumArtifact(DeleteModelDefinedMetadatumArtifactRequest request, AsyncHandler<DeleteModelDefinedMetadatumArtifactRequest,DeleteModelDefinedMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Deletes model defined metadata artifact for specified model metadata key.- Specified by:
deleteModelDefinedMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteModelDeployment
public Future<DeleteModelDeploymentResponse> deleteModelDeployment(DeleteModelDeploymentRequest request, AsyncHandler<DeleteModelDeploymentRequest,DeleteModelDeploymentResponse> handler)
Description copied from interface:DataScienceAsync
Deletes the specified model deployment.Any unsaved work in this model deployment is lost.
- Specified by:
deleteModelDeployment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteModelVersionSet
public Future<DeleteModelVersionSetResponse> deleteModelVersionSet(DeleteModelVersionSetRequest request, AsyncHandler<DeleteModelVersionSetRequest,DeleteModelVersionSetResponse> handler)
Description copied from interface:DataScienceAsync
Deletes the specified modelVersionSet.- Specified by:
deleteModelVersionSet
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNotebookSession
public Future<DeleteNotebookSessionResponse> deleteNotebookSession(DeleteNotebookSessionRequest request, AsyncHandler<DeleteNotebookSessionRequest,DeleteNotebookSessionResponse> handler)
Description copied from interface:DataScienceAsync
Deletes the specified notebook session.Any unsaved work in this notebook session are lost.
- Specified by:
deleteNotebookSession
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePipeline
public Future<DeletePipelineResponse> deletePipeline(DeletePipelineRequest request, AsyncHandler<DeletePipelineRequest,DeletePipelineResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a Pipeline resource by identifier.- Specified by:
deletePipeline
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePipelineRun
public Future<DeletePipelineRunResponse> deletePipelineRun(DeletePipelineRunRequest request, AsyncHandler<DeletePipelineRunRequest,DeletePipelineRunResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a PipelineRun resource by identifier.- Specified by:
deletePipelineRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteProject
public Future<DeleteProjectResponse> deleteProject(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResponse> handler)
Description copied from interface: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.
- Specified by:
deleteProject
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteSchedule
public Future<DeleteScheduleResponse> deleteSchedule(DeleteScheduleRequest request, AsyncHandler<DeleteScheduleRequest,DeleteScheduleResponse> handler)
Description copied from interface:DataScienceAsync
Deletes a Schedule resource by identifier- Specified by:
deleteSchedule
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
disableMlApplicationInstanceViewTrigger
public Future<DisableMlApplicationInstanceViewTriggerResponse> disableMlApplicationInstanceViewTrigger(DisableMlApplicationInstanceViewTriggerRequest request, AsyncHandler<DisableMlApplicationInstanceViewTriggerRequest,DisableMlApplicationInstanceViewTriggerResponse> handler)
Description copied from interface:DataScienceAsync
Disable trigger of given name for given ML Application Instance View flow- Specified by:
disableMlApplicationInstanceViewTrigger
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableMlApplicationInstanceViewTrigger
public Future<EnableMlApplicationInstanceViewTriggerResponse> enableMlApplicationInstanceViewTrigger(EnableMlApplicationInstanceViewTriggerRequest request, AsyncHandler<EnableMlApplicationInstanceViewTriggerRequest,EnableMlApplicationInstanceViewTriggerResponse> handler)
Description copied from interface:DataScienceAsync
Enable trigger of given name for given ML Application Instance View flow- Specified by:
enableMlApplicationInstanceViewTrigger
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
exportModelArtifact
public Future<ExportModelArtifactResponse> exportModelArtifact(ExportModelArtifactRequest request, AsyncHandler<ExportModelArtifactRequest,ExportModelArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Export model artifact from source to the service bucket- Specified by:
exportModelArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDataSciencePrivateEndpoint
public Future<GetDataSciencePrivateEndpointResponse> getDataSciencePrivateEndpoint(GetDataSciencePrivateEndpointRequest request, AsyncHandler<GetDataSciencePrivateEndpointRequest,GetDataSciencePrivateEndpointResponse> handler)
Description copied from interface:DataScienceAsync
Retrieves an private endpoint using aprivateEndpointId
.- Specified by:
getDataSciencePrivateEndpoint
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getJob
public Future<GetJobResponse> getJob(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResponse> handler)
Description copied from interface:DataScienceAsync
Gets a job.- Specified by:
getJob
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getJobArtifactContent
public Future<GetJobArtifactContentResponse> getJobArtifactContent(GetJobArtifactContentRequest request, AsyncHandler<GetJobArtifactContentRequest,GetJobArtifactContentResponse> handler)
Description copied from interface:DataScienceAsync
Downloads job artifact content for specified job.- Specified by:
getJobArtifactContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getJobRun
public Future<GetJobRunResponse> getJobRun(GetJobRunRequest request, AsyncHandler<GetJobRunRequest,GetJobRunResponse> handler)
Description copied from interface:DataScienceAsync
Gets a job run.- Specified by:
getJobRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplication
public Future<GetMlApplicationResponse> getMlApplication(GetMlApplicationRequest request, AsyncHandler<GetMlApplicationRequest,GetMlApplicationResponse> handler)
Description copied from interface:DataScienceAsync
Gets a MlApplication by identifier- Specified by:
getMlApplication
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplicationHistoricalPackageContent
public Future<GetMlApplicationHistoricalPackageContentResponse> getMlApplicationHistoricalPackageContent(GetMlApplicationHistoricalPackageContentRequest request, AsyncHandler<GetMlApplicationHistoricalPackageContentRequest,GetMlApplicationHistoricalPackageContentResponse> handler)
Description copied from interface:DataScienceAsync
Retrieves ML Application package for MlApplicationImplementationVersion with given id.- Specified by:
getMlApplicationHistoricalPackageContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplicationImplementation
public Future<GetMlApplicationImplementationResponse> getMlApplicationImplementation(GetMlApplicationImplementationRequest request, AsyncHandler<GetMlApplicationImplementationRequest,GetMlApplicationImplementationResponse> handler)
Description copied from interface:DataScienceAsync
Gets a MlApplicationImplementation by identifier- Specified by:
getMlApplicationImplementation
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplicationImplementationVersion
public Future<GetMlApplicationImplementationVersionResponse> getMlApplicationImplementationVersion(GetMlApplicationImplementationVersionRequest request, AsyncHandler<GetMlApplicationImplementationVersionRequest,GetMlApplicationImplementationVersionResponse> handler)
Description copied from interface:DataScienceAsync
Gets a MlApplicationImplementationVersion by identifier- Specified by:
getMlApplicationImplementationVersion
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplicationInstance
public Future<GetMlApplicationInstanceResponse> getMlApplicationInstance(GetMlApplicationInstanceRequest request, AsyncHandler<GetMlApplicationInstanceRequest,GetMlApplicationInstanceResponse> handler)
Description copied from interface:DataScienceAsync
Gets a MlApplicationInstance by identifier- Specified by:
getMlApplicationInstance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplicationInstanceView
public Future<GetMlApplicationInstanceViewResponse> getMlApplicationInstanceView(GetMlApplicationInstanceViewRequest request, AsyncHandler<GetMlApplicationInstanceViewRequest,GetMlApplicationInstanceViewResponse> handler)
Description copied from interface:DataScienceAsync
Gets a MlApplicationInstanceView by identifier- Specified by:
getMlApplicationInstanceView
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMlApplicationPackageContent
public Future<GetMlApplicationPackageContentResponse> getMlApplicationPackageContent(GetMlApplicationPackageContentRequest request, AsyncHandler<GetMlApplicationPackageContentRequest,GetMlApplicationPackageContentResponse> handler)
Description copied from interface:DataScienceAsync
Retrieves last ML Application package uploaded for given ML Application Implementation- Specified by:
getMlApplicationPackageContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModel
public Future<GetModelResponse> getModel(GetModelRequest request, AsyncHandler<GetModelRequest,GetModelResponse> handler)
Description copied from interface:DataScienceAsync
Gets the specified model’s information.- Specified by:
getModel
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModelArtifactContent
public Future<GetModelArtifactContentResponse> getModelArtifactContent(GetModelArtifactContentRequest request, AsyncHandler<GetModelArtifactContentRequest,GetModelArtifactContentResponse> handler)
Description copied from interface:DataScienceAsync
Downloads model artifact content for specified model.- Specified by:
getModelArtifactContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModelCustomMetadatumArtifactContent
public Future<GetModelCustomMetadatumArtifactContentResponse> getModelCustomMetadatumArtifactContent(GetModelCustomMetadatumArtifactContentRequest request, AsyncHandler<GetModelCustomMetadatumArtifactContentRequest,GetModelCustomMetadatumArtifactContentResponse> handler)
Description copied from interface:DataScienceAsync
Downloads model custom metadata artifact content for specified model metadata key.- Specified by:
getModelCustomMetadatumArtifactContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModelDefinedMetadatumArtifactContent
public Future<GetModelDefinedMetadatumArtifactContentResponse> getModelDefinedMetadatumArtifactContent(GetModelDefinedMetadatumArtifactContentRequest request, AsyncHandler<GetModelDefinedMetadatumArtifactContentRequest,GetModelDefinedMetadatumArtifactContentResponse> handler)
Description copied from interface:DataScienceAsync
Downloads model defined metadata artifact content for specified model metadata key.- Specified by:
getModelDefinedMetadatumArtifactContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModelDeployment
public Future<GetModelDeploymentResponse> getModelDeployment(GetModelDeploymentRequest request, AsyncHandler<GetModelDeploymentRequest,GetModelDeploymentResponse> handler)
Description copied from interface:DataScienceAsync
Retrieves the model deployment for the specifiedmodelDeploymentId
.- Specified by:
getModelDeployment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModelProvenance
public Future<GetModelProvenanceResponse> getModelProvenance(GetModelProvenanceRequest request, AsyncHandler<GetModelProvenanceRequest,GetModelProvenanceResponse> handler)
Description copied from interface:DataScienceAsync
Gets provenance information for specified model.- Specified by:
getModelProvenance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getModelVersionSet
public Future<GetModelVersionSetResponse> getModelVersionSet(GetModelVersionSetRequest request, AsyncHandler<GetModelVersionSetRequest,GetModelVersionSetResponse> handler)
Description copied from interface:DataScienceAsync
Gets the specified model version set information.- Specified by:
getModelVersionSet
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNotebookSession
public Future<GetNotebookSessionResponse> getNotebookSession(GetNotebookSessionRequest request, AsyncHandler<GetNotebookSessionRequest,GetNotebookSessionResponse> handler)
Description copied from interface:DataScienceAsync
Gets the specified notebook session’s information.- Specified by:
getNotebookSession
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPipeline
public Future<GetPipelineResponse> getPipeline(GetPipelineRequest request, AsyncHandler<GetPipelineRequest,GetPipelineResponse> handler)
Description copied from interface:DataScienceAsync
Gets a Pipeline by identifier.- Specified by:
getPipeline
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPipelineRun
public Future<GetPipelineRunResponse> getPipelineRun(GetPipelineRunRequest request, AsyncHandler<GetPipelineRunRequest,GetPipelineRunResponse> handler)
Description copied from interface:DataScienceAsync
Gets a PipelineRun by identifier.- Specified by:
getPipelineRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getProject
public Future<GetProjectResponse> getProject(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResponse> handler)
Description copied from interface:DataScienceAsync
Gets the specified project’s information.- Specified by:
getProject
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSchedule
public Future<GetScheduleResponse> getSchedule(GetScheduleRequest request, AsyncHandler<GetScheduleRequest,GetScheduleResponse> handler)
Description copied from interface:DataScienceAsync
Gets a Schedule by identifier- Specified by:
getSchedule
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStepArtifactContent
public Future<GetStepArtifactContentResponse> getStepArtifactContent(GetStepArtifactContentRequest request, AsyncHandler<GetStepArtifactContentRequest,GetStepArtifactContentResponse> handler)
Description copied from interface:DataScienceAsync
Download the artifact for a step in the pipeline.- Specified by:
getStepArtifactContent
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:DataScienceAsync
Gets the specified work request’s information.- Specified by:
getWorkRequest
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
headJobArtifact
public Future<HeadJobArtifactResponse> headJobArtifact(HeadJobArtifactRequest request, AsyncHandler<HeadJobArtifactRequest,HeadJobArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Gets job artifact metadata.- Specified by:
headJobArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
headModelArtifact
public Future<HeadModelArtifactResponse> headModelArtifact(HeadModelArtifactRequest request, AsyncHandler<HeadModelArtifactRequest,HeadModelArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Gets model artifact metadata for specified model.- Specified by:
headModelArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
headModelCustomMetadatumArtifact
public Future<HeadModelCustomMetadatumArtifactResponse> headModelCustomMetadatumArtifact(HeadModelCustomMetadatumArtifactRequest request, AsyncHandler<HeadModelCustomMetadatumArtifactRequest,HeadModelCustomMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Gets custom metadata artifact metadata for specified model metadata key.- Specified by:
headModelCustomMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
headModelDefinedMetadatumArtifact
public Future<HeadModelDefinedMetadatumArtifactResponse> headModelDefinedMetadatumArtifact(HeadModelDefinedMetadatumArtifactRequest request, AsyncHandler<HeadModelDefinedMetadatumArtifactRequest,HeadModelDefinedMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Gets defined metadata artifact metadata for specified model metadata key.- Specified by:
headModelDefinedMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
headStepArtifact
public Future<HeadStepArtifactResponse> headStepArtifact(HeadStepArtifactRequest request, AsyncHandler<HeadStepArtifactRequest,HeadStepArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Get the artifact metadata for a step in the pipeline.- Specified by:
headStepArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
importModelArtifact
public Future<ImportModelArtifactResponse> importModelArtifact(ImportModelArtifactRequest request, AsyncHandler<ImportModelArtifactRequest,ImportModelArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Import model artifact from service bucket- Specified by:
importModelArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listContainers
public Future<ListContainersResponse> listContainers(ListContainersRequest request, AsyncHandler<ListContainersRequest,ListContainersResponse> handler)
Description copied from interface:DataScienceAsync
List containers.- Specified by:
listContainers
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDataSciencePrivateEndpoints
public Future<ListDataSciencePrivateEndpointsResponse> listDataSciencePrivateEndpoints(ListDataSciencePrivateEndpointsRequest request, AsyncHandler<ListDataSciencePrivateEndpointsRequest,ListDataSciencePrivateEndpointsResponse> handler)
Description copied from interface: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.
- Specified by:
listDataSciencePrivateEndpoints
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listFastLaunchJobConfigs
public Future<ListFastLaunchJobConfigsResponse> listFastLaunchJobConfigs(ListFastLaunchJobConfigsRequest request, AsyncHandler<ListFastLaunchJobConfigsRequest,ListFastLaunchJobConfigsResponse> handler)
Description copied from interface:DataScienceAsync
List fast launch capable job configs in the specified compartment.- Specified by:
listFastLaunchJobConfigs
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listJobRuns
public Future<ListJobRunsResponse> listJobRuns(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResponse> handler)
Description copied from interface:DataScienceAsync
List out job runs.- Specified by:
listJobRuns
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listJobShapes
public Future<ListJobShapesResponse> listJobShapes(ListJobShapesRequest request, AsyncHandler<ListJobShapesRequest,ListJobShapesResponse> handler)
Description copied from interface:DataScienceAsync
List job shapes available in the specified compartment.- Specified by:
listJobShapes
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listJobs
public Future<ListJobsResponse> listJobs(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResponse> handler)
Description copied from interface:DataScienceAsync
List jobs in the specified compartment.- Specified by:
listJobs
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMlApplicationImplementationVersions
public Future<ListMlApplicationImplementationVersionsResponse> listMlApplicationImplementationVersions(ListMlApplicationImplementationVersionsRequest request, AsyncHandler<ListMlApplicationImplementationVersionsRequest,ListMlApplicationImplementationVersionsResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of MlApplicationImplementationVersions.- Specified by:
listMlApplicationImplementationVersions
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMlApplicationImplementations
public Future<ListMlApplicationImplementationsResponse> listMlApplicationImplementations(ListMlApplicationImplementationsRequest request, AsyncHandler<ListMlApplicationImplementationsRequest,ListMlApplicationImplementationsResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of MlApplicationImplementations.- Specified by:
listMlApplicationImplementations
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMlApplicationInstanceViews
public Future<ListMlApplicationInstanceViewsResponse> listMlApplicationInstanceViews(ListMlApplicationInstanceViewsRequest request, AsyncHandler<ListMlApplicationInstanceViewsRequest,ListMlApplicationInstanceViewsResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of MlApplicationInstanceViews.- Specified by:
listMlApplicationInstanceViews
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMlApplicationInstances
public Future<ListMlApplicationInstancesResponse> listMlApplicationInstances(ListMlApplicationInstancesRequest request, AsyncHandler<ListMlApplicationInstancesRequest,ListMlApplicationInstancesResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of MlApplicationsInstances.- Specified by:
listMlApplicationInstances
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMlApplications
public Future<ListMlApplicationsResponse> listMlApplications(ListMlApplicationsRequest request, AsyncHandler<ListMlApplicationsRequest,ListMlApplicationsResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of MlApplications.- Specified by:
listMlApplications
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listModelDeploymentShapes
public Future<ListModelDeploymentShapesResponse> listModelDeploymentShapes(ListModelDeploymentShapesRequest request, AsyncHandler<ListModelDeploymentShapesRequest,ListModelDeploymentShapesResponse> handler)
Description copied from interface:DataScienceAsync
Lists the valid model deployment shapes.- Specified by:
listModelDeploymentShapes
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listModelDeployments
public Future<ListModelDeploymentsResponse> listModelDeployments(ListModelDeploymentsRequest request, AsyncHandler<ListModelDeploymentsRequest,ListModelDeploymentsResponse> handler)
Description copied from interface: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.
- Specified by:
listModelDeployments
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listModelVersionSets
public Future<ListModelVersionSetsResponse> listModelVersionSets(ListModelVersionSetsRequest request, AsyncHandler<ListModelVersionSetsRequest,ListModelVersionSetsResponse> handler)
Description copied from interface:DataScienceAsync
Lists model version sets in the specified compartment.- Specified by:
listModelVersionSets
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listModels
public Future<ListModelsResponse> listModels(ListModelsRequest request, AsyncHandler<ListModelsRequest,ListModelsResponse> handler)
Description copied from interface:DataScienceAsync
Lists models in the specified compartment.- Specified by:
listModels
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNotebookSessionShapes
public Future<ListNotebookSessionShapesResponse> listNotebookSessionShapes(ListNotebookSessionShapesRequest request, AsyncHandler<ListNotebookSessionShapesRequest,ListNotebookSessionShapesResponse> handler)
Description copied from interface:DataScienceAsync
Lists the valid notebook session shapes.- Specified by:
listNotebookSessionShapes
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNotebookSessions
public Future<ListNotebookSessionsResponse> listNotebookSessions(ListNotebookSessionsRequest request, AsyncHandler<ListNotebookSessionsRequest,ListNotebookSessionsResponse> handler)
Description copied from interface:DataScienceAsync
Lists the notebook sessions in the specified compartment.- Specified by:
listNotebookSessions
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPipelineRuns
public Future<ListPipelineRunsResponse> listPipelineRuns(ListPipelineRunsRequest request, AsyncHandler<ListPipelineRunsRequest,ListPipelineRunsResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of PipelineRuns.- Specified by:
listPipelineRuns
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPipelines
public Future<ListPipelinesResponse> listPipelines(ListPipelinesRequest request, AsyncHandler<ListPipelinesRequest,ListPipelinesResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of Pipelines.- Specified by:
listPipelines
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listProjects
public Future<ListProjectsResponse> listProjects(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResponse> handler)
Description copied from interface:DataScienceAsync
Lists projects in the specified compartment.- Specified by:
listProjects
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSchedules
public Future<ListSchedulesResponse> listSchedules(ListSchedulesRequest request, AsyncHandler<ListSchedulesRequest,ListSchedulesResponse> handler)
Description copied from interface:DataScienceAsync
Returns a list of Schedules.- Specified by:
listSchedules
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:DataScienceAsync
Lists work request errors for the specified work request.- Specified by:
listWorkRequestErrors
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:DataScienceAsync
Lists work request logs for the specified work request.- Specified by:
listWorkRequestLogs
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:DataScienceAsync
Lists work requests in the specified compartment.- Specified by:
listWorkRequests
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
putMlApplicationPackage
public Future<PutMlApplicationPackageResponse> putMlApplicationPackage(PutMlApplicationPackageRequest request, AsyncHandler<PutMlApplicationPackageRequest,PutMlApplicationPackageResponse> handler)
Description copied from interface:DataScienceAsync
Upload ML Application Package- Specified by:
putMlApplicationPackage
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
recoverMlApplicationInstanceView
public Future<RecoverMlApplicationInstanceViewResponse> recoverMlApplicationInstanceView(RecoverMlApplicationInstanceViewRequest request, AsyncHandler<RecoverMlApplicationInstanceViewRequest,RecoverMlApplicationInstanceViewResponse> handler)
Description copied from interface:DataScienceAsync
Provider can initiate recovery of the resource only if MlApplicationInstanceView is in one of the recoverable sub-states (RECOVERABLE_PROVIDER_ISSUE, RECOVERABLE_SERVICE_ISSUE).Provider should investigate (using MlApplicationInstanceView lifecycleDetails, relevant logs and metrics) and fix the issue before the recovery is initiated.
- Specified by:
recoverMlApplicationInstanceView
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
registerModelArtifactReference
public Future<RegisterModelArtifactReferenceResponse> registerModelArtifactReference(RegisterModelArtifactReferenceRequest request, AsyncHandler<RegisterModelArtifactReferenceRequest,RegisterModelArtifactReferenceResponse> handler)
Description copied from interface:DataScienceAsync
Registers model artifact reference metadata- Specified by:
registerModelArtifactReference
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
restoreArchivedModelArtifact
public Future<RestoreArchivedModelArtifactResponse> restoreArchivedModelArtifact(RestoreArchivedModelArtifactRequest request, AsyncHandler<RestoreArchivedModelArtifactRequest,RestoreArchivedModelArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Restore archived model artifact- Specified by:
restoreArchivedModelArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
triggerMlApplicationInstanceFlow
public Future<TriggerMlApplicationInstanceFlowResponse> triggerMlApplicationInstanceFlow(TriggerMlApplicationInstanceFlowRequest request, AsyncHandler<TriggerMlApplicationInstanceFlowRequest,TriggerMlApplicationInstanceFlowResponse> handler)
Description copied from interface:DataScienceAsync
Trigger ML Application Instance flow if possible- Specified by:
triggerMlApplicationInstanceFlow
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
triggerMlApplicationInstanceViewFlow
public Future<TriggerMlApplicationInstanceViewFlowResponse> triggerMlApplicationInstanceViewFlow(TriggerMlApplicationInstanceViewFlowRequest request, AsyncHandler<TriggerMlApplicationInstanceViewFlowRequest,TriggerMlApplicationInstanceViewFlowResponse> handler)
Description copied from interface:DataScienceAsync
Trigger ML Application Instance View flow if possible- Specified by:
triggerMlApplicationInstanceViewFlow
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDataSciencePrivateEndpoint
public Future<UpdateDataSciencePrivateEndpointResponse> updateDataSciencePrivateEndpoint(UpdateDataSciencePrivateEndpointRequest request, AsyncHandler<UpdateDataSciencePrivateEndpointRequest,UpdateDataSciencePrivateEndpointResponse> handler)
Description copied from interface:DataScienceAsync
Updates a private endpoint using aprivateEndpointId
.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.
- Specified by:
updateDataSciencePrivateEndpoint
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateJob
public Future<UpdateJobResponse> updateJob(UpdateJobRequest request, AsyncHandler<UpdateJobRequest,UpdateJobResponse> handler)
Description copied from interface:DataScienceAsync
Updates a job.- Specified by:
updateJob
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateJobRun
public Future<UpdateJobRunResponse> updateJobRun(UpdateJobRunRequest request, AsyncHandler<UpdateJobRunRequest,UpdateJobRunResponse> handler)
Description copied from interface:DataScienceAsync
Updates a job run.- Specified by:
updateJobRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMlApplication
public Future<UpdateMlApplicationResponse> updateMlApplication(UpdateMlApplicationRequest request, AsyncHandler<UpdateMlApplicationRequest,UpdateMlApplicationResponse> handler)
Description copied from interface:DataScienceAsync
Updates the MlApplication- Specified by:
updateMlApplication
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMlApplicationImplementation
public Future<UpdateMlApplicationImplementationResponse> updateMlApplicationImplementation(UpdateMlApplicationImplementationRequest request, AsyncHandler<UpdateMlApplicationImplementationRequest,UpdateMlApplicationImplementationResponse> handler)
Description copied from interface:DataScienceAsync
Updates the MlApplicationImplementation- Specified by:
updateMlApplicationImplementation
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMlApplicationImplementationVersion
public Future<UpdateMlApplicationImplementationVersionResponse> updateMlApplicationImplementationVersion(UpdateMlApplicationImplementationVersionRequest request, AsyncHandler<UpdateMlApplicationImplementationVersionRequest,UpdateMlApplicationImplementationVersionResponse> handler)
Description copied from interface:DataScienceAsync
Updates the MlApplicationImplementationVersion- Specified by:
updateMlApplicationImplementationVersion
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMlApplicationInstance
public Future<UpdateMlApplicationInstanceResponse> updateMlApplicationInstance(UpdateMlApplicationInstanceRequest request, AsyncHandler<UpdateMlApplicationInstanceRequest,UpdateMlApplicationInstanceResponse> handler)
Description copied from interface:DataScienceAsync
Updates the MlApplicationInstance- Specified by:
updateMlApplicationInstance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMlApplicationInstanceView
public Future<UpdateMlApplicationInstanceViewResponse> updateMlApplicationInstanceView(UpdateMlApplicationInstanceViewRequest request, AsyncHandler<UpdateMlApplicationInstanceViewRequest,UpdateMlApplicationInstanceViewResponse> handler)
Description copied from interface:DataScienceAsync
Updates the MlApplicationInstanceView- Specified by:
updateMlApplicationInstanceView
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateModel
public Future<UpdateModelResponse> updateModel(UpdateModelRequest request, AsyncHandler<UpdateModelRequest,UpdateModelResponse> handler)
Description copied from interface:DataScienceAsync
Updates the properties of a model.You can update the
displayName
,description
,freeformTags
, anddefinedTags
properties.- Specified by:
updateModel
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateModelCustomMetadatumArtifact
public Future<UpdateModelCustomMetadatumArtifactResponse> updateModelCustomMetadatumArtifact(UpdateModelCustomMetadatumArtifactRequest request, AsyncHandler<UpdateModelCustomMetadatumArtifactRequest,UpdateModelCustomMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Updates model custom metadata artifact for specified model metadata key.- Specified by:
updateModelCustomMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateModelDefinedMetadatumArtifact
public Future<UpdateModelDefinedMetadatumArtifactResponse> updateModelDefinedMetadatumArtifact(UpdateModelDefinedMetadatumArtifactRequest request, AsyncHandler<UpdateModelDefinedMetadatumArtifactRequest,UpdateModelDefinedMetadatumArtifactResponse> handler)
Description copied from interface:DataScienceAsync
Updates model defined metadata artifact for specified model metadata key.- Specified by:
updateModelDefinedMetadatumArtifact
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateModelDeployment
public Future<UpdateModelDeploymentResponse> updateModelDeployment(UpdateModelDeploymentRequest request, AsyncHandler<UpdateModelDeploymentRequest,UpdateModelDeploymentResponse> handler)
Description copied from interface:DataScienceAsync
Updates the properties of a model deployment.Some of the properties of
modelDeploymentConfigurationDetails
orCategoryLogDetails
can also be updated with zero down time when the model deployment’s lifecycle state is ACTIVE or NEEDS_ATTENTION i.einstanceShapeName
,instanceCount
andmodelId
, separatelyloadBalancerShape
orCategoryLogDetails
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.- Specified by:
updateModelDeployment
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateModelProvenance
public Future<UpdateModelProvenanceResponse> updateModelProvenance(UpdateModelProvenanceRequest request, AsyncHandler<UpdateModelProvenanceRequest,UpdateModelProvenanceResponse> handler)
Description copied from interface:DataScienceAsync
Updates the provenance information for the specified model.- Specified by:
updateModelProvenance
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateModelVersionSet
public Future<UpdateModelVersionSetResponse> updateModelVersionSet(UpdateModelVersionSetRequest request, AsyncHandler<UpdateModelVersionSetRequest,UpdateModelVersionSetResponse> handler)
Description copied from interface:DataScienceAsync
Updates the properties of a model version set.User can update the
description
property.- Specified by:
updateModelVersionSet
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNotebookSession
public Future<UpdateNotebookSessionResponse> updateNotebookSession(UpdateNotebookSessionRequest request, AsyncHandler<UpdateNotebookSessionRequest,UpdateNotebookSessionResponse> handler)
Description copied from interface:DataScienceAsync
Updates the properties of a notebook session.You can update the
displayName
,freeformTags
, anddefinedTags
properties. When the notebook session is in the INACTIVE lifecycle state, you can updatenotebookSessionConfigurationDetails
and changeshape
,subnetId
, andblockStorageSizeInGBs
. Changes to thenotebookSessionConfigurationDetails
take effect the next time theActivateNotebookSession
action is invoked on the notebook session resource.- Specified by:
updateNotebookSession
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePipeline
public Future<UpdatePipelineResponse> updatePipeline(UpdatePipelineRequest request, AsyncHandler<UpdatePipelineRequest,UpdatePipelineResponse> handler)
Description copied from interface:DataScienceAsync
Updates the Pipeline.- Specified by:
updatePipeline
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePipelineRun
public Future<UpdatePipelineRunResponse> updatePipelineRun(UpdatePipelineRunRequest request, AsyncHandler<UpdatePipelineRunRequest,UpdatePipelineRunResponse> handler)
Description copied from interface:DataScienceAsync
Updates the PipelineRun.- Specified by:
updatePipelineRun
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateProject
public Future<UpdateProjectResponse> updateProject(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResponse> handler)
Description copied from interface:DataScienceAsync
Updates the properties of a project.You can update the
displayName
,description
,freeformTags
, anddefinedTags
properties.- Specified by:
updateProject
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateSchedule
public Future<UpdateScheduleResponse> updateSchedule(UpdateScheduleRequest request, AsyncHandler<UpdateScheduleRequest,UpdateScheduleResponse> handler)
Description copied from interface:DataScienceAsync
Updates the Schedule- Specified by:
updateSchedule
in interfaceDataScienceAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
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
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint
- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient
.This will call
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-