@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonLookoutforVisionAsync extends AbstractAmazonLookoutforVision implements AmazonLookoutforVisionAsync
AmazonLookoutforVisionAsync. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAmazonLookoutforVisionAsync() |
createDataset, createModel, createProject, deleteDataset, deleteModel, deleteProject, describeDataset, describeModel, describeProject, detectAnomalies, getCachedResponseMetadata, listDatasetEntries, listModels, listProjects, shutdown, startModel, stopModel, updateDatasetEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDataset, createModel, createProject, deleteDataset, deleteModel, deleteProject, describeDataset, describeModel, describeProject, detectAnomalies, getCachedResponseMetadata, listDatasetEntries, listModels, listProjects, shutdown, startModel, stopModel, updateDatasetEntriesprotected AbstractAmazonLookoutforVisionAsync()
public Future<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest request)
AmazonLookoutforVisionAsync
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
createDatasetAsync in interface AmazonLookoutforVisionAsyncpublic Future<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest request, AsyncHandler<CreateDatasetRequest,CreateDatasetResult> asyncHandler)
AmazonLookoutforVisionAsync
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
createDatasetAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<CreateModelResult> createModelAsync(CreateModelRequest request)
AmazonLookoutforVisionAsync
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.
createModelAsync in interface AmazonLookoutforVisionAsyncpublic Future<CreateModelResult> createModelAsync(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
AmazonLookoutforVisionAsync
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.
createModelAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AmazonLookoutforVisionAsyncCreates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.
createProjectAsync in interface AmazonLookoutforVisionAsyncpublic Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AmazonLookoutforVisionAsyncCreates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.
createProjectAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest request)
AmazonLookoutforVisionAsync
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.
deleteDatasetAsync in interface AmazonLookoutforVisionAsyncpublic Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest request, AsyncHandler<DeleteDatasetRequest,DeleteDatasetResult> asyncHandler)
AmazonLookoutforVisionAsync
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.
deleteDatasetAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest request)
AmazonLookoutforVisionAsyncDeletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.
deleteModelAsync in interface AmazonLookoutforVisionAsyncpublic Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,DeleteModelResult> asyncHandler)
AmazonLookoutforVisionAsyncDeletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.
deleteModelAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AmazonLookoutforVisionAsyncDeletes 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.
deleteProjectAsync in interface AmazonLookoutforVisionAsyncpublic Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AmazonLookoutforVisionAsyncDeletes 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.
deleteProjectAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest request)
AmazonLookoutforVisionAsyncDescribe an Amazon Lookout for Vision dataset.
describeDatasetAsync in interface AmazonLookoutforVisionAsyncpublic Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest request, AsyncHandler<DescribeDatasetRequest,DescribeDatasetResult> asyncHandler)
AmazonLookoutforVisionAsyncDescribe an Amazon Lookout for Vision dataset.
describeDatasetAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DescribeModelResult> describeModelAsync(DescribeModelRequest request)
AmazonLookoutforVisionAsyncDescribes a version of an Amazon Lookout for Vision model.
describeModelAsync in interface AmazonLookoutforVisionAsyncpublic Future<DescribeModelResult> describeModelAsync(DescribeModelRequest request, AsyncHandler<DescribeModelRequest,DescribeModelResult> asyncHandler)
AmazonLookoutforVisionAsyncDescribes a version of an Amazon Lookout for Vision model.
describeModelAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request)
AmazonLookoutforVisionAsyncDescribes an Amazon Lookout for Vision project.
describeProjectAsync in interface AmazonLookoutforVisionAsyncpublic Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request, AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
AmazonLookoutforVisionAsyncDescribes an Amazon Lookout for Vision project.
describeProjectAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<DetectAnomaliesResult> detectAnomaliesAsync(DetectAnomaliesRequest request)
AmazonLookoutforVisionAsyncDetects 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.
detectAnomaliesAsync in interface AmazonLookoutforVisionAsyncpublic Future<DetectAnomaliesResult> detectAnomaliesAsync(DetectAnomaliesRequest request, AsyncHandler<DetectAnomaliesRequest,DetectAnomaliesResult> asyncHandler)
AmazonLookoutforVisionAsyncDetects 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.
detectAnomaliesAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<ListDatasetEntriesResult> listDatasetEntriesAsync(ListDatasetEntriesRequest request)
AmazonLookoutforVisionAsyncLists 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.
listDatasetEntriesAsync in interface AmazonLookoutforVisionAsyncpublic Future<ListDatasetEntriesResult> listDatasetEntriesAsync(ListDatasetEntriesRequest request, AsyncHandler<ListDatasetEntriesRequest,ListDatasetEntriesResult> asyncHandler)
AmazonLookoutforVisionAsyncLists 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.
listDatasetEntriesAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<ListModelsResult> listModelsAsync(ListModelsRequest request)
AmazonLookoutforVisionAsyncLists the versions of a model in an Amazon Lookout for Vision project.
listModelsAsync in interface AmazonLookoutforVisionAsyncpublic Future<ListModelsResult> listModelsAsync(ListModelsRequest request, AsyncHandler<ListModelsRequest,ListModelsResult> asyncHandler)
AmazonLookoutforVisionAsyncLists the versions of a model in an Amazon Lookout for Vision project.
listModelsAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AmazonLookoutforVisionAsyncLists the Amazon Lookout for Vision projects in your AWS account.
listProjectsAsync in interface AmazonLookoutforVisionAsyncpublic Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AmazonLookoutforVisionAsyncLists the Amazon Lookout for Vision projects in your AWS account.
listProjectsAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<StartModelResult> startModelAsync(StartModelRequest request)
AmazonLookoutforVisionAsyncStarts 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.
startModelAsync in interface AmazonLookoutforVisionAsyncpublic Future<StartModelResult> startModelAsync(StartModelRequest request, AsyncHandler<StartModelRequest,StartModelResult> asyncHandler)
AmazonLookoutforVisionAsyncStarts 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.
startModelAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<StopModelResult> stopModelAsync(StopModelRequest request)
AmazonLookoutforVisionAsyncStops a running model. The operation might take a while to complete. To check the current status, call DescribeModel.
stopModelAsync in interface AmazonLookoutforVisionAsyncpublic Future<StopModelResult> stopModelAsync(StopModelRequest request, AsyncHandler<StopModelRequest,StopModelResult> asyncHandler)
AmazonLookoutforVisionAsyncStops a running model. The operation might take a while to complete. To check the current status, call DescribeModel.
stopModelAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.public Future<UpdateDatasetEntriesResult> updateDatasetEntriesAsync(UpdateDatasetEntriesRequest request)
AmazonLookoutforVisionAsyncAdds 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.
updateDatasetEntriesAsync in interface AmazonLookoutforVisionAsyncpublic Future<UpdateDatasetEntriesResult> updateDatasetEntriesAsync(UpdateDatasetEntriesRequest request, AsyncHandler<UpdateDatasetEntriesRequest,UpdateDatasetEntriesResult> asyncHandler)
AmazonLookoutforVisionAsyncAdds 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.
updateDatasetEntriesAsync in interface AmazonLookoutforVisionAsyncasyncHandler - 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.