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
10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 | |