aws_sdk_evidently/client/get_experiment.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetExperiment`](crate::operation::get_experiment::builders::GetExperimentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`project(impl Into<String>)`](crate::operation::get_experiment::builders::GetExperimentFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::get_experiment::builders::GetExperimentFluentBuilder::set_project):<br>required: **true**<br><p>The name or ARN of the project that contains the experiment.</p><br>
7 /// - [`experiment(impl Into<String>)`](crate::operation::get_experiment::builders::GetExperimentFluentBuilder::experiment) / [`set_experiment(Option<String>)`](crate::operation::get_experiment::builders::GetExperimentFluentBuilder::set_experiment):<br>required: **true**<br><p>The name of the experiment that you want to see the details of.</p><br>
8 /// - On success, responds with [`GetExperimentOutput`](crate::operation::get_experiment::GetExperimentOutput) with field(s):
9 /// - [`experiment(Option<Experiment>)`](crate::operation::get_experiment::GetExperimentOutput::experiment): <p>A structure containing the configuration details of the experiment.</p>
10 /// - On failure, responds with [`SdkError<GetExperimentError>`](crate::operation::get_experiment::GetExperimentError)
11 pub fn get_experiment(&self) -> crate::operation::get_experiment::builders::GetExperimentFluentBuilder {
12 crate::operation::get_experiment::builders::GetExperimentFluentBuilder::new(self.handle.clone())
13 }
14}