1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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): <p>The name or ARN of the project that contains the experiment to start.</p>
    ///   - [`experiment(impl Into<String>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::experiment) / [`set_experiment(Option<String>)`](crate::operation::start_experiment::builders::StartExperimentFluentBuilder::set_experiment): <p>The name of the experiment to start.</p>
    ///   - [`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): <p>The date and time to end the experiment. This must be no more than 30 days after the experiment starts.</p>
    /// - 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(),
        )
    }
}