Class AIProcessingApi
java.lang.Object
overit.geocallapp.wfm.ai.rs.v1.AIApi
overit.geocallapp.wfm.ai.rs.v1.prediction.AIProcessingApi
API for cluster mapping 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 processingJobId) Method that delete a cluster mapping execution.getJob(AWSRequestHeaders headers, String processingJobId) Method that get the result of a cluster mapping job id.getJobs(AWSRequestHeaders headers) Method that gets all the cluster mapping jobs for a client.startJob(AWSRequestHeaders headers, RequestJobParams params, Object body) Method that starts a cluster mapping job.Methods inherited from class overit.geocallapp.wfm.ai.rs.v1.AIApi
buildUriForSpringClient, getAIRestClientBuilder, getDomain, getEncodedUrl, getMultiHeaders, getMultiParams, getPath, getScheme, manageFileResult
-
Constructor Details
-
AIProcessingApi
public AIProcessingApi()
-
-
Method Details
-
getJobs
public List<SagemakerJobStatus> getJobs(AWSRequestHeaders headers) throws DAValidateException, DAException Method that gets all the cluster mapping jobs for a client.- Specified by:
getJobsin classAIApi- Parameters:
headers-- Returns:
- Throws:
DAValidateExceptionDAException
-
getJob
public SagemakerResponse getJob(AWSRequestHeaders headers, String processingJobId) throws DAValidateException, DAException, IOException Method that get the result of a cluster mapping job id.- Specified by:
getJobin classAIApi- Parameters:
headers-processingJobId-- Returns:
- Throws:
DAValidateExceptionDAExceptionIOException
-
startJob
public SagemakerJobStatus startJob(AWSRequestHeaders headers, RequestJobParams params, Object body) throws DAValidateException, DAException Method that starts a cluster mapping job.- Specified by:
startJobin classAIApi- Parameters:
headers-params-body-- Returns:
- Throws:
DAValidateExceptionDAException
-
deleteJob
public void deleteJob(AWSRequestHeaders headers, String processingJobId) throws DAValidateException, DAException Method that delete a cluster mapping execution. It doesn't return anything, it obly gives error if occurred.- Specified by:
deleteJobin classAIApi- Parameters:
headers-processingJobId-- Throws:
DAValidateExceptionDAException
-