aws_sdk_athena/client/
export_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 [`ExportNotebook`](crate::operation::export_notebook::builders::ExportNotebookFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`ExportNotebookOutput`](crate::operation::export_notebook::ExportNotebookOutput) with field(s):
8    ///   - [`notebook_metadata(Option<NotebookMetadata>)`](crate::operation::export_notebook::ExportNotebookOutput::notebook_metadata): <p>The notebook metadata, including notebook ID, notebook name, and workgroup name.</p>
9    ///   - [`payload(Option<String>)`](crate::operation::export_notebook::ExportNotebookOutput::payload): <p>The content of the exported notebook.</p>
10    /// - On failure, responds with [`SdkError<ExportNotebookError>`](crate::operation::export_notebook::ExportNotebookError)
11    pub fn export_notebook(&self) -> crate::operation::export_notebook::builders::ExportNotebookFluentBuilder {
12        crate::operation::export_notebook::builders::ExportNotebookFluentBuilder::new(self.handle.clone())
13    }
14}