1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartExperiment`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project(impl Into<String>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::set_project):<br>required: **true**<br><p>The name or ARN of the project that contains the experiment to start.</p><br>
    ///   - [`experiment(impl Into<String>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::experiment) / [`set_experiment(Option<String>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::set_experiment):<br>required: **true**<br><p>The name of the experiment to start.</p><br>
    ///   - [`analysis_complete_time(DateTime)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::analysis_complete_time) / [`set_analysis_complete_time(Option<DateTime>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::set_analysis_complete_time):<br>required: **true**<br><p>The date and time to end the experiment. This must be no more than 30 days after the experiment starts.</p><br>
    /// - On success, responds with [`StartExperimentOutput`](crate::operation::start_experiment::StartExperimentOutput) with field(s):
    ///   - [`started_time(Option<DateTime>)`](crate::operation::start_experiment::StartExperimentOutput::started_time): <p>A timestamp that indicates when the experiment started.</p>
    /// - On failure, responds with [`SdkError<StartExperimentError>`](crate::operation::start_experiment::StartExperimentError)
    pub fn start_experiment(&self) -> crate::operation::start_experiment::builders::StartExperimentFluentBuilder {
        crate::operation::start_experiment::builders::StartExperimentFluentBuilder::new(self.handle.clone())
    }
}