aws_sdk_athena/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    ///   - [`notebook_id(impl Into<String>)`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::notebook_id) / [`set_notebook_id(Option<String>)`](crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::set_notebook_id):<br>required: **true**<br><p>The ID of the notebook to delete.</p><br>
7    /// - On success, responds with [`DeleteNotebookOutput`](crate::operation::delete_notebook::DeleteNotebookOutput)
8    /// - On failure, responds with [`SdkError<DeleteNotebookError>`](crate::operation::delete_notebook::DeleteNotebookError)
9    pub fn delete_notebook(&self) -> crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder {
10        crate::operation::delete_notebook::builders::DeleteNotebookFluentBuilder::new(self.handle.clone())
11    }
12}