aws_sdk_machinelearning/client/
delete_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 [`DeleteMLModel`](crate::operation::delete_ml_model::builders::DeleteMLModelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ml_model_id(impl Into<String>)`](crate::operation::delete_ml_model::builders::DeleteMLModelFluentBuilder::ml_model_id) / [`set_ml_model_id(Option<String>)`](crate::operation::delete_ml_model::builders::DeleteMLModelFluentBuilder::set_ml_model_id):<br>required: **true**<br><p>A user-supplied ID that uniquely identifies the <code>MLModel</code>.</p><br>
7    /// - On success, responds with [`DeleteMlModelOutput`](crate::operation::delete_ml_model::DeleteMlModelOutput) with field(s):
8    ///   - [`ml_model_id(Option<String>)`](crate::operation::delete_ml_model::DeleteMlModelOutput::ml_model_id): <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This value should be identical to the value of the <code>MLModelID</code> in the request.</p>
9    /// - On failure, responds with [`SdkError<DeleteMLModelError>`](crate::operation::delete_ml_model::DeleteMLModelError)
10    pub fn delete_ml_model(&self) -> crate::operation::delete_ml_model::builders::DeleteMLModelFluentBuilder {
11        crate::operation::delete_ml_model::builders::DeleteMLModelFluentBuilder::new(self.handle.clone())
12    }
13}