aws_sdk_sagemaker/client/update_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 [`UpdateExperiment`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`experiment_name(impl Into<String>)`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::experiment_name) / [`set_experiment_name(Option<String>)`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::set_experiment_name):<br>required: **true**<br><p>The name of the experiment to update.</p><br>
7 /// - [`display_name(impl Into<String>)`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::set_display_name):<br>required: **false**<br><p>The name of the experiment as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't specified, <code>ExperimentName</code> is displayed.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::set_description):<br>required: **false**<br><p>The description of the experiment.</p><br>
9 /// - On success, responds with [`UpdateExperimentOutput`](crate::operation::update_experiment::UpdateExperimentOutput) with field(s):
10 /// - [`experiment_arn(Option<String>)`](crate::operation::update_experiment::UpdateExperimentOutput::experiment_arn): <p>The Amazon Resource Name (ARN) of the experiment.</p>
11 /// - On failure, responds with [`SdkError<UpdateExperimentError>`](crate::operation::update_experiment::UpdateExperimentError)
12 pub fn update_experiment(&self) -> crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder {
13 crate::operation::update_experiment::builders::UpdateExperimentFluentBuilder::new(self.handle.clone())
14 }
15}