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
16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 | |