aws_sdk_bedrock/client/
delete_custom_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 [`DeleteCustomModel`](crate::operation::delete_custom_model::builders::DeleteCustomModelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`model_identifier(impl Into<String>)`](crate::operation::delete_custom_model::builders::DeleteCustomModelFluentBuilder::model_identifier) / [`set_model_identifier(Option<String>)`](crate::operation::delete_custom_model::builders::DeleteCustomModelFluentBuilder::set_model_identifier):<br>required: **true**<br><p>Name of the model to delete.</p><br>
7    /// - On success, responds with [`DeleteCustomModelOutput`](crate::operation::delete_custom_model::DeleteCustomModelOutput)
8    /// - On failure, responds with [`SdkError<DeleteCustomModelError>`](crate::operation::delete_custom_model::DeleteCustomModelError)
9    pub fn delete_custom_model(&self) -> crate::operation::delete_custom_model::builders::DeleteCustomModelFluentBuilder {
10        crate::operation::delete_custom_model::builders::DeleteCustomModelFluentBuilder::new(self.handle.clone())
11    }
12}