Skip to main content

notebook_runs

Creates, updates, deletes, gets or lists a notebook_runs resource.

Overview

Namenotebook_runs
TypeResource
Idaws.datazone.notebook_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe identifier of the notebook run. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
cell_orderarrayThe ordered list of cells in the notebook run.
completed_atstring (date-time)The timestamp of when the notebook run completed.
compute_configurationobjectThe compute configuration of the notebook run.
created_atstring (date-time)The timestamp of when the notebook run was created.
created_bystringThe identifier of the user who created the notebook run.
domain_idstringThe identifier of the Amazon SageMaker Unified Studio domain. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
environment_configurationobjectThe environment configuration for a notebook run in Amazon SageMaker Unified Studio.
errorobjectThe error details if the notebook run failed.
metadataobjectThe metadata of the notebook run.
network_configurationobjectThe network configuration of the notebook run.
notebook_idstringThe identifier of the notebook. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
owning_project_idstringThe identifier of the project that owns the notebook run. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
parametersobjectThe sensitive parameters of the notebook run.
schedule_idstringThe identifier of the schedule associated with the notebook run. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
started_atstring (date-time)The timestamp of when the notebook run started executing.
statusstringThe status of the notebook run. (QUEUED, STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED)
storage_configurationobjectThe storage configuration of the notebook run, including the Amazon Simple Storage Service path and KMS key ARN.
timeout_configurationobjectThe timeout configuration of the notebook run.
trigger_sourceobjectThe source that triggered the notebook run.
updated_atstring (date-time)The timestamp of when the notebook run was last updated.
updated_bystringThe identifier of the user who last updated the notebook run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_notebook_runselectdomain_identifier, identifier, regionGets the details of a notebook run in Amazon SageMaker Unified Studio.
list_notebook_runsselectdomain_identifier, owningProjectIdentifier, regionnotebookIdentifier, status, scheduleIdentifier, maxResults, sortOrder, nextTokenLists notebook runs in Amazon SageMaker Unified Studio.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_identifierstringThe identifier of the Amazon SageMaker Unified Studio domain in which to list notebook runs.
identifierstringThe identifier of the notebook run.
owningProjectIdentifierstringThe identifier of the project that owns the notebook runs.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of notebook runs to return in a single call. When the number of notebook runs exceeds the value of MaxResults, the response contains a NextToken value.
nextTokenstringWhen the number of notebook runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notebook runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotebookRuns to list the next set of notebook runs.
notebookIdentifierstringThe identifier of the notebook to filter runs by.
scheduleIdentifierstringThe identifier of the schedule to filter notebook runs by.
sortOrderstringThe sort order for the results.
statusstringThe status to filter notebook runs by.

SELECT examples

Gets the details of a notebook run in Amazon SageMaker Unified Studio.

SELECT
id,
cell_order,
completed_at,
compute_configuration,
created_at,
created_by,
domain_id,
environment_configuration,
error,
metadata,
network_configuration,
notebook_id,
owning_project_id,
parameters,
schedule_id,
started_at,
status,
storage_configuration,
timeout_configuration,
trigger_source,
updated_at,
updated_by
FROM aws.datazone.notebook_runs
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;