/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Http { class HttpClient; class HttpClientFactory; } // namespace Http namespace Utils { template< typename R, typename E> class Outcome; namespace Threading { class Executor; } // namespace Threading } // namespace Utils namespace Auth { class AWSCredentials; class AWSCredentialsProvider; } // namespace Auth namespace Client { class RetryStrategy; } // namespace Client namespace LookoutforVision { namespace Model { class CreateDatasetRequest; class CreateModelRequest; class CreateProjectRequest; class DeleteDatasetRequest; class DeleteModelRequest; class DeleteProjectRequest; class DescribeDatasetRequest; class DescribeModelRequest; class DescribeProjectRequest; class DetectAnomaliesRequest; class ListDatasetEntriesRequest; class ListModelsRequest; class ListProjectsRequest; class ListTagsForResourceRequest; class StartModelRequest; class StopModelRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateDatasetEntriesRequest; typedef Aws::Utils::Outcome CreateDatasetOutcome; typedef Aws::Utils::Outcome CreateModelOutcome; typedef Aws::Utils::Outcome CreateProjectOutcome; typedef Aws::Utils::Outcome DeleteDatasetOutcome; typedef Aws::Utils::Outcome DeleteModelOutcome; typedef Aws::Utils::Outcome DeleteProjectOutcome; typedef Aws::Utils::Outcome DescribeDatasetOutcome; typedef Aws::Utils::Outcome DescribeModelOutcome; typedef Aws::Utils::Outcome DescribeProjectOutcome; typedef Aws::Utils::Outcome DetectAnomaliesOutcome; typedef Aws::Utils::Outcome ListDatasetEntriesOutcome; typedef Aws::Utils::Outcome ListModelsOutcome; typedef Aws::Utils::Outcome ListProjectsOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome StartModelOutcome; typedef Aws::Utils::Outcome StopModelOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateDatasetEntriesOutcome; typedef std::future CreateDatasetOutcomeCallable; typedef std::future CreateModelOutcomeCallable; typedef std::future CreateProjectOutcomeCallable; typedef std::future DeleteDatasetOutcomeCallable; typedef std::future DeleteModelOutcomeCallable; typedef std::future DeleteProjectOutcomeCallable; typedef std::future DescribeDatasetOutcomeCallable; typedef std::future DescribeModelOutcomeCallable; typedef std::future DescribeProjectOutcomeCallable; typedef std::future DetectAnomaliesOutcomeCallable; typedef std::future ListDatasetEntriesOutcomeCallable; typedef std::future ListModelsOutcomeCallable; typedef std::future ListProjectsOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future StartModelOutcomeCallable; typedef std::future StopModelOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateDatasetEntriesOutcomeCallable; } // namespace Model class LookoutforVisionClient; typedef std::function&) > CreateDatasetResponseReceivedHandler; typedef std::function&) > CreateModelResponseReceivedHandler; typedef std::function&) > CreateProjectResponseReceivedHandler; typedef std::function&) > DeleteDatasetResponseReceivedHandler; typedef std::function&) > DeleteModelResponseReceivedHandler; typedef std::function&) > DeleteProjectResponseReceivedHandler; typedef std::function&) > DescribeDatasetResponseReceivedHandler; typedef std::function&) > DescribeModelResponseReceivedHandler; typedef std::function&) > DescribeProjectResponseReceivedHandler; typedef std::function&) > DetectAnomaliesResponseReceivedHandler; typedef std::function&) > ListDatasetEntriesResponseReceivedHandler; typedef std::function&) > ListModelsResponseReceivedHandler; typedef std::function&) > ListProjectsResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > StartModelResponseReceivedHandler; typedef std::function&) > StopModelResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateDatasetEntriesResponseReceivedHandler; /** *

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.

