@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonLookoutforVisionAsync extends AmazonLookoutforVision
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonLookoutforVisionAsync instead.
This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, data types, common parameters, and common errors.
Amazon Lookout for Vision enables you to find visual defects in industrial products, accurately and at scale. It uses computer vision to identify missing components in an industrial product, damage to vehicles or structures, irregularities in production lines, and even minuscule defects in silicon wafers — or any other physical item where quality is important such as a missing capacitor on printed circuit boards.
ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<CreateDatasetResult> |
createDatasetAsync(CreateDatasetRequest createDatasetRequest)
Creates a new dataset in an Amazon Lookout for Vision project.
|
Future<CreateDatasetResult> |
createDatasetAsync(CreateDatasetRequest createDatasetRequest,
AsyncHandler<CreateDatasetRequest,CreateDatasetResult> asyncHandler)
Creates a new dataset in an Amazon Lookout for Vision project.
|
Future<CreateModelResult> |
createModelAsync(CreateModelRequest createModelRequest)
Creates a new version of a model within an an Amazon Lookout for Vision project.
|
Future<CreateModelResult> |
createModelAsync(CreateModelRequest createModelRequest,
AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
Creates a new version of a model within an an Amazon Lookout for Vision project.
|
Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest createProjectRequest)
Creates an empty Amazon Lookout for Vision project.
|
Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest createProjectRequest,
AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates an empty Amazon Lookout for Vision project.
|
Future<DeleteDatasetResult> |
deleteDatasetAsync(DeleteDatasetRequest deleteDatasetRequest)
Deletes an existing Amazon Lookout for Vision
dataset. |
Future<DeleteDatasetResult> |
deleteDatasetAsync(DeleteDatasetRequest deleteDatasetRequest,
AsyncHandler<DeleteDatasetRequest,DeleteDatasetResult> asyncHandler)
Deletes an existing Amazon Lookout for Vision
dataset. |
Future<DeleteModelResult> |
deleteModelAsync(DeleteModelRequest deleteModelRequest)
Deletes an Amazon Lookout for Vision model.
|
Future<DeleteModelResult> |
deleteModelAsync(DeleteModelRequest deleteModelRequest,
AsyncHandler<DeleteModelRequest,DeleteModelResult> asyncHandler)
Deletes an Amazon Lookout for Vision model.
|
Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest deleteProjectRequest)
Deletes an Amazon Lookout for Vision project.
|
Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest deleteProjectRequest,
AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes an Amazon Lookout for Vision project.
|
Future<DescribeDatasetResult> |
describeDatasetAsync(DescribeDatasetRequest describeDatasetRequest)
Describe an Amazon Lookout for Vision dataset.
|
Future<DescribeDatasetResult> |
describeDatasetAsync(DescribeDatasetRequest describeDatasetRequest,
AsyncHandler<DescribeDatasetRequest,DescribeDatasetResult> asyncHandler)
Describe an Amazon Lookout for Vision dataset.
|
Future<DescribeModelResult> |
describeModelAsync(DescribeModelRequest describeModelRequest)
Describes a version of an Amazon Lookout for Vision model.
|
Future<DescribeModelResult> |
describeModelAsync(DescribeModelRequest describeModelRequest,
AsyncHandler<DescribeModelRequest,DescribeModelResult> asyncHandler)
Describes a version of an Amazon Lookout for Vision model.
|
Future<DescribeProjectResult> |
describeProjectAsync(DescribeProjectRequest describeProjectRequest)
Describes an Amazon Lookout for Vision project.
|
Future<DescribeProjectResult> |
describeProjectAsync(DescribeProjectRequest describeProjectRequest,
AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
Describes an Amazon Lookout for Vision project.
|
Future<DetectAnomaliesResult> |
detectAnomaliesAsync(DetectAnomaliesRequest detectAnomaliesRequest)
Detects anomalies in an image that you supply.
|
Future<DetectAnomaliesResult> |
detectAnomaliesAsync(DetectAnomaliesRequest detectAnomaliesRequest,
AsyncHandler<DetectAnomaliesRequest,DetectAnomaliesResult> asyncHandler)
Detects anomalies in an image that you supply.
|
Future<ListDatasetEntriesResult> |
listDatasetEntriesAsync(ListDatasetEntriesRequest listDatasetEntriesRequest)
Lists the JSON Lines within a dataset.
|
Future<ListDatasetEntriesResult> |
listDatasetEntriesAsync(ListDatasetEntriesRequest listDatasetEntriesRequest,
AsyncHandler<ListDatasetEntriesRequest,ListDatasetEntriesResult> asyncHandler)
Lists the JSON Lines within a dataset.
|
Future<ListModelsResult> |
listModelsAsync(ListModelsRequest listModelsRequest)
Lists the versions of a model in an Amazon Lookout for Vision project.
|
Future<ListModelsResult> |
listModelsAsync(ListModelsRequest listModelsRequest,
AsyncHandler<ListModelsRequest,ListModelsResult> asyncHandler)
Lists the versions of a model in an Amazon Lookout for Vision project.
|
Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest listProjectsRequest)
Lists the Amazon Lookout for Vision projects in your AWS account.
|
Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest listProjectsRequest,
AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Lists the Amazon Lookout for Vision projects in your AWS account.
|
Future<StartModelResult> |
startModelAsync(StartModelRequest startModelRequest)
Starts the running of the version of an Amazon Lookout for Vision model.
|
Future<StartModelResult> |
startModelAsync(StartModelRequest startModelRequest,
AsyncHandler<StartModelRequest,StartModelResult> asyncHandler)
Starts the running of the version of an Amazon Lookout for Vision model.
|
Future<StopModelResult> |
stopModelAsync(StopModelRequest stopModelRequest)
Stops a running model.
|
Future<StopModelResult> |
stopModelAsync(StopModelRequest stopModelRequest,
AsyncHandler<StopModelRequest,StopModelResult> asyncHandler)
Stops a running model.
|
Future<UpdateDatasetEntriesResult> |
updateDatasetEntriesAsync(UpdateDatasetEntriesRequest updateDatasetEntriesRequest)
Adds one or more JSON Line entries to a dataset.
|
Future<UpdateDatasetEntriesResult> |
updateDatasetEntriesAsync(UpdateDatasetEntriesRequest updateDatasetEntriesRequest,
AsyncHandler<UpdateDatasetEntriesRequest,UpdateDatasetEntriesResult> asyncHandler)
Adds one or more JSON Line entries to a dataset.
|
createDataset, createModel, createProject, deleteDataset, deleteModel, deleteProject, describeDataset, describeModel, describeProject, detectAnomalies, getCachedResponseMetadata, listDatasetEntries, listModels, listProjects, shutdown, startModel, stopModel, updateDatasetEntriesFuture<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest createDatasetRequest)
Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset can create a training
or a test dataset from a valid dataset source (DatasetSource).
If you want a single dataset project, specify train for the value of DatasetType.
To have a project with separate training and test datasets, call CreateDataset twice. On the first
call, specify train for the value of DatasetType. On the second call, specify
test for the value of DatasetType. of dataset with
createDatasetRequest - Future<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest createDatasetRequest, AsyncHandler<CreateDatasetRequest,CreateDatasetResult> asyncHandler)
Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset can create a training
or a test dataset from a valid dataset source (DatasetSource).
If you want a single dataset project, specify train for the value of DatasetType.
To have a project with separate training and test datasets, call CreateDataset twice. On the first
call, specify train for the value of DatasetType. On the second call, specify
test for the value of DatasetType. of dataset with
createDatasetRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateModelResult> createModelAsync(CreateModelRequest createModelRequest)
Creates a new version of a model within an an Amazon Lookout for Vision project. CreateModel is an
asynchronous operation in which Amazon Lookout for Vision trains, tests, and evaluates a new version of a model.
To get the current status, check the Status field returned in the response from
DescribeModel.
If the project has a single dataset, Amazon Lookout for Vision internally splits the dataset to create a training and a test dataset. If the project has a training and a test dataset, Lookout for Vision uses the respective datasets to train and test the model.
After training completes, the evaluation metrics are stored at the location specified in
OutputConfig.
createModelRequest - Future<CreateModelResult> createModelAsync(CreateModelRequest createModelRequest, AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
Creates a new version of a model within an an Amazon Lookout for Vision project. CreateModel is an
asynchronous operation in which Amazon Lookout for Vision trains, tests, and evaluates a new version of a model.
To get the current status, check the Status field returned in the response from
DescribeModel.
If the project has a single dataset, Amazon Lookout for Vision internally splits the dataset to create a training and a test dataset. If the project has a training and a test dataset, Lookout for Vision uses the respective datasets to train and test the model.
After training completes, the evaluation metrics are stored at the location specified in
OutputConfig.
createModelRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest)
Creates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.
createProjectRequest - Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.
createProjectRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest deleteDatasetRequest)
Deletes an existing Amazon Lookout for Vision dataset.
If your the project has a single dataset, you must create a new dataset before you can create a model.
If you project has a training dataset and a test dataset consider the following.
If you delete the test dataset, your project reverts to a single dataset project. If you then train the model, Amazon Lookout for Vision internally splits the remaining dataset into a training and test dataset.
If you delete the training dataset, you must create a training dataset before you can create a model.
It might take a while to delete the dataset. To check the current status, check the Status field in
the response from a call to DescribeDataset.
deleteDatasetRequest - Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest deleteDatasetRequest, AsyncHandler<DeleteDatasetRequest,DeleteDatasetResult> asyncHandler)
Deletes an existing Amazon Lookout for Vision dataset.
If your the project has a single dataset, you must create a new dataset before you can create a model.
If you project has a training dataset and a test dataset consider the following.
If you delete the test dataset, your project reverts to a single dataset project. If you then train the model, Amazon Lookout for Vision internally splits the remaining dataset into a training and test dataset.
If you delete the training dataset, you must create a training dataset before you can create a model.
It might take a while to delete the dataset. To check the current status, check the Status field in
the response from a call to DescribeDataset.
deleteDatasetRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest deleteModelRequest)
Deletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.
deleteModelRequest - Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest deleteModelRequest, AsyncHandler<DeleteModelRequest,DeleteModelResult> asyncHandler)
Deletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.
deleteModelRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest)
Deletes an Amazon Lookout for Vision project.
To delete a project, you must first delete each version of the model associated with the project. To delete a model use the DeleteModel operation.
The training and test datasets are deleted automatically for you. The images referenced by the training and test datasets aren't deleted.
deleteProjectRequest - Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes an Amazon Lookout for Vision project.
To delete a project, you must first delete each version of the model associated with the project. To delete a model use the DeleteModel operation.
The training and test datasets are deleted automatically for you. The images referenced by the training and test datasets aren't deleted.
deleteProjectRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest describeDatasetRequest)
Describe an Amazon Lookout for Vision dataset.
describeDatasetRequest - Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest describeDatasetRequest, AsyncHandler<DescribeDatasetRequest,DescribeDatasetResult> asyncHandler)
Describe an Amazon Lookout for Vision dataset.
describeDatasetRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeModelResult> describeModelAsync(DescribeModelRequest describeModelRequest)
Describes a version of an Amazon Lookout for Vision model.
describeModelRequest - Future<DescribeModelResult> describeModelAsync(DescribeModelRequest describeModelRequest, AsyncHandler<DescribeModelRequest,DescribeModelResult> asyncHandler)
Describes a version of an Amazon Lookout for Vision model.
describeModelRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest describeProjectRequest)
Describes an Amazon Lookout for Vision project.
describeProjectRequest - Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest describeProjectRequest, AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
Describes an Amazon Lookout for Vision project.
describeProjectRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DetectAnomaliesResult> detectAnomaliesAsync(DetectAnomaliesRequest detectAnomaliesRequest)
Detects anomalies in an image that you supply.
The response from DetectAnomalies includes a boolean prediction that the image contains one or more
anomalies and a confidence value for the prediction.
Before calling DetectAnomalies, you must first start your model with the StartModel
operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly
detection units that your model uses. If you are not using a model, use the StopModel operation to stop
your model.
detectAnomaliesRequest - Future<DetectAnomaliesResult> detectAnomaliesAsync(DetectAnomaliesRequest detectAnomaliesRequest, AsyncHandler<DetectAnomaliesRequest,DetectAnomaliesResult> asyncHandler)
Detects anomalies in an image that you supply.
The response from DetectAnomalies includes a boolean prediction that the image contains one or more
anomalies and a confidence value for the prediction.
Before calling DetectAnomalies, you must first start your model with the StartModel
operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly
detection units that your model uses. If you are not using a model, use the StopModel operation to stop
your model.
detectAnomaliesRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListDatasetEntriesResult> listDatasetEntriesAsync(ListDatasetEntriesRequest listDatasetEntriesRequest)
Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.
listDatasetEntriesRequest - Future<ListDatasetEntriesResult> listDatasetEntriesAsync(ListDatasetEntriesRequest listDatasetEntriesRequest, AsyncHandler<ListDatasetEntriesRequest,ListDatasetEntriesResult> asyncHandler)
Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.
listDatasetEntriesRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListModelsResult> listModelsAsync(ListModelsRequest listModelsRequest)
Lists the versions of a model in an Amazon Lookout for Vision project.
listModelsRequest - Future<ListModelsResult> listModelsAsync(ListModelsRequest listModelsRequest, AsyncHandler<ListModelsRequest,ListModelsResult> asyncHandler)
Lists the versions of a model in an Amazon Lookout for Vision project.
listModelsRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest)
Lists the Amazon Lookout for Vision projects in your AWS account.
listProjectsRequest - Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Lists the Amazon Lookout for Vision projects in your AWS account.
listProjectsRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartModelResult> startModelAsync(StartModelRequest startModelRequest)
Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while to complete. To check the current state of the model, use DescribeModel.
Once the model is running, you can detect custom labels in new images by calling DetectAnomalies.
You are charged for the amount of time that the model is running. To stop a running model, call StopModel.
startModelRequest - Future<StartModelResult> startModelAsync(StartModelRequest startModelRequest, AsyncHandler<StartModelRequest,StartModelResult> asyncHandler)
Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while to complete. To check the current state of the model, use DescribeModel.
Once the model is running, you can detect custom labels in new images by calling DetectAnomalies.
You are charged for the amount of time that the model is running. To stop a running model, call StopModel.
startModelRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopModelResult> stopModelAsync(StopModelRequest stopModelRequest)
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeModel.
stopModelRequest - Future<StopModelResult> stopModelAsync(StopModelRequest stopModelRequest, AsyncHandler<StopModelRequest,StopModelResult> asyncHandler)
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeModel.
stopModelRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateDatasetEntriesResult> updateDatasetEntriesAsync(UpdateDatasetEntriesRequest updateDatasetEntriesRequest)
Adds one or more JSON Line entries to a dataset. A JSON Line includes information about an image used for training or testing an Amazon Lookout for Vision model. The following is an example JSON Line.
Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and
check the Status field in the response.
updateDatasetEntriesRequest - Future<UpdateDatasetEntriesResult> updateDatasetEntriesAsync(UpdateDatasetEntriesRequest updateDatasetEntriesRequest, AsyncHandler<UpdateDatasetEntriesRequest,UpdateDatasetEntriesResult> asyncHandler)
Adds one or more JSON Line entries to a dataset. A JSON Line includes information about an image used for training or testing an Amazon Lookout for Vision model. The following is an example JSON Line.
Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and
check the Status field in the response.
updateDatasetEntriesRequest - asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2021. All rights reserved.