Struct aws_sdk_evidently::operation::get_experiment_results::builders::GetExperimentResultsFluentBuilder
source · pub struct GetExperimentResultsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetExperimentResults
.
Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.
Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.
Implementations§
source§impl GetExperimentResultsFluentBuilder
impl GetExperimentResultsFluentBuilder
sourcepub fn as_input(&self) -> &GetExperimentResultsInputBuilder
pub fn as_input(&self) -> &GetExperimentResultsInputBuilder
Access the GetExperimentResults as a reference.
sourcepub async fn send(
self
) -> Result<GetExperimentResultsOutput, SdkError<GetExperimentResultsError, HttpResponse>>
pub async fn send( self ) -> Result<GetExperimentResultsOutput, SdkError<GetExperimentResultsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetExperimentResultsOutput, GetExperimentResultsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetExperimentResultsOutput, GetExperimentResultsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn project(self, input: impl Into<String>) -> Self
pub fn project(self, input: impl Into<String>) -> Self
The name or ARN of the project that contains the experiment that you want to see the results of.
sourcepub fn set_project(self, input: Option<String>) -> Self
pub fn set_project(self, input: Option<String>) -> Self
The name or ARN of the project that contains the experiment that you want to see the results of.
sourcepub fn get_project(&self) -> &Option<String>
pub fn get_project(&self) -> &Option<String>
The name or ARN of the project that contains the experiment that you want to see the results of.
sourcepub fn experiment(self, input: impl Into<String>) -> Self
pub fn experiment(self, input: impl Into<String>) -> Self
The name of the experiment to retrieve the results of.
sourcepub fn set_experiment(self, input: Option<String>) -> Self
pub fn set_experiment(self, input: Option<String>) -> Self
The name of the experiment to retrieve the results of.
sourcepub fn get_experiment(&self) -> &Option<String>
pub fn get_experiment(&self) -> &Option<String>
The name of the experiment to retrieve the results of.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The date and time that the experiment started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The date and time that the experiment started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The date and time that the experiment started.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn metric_names(self, input: impl Into<String>) -> Self
pub fn metric_names(self, input: impl Into<String>) -> Self
Appends an item to metricNames
.
To override the contents of this collection use set_metric_names
.
The names of the experiment metrics that you want to see the results of.
sourcepub fn set_metric_names(self, input: Option<Vec<String>>) -> Self
pub fn set_metric_names(self, input: Option<Vec<String>>) -> Self
The names of the experiment metrics that you want to see the results of.
sourcepub fn get_metric_names(&self) -> &Option<Vec<String>>
pub fn get_metric_names(&self) -> &Option<Vec<String>>
The names of the experiment metrics that you want to see the results of.
sourcepub fn treatment_names(self, input: impl Into<String>) -> Self
pub fn treatment_names(self, input: impl Into<String>) -> Self
Appends an item to treatmentNames
.
To override the contents of this collection use set_treatment_names
.
The names of the experiment treatments that you want to see the results for.
sourcepub fn set_treatment_names(self, input: Option<Vec<String>>) -> Self
pub fn set_treatment_names(self, input: Option<Vec<String>>) -> Self
The names of the experiment treatments that you want to see the results for.
sourcepub fn get_treatment_names(&self) -> &Option<Vec<String>>
pub fn get_treatment_names(&self) -> &Option<Vec<String>>
The names of the experiment treatments that you want to see the results for.
sourcepub fn base_stat(self, input: ExperimentBaseStat) -> Self
pub fn base_stat(self, input: ExperimentBaseStat) -> Self
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn set_base_stat(self, input: Option<ExperimentBaseStat>) -> Self
pub fn set_base_stat(self, input: Option<ExperimentBaseStat>) -> Self
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn get_base_stat(&self) -> &Option<ExperimentBaseStat>
pub fn get_base_stat(&self) -> &Option<ExperimentBaseStat>
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn result_stats(self, input: ExperimentResultRequestType) -> Self
pub fn result_stats(self, input: ExperimentResultRequestType) -> Self
Appends an item to resultStats
.
To override the contents of this collection use set_result_stats
.
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
sourcepub fn set_result_stats(
self,
input: Option<Vec<ExperimentResultRequestType>>
) -> Self
pub fn set_result_stats( self, input: Option<Vec<ExperimentResultRequestType>> ) -> Self
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
sourcepub fn get_result_stats(&self) -> &Option<Vec<ExperimentResultRequestType>>
pub fn get_result_stats(&self) -> &Option<Vec<ExperimentResultRequestType>>
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
sourcepub fn report_names(self, input: ExperimentReportName) -> Self
pub fn report_names(self, input: ExperimentReportName) -> Self
Appends an item to reportNames
.
To override the contents of this collection use set_report_names
.
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
sourcepub fn set_report_names(self, input: Option<Vec<ExperimentReportName>>) -> Self
pub fn set_report_names(self, input: Option<Vec<ExperimentReportName>>) -> Self
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
sourcepub fn get_report_names(&self) -> &Option<Vec<ExperimentReportName>>
pub fn get_report_names(&self) -> &Option<Vec<ExperimentReportName>>
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
sourcepub fn period(self, input: i64) -> Self
pub fn period(self, input: i64) -> Self
In seconds, the amount of time to aggregate results together.
sourcepub fn set_period(self, input: Option<i64>) -> Self
pub fn set_period(self, input: Option<i64>) -> Self
In seconds, the amount of time to aggregate results together.
sourcepub fn get_period(&self) -> &Option<i64>
pub fn get_period(&self) -> &Option<i64>
In seconds, the amount of time to aggregate results together.
Trait Implementations§
source§impl Clone for GetExperimentResultsFluentBuilder
impl Clone for GetExperimentResultsFluentBuilder
source§fn clone(&self) -> GetExperimentResultsFluentBuilder
fn clone(&self) -> GetExperimentResultsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetExperimentResultsFluentBuilder
impl !RefUnwindSafe for GetExperimentResultsFluentBuilder
impl Send for GetExperimentResultsFluentBuilder
impl Sync for GetExperimentResultsFluentBuilder
impl Unpin for GetExperimentResultsFluentBuilder
impl !UnwindSafe for GetExperimentResultsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more