Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteSegmentCommand

Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.

example

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

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

DeleteSegmentCommandInput for command's input shape.

see

DeleteSegmentCommandOutput for command's response shape.

see

config for EvidentlyClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteSegmentCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteSegmentCommandInput, DeleteSegmentCommandOutput>

Methods

Static getEndpointParameterInstructions