start_notebook_import
async
¶
start_notebook_import(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
source_location: SourceLocation,
name: NotebookName,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
description: Optional[Description] = None,
type: Optional[NotebookType] = None,
client_token: Optional[ClientToken] = None,
) -> StartNotebookImportOutput
Starts a notebook import in Amazon SageMaker Unified Studio. This operation imports a notebook from an Amazon Simple Storage Service location into a project.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon SageMaker Unified Studio domain in which to import the notebook.
-
owning_project_identifier(ProjectId) –The identifier of the project that will own the imported notebook.
-
source_location(SourceLocation) –The source location of the notebook to import. Specify either a single Amazon Simple Storage Service URI, or a list of objects to import as the notebook's cells.
-
name(NotebookName) –The name of the imported notebook. The name must be between 1 and 256 characters.
-
description(Optional[Description], default:None) –The description of the imported notebook.
-
type(Optional[NotebookType], default:None) –The type of the notebook to import. If not specified, defaults to
DATA. -
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
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 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 | |