aws_sdk_sagemaker/client/
delete_notebook_instance.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 [`DeleteNotebookInstance`](crate::operation::delete_notebook_instance::builders::DeleteNotebookInstanceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`notebook_instance_name(impl Into<String>)`](crate::operation::delete_notebook_instance::builders::DeleteNotebookInstanceFluentBuilder::notebook_instance_name) / [`set_notebook_instance_name(Option<String>)`](crate::operation::delete_notebook_instance::builders::DeleteNotebookInstanceFluentBuilder::set_notebook_instance_name):<br>required: **true**<br><p>The name of the SageMaker AI notebook instance to delete.</p><br>
7    /// - On success, responds with [`DeleteNotebookInstanceOutput`](crate::operation::delete_notebook_instance::DeleteNotebookInstanceOutput)
8    /// - On failure, responds with [`SdkError<DeleteNotebookInstanceError>`](crate::operation::delete_notebook_instance::DeleteNotebookInstanceError)
9    pub fn delete_notebook_instance(&self) -> crate::operation::delete_notebook_instance::builders::DeleteNotebookInstanceFluentBuilder {
10        crate::operation::delete_notebook_instance::builders::DeleteNotebookInstanceFluentBuilder::new(self.handle.clone())
11    }
12}