Class DataScienceClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.datascience.DataScienceClient
-
- All Implemented Interfaces:
DataScience
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class DataScienceClient extends BaseSyncClient implements DataScience
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataScienceClient.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 DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
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.DataScience
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
DataScienceClient
@Deprecated public DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
DataScienceClient
@Deprecated public DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
DataScienceClient
@Deprecated public DataScienceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
DataScienceClient
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
DataScienceClient
@Deprecated public DataScienceClient(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 (seeDataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
DataScienceClient
@Deprecated public DataScienceClient(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 (seeDataScienceClient.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)
-
DataScienceClient
@Deprecated public DataScienceClient(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 (seeDataScienceClient.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
-
DataScienceClient
@Deprecated public DataScienceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeDataScienceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
-ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
-DataScienceClient.Builder.executorService
-
-
Method Detail
-
builder
public static DataScienceClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:DataScience
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegion
in interfaceDataScience
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:DataScience
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Specified by:
setRegion
in interfaceDataScience
- Parameters:
regionId
- The public region ID.
-
activateModel
public ActivateModelResponse activateModel(ActivateModelRequest request)
Description copied from interface:DataScience
Activates the model.- Specified by:
activateModel
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
activateModelDeployment
public ActivateModelDeploymentResponse activateModelDeployment(ActivateModelDeploymentRequest request)
Description copied from interface:DataScience
Activates the model deployment.- Specified by:
activateModelDeployment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
activateNotebookSession
public ActivateNotebookSessionResponse activateNotebookSession(ActivateNotebookSessionRequest request)
Description copied from interface:DataScience
Activates the notebook session.- Specified by:
activateNotebookSession
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
activateSchedule
public ActivateScheduleResponse activateSchedule(ActivateScheduleRequest request)
Description copied from interface:DataScience
Activate schedule.- Specified by:
activateSchedule
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelJobRun
public CancelJobRunResponse cancelJobRun(CancelJobRunRequest request)
Description copied from interface:DataScience
Cancels an IN_PROGRESS job run.- Specified by:
cancelJobRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelPipelineRun
public CancelPipelineRunResponse cancelPipelineRun(CancelPipelineRunRequest request)
Description copied from interface:DataScience
Cancel a PipelineRun.- Specified by:
cancelPipelineRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:DataScience
Cancels a work request that has not started.- Specified by:
cancelWorkRequest
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDataSciencePrivateEndpointCompartment
public ChangeDataSciencePrivateEndpointCompartmentResponse changeDataSciencePrivateEndpointCompartment(ChangeDataSciencePrivateEndpointCompartmentRequest request)
Description copied from interface:DataScience
Moves a private endpoint into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeDataSciencePrivateEndpointCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeJobCompartment
public ChangeJobCompartmentResponse changeJobCompartment(ChangeJobCompartmentRequest request)
Description copied from interface:DataScience
Changes a job’s compartment- Specified by:
changeJobCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeJobRunCompartment
public ChangeJobRunCompartmentResponse changeJobRunCompartment(ChangeJobRunCompartmentRequest request)
Description copied from interface:DataScience
Changes a job run’s compartment- Specified by:
changeJobRunCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMlApplicationCompartment
public ChangeMlApplicationCompartmentResponse changeMlApplicationCompartment(ChangeMlApplicationCompartmentRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMlApplicationImplementationCompartment
public ChangeMlApplicationImplementationCompartmentResponse changeMlApplicationImplementationCompartment(ChangeMlApplicationImplementationCompartmentRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMlApplicationInstanceCompartment
public ChangeMlApplicationInstanceCompartmentResponse changeMlApplicationInstanceCompartment(ChangeMlApplicationInstanceCompartmentRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMlApplicationInstanceViewCompartment
public ChangeMlApplicationInstanceViewCompartmentResponse changeMlApplicationInstanceViewCompartment(ChangeMlApplicationInstanceViewCompartmentRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeModelCompartment
public ChangeModelCompartmentResponse changeModelCompartment(ChangeModelCompartmentRequest request)
Description copied from interface:DataScience
Moves a model resource into a different compartment.- Specified by:
changeModelCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeModelDeploymentCompartment
public ChangeModelDeploymentCompartmentResponse changeModelDeploymentCompartment(ChangeModelDeploymentCompartmentRequest request)
Description copied from interface:DataScience
Moves a model deployment into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeModelDeploymentCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeModelVersionSetCompartment
public ChangeModelVersionSetCompartmentResponse changeModelVersionSetCompartment(ChangeModelVersionSetCompartmentRequest request)
Description copied from interface:DataScience
Moves a modelVersionSet resource into a different compartment.- Specified by:
changeModelVersionSetCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeNotebookSessionCompartment
public ChangeNotebookSessionCompartmentResponse changeNotebookSessionCompartment(ChangeNotebookSessionCompartmentRequest request)
Description copied from interface:DataScience
Moves a notebook session resource into a different compartment.- Specified by:
changeNotebookSessionCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changePipelineCompartment
public ChangePipelineCompartmentResponse changePipelineCompartment(ChangePipelineCompartmentRequest request)
Description copied from interface:DataScience
Moves a resource into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changePipelineCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changePipelineRunCompartment
public ChangePipelineRunCompartmentResponse changePipelineRunCompartment(ChangePipelineRunCompartmentRequest request)
Description copied from interface:DataScience
Moves a resource into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changePipelineRunCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeProjectCompartment
public ChangeProjectCompartmentResponse changeProjectCompartment(ChangeProjectCompartmentRequest request)
Description copied from interface:DataScience
Moves a project resource into a different compartment.- Specified by:
changeProjectCompartment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeScheduleCompartment
public ChangeScheduleCompartmentResponse changeScheduleCompartment(ChangeScheduleCompartmentRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDataSciencePrivateEndpoint
public CreateDataSciencePrivateEndpointResponse createDataSciencePrivateEndpoint(CreateDataSciencePrivateEndpointRequest request)
Description copied from interface:DataScience
Creates a Data Science private endpoint to be used by a Data Science resource.- Specified by:
createDataSciencePrivateEndpoint
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createJob
public CreateJobResponse createJob(CreateJobRequest request)
Description copied from interface:DataScience
Creates a job.- Specified by:
createJob
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createJobArtifact
public CreateJobArtifactResponse createJobArtifact(CreateJobArtifactRequest request)
Description copied from interface:DataScience
Uploads a job artifact.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
createJobArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createJobRun
public CreateJobRunResponse createJobRun(CreateJobRunRequest request)
Description copied from interface:DataScience
Creates a job run.- Specified by:
createJobRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMlApplication
public CreateMlApplicationResponse createMlApplication(CreateMlApplicationRequest request)
Description copied from interface:DataScience
Creates a new MlApplication.- Specified by:
createMlApplication
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMlApplicationImplementation
public CreateMlApplicationImplementationResponse createMlApplicationImplementation(CreateMlApplicationImplementationRequest request)
Description copied from interface:DataScience
Creates a new MlApplicationImplementation.- Specified by:
createMlApplicationImplementation
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMlApplicationInstance
public CreateMlApplicationInstanceResponse createMlApplicationInstance(CreateMlApplicationInstanceRequest request)
Description copied from interface:DataScience
Creates a new MlApplicationInstance.- Specified by:
createMlApplicationInstance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModel
public CreateModelResponse createModel(CreateModelRequest request)
Description copied from interface:DataScience
Creates a new model.- Specified by:
createModel
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModelArtifact
public CreateModelArtifactResponse createModelArtifact(CreateModelArtifactRequest request)
Description copied from interface:DataScience
Creates model artifact for specified model.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
createModelArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModelCustomMetadatumArtifact
public CreateModelCustomMetadatumArtifactResponse createModelCustomMetadatumArtifact(CreateModelCustomMetadatumArtifactRequest request)
Description copied from interface:DataScience
Creates model custom metadata artifact for specified model.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
createModelCustomMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModelDefinedMetadatumArtifact
public CreateModelDefinedMetadatumArtifactResponse createModelDefinedMetadatumArtifact(CreateModelDefinedMetadatumArtifactRequest request)
Description copied from interface:DataScience
Creates model defined metadata artifact for specified model.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
createModelDefinedMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModelDeployment
public CreateModelDeploymentResponse createModelDeployment(CreateModelDeploymentRequest request)
Description copied from interface:DataScience
Creates a new model deployment.- Specified by:
createModelDeployment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModelProvenance
public CreateModelProvenanceResponse createModelProvenance(CreateModelProvenanceRequest request)
Description copied from interface:DataScience
Creates provenance information for the specified model.- Specified by:
createModelProvenance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModelVersionSet
public CreateModelVersionSetResponse createModelVersionSet(CreateModelVersionSetRequest request)
Description copied from interface:DataScience
Creates a new modelVersionSet.- Specified by:
createModelVersionSet
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createNotebookSession
public CreateNotebookSessionResponse createNotebookSession(CreateNotebookSessionRequest request)
Description copied from interface:DataScience
Creates a new notebook session.- Specified by:
createNotebookSession
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPipeline
public CreatePipelineResponse createPipeline(CreatePipelineRequest request)
Description copied from interface:DataScience
Creates a new Pipeline.- Specified by:
createPipeline
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPipelineRun
public CreatePipelineRunResponse createPipelineRun(CreatePipelineRunRequest request)
Description copied from interface:DataScience
Creates a new PipelineRun.- Specified by:
createPipelineRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createProject
public CreateProjectResponse createProject(CreateProjectRequest request)
Description copied from interface:DataScience
Creates a new project.- Specified by:
createProject
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createSchedule
public CreateScheduleResponse createSchedule(CreateScheduleRequest request)
Description copied from interface:DataScience
Creates a new Schedule.- Specified by:
createSchedule
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createStepArtifact
public CreateStepArtifactResponse createStepArtifact(CreateStepArtifactRequest request)
Description copied from interface:DataScience
Upload the artifact for a step in the pipeline.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
createStepArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deactivateModel
public DeactivateModelResponse deactivateModel(DeactivateModelRequest request)
Description copied from interface:DataScience
Deactivates the model.- Specified by:
deactivateModel
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deactivateModelDeployment
public DeactivateModelDeploymentResponse deactivateModelDeployment(DeactivateModelDeploymentRequest request)
Description copied from interface:DataScience
Deactivates the model deployment.- Specified by:
deactivateModelDeployment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deactivateNotebookSession
public DeactivateNotebookSessionResponse deactivateNotebookSession(DeactivateNotebookSessionRequest request)
Description copied from interface:DataScience
Deactivates the notebook session.- Specified by:
deactivateNotebookSession
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deactivateSchedule
public DeactivateScheduleResponse deactivateSchedule(DeactivateScheduleRequest request)
Description copied from interface:DataScience
Deactivate schedule.- Specified by:
deactivateSchedule
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDataSciencePrivateEndpoint
public DeleteDataSciencePrivateEndpointResponse deleteDataSciencePrivateEndpoint(DeleteDataSciencePrivateEndpointRequest request)
Description copied from interface:DataScience
Deletes a private endpoint usingprivateEndpointId
.- Specified by:
deleteDataSciencePrivateEndpoint
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteJob
public DeleteJobResponse deleteJob(DeleteJobRequest request)
Description copied from interface:DataScience
Deletes a job.- Specified by:
deleteJob
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteJobRun
public DeleteJobRunResponse deleteJobRun(DeleteJobRunRequest request)
Description copied from interface:DataScience
Deletes a job run.- Specified by:
deleteJobRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMlApplication
public DeleteMlApplicationResponse deleteMlApplication(DeleteMlApplicationRequest request)
Description copied from interface:DataScience
Deletes a MlApplication resource by identifier- Specified by:
deleteMlApplication
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMlApplicationImplementation
public DeleteMlApplicationImplementationResponse deleteMlApplicationImplementation(DeleteMlApplicationImplementationRequest request)
Description copied from interface:DataScience
Deletes a MlApplicationImplementation resource by identifier- Specified by:
deleteMlApplicationImplementation
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMlApplicationInstance
public DeleteMlApplicationInstanceResponse deleteMlApplicationInstance(DeleteMlApplicationInstanceRequest request)
Description copied from interface:DataScience
Deletes a MlApplicationInstance resource by identifier- Specified by:
deleteMlApplicationInstance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteModel
public DeleteModelResponse deleteModel(DeleteModelRequest request)
Description copied from interface:DataScience
Deletes the specified model.- Specified by:
deleteModel
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteModelCustomMetadatumArtifact
public DeleteModelCustomMetadatumArtifactResponse deleteModelCustomMetadatumArtifact(DeleteModelCustomMetadatumArtifactRequest request)
Description copied from interface:DataScience
Deletes model custom metadata artifact for specified model metadata key.- Specified by:
deleteModelCustomMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteModelDefinedMetadatumArtifact
public DeleteModelDefinedMetadatumArtifactResponse deleteModelDefinedMetadatumArtifact(DeleteModelDefinedMetadatumArtifactRequest request)
Description copied from interface:DataScience
Deletes model defined metadata artifact for specified model metadata key.- Specified by:
deleteModelDefinedMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteModelDeployment
public DeleteModelDeploymentResponse deleteModelDeployment(DeleteModelDeploymentRequest request)
Description copied from interface:DataScience
Deletes the specified model deployment.Any unsaved work in this model deployment is lost.
- Specified by:
deleteModelDeployment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteModelVersionSet
public DeleteModelVersionSetResponse deleteModelVersionSet(DeleteModelVersionSetRequest request)
Description copied from interface:DataScience
Deletes the specified modelVersionSet.- Specified by:
deleteModelVersionSet
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteNotebookSession
public DeleteNotebookSessionResponse deleteNotebookSession(DeleteNotebookSessionRequest request)
Description copied from interface:DataScience
Deletes the specified notebook session.Any unsaved work in this notebook session are lost.
- Specified by:
deleteNotebookSession
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePipeline
public DeletePipelineResponse deletePipeline(DeletePipelineRequest request)
Description copied from interface:DataScience
Deletes a Pipeline resource by identifier.- Specified by:
deletePipeline
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePipelineRun
public DeletePipelineRunResponse deletePipelineRun(DeletePipelineRunRequest request)
Description copied from interface:DataScience
Deletes a PipelineRun resource by identifier.- Specified by:
deletePipelineRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteProject
public DeleteProjectResponse deleteProject(DeleteProjectRequest request)
Description copied from interface:DataScience
Deletes the specified project.This operation fails unless all associated resources (notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
- Specified by:
deleteProject
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteSchedule
public DeleteScheduleResponse deleteSchedule(DeleteScheduleRequest request)
Description copied from interface:DataScience
Deletes a Schedule resource by identifier- Specified by:
deleteSchedule
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableMlApplicationInstanceViewTrigger
public DisableMlApplicationInstanceViewTriggerResponse disableMlApplicationInstanceViewTrigger(DisableMlApplicationInstanceViewTriggerRequest request)
Description copied from interface:DataScience
Disable trigger of given name for given ML Application Instance View flow- Specified by:
disableMlApplicationInstanceViewTrigger
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableMlApplicationInstanceViewTrigger
public EnableMlApplicationInstanceViewTriggerResponse enableMlApplicationInstanceViewTrigger(EnableMlApplicationInstanceViewTriggerRequest request)
Description copied from interface:DataScience
Enable trigger of given name for given ML Application Instance View flow- Specified by:
enableMlApplicationInstanceViewTrigger
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportModelArtifact
public ExportModelArtifactResponse exportModelArtifact(ExportModelArtifactRequest request)
Description copied from interface:DataScience
Export model artifact from source to the service bucket- Specified by:
exportModelArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDataSciencePrivateEndpoint
public GetDataSciencePrivateEndpointResponse getDataSciencePrivateEndpoint(GetDataSciencePrivateEndpointRequest request)
Description copied from interface:DataScience
Retrieves an private endpoint using aprivateEndpointId
.- Specified by:
getDataSciencePrivateEndpoint
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJob
public GetJobResponse getJob(GetJobRequest request)
Description copied from interface:DataScience
Gets a job.- Specified by:
getJob
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJobArtifactContent
public GetJobArtifactContentResponse getJobArtifactContent(GetJobArtifactContentRequest request)
Description copied from interface:DataScience
Downloads job artifact content for specified job.- Specified by:
getJobArtifactContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJobRun
public GetJobRunResponse getJobRun(GetJobRunRequest request)
Description copied from interface:DataScience
Gets a job run.- Specified by:
getJobRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplication
public GetMlApplicationResponse getMlApplication(GetMlApplicationRequest request)
Description copied from interface:DataScience
Gets a MlApplication by identifier- Specified by:
getMlApplication
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplicationHistoricalPackageContent
public GetMlApplicationHistoricalPackageContentResponse getMlApplicationHistoricalPackageContent(GetMlApplicationHistoricalPackageContentRequest request)
Description copied from interface:DataScience
Retrieves ML Application package for MlApplicationImplementationVersion with given id.- Specified by:
getMlApplicationHistoricalPackageContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplicationImplementation
public GetMlApplicationImplementationResponse getMlApplicationImplementation(GetMlApplicationImplementationRequest request)
Description copied from interface:DataScience
Gets a MlApplicationImplementation by identifier- Specified by:
getMlApplicationImplementation
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplicationImplementationVersion
public GetMlApplicationImplementationVersionResponse getMlApplicationImplementationVersion(GetMlApplicationImplementationVersionRequest request)
Description copied from interface:DataScience
Gets a MlApplicationImplementationVersion by identifier- Specified by:
getMlApplicationImplementationVersion
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplicationInstance
public GetMlApplicationInstanceResponse getMlApplicationInstance(GetMlApplicationInstanceRequest request)
Description copied from interface:DataScience
Gets a MlApplicationInstance by identifier- Specified by:
getMlApplicationInstance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplicationInstanceView
public GetMlApplicationInstanceViewResponse getMlApplicationInstanceView(GetMlApplicationInstanceViewRequest request)
Description copied from interface:DataScience
Gets a MlApplicationInstanceView by identifier- Specified by:
getMlApplicationInstanceView
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMlApplicationPackageContent
public GetMlApplicationPackageContentResponse getMlApplicationPackageContent(GetMlApplicationPackageContentRequest request)
Description copied from interface:DataScience
Retrieves last ML Application package uploaded for given ML Application Implementation- Specified by:
getMlApplicationPackageContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModel
public GetModelResponse getModel(GetModelRequest request)
Description copied from interface:DataScience
Gets the specified model’s information.- Specified by:
getModel
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModelArtifactContent
public GetModelArtifactContentResponse getModelArtifactContent(GetModelArtifactContentRequest request)
Description copied from interface:DataScience
Downloads model artifact content for specified model.- Specified by:
getModelArtifactContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModelCustomMetadatumArtifactContent
public GetModelCustomMetadatumArtifactContentResponse getModelCustomMetadatumArtifactContent(GetModelCustomMetadatumArtifactContentRequest request)
Description copied from interface:DataScience
Downloads model custom metadata artifact content for specified model metadata key.- Specified by:
getModelCustomMetadatumArtifactContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModelDefinedMetadatumArtifactContent
public GetModelDefinedMetadatumArtifactContentResponse getModelDefinedMetadatumArtifactContent(GetModelDefinedMetadatumArtifactContentRequest request)
Description copied from interface:DataScience
Downloads model defined metadata artifact content for specified model metadata key.- Specified by:
getModelDefinedMetadatumArtifactContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModelDeployment
public GetModelDeploymentResponse getModelDeployment(GetModelDeploymentRequest request)
Description copied from interface:DataScience
Retrieves the model deployment for the specifiedmodelDeploymentId
.- Specified by:
getModelDeployment
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModelProvenance
public GetModelProvenanceResponse getModelProvenance(GetModelProvenanceRequest request)
Description copied from interface:DataScience
Gets provenance information for specified model.- Specified by:
getModelProvenance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModelVersionSet
public GetModelVersionSetResponse getModelVersionSet(GetModelVersionSetRequest request)
Description copied from interface:DataScience
Gets the specified model version set information.- Specified by:
getModelVersionSet
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getNotebookSession
public GetNotebookSessionResponse getNotebookSession(GetNotebookSessionRequest request)
Description copied from interface:DataScience
Gets the specified notebook session’s information.- Specified by:
getNotebookSession
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPipeline
public GetPipelineResponse getPipeline(GetPipelineRequest request)
Description copied from interface:DataScience
Gets a Pipeline by identifier.- Specified by:
getPipeline
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPipelineRun
public GetPipelineRunResponse getPipelineRun(GetPipelineRunRequest request)
Description copied from interface:DataScience
Gets a PipelineRun by identifier.- Specified by:
getPipelineRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getProject
public GetProjectResponse getProject(GetProjectRequest request)
Description copied from interface:DataScience
Gets the specified project’s information.- Specified by:
getProject
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSchedule
public GetScheduleResponse getSchedule(GetScheduleRequest request)
Description copied from interface:DataScience
Gets a Schedule by identifier- Specified by:
getSchedule
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getStepArtifactContent
public GetStepArtifactContentResponse getStepArtifactContent(GetStepArtifactContentRequest request)
Description copied from interface:DataScience
Download the artifact for a step in the pipeline.- Specified by:
getStepArtifactContent
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:DataScience
Gets the specified work request’s information.- Specified by:
getWorkRequest
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
headJobArtifact
public HeadJobArtifactResponse headJobArtifact(HeadJobArtifactRequest request)
Description copied from interface:DataScience
Gets job artifact metadata.- Specified by:
headJobArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
headModelArtifact
public HeadModelArtifactResponse headModelArtifact(HeadModelArtifactRequest request)
Description copied from interface:DataScience
Gets model artifact metadata for specified model.- Specified by:
headModelArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
headModelCustomMetadatumArtifact
public HeadModelCustomMetadatumArtifactResponse headModelCustomMetadatumArtifact(HeadModelCustomMetadatumArtifactRequest request)
Description copied from interface:DataScience
Gets custom metadata artifact metadata for specified model metadata key.- Specified by:
headModelCustomMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
headModelDefinedMetadatumArtifact
public HeadModelDefinedMetadatumArtifactResponse headModelDefinedMetadatumArtifact(HeadModelDefinedMetadatumArtifactRequest request)
Description copied from interface:DataScience
Gets defined metadata artifact metadata for specified model metadata key.- Specified by:
headModelDefinedMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
headStepArtifact
public HeadStepArtifactResponse headStepArtifact(HeadStepArtifactRequest request)
Description copied from interface:DataScience
Get the artifact metadata for a step in the pipeline.- Specified by:
headStepArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
importModelArtifact
public ImportModelArtifactResponse importModelArtifact(ImportModelArtifactRequest request)
Description copied from interface:DataScience
Import model artifact from service bucket- Specified by:
importModelArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listContainers
public ListContainersResponse listContainers(ListContainersRequest request)
Description copied from interface:DataScience
List containers.- Specified by:
listContainers
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDataSciencePrivateEndpoints
public ListDataSciencePrivateEndpointsResponse listDataSciencePrivateEndpoints(ListDataSciencePrivateEndpointsRequest request)
Description copied from interface:DataScience
Lists all Data Science private endpoints in the specified compartment.The query must include compartmentId. The query can also include one other parameter. If the query doesn’t include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned.
- Specified by:
listDataSciencePrivateEndpoints
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listFastLaunchJobConfigs
public ListFastLaunchJobConfigsResponse listFastLaunchJobConfigs(ListFastLaunchJobConfigsRequest request)
Description copied from interface:DataScience
List fast launch capable job configs in the specified compartment.- Specified by:
listFastLaunchJobConfigs
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJobRuns
public ListJobRunsResponse listJobRuns(ListJobRunsRequest request)
Description copied from interface:DataScience
List out job runs.- Specified by:
listJobRuns
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJobShapes
public ListJobShapesResponse listJobShapes(ListJobShapesRequest request)
Description copied from interface:DataScience
List job shapes available in the specified compartment.- Specified by:
listJobShapes
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJobs
public ListJobsResponse listJobs(ListJobsRequest request)
Description copied from interface:DataScience
List jobs in the specified compartment.- Specified by:
listJobs
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMlApplicationImplementationVersions
public ListMlApplicationImplementationVersionsResponse listMlApplicationImplementationVersions(ListMlApplicationImplementationVersionsRequest request)
Description copied from interface:DataScience
Returns a list of MlApplicationImplementationVersions.- Specified by:
listMlApplicationImplementationVersions
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMlApplicationImplementations
public ListMlApplicationImplementationsResponse listMlApplicationImplementations(ListMlApplicationImplementationsRequest request)
Description copied from interface:DataScience
Returns a list of MlApplicationImplementations.- Specified by:
listMlApplicationImplementations
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMlApplicationInstanceViews
public ListMlApplicationInstanceViewsResponse listMlApplicationInstanceViews(ListMlApplicationInstanceViewsRequest request)
Description copied from interface:DataScience
Returns a list of MlApplicationInstanceViews.- Specified by:
listMlApplicationInstanceViews
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMlApplicationInstances
public ListMlApplicationInstancesResponse listMlApplicationInstances(ListMlApplicationInstancesRequest request)
Description copied from interface:DataScience
Returns a list of MlApplicationsInstances.- Specified by:
listMlApplicationInstances
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMlApplications
public ListMlApplicationsResponse listMlApplications(ListMlApplicationsRequest request)
Description copied from interface:DataScience
Returns a list of MlApplications.- Specified by:
listMlApplications
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModelDeploymentShapes
public ListModelDeploymentShapesResponse listModelDeploymentShapes(ListModelDeploymentShapesRequest request)
Description copied from interface:DataScience
Lists the valid model deployment shapes.- Specified by:
listModelDeploymentShapes
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModelDeployments
public ListModelDeploymentsResponse listModelDeployments(ListModelDeploymentsRequest request)
Description copied from interface:DataScience
Lists all model deployments in the specified compartment.Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
- Specified by:
listModelDeployments
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModelVersionSets
public ListModelVersionSetsResponse listModelVersionSets(ListModelVersionSetsRequest request)
Description copied from interface:DataScience
Lists model version sets in the specified compartment.- Specified by:
listModelVersionSets
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModels
public ListModelsResponse listModels(ListModelsRequest request)
Description copied from interface:DataScience
Lists models in the specified compartment.- Specified by:
listModels
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNotebookSessionShapes
public ListNotebookSessionShapesResponse listNotebookSessionShapes(ListNotebookSessionShapesRequest request)
Description copied from interface:DataScience
Lists the valid notebook session shapes.- Specified by:
listNotebookSessionShapes
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNotebookSessions
public ListNotebookSessionsResponse listNotebookSessions(ListNotebookSessionsRequest request)
Description copied from interface:DataScience
Lists the notebook sessions in the specified compartment.- Specified by:
listNotebookSessions
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelineRuns
public ListPipelineRunsResponse listPipelineRuns(ListPipelineRunsRequest request)
Description copied from interface:DataScience
Returns a list of PipelineRuns.- Specified by:
listPipelineRuns
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelines
public ListPipelinesResponse listPipelines(ListPipelinesRequest request)
Description copied from interface:DataScience
Returns a list of Pipelines.- Specified by:
listPipelines
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listProjects
public ListProjectsResponse listProjects(ListProjectsRequest request)
Description copied from interface:DataScience
Lists projects in the specified compartment.- Specified by:
listProjects
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSchedules
public ListSchedulesResponse listSchedules(ListSchedulesRequest request)
Description copied from interface:DataScience
Returns a list of Schedules.- Specified by:
listSchedules
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:DataScience
Lists work request errors for the specified work request.- Specified by:
listWorkRequestErrors
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:DataScience
Lists work request logs for the specified work request.- Specified by:
listWorkRequestLogs
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:DataScience
Lists work requests in the specified compartment.- Specified by:
listWorkRequests
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
putMlApplicationPackage
public PutMlApplicationPackageResponse putMlApplicationPackage(PutMlApplicationPackageRequest request)
Description copied from interface:DataScience
Upload ML Application PackageNote: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
putMlApplicationPackage
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
recoverMlApplicationInstanceView
public RecoverMlApplicationInstanceViewResponse recoverMlApplicationInstanceView(RecoverMlApplicationInstanceViewRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
registerModelArtifactReference
public RegisterModelArtifactReferenceResponse registerModelArtifactReference(RegisterModelArtifactReferenceRequest request)
Description copied from interface:DataScience
Registers model artifact reference metadata- Specified by:
registerModelArtifactReference
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
restoreArchivedModelArtifact
public RestoreArchivedModelArtifactResponse restoreArchivedModelArtifact(RestoreArchivedModelArtifactRequest request)
Description copied from interface:DataScience
Restore archived model artifact- Specified by:
restoreArchivedModelArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
triggerMlApplicationInstanceFlow
public TriggerMlApplicationInstanceFlowResponse triggerMlApplicationInstanceFlow(TriggerMlApplicationInstanceFlowRequest request)
Description copied from interface:DataScience
Trigger ML Application Instance flow if possible- Specified by:
triggerMlApplicationInstanceFlow
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
triggerMlApplicationInstanceViewFlow
public TriggerMlApplicationInstanceViewFlowResponse triggerMlApplicationInstanceViewFlow(TriggerMlApplicationInstanceViewFlowRequest request)
Description copied from interface:DataScience
Trigger ML Application Instance View flow if possible- Specified by:
triggerMlApplicationInstanceViewFlow
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDataSciencePrivateEndpoint
public UpdateDataSciencePrivateEndpointResponse updateDataSciencePrivateEndpoint(UpdateDataSciencePrivateEndpointRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateJob
public UpdateJobResponse updateJob(UpdateJobRequest request)
Description copied from interface:DataScience
Updates a job.- Specified by:
updateJob
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateJobRun
public UpdateJobRunResponse updateJobRun(UpdateJobRunRequest request)
Description copied from interface:DataScience
Updates a job run.- Specified by:
updateJobRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMlApplication
public UpdateMlApplicationResponse updateMlApplication(UpdateMlApplicationRequest request)
Description copied from interface:DataScience
Updates the MlApplication- Specified by:
updateMlApplication
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMlApplicationImplementation
public UpdateMlApplicationImplementationResponse updateMlApplicationImplementation(UpdateMlApplicationImplementationRequest request)
Description copied from interface:DataScience
Updates the MlApplicationImplementation- Specified by:
updateMlApplicationImplementation
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMlApplicationImplementationVersion
public UpdateMlApplicationImplementationVersionResponse updateMlApplicationImplementationVersion(UpdateMlApplicationImplementationVersionRequest request)
Description copied from interface:DataScience
Updates the MlApplicationImplementationVersion- Specified by:
updateMlApplicationImplementationVersion
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMlApplicationInstance
public UpdateMlApplicationInstanceResponse updateMlApplicationInstance(UpdateMlApplicationInstanceRequest request)
Description copied from interface:DataScience
Updates the MlApplicationInstance- Specified by:
updateMlApplicationInstance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMlApplicationInstanceView
public UpdateMlApplicationInstanceViewResponse updateMlApplicationInstanceView(UpdateMlApplicationInstanceViewRequest request)
Description copied from interface:DataScience
Updates the MlApplicationInstanceView- Specified by:
updateMlApplicationInstanceView
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModel
public UpdateModelResponse updateModel(UpdateModelRequest request)
Description copied from interface:DataScience
Updates the properties of a model.You can update the
displayName
,description
,freeformTags
, anddefinedTags
properties.- Specified by:
updateModel
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModelCustomMetadatumArtifact
public UpdateModelCustomMetadatumArtifactResponse updateModelCustomMetadatumArtifact(UpdateModelCustomMetadatumArtifactRequest request)
Description copied from interface:DataScience
Updates model custom metadata artifact for specified model metadata key.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateModelCustomMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModelDefinedMetadatumArtifact
public UpdateModelDefinedMetadatumArtifactResponse updateModelDefinedMetadatumArtifact(UpdateModelDefinedMetadatumArtifactRequest request)
Description copied from interface:DataScience
Updates model defined metadata artifact for specified model metadata key.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateModelDefinedMetadatumArtifact
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModelDeployment
public UpdateModelDeploymentResponse updateModelDeployment(UpdateModelDeploymentRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModelProvenance
public UpdateModelProvenanceResponse updateModelProvenance(UpdateModelProvenanceRequest request)
Description copied from interface:DataScience
Updates the provenance information for the specified model.- Specified by:
updateModelProvenance
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModelVersionSet
public UpdateModelVersionSetResponse updateModelVersionSet(UpdateModelVersionSetRequest request)
Description copied from interface:DataScience
Updates the properties of a model version set.User can update the
description
property.- Specified by:
updateModelVersionSet
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateNotebookSession
public UpdateNotebookSessionResponse updateNotebookSession(UpdateNotebookSessionRequest request)
Description copied from interface:DataScience
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 interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePipeline
public UpdatePipelineResponse updatePipeline(UpdatePipelineRequest request)
Description copied from interface:DataScience
Updates the Pipeline.- Specified by:
updatePipeline
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePipelineRun
public UpdatePipelineRunResponse updatePipelineRun(UpdatePipelineRunRequest request)
Description copied from interface:DataScience
Updates the PipelineRun.- Specified by:
updatePipelineRun
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateProject
public UpdateProjectResponse updateProject(UpdateProjectRequest request)
Description copied from interface:DataScience
Updates the properties of a project.You can update the
displayName
,description
,freeformTags
, anddefinedTags
properties.- Specified by:
updateProject
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateSchedule
public UpdateScheduleResponse updateSchedule(UpdateScheduleRequest request)
Description copied from interface:DataScience
Updates the Schedule- Specified by:
updateSchedule
in interfaceDataScience
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public DataScienceWaiters getWaiters()
Description copied from interface:DataScience
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceDataScience
- Returns:
- The service waiters.
-
getPaginators
public DataSciencePaginators getPaginators()
Description copied from interface:DataScience
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginators
in interfaceDataScience
- Returns:
- The service paginators.
-
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()
-
-