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
10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 | |