*/ class AWS_LOOKOUTFORVISION_API LookoutforVisionClient : public Aws::Client::AWSJsonClient { public: typedef Aws::Client::AWSJsonClient BASECLASS; /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ LookoutforVisionClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration()); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ LookoutforVisionClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration()); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ LookoutforVisionClient(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration()); virtual ~LookoutforVisionClient(); /** *

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.

*

This operation requires permissions to perform the * lookoutvision:CreateDataset operation.

See Also:

* AWS * API Reference

*/ virtual Model::CreateDatasetOutcome CreateDataset(const Model::CreateDatasetRequest& request) const; /** *

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.

*

This operation requires permissions to perform the * lookoutvision:CreateDataset operation.

See Also:

* AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CreateDatasetOutcomeCallable CreateDatasetCallable(const Model::CreateDatasetRequest& request) const; /** *

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.

*

This operation requires permissions to perform the * lookoutvision:CreateDataset operation.

See Also:

* AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CreateDatasetAsync(const Model::CreateDatasetRequest& request, const CreateDatasetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

This operation requires * permissions to perform the lookoutvision:CreateModel operation. If * you want to tag your model, you also require permission to the * lookoutvision:TagResource operation.

See Also:

AWS * API Reference

*/ virtual Model::CreateModelOutcome CreateModel(const Model::CreateModelRequest& request) const; /** *

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.

This operation requires * permissions to perform the lookoutvision:CreateModel operation. If * you want to tag your model, you also require permission to the * lookoutvision:TagResource operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CreateModelOutcomeCallable CreateModelCallable(const Model::CreateModelRequest& request) const; /** *

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.

This operation requires * permissions to perform the lookoutvision:CreateModel operation. If * you want to tag your model, you also require permission to the * lookoutvision:TagResource operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CreateModelAsync(const Model::CreateModelRequest& request, const CreateModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Creates an empty Amazon Lookout for Vision project. After you create the * project, add a dataset by calling CreateDataset.

This operation * requires permissions to perform the lookoutvision:CreateProject * operation.

See Also:

AWS * API Reference

*/ virtual Model::CreateProjectOutcome CreateProject(const Model::CreateProjectRequest& request) const; /** *

Creates an empty Amazon Lookout for Vision project. After you create the * project, add a dataset by calling CreateDataset.

This operation * requires permissions to perform the lookoutvision:CreateProject * operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CreateProjectOutcomeCallable CreateProjectCallable(const Model::CreateProjectRequest& request) const; /** *

Creates an empty Amazon Lookout for Vision project. After you create the * project, add a dataset by calling CreateDataset.

This operation * requires permissions to perform the lookoutvision:CreateProject * operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CreateProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

  • *

This operation requires permissions to perform the * lookoutvision:DeleteDataset operation.

See Also:

* AWS * API Reference

*/ virtual Model::DeleteDatasetOutcome DeleteDataset(const Model::DeleteDatasetRequest& request) const; /** *

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.

  • *

This operation requires permissions to perform the * lookoutvision:DeleteDataset operation.

See Also:

* AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DeleteDatasetOutcomeCallable DeleteDatasetCallable(const Model::DeleteDatasetRequest& request) const; /** *

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.

  • *

This operation requires permissions to perform the * lookoutvision:DeleteDataset operation.

See Also:

* AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DeleteDatasetAsync(const Model::DeleteDatasetRequest& request, const DeleteDatasetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Deletes an Amazon Lookout for Vision model. You can't delete a running model. * To stop a running model, use the StopModel operation.

It might * take a few seconds to delete a model. To determine if a model has been deleted, * call ListProjects and check if the version of the model * (ModelVersion) is in the Models array.

This * operation requires permissions to perform the * lookoutvision:DeleteModel operation.

See Also:

AWS * API Reference

*/ virtual Model::DeleteModelOutcome DeleteModel(const Model::DeleteModelRequest& request) const; /** *

Deletes an Amazon Lookout for Vision model. You can't delete a running model. * To stop a running model, use the StopModel operation.

It might * take a few seconds to delete a model. To determine if a model has been deleted, * call ListProjects and check if the version of the model * (ModelVersion) is in the Models array.

This * operation requires permissions to perform the * lookoutvision:DeleteModel operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DeleteModelOutcomeCallable DeleteModelCallable(const Model::DeleteModelRequest& request) const; /** *

Deletes an Amazon Lookout for Vision model. You can't delete a running model. * To stop a running model, use the StopModel operation.

It might * take a few seconds to delete a model. To determine if a model has been deleted, * call ListProjects and check if the version of the model * (ModelVersion) is in the Models array.

This * operation requires permissions to perform the * lookoutvision:DeleteModel operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DeleteModelAsync(const Model::DeleteModelRequest& request, const DeleteModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

You also have to * delete the dataset(s) associated with the model. For more information, see * DeleteDataset. The images referenced by the training and test datasets * aren't deleted.

This operation requires permissions to perform the * lookoutvision:DeleteProject operation.

See Also:

* AWS * API Reference

*/ virtual Model::DeleteProjectOutcome DeleteProject(const Model::DeleteProjectRequest& request) const; /** *

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.

You also have to * delete the dataset(s) associated with the model. For more information, see * DeleteDataset. The images referenced by the training and test datasets * aren't deleted.

This operation requires permissions to perform the * lookoutvision:DeleteProject operation.

See Also:

* AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DeleteProjectOutcomeCallable DeleteProjectCallable(const Model::DeleteProjectRequest& request) const; /** *

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.

You also have to * delete the dataset(s) associated with the model. For more information, see * DeleteDataset. The images referenced by the training and test datasets * aren't deleted.

This operation requires permissions to perform the * lookoutvision:DeleteProject operation.

See Also:

* AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DeleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Describe an Amazon Lookout for Vision dataset.

This operation requires * permissions to perform the lookoutvision:DescribeDataset * operation.

See Also:

AWS * API Reference

*/ virtual Model::DescribeDatasetOutcome DescribeDataset(const Model::DescribeDatasetRequest& request) const; /** *

Describe an Amazon Lookout for Vision dataset.

This operation requires * permissions to perform the lookoutvision:DescribeDataset * operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DescribeDatasetOutcomeCallable DescribeDatasetCallable(const Model::DescribeDatasetRequest& request) const; /** *

Describe an Amazon Lookout for Vision dataset.

This operation requires * permissions to perform the lookoutvision:DescribeDataset * operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DescribeDatasetAsync(const Model::DescribeDatasetRequest& request, const DescribeDatasetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Describes a version of an Amazon Lookout for Vision model.

This * operation requires permissions to perform the * lookoutvision:DescribeModel operation.

See Also:

* AWS * API Reference

*/ virtual Model::DescribeModelOutcome DescribeModel(const Model::DescribeModelRequest& request) const; /** *

Describes a version of an Amazon Lookout for Vision model.

This * operation requires permissions to perform the * lookoutvision:DescribeModel operation.

See Also:

* AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DescribeModelOutcomeCallable DescribeModelCallable(const Model::DescribeModelRequest& request) const; /** *

Describes a version of an Amazon Lookout for Vision model.

This * operation requires permissions to perform the * lookoutvision:DescribeModel operation.

See Also:

* AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DescribeModelAsync(const Model::DescribeModelRequest& request, const DescribeModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Describes an Amazon Lookout for Vision project.

This operation * requires permissions to perform the lookoutvision:DescribeProject * operation.

See Also:

AWS * API Reference

*/ virtual Model::DescribeProjectOutcome DescribeProject(const Model::DescribeProjectRequest& request) const; /** *

Describes an Amazon Lookout for Vision project.

This operation * requires permissions to perform the lookoutvision:DescribeProject * operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DescribeProjectOutcomeCallable DescribeProjectCallable(const Model::DescribeProjectRequest& request) const; /** *

Describes an Amazon Lookout for Vision project.

This operation * requires permissions to perform the lookoutvision:DescribeProject * operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DescribeProjectAsync(const Model::DescribeProjectRequest& request, const DescribeProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

This operation * requires permissions to perform the lookoutvision:DetectAnomalies * operation.

See Also:

AWS * API Reference

*/ virtual Model::DetectAnomaliesOutcome DetectAnomalies(const Model::DetectAnomaliesRequest& request) const; /** *

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.

This operation * requires permissions to perform the lookoutvision:DetectAnomalies * operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DetectAnomaliesOutcomeCallable DetectAnomaliesCallable(const Model::DetectAnomaliesRequest& request) const; /** *

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.

This operation * requires permissions to perform the lookoutvision:DetectAnomalies * operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DetectAnomaliesAsync(const Model::DetectAnomaliesRequest& request, const DetectAnomaliesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

This operation requires permissions to * perform the lookoutvision:ListDatasetEntries * operation.

See Also:

AWS * API Reference

*/ virtual Model::ListDatasetEntriesOutcome ListDatasetEntries(const Model::ListDatasetEntriesRequest& request) const; /** *

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.

This operation requires permissions to * perform the lookoutvision:ListDatasetEntries * operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListDatasetEntriesOutcomeCallable ListDatasetEntriesCallable(const Model::ListDatasetEntriesRequest& request) const; /** *

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.

This operation requires permissions to * perform the lookoutvision:ListDatasetEntries * operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListDatasetEntriesAsync(const Model::ListDatasetEntriesRequest& request, const ListDatasetEntriesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Lists the versions of a model in an Amazon Lookout for Vision project.

*

This operation requires permissions to perform the * lookoutvision:ListModels operation.

See Also:

AWS * API Reference

*/ virtual Model::ListModelsOutcome ListModels(const Model::ListModelsRequest& request) const; /** *

Lists the versions of a model in an Amazon Lookout for Vision project.

*

This operation requires permissions to perform the * lookoutvision:ListModels operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListModelsOutcomeCallable ListModelsCallable(const Model::ListModelsRequest& request) const; /** *

Lists the versions of a model in an Amazon Lookout for Vision project.

*

This operation requires permissions to perform the * lookoutvision:ListModels operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListModelsAsync(const Model::ListModelsRequest& request, const ListModelsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Lists the Amazon Lookout for Vision projects in your AWS account.

This * operation requires permissions to perform the * lookoutvision:ListProjects operation.

See Also:

AWS * API Reference

*/ virtual Model::ListProjectsOutcome ListProjects(const Model::ListProjectsRequest& request) const; /** *

Lists the Amazon Lookout for Vision projects in your AWS account.

This * operation requires permissions to perform the * lookoutvision:ListProjects operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListProjectsOutcomeCallable ListProjectsCallable(const Model::ListProjectsRequest& request) const; /** *

Lists the Amazon Lookout for Vision projects in your AWS account.

This * operation requires permissions to perform the * lookoutvision:ListProjects operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListProjectsAsync(const Model::ListProjectsRequest& request, const ListProjectsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Returns a list of tags attached to the specified Amazon Lookout for Vision * model.

This operation requires permissions to perform the * lookoutvision:ListTagsForResource operation.

See * Also:

AWS * API Reference

*/ virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; /** *

Returns a list of tags attached to the specified Amazon Lookout for Vision * model.

This operation requires permissions to perform the * lookoutvision:ListTagsForResource operation.

See * Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const; /** *

Returns a list of tags attached to the specified Amazon Lookout for Vision * model.

This operation requires permissions to perform the * lookoutvision:ListTagsForResource operation.

See * Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

A model is ready to use when its status * is HOSTED.

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.

This operation requires permissions * to perform the lookoutvision:StartModel operation.

See * Also:

AWS * API Reference

*/ virtual Model::StartModelOutcome StartModel(const Model::StartModelRequest& request) const; /** *

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.

A model is ready to use when its status * is HOSTED.

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.

This operation requires permissions * to perform the lookoutvision:StartModel operation.

See * Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::StartModelOutcomeCallable StartModelCallable(const Model::StartModelRequest& request) const; /** *

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.

A model is ready to use when its status * is HOSTED.

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.

This operation requires permissions * to perform the lookoutvision:StartModel operation.

See * Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void StartModelAsync(const Model::StartModelRequest& request, const StartModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Stops the hosting of a running model. The operation might take a while to * complete. To check the current status, call DescribeModel.

After * the model hosting stops, the Status of the model is * TRAINED.

This operation requires permissions to perform the * lookoutvision:StopModel operation.

See Also:

AWS * API Reference

*/ virtual Model::StopModelOutcome StopModel(const Model::StopModelRequest& request) const; /** *

Stops the hosting of a running model. The operation might take a while to * complete. To check the current status, call DescribeModel.

After * the model hosting stops, the Status of the model is * TRAINED.

This operation requires permissions to perform the * lookoutvision:StopModel operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::StopModelOutcomeCallable StopModelCallable(const Model::StopModelRequest& request) const; /** *

Stops the hosting of a running model. The operation might take a while to * complete. To check the current status, call DescribeModel.

After * the model hosting stops, the Status of the model is * TRAINED.

This operation requires permissions to perform the * lookoutvision:StopModel operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void StopModelAsync(const Model::StopModelRequest& request, const StopModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Adds one or more key-value tags to an Amazon Lookout for Vision model. For * more information, see Tagging a model in the Amazon Lookout for Vision * Developer Guide.

This operation requires permissions to perform the * lookoutvision:TagResource operation.

See Also:

AWS * API Reference

*/ virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; /** *

Adds one or more key-value tags to an Amazon Lookout for Vision model. For * more information, see Tagging a model in the Amazon Lookout for Vision * Developer Guide.

This operation requires permissions to perform the * lookoutvision:TagResource operation.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest& request) const; /** *

Adds one or more key-value tags to an Amazon Lookout for Vision model. For * more information, see Tagging a model in the Amazon Lookout for Vision * Developer Guide.

This operation requires permissions to perform the * lookoutvision:TagResource operation.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Removes one or more tags from an Amazon Lookout for Vision model. For more * information, see Tagging a model in the Amazon Lookout for Vision * Developer Guide.

This operation requires permissions to perform the * lookoutvision:UntagResource operation.

See Also:

* AWS * API Reference

*/ virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; /** *

Removes one or more tags from an Amazon Lookout for Vision model. For more * information, see Tagging a model in the Amazon Lookout for Vision * Developer Guide.

This operation requires permissions to perform the * lookoutvision:UntagResource operation.

See Also:

* AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest& request) const; /** *

Removes one or more tags from an Amazon Lookout for Vision model. For more * information, see Tagging a model in the Amazon Lookout for Vision * Developer Guide.

This operation requires permissions to perform the * lookoutvision:UntagResource operation.

See Also:

* AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

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.

This operation requires permissions to perform the * lookoutvision:UpdateDatasetEntries operation.

See * Also:

AWS * API Reference

*/ virtual Model::UpdateDatasetEntriesOutcome UpdateDatasetEntries(const Model::UpdateDatasetEntriesRequest& request) const; /** *

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.

This operation requires permissions to perform the * lookoutvision:UpdateDatasetEntries operation.

See * Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::UpdateDatasetEntriesOutcomeCallable UpdateDatasetEntriesCallable(const Model::UpdateDatasetEntriesRequest& request) const; /** *

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.

This operation requires permissions to perform the * lookoutvision:UpdateDatasetEntries operation.

See * Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void UpdateDatasetEntriesAsync(const Model::UpdateDatasetEntriesRequest& request, const UpdateDatasetEntriesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; void OverrideEndpoint(const Aws::String& endpoint); private: void init(const Aws::Client::ClientConfiguration& clientConfiguration); void CreateDatasetAsyncHelper(const Model::CreateDatasetRequest& request, const CreateDatasetResponseReceivedHandler& handler, const std::shared_ptr& context) const; void CreateModelAsyncHelper(const Model::CreateModelRequest& request, const CreateModelResponseReceivedHandler& handler, const std::shared_ptr& context) const; void CreateProjectAsyncHelper(const Model::CreateProjectRequest& request, const CreateProjectResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DeleteDatasetAsyncHelper(const Model::DeleteDatasetRequest& request, const DeleteDatasetResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DeleteModelAsyncHelper(const Model::DeleteModelRequest& request, const DeleteModelResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DeleteProjectAsyncHelper(const Model::DeleteProjectRequest& request, const DeleteProjectResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DescribeDatasetAsyncHelper(const Model::DescribeDatasetRequest& request, const DescribeDatasetResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DescribeModelAsyncHelper(const Model::DescribeModelRequest& request, const DescribeModelResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DescribeProjectAsyncHelper(const Model::DescribeProjectRequest& request, const DescribeProjectResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DetectAnomaliesAsyncHelper(const Model::DetectAnomaliesRequest& request, const DetectAnomaliesResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListDatasetEntriesAsyncHelper(const Model::ListDatasetEntriesRequest& request, const ListDatasetEntriesResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListModelsAsyncHelper(const Model::ListModelsRequest& request, const ListModelsResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListProjectsAsyncHelper(const Model::ListProjectsRequest& request, const ListProjectsResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const; void StartModelAsyncHelper(const Model::StartModelRequest& request, const StartModelResponseReceivedHandler& handler, const std::shared_ptr& context) const; void StopModelAsyncHelper(const Model::StopModelRequest& request, const StopModelResponseReceivedHandler& handler, const std::shared_ptr& context) const; void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdateDatasetEntriesAsyncHelper(const Model::UpdateDatasetEntriesRequest& request, const UpdateDatasetEntriesResponseReceivedHandler& handler, const std::shared_ptr& context) const; Aws::String m_uri; Aws::String m_configScheme; std::shared_ptr m_executor; }; } // namespace LookoutforVision } // namespace Aws