Returns a list of audience segments that you have created in your account in this Region.
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);
ListSegmentsCommandInput for command's input shape.
input
ListSegmentsCommandOutput for command's response shape.
response
config for EvidentlyClient's config shape.
config
Returns a list of audience segments that you have created in your account in this Region.
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);
ListSegmentsCommandInput for command's
input
shape.ListSegmentsCommandOutput for command's
response
shape.config for EvidentlyClient's
config
shape.