start_notebook_sync
¶
start_notebook_sync(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
source_location: SourceLocation,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
git_metadata: Optional[GitMetadata] = None,
notebook_id: Optional[NotebookId] = None,
name: Optional[NotebookName] = None,
description: Optional[Description] = None,
client_token: Optional[ClientToken] = None,
) -> StartNotebookSyncOutput
Starts a notebook sync in Amazon SageMaker Unified Studio. This operation syncs a notebook from a Git repository into a project.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon SageMaker Unified Studio domain in which to sync the notebook.
-
owning_project_identifier(ProjectId) –The identifier of the project that will own the synced notebook.
-
source_location(SourceLocation) –The source location of the notebook to sync. This specifies the Amazon Simple Storage Service URI of the notebook file.
-
git_metadata(Optional[GitMetadata], default:None) –The Git metadata for the notebook sync, including repository, branch, and commit information.
-
notebook_id(Optional[NotebookId], default:None) –The identifier of an existing notebook to sync. If not specified, a new notebook is created.
-
name(Optional[NotebookName], default:None) –The name of the notebook. The name must be between 1 and 256 characters.
-
description(Optional[Description], default:None) –The description of the notebook.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 | |