Class AIModelsApi
java.lang.Object
overit.geocallapp.wfm.ai.rs.v1.AIApi
overit.geocallapp.wfm.ai.rs.v1.models.AIModelsApi
API for models processes.
- Since:
- 13.0
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.ai.rs.v1.AIApi
AWS_SERVICE_NAME, mapper, sdf -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteJob(AWSRequestHeaders headers, String predictionJobId) getJob(AWSRequestHeaders headers, String predictionJobId) getJobs(AWSRequestHeaders headers) getModel(AWSRequestHeaders headers, String algorithm, String name, String version) promoteModel(AWSRequestHeaders headers, String algorithm, String name, String version) startJob(AWSRequestHeaders headers, RequestJobParams params, Object body) Methods inherited from class overit.geocallapp.wfm.ai.rs.v1.AIApi
buildUriForSpringClient, getAIRestClientBuilder, getDomain, getEncodedUrl, getMultiHeaders, getMultiParams, getPath, getScheme, manageFileResult
-
Constructor Details
-
AIModelsApi
public AIModelsApi()
-
-
Method Details
-
getJobs
public List<SagemakerJobStatus> getJobs(AWSRequestHeaders headers) throws DAValidateException, DAException - Specified by:
getJobsin classAIApi- Throws:
DAValidateExceptionDAException
-
getModel
public Object getModel(AWSRequestHeaders headers, String algorithm, String name, String version) throws DAValidateException, DAException, IOException -
promoteModel
public String promoteModel(AWSRequestHeaders headers, String algorithm, String name, String version) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
startJob
public SagemakerJobStatus startJob(AWSRequestHeaders headers, RequestJobParams params, Object body) throws DAValidateException, DAException - Specified by:
startJobin classAIApi- Throws:
DAValidateExceptionDAException
-
deleteJob
public void deleteJob(AWSRequestHeaders headers, String predictionJobId) throws DAValidateException, DAException - Specified by:
deleteJobin classAIApi- Throws:
DAValidateExceptionDAException
-
getJob
public Object getJob(AWSRequestHeaders headers, String predictionJobId) throws DAValidateException, DAException, IOException - Specified by:
getJobin classAIApi- Throws:
DAValidateExceptionDAExceptionIOException
-