Skip to main content

aws_sdk_datazone/client/
delete_notebook.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 [`DeleteNotebook`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon SageMaker Unified Studio domain in which the notebook exists.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the notebook to delete.</p><br>
8    /// - On success, responds with [`DeleteNotebookOutput`](crate::operation::delete_notebook::DeleteNotebookOutput)
9    /// - On failure, responds with [`SdkError<DeleteNotebookError>`](crate::operation::delete_notebook::DeleteNotebookError)
10    pub fn delete_notebook(&self) -> crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder {
11        crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::new(self.handle.clone())
12    }
13}