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.
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);
DeleteSegmentCommandInput for command's input shape.
input
DeleteSegmentCommandOutput for command's response shape.
response
config for EvidentlyClient's config shape.
config
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.
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);
DeleteSegmentCommandInput for command's
input
shape.DeleteSegmentCommandOutput for command's
response
shape.config for EvidentlyClient's
config
shape.