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