// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ImportNotebook`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`work_group(impl Into<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::work_group) / [`set_work_group(Option<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::set_work_group):<br>required: **true**<br><p>The name of the Spark enabled workgroup to import the notebook to.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::set_name):<br>required: **true**<br><p>The name of the notebook to import.</p><br>
/// - [`payload(impl Into<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::payload) / [`set_payload(Option<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::set_payload):<br>required: **false**<br><p>The notebook content to be imported. The payload must be in <code>ipynb</code> format.</p><br>
/// - [`r#type(NotebookType)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::type) / [`set_type(Option<NotebookType>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::set_type):<br>required: **true**<br><p>The notebook content type. Currently, the only valid type is <code>IPYNB</code>.</p><br>
/// - [`notebook_s3_location_uri(impl Into<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::notebook_s3_location_uri) / [`set_notebook_s3_location_uri(Option<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::set_notebook_s3_location_uri):<br>required: **false**<br><p>A URI that specifies the Amazon S3 location of a notebook file in <code>ipynb</code> format.</p><br>
/// - [`client_request_token(impl Into<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::set_client_request_token):<br>required: **false**<br><p>A unique case-sensitive string used to ensure the request to import the notebook is idempotent (executes only once).</p><important> <p>This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.</p> </important><br>
/// - On success, responds with [`ImportNotebookOutput`](crate::operation::import_notebook::ImportNotebookOutput) with field(s):
/// - [`notebook_id(Option<String>)`](crate::operation::import_notebook::ImportNotebookOutput::notebook_id): <p>The ID assigned to the imported notebook.</p>
/// - On failure, responds with [`SdkError<ImportNotebookError>`](crate::operation::import_notebook::ImportNotebookError)
pub fn import_notebook(&self) -> crate::operation::import_notebook::builders::ImportNotebookFluentBuilder {
crate::operation::import_notebook::builders::ImportNotebookFluentBuilder::new(self.handle.clone())
}
}