Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class ListSegmentReferencesCommandProtected

Use this operation to find which experiments or launches are using a specified segment.

Example

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

import { EvidentlyClient, ListSegmentReferencesCommand } from "@aws-sdk/client-evidently"; // ES Modules import
// const { EvidentlyClient, ListSegmentReferencesCommand } = require("@aws-sdk/client-evidently"); // CommonJS import
const client = new EvidentlyClient(config);
const input = { // ListSegmentReferencesRequest
segment: "STRING_VALUE", // required
maxResults: Number("int"),
nextToken: "STRING_VALUE",
type: "STRING_VALUE", // required
};
const command = new ListSegmentReferencesCommand(input);
const response = await client.send(command);
// { // ListSegmentReferencesResponse
// referencedBy: [ // RefResourceList
// { // RefResource
// name: "STRING_VALUE", // required
// type: "STRING_VALUE", // required
// arn: "STRING_VALUE",
// status: "STRING_VALUE",
// startTime: "STRING_VALUE",
// endTime: "STRING_VALUE",
// lastUpdatedOn: "STRING_VALUE",
// },
// ],
// nextToken: "STRING_VALUE",
// };

Param

ListSegmentReferencesCommandInput

Returns

ListSegmentReferencesCommandOutput

See

Throws

AccessDeniedException (client fault)

You do not have sufficient permissions to perform this action.

Throws

ResourceNotFoundException (client fault)

The request references a resource that does not exist.

Throws

ThrottlingException (client fault)

The request was denied because of request throttling. Retry the request.

Throws

ValidationException (client fault)

The value of a parameter in the request caused an error.

Throws

EvidentlyServiceException

Base exception class for all service exceptions from Evidently service.

Hierarchy

Constructors

Properties

Methods