Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateExperimentCommand

Creates an Evidently experiment. Before you create an experiment, you must create the feature to use for the experiment.

An experiment helps you make feature design decisions based on evidence and data. An experiment can test as many as five variations at once. Evidently collects experiment data and analyzes it by statistical methods, and provides clear recommendations about which variations perform better.

You can optionally specify a segment to have the experiment consider only certain audience types in the experiment, such as using only user sessions from a certain location or who use a certain internet browser.

Don't use this operation to update an existing experiment. Instead, use UpdateExperiment.

example

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

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

CreateExperimentCommandInput for command's input shape.

see

CreateExperimentCommandOutput for command's response shape.

see

config for EvidentlyClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateExperimentCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions