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.
Protected
Returns configuration details about all the features in the specified project.
Use a bare-bones client and the command you need to make an API call.
import { EvidentlyClient, ListFeaturesCommand } from "@aws-sdk/client-evidently"; // ES Modules import// const { EvidentlyClient, ListFeaturesCommand } = require("@aws-sdk/client-evidently"); // CommonJS importconst client = new EvidentlyClient(config);const input = { // ListFeaturesRequest project: "STRING_VALUE", // required maxResults: Number("int"), nextToken: "STRING_VALUE",};const command = new ListFeaturesCommand(input);const response = await client.send(command);// { // ListFeaturesResponse// features: [ // FeatureSummariesList// { // FeatureSummary// arn: "STRING_VALUE", // required// name: "STRING_VALUE", // required// project: "STRING_VALUE",// status: "STRING_VALUE", // required// createdTime: new Date("TIMESTAMP"), // required// lastUpdatedTime: new Date("TIMESTAMP"), // required// evaluationStrategy: "STRING_VALUE", // required// evaluationRules: [ // EvaluationRulesList// { // EvaluationRule// name: "STRING_VALUE",// type: "STRING_VALUE", // required// },// ],// defaultVariation: "STRING_VALUE",// tags: { // TagMap// "<keys>": "STRING_VALUE",// },// },// ],// nextToken: "STRING_VALUE",// };
ListFeaturesCommandInput
ListFeaturesCommandOutput
input
response
config
AccessDeniedException (client fault)
You do not have sufficient permissions to perform this action.
ResourceNotFoundException (client fault)
The request references a resource that does not exist.
ThrottlingException (client fault)
The request was denied because of request throttling. Retry the request.
ValidationException (client fault)
The value of a parameter in the request caused an error.
EvidentlyServiceException
Base exception class for all service exceptions from Evidently service.
Readonly
Static
Returns configuration details about all the features in the specified project.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListFeaturesCommandInput
Returns
ListFeaturesCommandOutput
See
input
shape.response
shape.config
shape.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.