Struct aws_sdk_evidently::input::UpdateExperimentInput
source · [−]#[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
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
sourceimpl UpdateExperimentInput
impl UpdateExperimentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateExperiment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateExperiment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateExperiment
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateExperimentInput
.
sourceimpl UpdateExperimentInput
impl UpdateExperimentInput
sourcepub fn project(&self) -> Option<&str>
pub fn project(&self) -> Option<&str>
The name or ARN of the project that contains the experiment that you want to update.
sourcepub fn experiment(&self) -> Option<&str>
pub fn experiment(&self) -> Option<&str>
The name of the experiment to update.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description of the experiment.
sourcepub fn treatments(&self) -> Option<&[TreatmentConfig]>
pub fn treatments(&self) -> Option<&[TreatmentConfig]>
An array of structures that define the variations being tested in the experiment.
sourcepub fn metric_goals(&self) -> Option<&[MetricGoalConfig]>
pub fn metric_goals(&self) -> Option<&[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.
sourcepub fn randomization_salt(&self) -> Option<&str>
pub fn randomization_salt(&self) -> Option<&str>
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
.
sourcepub fn sampling_rate(&self) -> Option<i64>
pub fn sampling_rate(&self) -> 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.
sourcepub fn online_ab_config(&self) -> Option<&OnlineAbConfig>
pub fn online_ab_config(&self) -> 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.
Trait Implementations
sourceimpl Clone for UpdateExperimentInput
impl Clone for UpdateExperimentInput
sourcefn clone(&self) -> UpdateExperimentInput
fn clone(&self) -> UpdateExperimentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateExperimentInput
impl Debug for UpdateExperimentInput
sourceimpl PartialEq<UpdateExperimentInput> for UpdateExperimentInput
impl PartialEq<UpdateExperimentInput> for UpdateExperimentInput
sourcefn eq(&self, other: &UpdateExperimentInput) -> bool
fn eq(&self, other: &UpdateExperimentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateExperimentInput) -> bool
fn ne(&self, other: &UpdateExperimentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateExperimentInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateExperimentInput
impl Send for UpdateExperimentInput
impl Sync for UpdateExperimentInput
impl Unpin for UpdateExperimentInput
impl UnwindSafe for UpdateExperimentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more