aws_sdk_machinelearning/client/update_ml_model.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 [`UpdateMLModel`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`ml_model_id(impl Into<String>)`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::ml_model_id) / [`set_ml_model_id(Option<String>)`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::set_ml_model_id):<br>required: **true**<br><p>The ID assigned to the <code>MLModel</code> during creation.</p><br>
7 /// - [`ml_model_name(impl Into<String>)`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::ml_model_name) / [`set_ml_model_name(Option<String>)`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::set_ml_model_name):<br>required: **false**<br><p>A user-supplied name or description of the <code>MLModel</code>.</p><br>
8 /// - [`score_threshold(f32)`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::score_threshold) / [`set_score_threshold(Option<f32>)`](crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::set_score_threshold):<br>required: **false**<br><p>The <code>ScoreThreshold</code> used in binary classification <code>MLModel</code> that marks the boundary between a positive prediction and a negative prediction.</p> <p>Output values greater than or equal to the <code>ScoreThreshold</code> receive a positive result from the <code>MLModel</code>, such as <code>true</code>. Output values less than the <code>ScoreThreshold</code> receive a negative response from the <code>MLModel</code>, such as <code>false</code>.</p><br>
9 /// - On success, responds with [`UpdateMlModelOutput`](crate::operation::update_ml_model::UpdateMlModelOutput) with field(s):
10 /// - [`ml_model_id(Option<String>)`](crate::operation::update_ml_model::UpdateMlModelOutput::ml_model_id): <p>The ID assigned to the <code>MLModel</code> during creation. This value should be identical to the value of the <code>MLModelID</code> in the request.</p>
11 /// - On failure, responds with [`SdkError<UpdateMLModelError>`](crate::operation::update_ml_model::UpdateMLModelError)
12 pub fn update_ml_model(&self) -> crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder {
13 crate::operation::update_ml_model::builders::UpdateMLModelFluentBuilder::new(self.handle.clone())
14 }
15}