start_notebook_sync
async
¶
start_notebook_sync(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
source_location: SourceLocation,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 | |