Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteProjectCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { LookoutVisionClient, DeleteProjectCommand } from "@aws-sdk/client-lookoutvision"; // ES Modules import
// const { LookoutVisionClient, DeleteProjectCommand } = require("@aws-sdk/client-lookoutvision"); // CommonJS import
const client = new LookoutVisionClient(config);
const command = new DeleteProjectCommand(input);
const response = await client.send(command);
see

DeleteProjectCommandInput for command's input shape.

see

DeleteProjectCommandOutput for command's response shape.

see

config for LookoutVisionClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteProjectCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteProjectCommandInput, DeleteProjectCommandOutput>