aws-sdk-datazone 1.137.0

AWS SDK for Amazon DataZone
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartNotebookImport`](crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`StartNotebookImportOutput`](crate::operation::start_notebook_import::StartNotebookImportOutput) with field(s):
    ///   - [`notebook_id(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::notebook_id): <p>The identifier of the imported notebook.</p>
    ///   - [`status(Option<NotebookStatus>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::status): <p>The status of the notebook import.</p>
    ///   - [`domain_id(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::domain_id): <p>The identifier of the Amazon SageMaker Unified Studio domain.</p>
    ///   - [`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>
    ///   - [`name(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::name): <p>The name of the imported notebook.</p>
    ///   - [`description(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::description): <p>The description of the imported notebook.</p>
    ///   - [`source_location(Option<SourceLocation>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::source_location): <p>The source location from which the notebook was imported.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::created_at): <p>The timestamp of when the notebook import was started.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::start_notebook_import::StartNotebookImportOutput::created_by): <p>The identifier of the user who started the notebook import.</p>
    /// - On failure, responds with [`SdkError<StartNotebookImportError>`](crate::operation::start_notebook_import::StartNotebookImportError)
    pub fn start_notebook_import(&self) -> crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder {
        crate::operation::start_notebook_import::builders::StartNotebookImportFluentBuilder::new(self.handle.clone())
    }
}