start_notebook_run
async
¶
start_notebook_run(
domain_identifier: DomainId,
owning_project_identifier: ProjectId,
notebook_identifier: NotebookId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 | |