start_notebook_run
¶
start_notebook_run(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
notebook_identifier: NotebookId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
schedule_identifier: Optional[ScheduleId] = None,
compute_configuration: Optional[ComputeConfig] = None,
network_configuration: Optional[NetworkConfig] = None,
timeout_configuration: Optional[TimeoutConfig] = None,
notification_configuration: Optional[NotificationConfig] = None,
trigger_source: Optional[TriggerSource] = None,
metadata: Optional[Metadata] = None,
parameters: Optional[Parameters] = None,
client_token: Optional[ClientToken] = None,
) -> StartNotebookRunOutput
Starts a notebook run in Amazon SageMaker Unified Studio. A notebook run represents the execution of an Amazon SageMaker notebook within a project. You can configure compute, network, timeout, and environment settings for the run.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon SageMaker Unified Studio domain in which the notebook run is started.
-
owning_project_identifier(ProjectId) –The identifier of the project that owns the notebook run.
-
notebook_identifier(NotebookId) –The identifier of the notebook to run.
-
schedule_identifier(Optional[ScheduleId], default:None) –The identifier of the schedule associated with the notebook run.
-
compute_configuration(Optional[ComputeConfig], default:None) –The compute configuration for the notebook run, including instance type and environment version.
-
network_configuration(Optional[NetworkConfig], default:None) –The network configuration for the notebook run, including network access type and optional VPC settings.
-
timeout_configuration(Optional[TimeoutConfig], default:None) –The timeout configuration for the notebook run. The default timeout is 720 minutes (12 hours) and the maximum is 1440 minutes (24 hours).
-
notification_configuration(Optional[NotificationConfig], default:None) –The notification configuration for the notebook run. Use this to specify the notebook run states that trigger notifications.
-
trigger_source(Optional[TriggerSource], default:None) –The source that triggered the notebook run.
-
metadata(Optional[Metadata], default:None) –The metadata for the notebook run, specified as key-value pairs. You can specify up to 50 entries, with keys up to 128 characters and values up to 1024 characters.
-
parameters(Optional[Parameters], default:None) –The sensitive parameters for the notebook run, specified as key-value pairs. You can specify up to 50 entries, with keys up to 128 characters and values up to 1024 characters.
-
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
16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 | |