aws-sdk-datazone 1.144.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 [`StartNotebookSync`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon SageMaker Unified Studio domain in which to sync the notebook.</p><br>
    ///   - [`owning_project_identifier(impl Into<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::owning_project_identifier) / [`set_owning_project_identifier(Option<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_owning_project_identifier):<br>required: **true**<br><p>The identifier of the project that will own the synced notebook.</p><br>
    ///   - [`source_location(SourceLocation)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::source_location) / [`set_source_location(Option<SourceLocation>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_source_location):<br>required: **true**<br><p>The source location of the notebook to sync. This specifies the Amazon Simple Storage Service URI of the notebook file.</p><br>
    ///   - [`git_metadata(GitMetadata)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::git_metadata) / [`set_git_metadata(Option<GitMetadata>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_git_metadata):<br>required: **false**<br><p>The Git metadata for the notebook sync, including repository, branch, and commit information.</p><br>
    ///   - [`notebook_id(impl Into<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::notebook_id) / [`set_notebook_id(Option<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_notebook_id):<br>required: **false**<br><p>The identifier of an existing notebook to sync. If not specified, a new notebook is created.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_name):<br>required: **false**<br><p>The name of the notebook. The name must be between 1 and 256 characters.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::set_description):<br>required: **false**<br><p>The description of the notebook.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::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 [`StartNotebookSyncOutput`](crate::operation::start_notebook_sync::StartNotebookSyncOutput) with field(s):
    ///   - [`notebook_id(Option<String>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::notebook_id): <p>The identifier of the synced notebook.</p>
    ///   - [`status(Option<NotebookStatus>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::status): <p>The status of the notebook sync.</p>
    ///   - [`domain_id(Option<String>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::domain_id): <p>The identifier of the Amazon SageMaker Unified Studio domain.</p>
    ///   - [`owning_project_id(Option<String>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::owning_project_id): <p>The identifier of the project that owns the synced notebook.</p>
    ///   - [`source_location(Option<SourceLocation>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::source_location): <p>The source location from which the notebook was synced.</p>
    ///   - [`git_metadata(Option<GitMetadata>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::git_metadata): <p>The Git metadata associated with the synced notebook.</p>
    ///   - [`name(Option<String>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::name): <p>The name of the synced notebook.</p>
    ///   - [`description(Option<String>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::description): <p>The description of the synced notebook.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::created_at): <p>The timestamp of when the notebook sync was started.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::start_notebook_sync::StartNotebookSyncOutput::created_by): <p>The identifier of the user who started the notebook sync.</p>
    /// - On failure, responds with [`SdkError<StartNotebookSyncError>`](crate::operation::start_notebook_sync::StartNotebookSyncError)
    pub fn start_notebook_sync(&self) -> crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder {
        crate::operation::start_notebook_sync::builders::StartNotebookSyncFluentBuilder::new(self.handle.clone())
    }
}