Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DeleteModelCommandProtected

Deletes a machine learning model currently available for Amazon Lookout for Equipment. This will prevent it from being used with an inference scheduler, even one that is already set up.

Example

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

import { LookoutEquipmentClient, DeleteModelCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
// const { LookoutEquipmentClient, DeleteModelCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
const client = new LookoutEquipmentClient(config);
const input = { // DeleteModelRequest
ModelName: "STRING_VALUE", // required
};
const command = new DeleteModelCommand(input);
const response = await client.send(command);
// {};

Param

DeleteModelCommandInput

Returns

DeleteModelCommandOutput

See

Throws

AccessDeniedException (client fault)

The request could not be completed because you do not have access to the resource.

Throws

ConflictException (client fault)

The request could not be completed due to a conflict with the current state of the target resource.

Throws

InternalServerException (server fault)

Processing of the request has failed because of an unknown error, exception or failure.

Throws

ResourceNotFoundException (client fault)

The resource requested could not be found. Verify the resource ID and retry your request.

Throws

ThrottlingException (client fault)

The request was denied due to request throttling.

Throws

ValidationException (client fault)

The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services service that's being utilized.

Throws

LookoutEquipmentServiceException

Base exception class for all service exceptions from LookoutEquipment service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods