aws_sdk_frauddetector/client/delete_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 [`DeleteModel`](crate::operation::delete_model::builders::DeleteModelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`model_id(impl Into<String>)`](crate::operation::delete_model::builders::DeleteModelFluentBuilder::model_id) / [`set_model_id(Option<String>)`](crate::operation::delete_model::builders::DeleteModelFluentBuilder::set_model_id):<br>required: **true**<br><p>The model ID of the model to delete.</p><br>
7 /// - [`model_type(ModelTypeEnum)`](crate::operation::delete_model::builders::DeleteModelFluentBuilder::model_type) / [`set_model_type(Option<ModelTypeEnum>)`](crate::operation::delete_model::builders::DeleteModelFluentBuilder::set_model_type):<br>required: **true**<br><p>The model type of the model to delete.</p><br>
8 /// - On success, responds with [`DeleteModelOutput`](crate::operation::delete_model::DeleteModelOutput)
9 /// - On failure, responds with [`SdkError<DeleteModelError>`](crate::operation::delete_model::DeleteModelError)
10 pub fn delete_model(&self) -> crate::operation::delete_model::builders::DeleteModelFluentBuilder {
11 crate::operation::delete_model::builders::DeleteModelFluentBuilder::new(self.handle.clone())
12 }
13}