aws_sdk_datazone/client/start_notebook_import.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 [`StartNotebookImport`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon SageMaker Unified Studio domain in which to import the notebook.</p><br>
7 /// - [`owning_project_identifier(impl Into<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::owning_project_identifier) / [`set_owning_project_identifier(Option<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::set_owning_project_identifier):<br>required: **true**<br><p>The identifier of the project that will own the imported notebook.</p><br>
8 /// - [`source_location(SourceLocation)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::source_location) / [`set_source_location(Option<SourceLocation>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::set_source_location):<br>required: **true**<br><p>The source location of the notebook to import. This specifies the Amazon Simple Storage Service URI of the notebook file.</p><br>
9 /// - [`name(impl Into<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::set_name):<br>required: **true**<br><p>The name of the imported notebook. The name must be between 1 and 256 characters.</p><br>
10 /// - [`description(impl Into<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::set_description):<br>required: **false**<br><p>The description of the imported notebook.</p><br>
11 /// - [`client_token(impl Into<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p><br>
12 /// - On success, responds with [`StartNotebookImportOutput`](crate::operation::start_notebook_import::StartNotebookImportOutput) with field(s):
13 /// - [`notebook_id(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::notebook_id): <p>The identifier of the imported notebook.</p>
14 /// - [`status(Option<NotebookStatus>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::status): <p>The status of the notebook import.</p>
15 /// - [`domain_id(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::domain_id): <p>The identifier of the Amazon SageMaker Unified Studio domain.</p>
16 /// - [`owning_project_id(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::owning_project_id): <p>The identifier of the project that owns the imported notebook.</p>
17 /// - [`name(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::name): <p>The name of the imported notebook.</p>
18 /// - [`description(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::description): <p>The description of the imported notebook.</p>
19 /// - [`source_location(Option<SourceLocation>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::source_location): <p>The source location from which the notebook was imported.</p>
20 /// - [`created_at(Option<DateTime>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::created_at): <p>The timestamp of when the notebook import was started.</p>
21 /// - [`created_by(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::created_by): <p>The identifier of the user who started the notebook import.</p>
22 /// - On failure, responds with [`SdkError<StartNotebookImportError>`](crate::operation::start_notebook_import::StartNotebookImportError)
23 pub fn start_notebook_import(&self) -> crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder {
24 crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::new(self.handle.clone())
25 }
26}