Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StopModelCommand

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.

example

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

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

StopModelCommandInput for command's input shape.

see

StopModelCommandOutput for command's response shape.

see

config for LookoutVisionClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: StopModelCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<StopModelCommandInput, StopModelCommandOutput>

Methods

Static getEndpointParameterInstructions