@Override
    public CreateExperimentResult createExperiment(CreateExperimentRequest request) {
        request = beforeClientExecution(request);
        return executeCreateExperiment(request);
    }
<p>
Creates an Evidently <i>experiment</i>. Before you create an experiment, you must create the feature to use for
the experiment.
</p>
<p>
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.
</p>
<p>
You can optionally specify a <code>segment</code> 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.
</p>
<p>
Don't use this operation to update an existing experiment. Instead, use <a
href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateExperiment.html"
>UpdateExperiment</a>.
</p>

@param createExperimentRequest
@return Result of the CreateExperiment operation returned by the service.
@throws ValidationException
        The value of a parameter in the request caused an error.
@throws ConflictException
        A resource was in an inconsistent state during an update or a deletion.
@throws ServiceQuotaExceededException
        The request would cause a service quota to be exceeded.
@throws ResourceNotFoundException
        The request references a resource that does not exist.
@throws AccessDeniedException
        You do not have sufficient permissions to perform this action.
@sample AmazonCloudWatchEvidently.CreateExperiment
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment" target="_top">AWS API
     Documentation</a>
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/AmazonCloudWatchEvidentlyClient.java