1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ExportNotebook`](crate::operation::export_notebook::builders::ExportNotebookFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`notebook_id(impl Into<String>)`](crate::operation::export_notebook::builders::ExportNotebookFluentBuilder::notebook_id) / [`set_notebook_id(Option<String>)`](crate::operation::export_notebook::builders::ExportNotebookFluentBuilder::set_notebook_id):<br>required: **true**<br><p>The ID of the notebook to export.</p><br>
    /// - On success, responds with [`ExportNotebookOutput`](crate::operation::export_notebook::ExportNotebookOutput) with field(s):
    ///   - [`notebook_metadata(Option<NotebookMetadata>)`](crate::operation::export_notebook::ExportNotebookOutput::notebook_metadata): <p>The notebook metadata, including notebook ID, notebook name, and workgroup name.</p>
    ///   - [`payload(Option<String>)`](crate::operation::export_notebook::ExportNotebookOutput::payload): <p>The content of the exported notebook.</p>
    /// - On failure, responds with [`SdkError<ExportNotebookError>`](crate::operation::export_notebook::ExportNotebookError)
    pub fn export_notebook(&self) -> crate::operation::export_notebook::builders::ExportNotebookFluentBuilder {
        crate::operation::export_notebook::builders::ExportNotebookFluentBuilder::new(self.handle.clone())
    }
}