aws_sdk_sagemaker/client/
delete_algorithm.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 [`DeleteAlgorithm`](crate::operation::delete_algorithm::builders::DeleteAlgorithmFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`algorithm_name(impl Into<String>)`](crate::operation::delete_algorithm::builders::DeleteAlgorithmFluentBuilder::algorithm_name) / [`set_algorithm_name(Option<String>)`](crate::operation::delete_algorithm::builders::DeleteAlgorithmFluentBuilder::set_algorithm_name):<br>required: **true**<br><p>The name of the algorithm to delete.</p><br>
7    /// - On success, responds with [`DeleteAlgorithmOutput`](crate::operation::delete_algorithm::DeleteAlgorithmOutput)
8    /// - On failure, responds with [`SdkError<DeleteAlgorithmError>`](crate::operation::delete_algorithm::DeleteAlgorithmError)
9    pub fn delete_algorithm(&self) -> crate::operation::delete_algorithm::builders::DeleteAlgorithmFluentBuilder {
10        crate::operation::delete_algorithm::builders::DeleteAlgorithmFluentBuilder::new(self.handle.clone())
11    }
12}