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
15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 | |