DeleteEdgeDeploymentStageCommand

Delete a stage in an edge deployment plan if (and only if) the stage is inactive.

Example Syntax

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

import { SageMakerClient, DeleteEdgeDeploymentStageCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
// const { SageMakerClient, DeleteEdgeDeploymentStageCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
const client = new SageMakerClient(config);
const input = { // DeleteEdgeDeploymentStageRequest
  EdgeDeploymentPlanName: "STRING_VALUE", // required
  StageName: "STRING_VALUE", // required
};
const command = new DeleteEdgeDeploymentStageCommand(input);
const response = await client.send(command);
// {};

DeleteEdgeDeploymentStageCommand Input

Parameter
Type
Description
EdgeDeploymentPlanName
Required
string | undefined

The name of the edge deployment plan from which the stage will be deleted.

StageName
Required
string | undefined

The name of the stage.

DeleteEdgeDeploymentStageCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
ResourceInUse
client

Resource being accessed is in use.

SageMakerServiceException
Base exception class for all service exceptions from SageMaker service.