aws_sdk_machinelearning/client/
update_evaluation.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 [`UpdateEvaluation`](crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`evaluation_id(impl Into<String>)`](crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder::evaluation_id) / [`set_evaluation_id(Option<String>)`](crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder::set_evaluation_id):<br>required: **true**<br><p>The ID assigned to the <code>Evaluation</code> during creation.</p><br>
7    ///   - [`evaluation_name(impl Into<String>)`](crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder::evaluation_name) / [`set_evaluation_name(Option<String>)`](crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder::set_evaluation_name):<br>required: **true**<br><p>A new user-supplied name or description of the <code>Evaluation</code> that will replace the current content.</p><br>
8    /// - On success, responds with [`UpdateEvaluationOutput`](crate::operation::update_evaluation::UpdateEvaluationOutput) with field(s):
9    ///   - [`evaluation_id(Option<String>)`](crate::operation::update_evaluation::UpdateEvaluationOutput::evaluation_id): <p>The ID assigned to the <code>Evaluation</code> during creation. This value should be identical to the value of the <code>Evaluation</code> in the request.</p>
10    /// - On failure, responds with [`SdkError<UpdateEvaluationError>`](crate::operation::update_evaluation::UpdateEvaluationError)
11    pub fn update_evaluation(&self) -> crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder {
12        crate::operation::update_evaluation::builders::UpdateEvaluationFluentBuilder::new(self.handle.clone())
13    }
14}