#[non_exhaustive]
pub struct UpdateExperimentInput { pub project: Option<String>, pub experiment: Option<String>, pub description: Option<String>, pub treatments: Option<Vec<TreatmentConfig>>, pub metric_goals: Option<Vec<MetricGoalConfig>>, pub randomization_salt: Option<String>, pub sampling_rate: Option<i64>, pub online_ab_config: Option<OnlineAbConfig>, }

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
project: Option<String>

The name or ARN of the project that contains the experiment that you want to update.

experiment: Option<String>

The name of the experiment to update.

description: Option<String>

An optional description of the experiment.

treatments: Option<Vec<TreatmentConfig>>

An array of structures that define the variations being tested in the experiment.

metric_goals: Option<Vec<MetricGoalConfig>>

An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

randomization_salt: Option<String>

When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the experiment name as the randomizationSalt.

sampling_rate: Option<i64>

The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the available audience.

online_ab_config: Option<OnlineAbConfig>

A structure that contains the configuration of which variation o use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

Implementations

Consumes the builder and constructs an Operation<UpdateExperiment>

Creates a new builder-style object to manufacture UpdateExperimentInput.

The name or ARN of the project that contains the experiment that you want to update.

The name of the experiment to update.

An optional description of the experiment.

An array of structures that define the variations being tested in the experiment.

An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the experiment name as the randomizationSalt.

The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the available audience.

A structure that contains the configuration of which variation o use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more