Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListSegmentsCommand

Returns a list of audience segments that you have created in your account in this Region.

example

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

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

ListSegmentsCommandInput for command's input shape.

see

ListSegmentsCommandOutput for command's response shape.

see

config for EvidentlyClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListSegmentsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListSegmentsCommandInput, ListSegmentsCommandOutput>

Methods

Static getEndpointParameterInstructions